/* =========================================================
   Startseite – LibreOffice Calc Praxis-Training
   ========================================================= */


/* ---------------------------------------------------------
   Eigene Schriftart: Inter
   --------------------------------------------------------- */

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ---------------------------------------------------------
   Grundlegende Einstellungen
   --------------------------------------------------------- */

body {
    margin: 0;

    font-family: "Inter", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
    font-size: 20px;
    line-height: 1.72;
    letter-spacing: -0.006em;

    color: #1f2937;
    background: #ffffff;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}


/* ---------------------------------------------------------
   Startseite
   --------------------------------------------------------- */

.start-page {
    max-width: 900px;
    margin: 0 auto;

    /* Viel Weißraum oberhalb des Inhalts */
    padding: 150px 40px 50px;
}


/* ---------------------------------------------------------
   Hauptbereich
   --------------------------------------------------------- */

.hero {
    text-align: center;
}


/* ---------------------------------------------------------
   Hauptüberschrift
   --------------------------------------------------------- */

.hero h1 {
    margin: 0;
    font-size: 2.7rem;
    line-height: 1.15;
    font-weight: 700;
    color: #114488;
}

.course-subtitle {
    margin: 8px 0 25px;
    font-size: 1.7rem;
    line-height: 1.7;
    font-weight: 500;
    color: #5a6b80;
}


/* ---------------------------------------------------------
   Calc-Logo
   --------------------------------------------------------- */

.calc-logo {
    display: block;

    width: 110px;
    height: auto;

    margin: 0 auto 25px;
}


/* ---------------------------------------------------------
   Untertitel
   --------------------------------------------------------- */

.subtitle {
    margin: 0 0 35px;

    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 500;

    color: #5a6b80;
}


/* ---------------------------------------------------------
   Startbutton
   --------------------------------------------------------- */

.start-button {
    display: inline-block;

    margin-top: 10px;
    padding: 14px 35px;

    background: #2c63b5;
    color: #ffffff;

    border: 1px solid #ffffff;
    border-radius: 8px;

    font-size: 1.1rem;
    font-weight: 600;

    text-decoration: none;

    transition:
        background-color 0.15s ease,
        transform 0.15s ease;
}


/* ---------------------------------------------------------
   Startbutton – Maus darüber
   --------------------------------------------------------- */

.start-button:hover {
    background: #1f4f97;
}


/* ---------------------------------------------------------
   Startbutton – Tastaturfokus
   --------------------------------------------------------- */

.start-button:focus-visible {
    outline: 3px solid #114488;
    outline-offset: 4px;
}


/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.footer {
    text-align: center;

    padding: 2rem;

    font-size: 0.9rem;
    color: #6b7280;
}


/* ---------------------------------------------------------
   Smartphone / Tablet
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .start-page {
        padding: 80px 25px 40px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .calc-logo {
        width: 90px;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .start-button {
        padding: 13px 30px;
        font-size: 1rem;
    }
}


/* ---------------------------------------------------------
   Kleine Smartphones
   --------------------------------------------------------- */

@media (max-width: 450px) {

    .start-page {
        padding: 60px 20px 30px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .calc-logo {
        width: 80px;
    }

    .subtitle {
        font-size: 1.1rem;
    }
}