/* =========================================================
   LEARNMETRIC – KOMPLETTE STYLES.CSS
   Corporate Design:
   Dunkelblau + Türkis + Weiß
========================================================= */


/* =========================================================
   1. GRUNDEINSTELLUNGEN
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 72px;

    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.6;

    background: #F8FAFC;
    color: #243447;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* =========================================================
   2. NAVIGATION
========================================================= */

header nav {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    min-height: 72px;

    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 50px;

    background: #173566;
    color: #ffffff;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
}


/* momentaner Textname – später kommt hier unser Logo hinein */

header nav h2 {
    margin: 0;

    color: #ffffff;

    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
}


/* Navigation */

nav ul {
    display: flex;
    align-items: center;

    gap: 28px;

    margin: 0;
    padding: 0;

    list-style: none;
}

nav a {
    color: white;

    font-size: 15px;
    font-weight: 600;

    transition: color 0.2s ease;
}

nav a:hover {
    color: #22D3C5;
}


/* =========================================================
   3. HERO / STARTBEREICH
========================================================= */

.hero {
    min-height: 380px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 75px 20px 75px;

    background: #ffffff;
}

.hero h1 {
    margin: 0 0 8px;

    color: #173566;

    font-size: 64px;
    line-height: 1.1;
}

.hero .subtitle {
    margin: 0 0 12px;

    color: #243447;

    font-size: 25px;
    font-weight: 700;
}

.hero .description {
    max-width: 760px;

    margin: 0 auto 28px;

    color: #667085;

    font-size: 17px;
}


/* =========================================================
   4. BUTTONS
========================================================= */

.hero-button,
.cta-button {
    display: inline-block;

    padding: 14px 25px;

    border-radius: 7px;

    background: #173566;
    color: white;

    font-size: 15px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.hero-button:hover,
.cta-button:hover {
    background: #173566;

    transform: translateY(-2px);

    box-shadow: 0 5px 14px rgba(23, 53, 102, 0.20);
}


/* =========================================================
   5. SERVICE-KARTEN
   EDUCATION / ACADEMY / DATA
========================================================= */

.services-section {
    padding: 70px 30px;

    background: #EEF3F6;
}

.services-grid {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

    align-items: stretch;
}

.service-box {
    position: relative;

    padding: 30px;

    background: white;

    border-top: 3px solid #0FB39A;
    border-radius: 12px;

    box-shadow: 0 5px 20px rgba(20, 45, 90, 0.08);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.service-box:hover {
    transform: translateY(-4px);

    box-shadow: 0 10px 28px rgba(20, 45, 90, 0.12);
}

.service-box h3 {
    margin-top: 0;
    margin-bottom: 15px;

    color: #173566;

    font-size: 22px;
}

.service-box p {
    line-height: 1.6;
}

.service-box ul {
    padding-left: 20px;

    line-height: 1.8;
}


/* Preis */

.price {
    margin-top: 22px;

    color: #173566;

    font-size: 17px;
    font-weight: 700;
}

.service-note {
    margin-top: 6px;

    color: #667085;

    font-size: 13px;
}


/* Links innerhalb der Karten */

.service-link {
    display: inline-block;

    margin-top: 15px;

    color: #173566;

    font-weight: 700;
}

.service-link:hover {
    color: #0FB39A;
}


/* Education Highlight */

.education-highlight {
    margin-top: 18px;

    padding: 14px;

    border-radius: 8px;

    background: #F1F7F6;

    color: #173566;
}

.education-highlight strong {
    display: block;

    line-height: 1.35;
}


/* Zielmarkierung beim Scrollen */

.service-box:target {
    outline: 2px solid #0FB39A;

    box-shadow: 0 10px 30px rgba(15, 174, 155, 0.17);
}


/* =========================================================
   6. ALLGEMEINE DETAIL-BEREICHE
========================================================= */

.education-detail,
.academy-detail {
    padding: 75px 25px;

    background: #F8FAFC;
}

.content-box {
    max-width: 1100px;

    margin: 0 auto;

    padding: 40px;

    background: white;

    border-radius: 14px;

    box-shadow: 0 7px 25px rgba(20, 45, 90, 0.08);
}

.content-box h3 {
    color: #173566;

    font-size: 30px;
}

.content-box h4 {
    color: #173566;

    font-size: 21px;
}

.section-intro {
    max-width: 850px;

    color: #52606d;

    font-size: 17px;
    line-height: 1.7;
}

.section-label {
    display: inline-block;

    margin-bottom: 8px;

    color: #0FB39A;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


/* =========================================================
   7. EDUCATION DETAIL
========================================================= */

.education-detail-box > h3 {
    margin-top: 0;

    font-size: 34px;
}


/* Fächer */

.subject-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 14px;

    margin-top: 30px;
}

.subject-item {
    padding: 18px;

    border-radius: 9px;

    background: #F8FAFC;

    border: 1px solid #e5eaf1;

    text-align: center;

    color: #173566;

    font-weight: 700;
}


/* 90-Minuten-Konzept */

.lesson-concept {
    display: grid;
    grid-template-columns: 1fr auto;

    align-items: center;

    gap: 40px;

    margin-top: 40px;

    padding: 30px;

    border-radius: 12px;

    background: #F8FAFC;
}

.lesson-concept h4 {
    margin-top: 0;
}

.lesson-price {
    min-width: 210px;

    padding: 23px;

    border-radius: 11px;

    background: white;

    text-align: center;

    box-shadow: 0 4px 15px rgba(20, 45, 90, 0.08);
}

.lesson-price strong {
    display: block;

    color: #0FB39A;

    font-size: 34px;
}


/* Ablauf */

.education-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 35px;
}

.education-step {
    padding: 23px;

    border-radius: 10px;

    background: #F8FAFC;
}

.education-step strong {
    color: #173566;
}


/* Abiturkurs */

.abitur-box {
    margin-top: 40px;

    padding: 30px;

    border: 1px solid #D9E5E7;

    border-left: 5px solid #0FB39A;

    border-radius: 12px;

    background: white;
}

.abitur-box h4 {
    margin-top: 0;

    font-size: 22px;
}

.abitur-features {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 20px;
}

.abitur-features span {
    padding: 8px 13px;

    border-radius: 20px;

    background: #EAF7F4;

    color: #173566;

    font-size: 14px;
    font-weight: 600;
}


/* Qualitätsbox */

.quality-box {
    margin-top: 35px;

    padding: 25px;

    border-left: 5px solid #0FB39A;

    background: #F8FAFC;

    border-radius: 7px;
}


/* =========================================================
   8. ACADEMY DETAIL
========================================================= */

.academy-detail-box {
    max-width: 1100px;

    margin: 0 auto;
}

.academy-detail-box > h3 {
    margin-top: 0;

    color: #173566;

    font-size: 34px;
}


/* Kurskarte */

.course-box {
    margin-top: 40px;

    padding: 36px;

    background: #ffffff;

    border-radius: 14px;

    box-shadow: 0 8px 28px rgba(20, 45, 90, 0.09);
}


/* Kopfbereich des Kurses */

.course-header {
    display: grid;
    grid-template-columns: 1fr auto;

    gap: 40px;

    align-items: center;

    padding-bottom: 30px;

    border-bottom: 1px solid #e4e8f0;
}

.course-category {
    display: inline-block;

    margin-bottom: 8px;

    color: #0FB39A;

    font-size: 14px;
    font-weight: 700;
}

.course-header h4 {
    margin: 0 0 12px;

    color: #173566;

    font-size: 28px;
}

.course-header p {
    margin: 0;

    line-height: 1.65;
}


/* Kurspreis */

.course-price {
    min-width: 165px;

    padding: 22px 26px;

    border-radius: 12px;

    background: #F1F7F6;

    text-align: center;
}

.course-price span {
    display: block;

    margin-bottom: 4px;

    color: #667085;

    font-size: 13px;
}

.course-price strong {
    display: block;

    color: #0FB39A;

    font-size: 36px;
}


/* Kursdaten */

.course-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    margin: 30px 0 40px;

    overflow: hidden;

    border-radius: 10px;

    background: #173566;
}

.course-facts div {
    padding: 20px;

    border-right: 1px solid rgba(255, 255, 255, 0.18);

    color: white;

    text-align: center;
}

.course-facts div:last-child {
    border-right: none;
}

.course-facts strong {
    display: block;

    margin-bottom: 5px;

    font-size: 20px;
}

.course-facts span {
    font-size: 14px;

    opacity: 0.86;
}


/* Kursinhalte */

.course-box h5 {
    margin-bottom: 22px;

    color: #173566;

    font-size: 21px;
}

.course-days {
    display: grid;

    gap: 14px;
}

.course-day {
    display: grid;
    grid-template-columns: 52px 1fr;

    gap: 18px;

    padding: 18px;

    border-radius: 10px;

    background: #F8FAFC;
}

.course-day > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border-radius: 50%;

    background: #0FB39A;
    color: white;

    font-weight: 700;
}

.course-day strong {
    color: #173566;
}

.course-day p {
    margin: 6px 0 0;

    line-height: 1.55;
}


/* Voraussetzungen / inklusive */

.course-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin: 30px 0;
}

.course-info > div {
    padding: 20px;

    border-left: 4px solid #0FB39A;

    background: #F1F7F6;
}

.course-info strong {
    color: #173566;
}

.course-info p {
    margin: 8px 0 0;

    line-height: 1.55;
}

.academy-note {
    margin-top: 28px;

    color: #667085;

    font-size: 15px;
}


/* =========================================================
   9. ZURÜCK-LINKS
========================================================= */

.back-link {
    margin-top: 30px;

    text-align: right;
}

.back-link a {
    color: #173566;

    font-weight: 700;
}

.back-link a:hover {
    color: #0FB39A;
}


/* =========================================================
   10. ÜBER UNS
========================================================= */

#ueber-uns {
    margin-top: 60px;
    margin-bottom: 60px;
}

#ueber-uns:target {
    outline: 2px solid #0FB39A;
}

.about-intro {
    font-size: 18px;

    line-height: 1.7;
}

.about-closing {
    margin-top: 30px;

    padding: 22px;

    border-left: 5px solid #0FB39A;

    border-radius: 7px;

    background: #F1F7F6;
}


/* =========================================================
   11. KONTAKT
========================================================= */

.contact-section {
    padding: 70px 25px;

    background: #ffffff;
}

.contact-box {
    max-width: 900px;

    margin: 0 auto;

    padding: 40px;

    border-radius: 14px;

    background: #F8FAFC;

    text-align: center;

    box-shadow: 0 6px 22px rgba(20, 45, 90, 0.07);
}

.contact-box h3 {
    margin-top: 0;

    color: #173566;

    font-size: 30px;
}

.contact-box a {
    color: #173566;

    font-weight: 700;
}

.contact-box a:hover {
    color: #0FB39A;
}

/* Kontakt-Button */
.contact-box .cta-button {
    color: #ffffff;
}

.contact-box .cta-button:hover {
    color: #ffffff;
}

#kontakt:target {
    outline: 2px solid #0FB39A;
}


/* =========================================================
   12. FOOTER
========================================================= */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 25px;

    padding: 25px 50px;

    background: #173566;
    color: white;
}

.footer p {
    margin: 0;
}

.footer-links {
    display: flex;

    gap: 22px;
}

.footer-links a {
    color: white;

    font-size: 14px;
}

.footer-links a:hover {
    color: #22D3C5;
}


/* =========================================================
   13. TABLET
========================================================= */

@media (max-width: 900px) {

    body {
        padding-top: 120px;
    }


    /* Navigation */

    header nav {
        flex-direction: column;

        gap: 15px;

        padding: 17px 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;

        gap: 12px 18px;
    }


    /* Hero */

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero .subtitle {
        font-size: 23px;
    }


    /* Servicekarten */

    .services-grid {
        grid-template-columns: 1fr;
    }


    /* Education */

    .subject-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lesson-concept {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .lesson-price {
        width: 100%;
    }

    .education-steps {
        grid-template-columns: 1fr;
    }


    /* Academy */

    .course-header {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .course-price {
        width: 100%;
    }


    /* Footer */

    .footer {
        flex-direction: column;

        text-align: center;
    }
}


/* =========================================================
   14. SMARTPHONE
========================================================= */

@media (max-width: 600px) {

    body {
        padding-top: 145px;
    }


    /* Navigation */

    header nav {
        padding: 14px 12px;
    }

    header nav h2 {
        font-size: 21px;
    }

    nav ul {
        gap: 9px 13px;
    }

    nav a {
        font-size: 14px;
    }


    /* Hero */

    .hero {
        min-height: auto;

        padding: 65px 18px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero .subtitle {
        font-size: 21px;
    }

    .hero .description {
        font-size: 16px;
    }

    .hero-button,
    .cta-button {
        width: 100%;
        max-width: 320px;

        text-align: center;
    }


    /* Services */

    .services-section {
        padding: 50px 16px;
    }

    .services-grid {
        gap: 20px;
    }

    .service-box,
    .content-box,
    .contact-box {
        padding: 24px;
    }


    /* Detailbereiche */

    .education-detail,
    .academy-detail {
        padding: 50px 16px;
    }

    .education-detail-box,
    .academy-detail-box {
        padding: 24px;
    }

    .education-detail-box > h3,
    .academy-detail-box > h3 {
        font-size: 25px;
    }

    .section-intro {
        font-size: 16px;
    }


    /* Education */

    .subject-grid {
        grid-template-columns: 1fr;
    }

    .subject-item {
        padding: 16px;
    }

    .lesson-concept {
        padding: 22px;

        gap: 20px;
    }

    .lesson-price {
        min-width: 0;

        padding: 20px;
    }

    .lesson-price strong {
        font-size: 31px;
    }

    .education-step,
    .quality-box {
        padding: 20px;
    }

    .abitur-box {
        padding: 22px;
    }

    .abitur-box h4 {
        font-size: 20px;
    }

    .abitur-features {
        flex-direction: column;

        gap: 10px;
    }


    /* Academy */

    .course-box {
        padding: 22px;
    }

    .course-header {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .course-header h4 {
        font-size: 23px;
    }

    .course-price {
        width: 100%;
    }

    .course-price strong {
        font-size: 32px;
    }

    .course-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .course-facts div:nth-child(2) {
        border-right: none;
    }

    .course-info {
        grid-template-columns: 1fr;
    }

    .course-day {
        grid-template-columns: 44px 1fr;

        gap: 12px;

        padding: 15px;
    }


    /* About */

    .about-intro {
        font-size: 17px;
    }

    .about-closing {
        padding: 18px;
    }


    /* Zurück */

    .back-link {
        text-align: left;
    }


    /* Footer */

    .footer {
        padding: 22px 14px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;

        gap: 12px;
    }
}


/* =========================================================
   15. SEHR KLEINE SMARTPHONES
========================================================= */

@media (max-width: 380px) {

    body {
        padding-top: 165px;
    }

    header nav {
        padding: 12px 9px;
    }

    header nav h2 {
        font-size: 19px;
    }

    nav ul {
        gap: 7px 10px;
    }

    nav a {
        font-size: 13px;
    }


    /* Hero */

    .hero {
        padding: 50px 14px;
    }

    .hero h1 {
        font-size: 34px;

        word-break: break-word;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    .hero .description {
        font-size: 15px;
    }


    /* Bereiche */

    .services-section {
        padding: 40px 12px;
    }

    .service-box,
    .content-box,
    .contact-box,
    .education-detail-box,
    .academy-detail-box {
        padding: 19px;
    }

    .service-box h3,
    .content-box h3,
    .contact-box h3 {
        font-size: 21px;
    }

    .education-detail-box > h3,
    .academy-detail-box > h3 {
        font-size: 22px;
    }


    /* Education */

    .subject-item {
        padding: 14px;
    }

    .education-highlight {
        padding: 12px;
    }

    .lesson-concept {
        padding: 18px;
    }

    .lesson-price {
        padding: 18px 12px;
    }

    .lesson-price strong {
        font-size: 29px;
    }

    .education-step,
    .quality-box,
    .abitur-box {
        padding: 18px;
    }

    .abitur-features span {
        font-size: 14px;
    }


    /* Academy */

    .course-box {
        padding: 18px;
    }

    .course-header h4 {
        font-size: 21px;
    }

    .course-facts {
        grid-template-columns: 1fr 1fr;
    }

    .course-facts div {
        padding: 15px 8px;
    }

    .course-day {
        grid-template-columns: 40px 1fr;

        padding: 13px;
    }

    .course-day > span {
        width: 38px;
        height: 38px;
    }

    .course-price {
        padding: 18px 12px;
    }

    .course-price strong {
        font-size: 29px;
    }


    /* About */

    .about-closing {
        padding: 16px;
    }


    /* Footer */

    .footer {
        padding: 22px 12px;
    }
}

/* =========================================================
   16. LEARNMETRIC – CORPORATE DESIGN FEINSCHLIFF
   Navy + Teal + Weiß
========================================================= */

:root {
    --lm-navy: #173566;
    --lm-teal: #0FB39A;
    --lm-aqua: #22D3C5;
    --lm-bg: #F8FAFC;
    --lm-soft: #F1F7F6;
    --lm-line: #DDE7EA;
    --lm-text: #243447;
    --lm-muted: #667085;
    --lm-white: #FFFFFF;
}

::selection {
    background: var(--lm-teal);
    color: var(--lm-white);
}

.hero h1,
.service-box h3,
.content-box h3,
.contact-box h3,
.price,
.service-link,
.back-link a {
    color: var(--lm-navy);
}

.hero-button,
.cta-button {
    background: var(--lm-navy);
    color: var(--lm-white);
}

.hero-button:hover,
.cta-button:hover {
    background: var(--lm-teal);
    color: var(--lm-white);
}

.service-box {
    border-top-color: var(--lm-teal);
}

.service-box:hover {
    box-shadow: 0 12px 30px rgba(23, 53, 102, 0.13);
}

.education-highlight,
.lesson-concept,
.course-price,
.course-info > div,
.about-closing {
    background: var(--lm-soft);
}

.subject-item,
.education-step,
.course-day,
.quality-box {
    background: var(--lm-bg);
}

.lesson-price strong,
.course-price strong,
.section-label,
.course-category {
    color: var(--lm-teal);
}

.quality-box,
.course-info > div,
.about-closing {
    border-left-color: var(--lm-teal);
}

.course-day > span {
    background: var(--lm-teal);
}

.abitur-box {
    border-color: var(--lm-line);
    border-left-color: var(--lm-teal);
}

.abitur-features span {
    background: #EAF7F4;
    color: var(--lm-navy);
}

.contact-box {
    background: var(--lm-soft);
}

.contact-box .cta-button,
.contact-box .cta-button:visited {
    color: #ffffff;
}

.contact-box .cta-button:hover {
    background: var(--lm-teal);
    color: #ffffff;
}

.footer,
header nav,
.course-facts {
    background: var(--lm-navy);
}

.footer-links a:hover,
nav a:hover {
    color: var(--lm-aqua);
}


/* =========================================================
   17. LEARNMETRIC HEADER – FINALE VERSION
   Logo als SVG, Proportionen nach Designvorlage
========================================================= */

body {
    padding-top: 82px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 1000;

    background: #173566;

    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.16);
}

.site-header .main-nav {
    position: static;

    width: 100%;
    max-width: 1400px;
    min-height: 82px;

    margin: 0 auto;
    padding: 11px 32px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 28px;

    background: transparent;
    box-shadow: none;
}


/* Logo */

.brand-logo {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    gap: 12px;

    color: #ffffff;
}

.brand-icon {
    width: 44px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.brand-icon svg {
    display: block;

    width: 44px;
    height: 40px;

    overflow: visible;
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.05;
}

.brand-text strong {
    white-space: nowrap;

    font-size: 25px;
    font-weight: 700;

    letter-spacing: -0.4px;
}

.brand-learn {
    color: #ffffff;
}

.brand-metric {
    color: #0FB39A;
}

.brand-text small {
    margin-top: 4px;

    white-space: nowrap;

    color: rgba(255, 255, 255, 0.82);

    font-size: 8px;
    font-weight: 500;

    letter-spacing: 0;
}


/* Trennlinie */

.nav-divider {
    width: 1px;
    height: 47px;

    flex-shrink: 0;

    margin-left: 8px;

    background: rgba(34, 211, 197, 0.38);
}


/* Navigation */

.site-header .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 1;

    gap: 28px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.site-header .nav-links a {
    position: relative;

    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    white-space: nowrap;
}

.site-header .nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: #22D3C5;

    transition: width 0.2s ease;
}

.site-header .nav-links a:hover {
    color: #22D3C5;
}

.site-header .nav-links a:hover::after {
    width: 100%;
}


/* CTA rechts */

.site-header .nav-cta {
    flex-shrink: 0;

    padding: 10px 16px;

    border-radius: 6px;

    background: #0FB39A;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    box-shadow: 0 4px 12px rgba(15, 179, 154, 0.18);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.site-header .nav-cta:hover {
    background: #22D3C5;
    color: #173566;

    transform: translateY(-1px);
}


/* Academy Markenlabel */
.section-label {
    letter-spacing: 0.6px;
    text-transform: none;
}


/* =========================================================
   HEADER RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .site-header .main-nav {
        gap: 18px;

        padding-left: 22px;
        padding-right: 22px;
    }

    .site-header .nav-links {
        gap: 18px;
    }

    .site-header .nav-cta {
        display: none;
    }
}


@media (max-width: 900px) {

    body {
        padding-top: 132px;
    }

    .site-header .main-nav {
        min-height: 132px;

        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;

        gap: 10px 18px;

        padding: 12px 18px;
    }

    .brand-logo {
        margin-right: auto;
    }

    .nav-divider {
        display: none;
    }

    .site-header .nav-links {
        order: 2;

        flex-basis: 100%;

        justify-content: center;
        flex-wrap: wrap;

        gap: 10px 20px;
    }
}


@media (max-width: 600px) {

    body {
        padding-top: 148px;
    }

    .site-header .main-nav {
        min-height: 148px;

        padding: 10px 12px;
    }

    .brand-logo {
        margin: 0 auto;
    }

    .brand-icon {
        width: 40px;
        height: 37px;
    }

    .brand-icon svg {
        width: 40px;
        height: 37px;
    }

    .brand-text strong {
        font-size: 23px;
    }

    .brand-text small {
        font-size: 7.5px;
    }

    .site-header .nav-links {
        gap: 8px 14px;
    }

    .site-header .nav-links a {
        font-size: 13px;
    }
}


@media (max-width: 380px) {

    body {
        padding-top: 160px;
    }

    .site-header .main-nav {
        min-height: 160px;
    }

    .brand-text strong {
        font-size: 21px;
    }

    .brand-text small {
        font-size: 7px;
    }

    .site-header .nav-links {
        gap: 7px 11px;
    }

    .site-header .nav-links a {
        font-size: 12px;
    }
}



/* =========================================================
   18. BEGRIFFSWELT + MARKENFARBEN
========================================================= */

.brand-text small {
    margin-top: 4px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.90);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1px;
}

.hero-brand {
    margin-bottom: 12px;
    font-size: 58px;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1;
}

.hero-learn,
.brand-inline-learn {
    color: #173566;
}

.hero-metric,
.brand-inline-metric {
    color: #0FB39A;
}

.brand-inline {
    white-space: nowrap;
}

.academy-brand-label {
    text-transform: none;
    letter-spacing: 0.4px;
}

.academy-brand-label .academy-word {
    color: #0FB39A;
}

.academy-brand-label .brand-inline-learn {
    color: #173566;
}

.academy-brand-label .brand-inline-metric {
    color: #0FB39A;
}

#education,
#academy,
#data,
#nachhilfe-ablauf,
#academy-details,
#ueber-uns,
#kontakt {
    scroll-margin-top: 105px;
}

@media (max-width: 900px) {
    #education,
    #academy,
    #data,
    #nachhilfe-ablauf,
    #academy-details,
    #ueber-uns,
    #kontakt {
        scroll-margin-top: 150px;
    }

    .hero-brand {
        font-size: 50px;
    }
}

@media (max-width: 600px) {
    .hero-brand {
        font-size: 40px;
        letter-spacing: -1px;
    }
}


/* =========================================================
   19. MARKENNAME KONSEQUENT + WEITERBILDUNG
========================================================= */

/* LearnMetric innerhalb heller Inhaltsbereiche immer zweifarbig */
.brand-inline {
    white-space: nowrap;
}

.brand-inline-learn {
    color: #173566;
}

.brand-inline-metric {
    color: #0FB39A;
}

/* Im Footer liegt die Marke auf Navy: Learn weiß, Metric türkis */
.footer .brand-inline-learn {
    color: #ffffff;
}

.footer .brand-inline-metric {
    color: #22D3C5;
}

/* Kleines Label über dem Weiterbildungsbereich */
.academy-brand-label {
    color: #0FB39A;
    text-transform: none;
    letter-spacing: 0.4px;
}

.academy-brand-label .brand-inline-learn {
    color: #173566;
}

.academy-brand-label .brand-inline-metric,
.academy-brand-label .academy-word {
    color: #0FB39A;
}

/* =========================================================
   RECHTLICHE SEITEN
========================================================= */

.legal-page {
    background: #F8FAFC;
}

.legal-nav {
    justify-content: space-between !important;
}

.legal-back-link {
    margin-left: auto;
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.legal-back-link:hover {
    border-color: #22D3C5;
    color: #22D3C5;
}

.legal-main {
    padding: 70px 24px 90px;
}

.legal-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 46px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 7px 25px rgba(20, 45, 90, 0.08);
}

.legal-card h1 {
    margin: 4px 0 12px;
    color: #173566;
    font-size: 38px;
}

.legal-card h2 {
    margin-top: 34px;
    margin-bottom: 10px;
    color: #173566;
    font-size: 20px;
}

.legal-card p {
    color: #243447;
    line-height: 1.75;
}

.legal-card a {
    color: #0FB39A;
    font-weight: 650;
}

.legal-intro,
.legal-note {
    color: #667085 !important;
}

.legal-note {
    font-size: 14px;
}

.legal-warning {
    margin-top: 36px;
    padding: 18px 20px;
    border-left: 5px solid #0FB39A;
    border-radius: 7px;
    background: #F1F7F6;
    color: #173566;
}

@media (max-width: 600px) {
    .legal-main {
        padding: 45px 14px 65px;
    }

    .legal-card {
        padding: 26px 22px;
    }

    .legal-card h1 {
        font-size: 30px;
    }

    .legal-back-link {
        display: none;
    }
}

/* =========================================================
   FAQ-BEREICH
========================================================= */

.faq-section {
    padding: 45px 24px 70px;
    background: #F8FAFC;
}

.faq-container {
    max-width: 950px;
    margin: 0 auto;
}

.faq-container h2 {
    margin: 6px 0 14px;
    color: #173566;
    font-size: 36px;
}

.faq-intro {
    max-width: 760px;
    margin-bottom: 34px;
    color: #5E6B7A;
    line-height: 1.7;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #E4EAF0;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(20, 45, 90, 0.05);
    overflow: hidden;
}

.faq-item summary {
    position: relative;
    padding: 20px 52px 20px 22px;
    color: #173566;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    color: #0FB39A;
    font-size: 26px;
    font-weight: 500;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item[open] summary {
    border-bottom: 1px solid #E8EEF3;
}

.faq-item p {
    margin: 0;
    padding: 18px 22px 22px;
    color: #465466;
    line-height: 1.7;
}

.faq-item:hover {
    border-color: #B9E3DC;
}

@media (max-width: 600px) {
    .faq-section {
        padding: 60px 16px;
    }

    .faq-container h2 {
        font-size: 30px;
    }

    .faq-item summary {
        padding: 18px 48px 18px 18px;
        font-size: 16px;
    }

    .faq-item p {
        padding: 16px 18px 20px;
    }
}

/* =========================================================
   DATA SERVICES DETAIL
========================================================= */

.data-detail {
    padding: 70px 24px;
    background: #ffffff;
}

.data-detail-box {
    max-width: 950px;
    margin: 0 auto;
}

.data-detail-box > h3 {
    margin: 8px 0 16px;
    color: #173566;
    font-size: 36px;
}

.data-detail-box .section-intro {
    max-width: 780px;
    margin-bottom: 38px;
    color: #5E6B7A;
    line-height: 1.7;
}


/* Leistungen */

.data-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 34px 0 50px;
}

.data-service-item {
    padding: 24px;
    background: #F8FAFC;
    border: 1px solid #E4EAF0;
    border-radius: 10px;
}

.data-service-item h4 {
    margin: 0 0 10px;
    color: #173566;
    font-size: 19px;
}

.data-service-item p {
    margin: 0;
    color: #4F5F70;
    line-height: 1.65;
}


/* Projektablauf */

.data-process {
    margin-top: 48px;
}

.data-process > h4 {
    margin-bottom: 24px;
    color: #173566;
    font-size: 23px;
}

.data-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.data-process-step {
    padding: 22px 18px;
    background: #F8FAFC;
    border-radius: 10px;
    border-top: 4px solid #0FB39A;
}

.data-process-step > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;
    margin-bottom: 14px;

    border-radius: 50%;
    background: #173566;
    color: #ffffff;

    font-weight: 700;
}

.data-process-step strong {
    display: block;
    margin-bottom: 8px;
    color: #173566;
    font-size: 17px;
}

.data-process-step p {
    margin: 0;
    color: #566476;
    line-height: 1.55;
    font-size: 14px;
}


/* Angebot / CTA */

.data-price-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    margin-top: 46px;
    padding: 28px 30px;

    background: #F0F7F6;
    border-left: 5px solid #0FB39A;
    border-radius: 10px;
}

.data-price-box span {
    display: block;
    margin-bottom: 5px;
    color: #5E6B7A;
    font-size: 14px;
}

.data-price-box strong {
    color: #173566;
    font-size: 20px;
}

.data-price-box .button {
    flex-shrink: 0;
    padding: 12px 20px;
    background: #0FB39A;
    color: #ffffff;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
}

.data-price-box .button:hover {
    opacity: 0.9;
}


/* Responsive */

@media (max-width: 800px) {

    .data-services-grid {
        grid-template-columns: 1fr;
    }

    .data-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .data-price-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 500px) {

    .data-detail {
        padding: 55px 16px;
    }

    .data-detail-box > h3 {
        font-size: 30px;
    }

    .data-process-grid {
        grid-template-columns: 1fr;
    }
}
/* Kontakt – E-Mail-Box */

.contact-mail-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;

    width: fit-content;
    margin: 24px auto 18px;
    padding: 14px 28px;

    background: #ffffff;
    border: 1px solid #DDE8E6;
    border-radius: 8px;
}

.contact-mail-box span {
    color: #5E6B7A;
    font-size: 14px;
}

.contact-mail-box a {
    color: #173566;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
}

.contact-mail-box a:hover {
    color: #0FB39A;
}
/* =========================================================
   FOOTER – FINAL
========================================================= */

.footer {
    background: #173566;
    color: #ffffff;
    padding: 38px 24px 26px;
}

.footer-content {
    max-width: 1180px;
    margin: 0 auto;
}

.footer-brand {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand-name {
    margin-bottom: 5px;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.footer-learn {
    color: #ffffff;
}

.footer-metric {
    color: #22D3C5;
}

.footer-brand p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-top: 20px;
}

.footer-copy {
    margin: 0;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #22D3C5;
}

@media (max-width: 600px) {

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 14px 20px;
    }
}

/* Überschrift Unterrichtskonzept nicht abschneiden */
.lesson-concept h4 {
    white-space: normal;
    overflow: visible;
    word-break: normal;
    max-width: 100%;
    font-size: 15px;
}

/* Nummern im Nachhilfe-Ablauf */

.education-step .step-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;
    margin-bottom: 18px;

    background: #173566;
    color: #ffffff;

    border-radius: 50%;

    font-size: 15px;
    font-weight: 700;
}
/* =========================================================
   MOBILES HAMBURGER-MENÜ
========================================================= */

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: #ffffff;
    border-radius: 2px;
}

@media (max-width: 900px) {

    .main-nav {
        position: relative;
        flex-wrap: wrap;
    }

    .nav-divider,
    .nav-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        margin: 12px 0 0;
        padding: 10px 0;

        background: #173566;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 12px 10px;

        text-align: center;
        color: #ffffff;
    }

    .nav-links a:hover {
        color: #22D3C5;
    }
}

/* =========================================================
   MOBILES MENÜ – KOMPAKTER
========================================================= */

@media (max-width: 900px) {

    .nav-links {
        margin: 8px 0 0;
        padding: 4px 0 8px;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-links a {
        display: block;
        width: 100%;

        padding: 9px 10px;
        margin: 0;

        line-height: 1.2;
        text-align: center;
    }
}

/* =========================================================
   MOBILE MENU – FINALE KORREKTUR
========================================================= */

@media (max-width: 900px) {

    #mobile-navigation {
        display: none !important;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        margin: 8px 0 0;
        padding: 4px 0 8px;

        background: #173566;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    #mobile-navigation.is-open {
        display: flex !important;
    }

    #mobile-navigation li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    #mobile-navigation a {
        display: block;
        width: 100%;
        padding: 7px 10px;
        margin: 0;

        text-align: center;
        line-height: 1.2;
        color: #ffffff;
    }

    .mobile-menu-toggle {
        display: block !important;
        margin-left: auto;
    }
}

#start {
    scroll-margin-top: 100px;
}

@media (max-width: 900px) {
    #start {
        scroll-margin-top: 150px;
    }
}
/* =========================================================
   LEARNMETRIC – DIGITALE KONTAKTSEITE
========================================================= */

.contact-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;

    background: #F8FAFC;
    color: #243447;

    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}

.digital-contact {
    width: calc(100% - 32px);
    max-width: 520px;

    margin: 0 auto;
    padding: 55px 0 35px;

    text-align: center;
}


/* Logo */

.contact-brand-icon {
    width: 72px;
    margin: 0 auto 15px;
}

.contact-brand-icon svg {
    display: block;
    width: 100%;
    height: auto;
}

.contact-brand h1 {
    margin: 0;

    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.contact-learn {
    color: #173566;
}

.contact-metric {
    color: #0FB39A;
}

.contact-tagline {
    margin: 8px 0 0;

    color: #52606d;

    font-size: 15px;
    font-weight: 600;
}


/* Einleitung */

.contact-intro {
    max-width: 420px;

    margin: 25px auto 28px;

    color: #667085;

    font-size: 16px;
}


/* Kontaktbuttons */

.contact-links {
    display: grid;
    gap: 13px;
}

.contact-link {
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;

    align-items: center;

    padding: 15px 18px;

    border: 1px solid #DDE7EA;
    border-radius: 12px;

    background: #ffffff;

    text-align: left;

    box-shadow: 0 4px 15px rgba(20, 45, 90, 0.06);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-link > span {
    grid-row: 1 / 3;

    font-size: 23px;
}

.contact-link strong {
    color: #173566;

    font-size: 16px;
}

.contact-link small {
    color: #667085;

    font-size: 13px;
}

.contact-link:hover {
    transform: translateY(-2px);

    border-color: #0FB39A;

    box-shadow: 0 7px 20px rgba(20, 45, 90, 0.10);
}


/* Impressum / Datenschutz */

.contact-legal {
    display: flex;
    justify-content: center;

    gap: 10px;

    margin-top: 30px;

    color: #98A2B3;

    font-size: 13px;
}

.contact-legal a {
    color: #667085;
}

.contact-legal a:hover {
    color: #0FB39A;
}


/* Smartphone */

@media (max-width: 600px) {

    .digital-contact {
        width: calc(100% - 28px);

        padding-top: 35px;
    }

    .contact-brand-icon {
        width: 62px;
    }

    .contact-brand h1 {
        font-size: 36px;
    }

    .contact-tagline {
        font-size: 14px;
    }

    .contact-intro {
        font-size: 15px;
    }

    .contact-link {
        padding: 14px 16px;
    }
}