/*
Theme Name: Lernatlas 2.9.1
Theme URI: https://lernatlas.com/
Author: Lernatlas
Description: Eigenes, schlankes WordPress-Theme fuer Lernatlas – Version 2.9.1.
Version: 2.9.1
Text Domain: lernatlas
*/

:root {
    --la-blue: #1F5FAF;
    --la-green: #00823B;
    --la-navy: #0B355F;
    --la-gold: #D9AA3B;
    --la-dark: #17212b;
    --la-text: #53606c;
    --la-light: #f6f8fa;
    --la-border: #e7eaee;
    --la-white: #ffffff;
    --la-shadow: 0 22px 70px rgba(28, 44, 64, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--la-white);
    color: var(--la-dark);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.la-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

/* Header */
.la-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eeeeee;
}


.la-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.la-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
}

.la-main-logo {
    display: block;
    width: 250px;
    height: auto;
    max-height: 62px;
    object-fit: contain;
    object-position: left center;
}

.la-main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    flex-wrap: wrap;
}

.la-main-nav a {
    color: #27323d;
    text-decoration: none;
    font-size: 15px;
    font-weight: 520;
    padding: 29px 0 25px;
    border-bottom: 3px solid transparent;
}

.la-main-nav a:hover,
.la-main-nav a.is-active {
    color: var(--la-blue);
    border-bottom-color: var(--la-blue);
}

/* Shared typography */
.la-eyebrow {
    font-size: 14px;
    font-weight: 650;
    color: var(--la-blue);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.la-page h1,
.la-page h2,
.la-page h3 {
    color: var(--la-dark);
    margin-top: 0;
}

.la-page h1 {
    font-size: clamp(46px, 7vw, 76px);
    line-height: 1.03;
    letter-spacing: -.045em;
    font-weight: 680;
    margin-bottom: 28px;
}

.la-page h2 {
    font-size: clamp(33px, 5vw, 50px);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 650;
    margin-bottom: 24px;
}

.la-page h3 {
    font-size: 21px;
    line-height: 1.25;
    font-weight: 650;
    margin-bottom: 12px;
}

.la-page p {
    color: var(--la-text);
    font-size: 18px;
    line-height: 1.72;
    margin-top: 0;
}

.la-lead {
    font-size: 21px !important;
    max-width: 780px;
}

.la-section { padding: 105px 0; }
.la-section-light { background: var(--la-light); }

.la-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--la-blue);
    color: #fff !important;
    text-decoration: none !important;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 650;
    transition: transform .2s ease, opacity .2s ease;
}

.la-button:hover { opacity: .9; transform: translateY(-1px); }
.la-text-link { color: var(--la-blue) !important; font-weight: 650; text-decoration: none !important; }

/* Home */
.la-hero { padding: 118px 0 80px; }
.la-hero-inner { max-width: 990px; }
.la-hero-actions { margin-top: 38px; }

.la-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-bottom: 105px;
}

.la-fact {
    border: 1px solid var(--la-border);
    border-radius: 14px;
    padding: 30px;
    background: #fff;
}

.la-fact-label {
    color: var(--la-blue);
    font-size: 14px;
    font-weight: 650;
    margin-bottom: 12px;
}

.la-fact:nth-child(2) .la-fact-label { color: var(--la-green); }
.la-fact:nth-child(3) .la-fact-label { color: #8a6b1f; }
.la-fact strong { display: block; font-size: 22px; margin-bottom: 10px; }
.la-fact p { font-size: 16px; margin-bottom: 0; }

.la-preview {
    margin-top: 55px;
    border: 1px solid var(--la-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--la-shadow);
    overflow: hidden;
}

.la-preview-top {
    height: 46px;
    background: #f7f8f9;
    border-bottom: 1px solid var(--la-border);
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 7px;
}

.la-dot { width: 9px; height: 9px; border-radius: 50%; background: #d6d9dd; }
.la-preview-content { padding: 42px; }
.la-preview-title { font-size: 24px; font-weight: 650; margin-bottom: 12px; }
.la-preview-note { color: #7b858e; font-size: 14px; margin-bottom: 28px; }

.la-competence-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr .8fr;
    border: 1px solid var(--la-border);
    border-radius: 12px;
    overflow: hidden;
}

.la-grid-cell {
    min-height: 62px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--la-border);
    border-bottom: 1px solid var(--la-border);
    font-size: 14px;
}

.la-grid-cell:nth-child(4n) { border-right: 0; }
.la-grid-cell:nth-last-child(-n+4) { border-bottom: 0; }
.la-grid-head { background: #f8f9fa; color: #7b858e; font-weight: 650; min-height: 48px; }
.la-grid-subject { font-weight: 650; }

.la-chip {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 650;
}
.la-chip-done { background: #eaf6ef; color: #137241; }
.la-chip-work { background: #edf3fb; color: var(--la-blue); }
.la-chip-next { background: #f1f2f4; color: #68727c; }

.la-benefit { max-width: 850px; }
.la-benefit p { font-size: 20px; }

.la-process {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 55px;
}

.la-process-step { border-top: 2px solid var(--la-border); padding-top: 20px; }
.la-process-step span { font-size: 13px; color: var(--la-blue); font-weight: 650; }
.la-process-step strong { display: block; margin-top: 8px; font-size: 17px; }

.la-modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 55px;
}

.la-module-card {
    border: 1px solid var(--la-border);
    border-radius: 12px;
    padding: 28px;
    background: #fff;
}
.la-module-card strong { display: block; font-size: 18px; margin-bottom: 8px; }
.la-module-card p { font-size: 15px; margin-bottom: 0; }

.la-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.la-checklist { margin: 8px 0 0; padding: 0; list-style: none; }
.la-checklist li {
    padding: 12px 0 12px 30px;
    border-bottom: 1px solid var(--la-border);
    color: var(--la-text);
    font-size: 17px;
    position: relative;
}
.la-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--la-green); font-weight: 800; }
.la-practice { max-width: 780px; }
.la-cta { text-align: center; max-width: 800px; margin: 0 auto; }
.la-cta .la-button { margin-top: 18px; }

/* Product */
.la-product-hero { padding: 110px 0 90px; }
.la-cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.la-card { border: 1px solid var(--la-border); border-radius: 14px; padding: 30px; background: #fff; }
.la-card p { font-size: 16px; margin-bottom: 0; }

.la-download-area { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 45px; }
.la-download { padding: 32px; border: 1px solid var(--la-border); border-radius: 14px; background: #fff; }
.la-coming { display: inline-block; margin-top: 15px; padding: 7px 11px; border-radius: 20px; background: #f0f2f4; color: #737d86; font-size: 13px; font-weight: 650; }

/* Compact pages */
.la-compact-page { padding: 115px 0; }
.la-compact-inner { max-width: 900px; }
.la-compact-inner h2 { font-size: 32px; margin-top: 55px; margin-bottom: 18px; }
.la-center { text-align: center; margin: 0 auto; }

.la-contact-box { margin-top: 45px; padding: 30px; border: 1px solid var(--la-border); border-radius: 14px; }
.la-contact-label { font-size: 14px; color: var(--la-text); margin-bottom: 7px; }
.la-contact-box a { color: var(--la-blue); font-size: 21px; font-weight: 650; text-decoration: none; }

/* Generic page content */
.la-generic-content { max-width: 860px; }
.la-generic-content > *:first-child { margin-top: 0; }

/* Footer */
.la-site-footer { border-top: 1px solid var(--la-border); background: #fff; }
.la-footer-inner {
    min-height: 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    color: #7b858e;
    font-size: 14px;
}
.la-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.la-footer-links a { color: #68727c; text-decoration: none; }
.la-footer-links a:hover { color: var(--la-blue); }

/* WordPress admin/edit links */
.post-edit-link { display: inline-block; margin-top: 30px; color: var(--la-blue); }

@media (max-width: 1100px) {
    .admin-bar .la-site-header { top: 46px; }
    .la-header-inner { align-items: flex-start; flex-direction: column; gap: 0; padding-top: 16px; }
    .la-main-nav { gap: 18px; width: 100%; }
    .la-main-nav a { padding: 16px 0 14px; }
    .la-facts, .la-cards-3, .la-modules-grid { grid-template-columns: repeat(2, 1fr); }
    .la-process { grid-template-columns: 1fr; gap: 10px; }
    .la-two-column { grid-template-columns: 1fr; gap: 35px; }
    .la-download-area { grid-template-columns: 1fr; }
    .la-competence-grid { grid-template-columns: 1.35fr .8fr .8fr .8fr; min-width: 700px; }
    .la-preview-content { overflow-x: auto; }
}

@media (max-width: 650px) {
    .la-shell { width: min(100% - 32px, 1180px); }
    .la-site-header { position: static; }
    .la-brand img { width: 36px; height: 36px; }
    .la-brand-name { font-size: 23px; }
    .la-main-nav { gap: 14px 18px; padding-bottom: 8px; }
    .la-main-nav a { font-size: 14px; padding: 11px 0; }
    .la-section { padding: 74px 0; }
    .la-hero, .la-product-hero { padding: 78px 0 56px; }
    .la-page h1 { font-size: 43px; }
    .la-page h2 { font-size: 33px; }
    .la-lead { font-size: 18px !important; }
    .la-facts, .la-cards-3, .la-modules-grid { grid-template-columns: 1fr; }
    .la-facts { padding-bottom: 74px; }
    .la-preview-content { padding: 24px; }
    .la-footer-inner { align-items: flex-start; flex-direction: column; padding: 30px 0; min-height: 0; }
    .la-compact-page { padding: 80px 0; }
}

@media (max-width: 650px) {
    .la-main-logo { width: 190px; max-height: 50px; }
}

/* =====================================================
   Lernatlas 2.3 – strukturierte Startseite, Ablauf, Vision
   ===================================================== */

/* Die drei Labels auf der Startseite bewusst neutral/schwarz. */
.la-fact-label,
.la-fact:nth-child(2) .la-fact-label,
.la-fact:nth-child(3) .la-fact-label {
    color: var(--la-dark);
}

.la-hero-compact { padding-bottom: 64px; }

.la-home-promises { padding: 0 0 105px; }
.la-promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.la-promise-card {
    border: 1px solid var(--la-border);
    border-radius: 16px;
    padding: 32px;
    background: #fff;
}
.la-promise-card h2 {
    font-size: 28px;
    letter-spacing: -.025em;
    margin-bottom: 14px;
}
.la-promise-card p { font-size: 16px; margin-bottom: 0; }

.la-section-heading { max-width: 820px; }
.la-subject-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 48px;
}
.la-subject-card {
    background: #fff;
    border: 1px solid var(--la-border);
    border-radius: 14px;
    padding: 30px;
}
.la-subject-card h3 { margin-bottom: 10px; }
.la-subject-card p { font-size: 16px; margin-bottom: 0; }

.la-home-school-grid { align-items: center; }
.la-use-cases { display: grid; gap: 18px; }
.la-use-case {
    border: 1px solid var(--la-border);
    border-radius: 14px;
    padding: 26px 28px;
    background: #fff;
}
.la-use-case span {
    display: block;
    color: var(--la-text);
    font-size: 13px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}
.la-use-case strong { display: block; font-size: 20px; margin-bottom: 8px; }
.la-use-case p { font-size: 16px; margin-bottom: 0; }

/* Produkt-Ablauf als klare vertikale Schleife */
.la-cycle-flow {
    max-width: 900px;
    margin: 55px auto 0;
}
.la-cycle-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
    align-items: start;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--la-border);
    border-radius: 14px;
}
.la-cycle-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--la-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--la-dark);
    font-size: 13px;
    font-weight: 700;
}
.la-cycle-step h3 { margin-bottom: 8px; }
.la-cycle-step p { font-size: 16px; margin-bottom: 0; }
.la-cycle-arrow {
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #9aa2aa;
    font-size: 24px;
}
.la-cycle-arrow-loop {
    color: var(--la-blue);
    font-size: 30px;
}
.la-cycle-step-loop { border: 2px solid #dfe9f6; }

/* Vision */
.la-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.la-vision-card {
    background: #fff;
    border: 1px solid var(--la-border);
    border-radius: 16px;
    padding: 32px;
}
.la-vision-card span {
    display: block;
    color: var(--la-dark);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 18px;
}
.la-vision-card h2 {
    font-size: 28px;
    letter-spacing: -.025em;
}
.la-vision-card p { font-size: 16px; margin-bottom: 0; }
.la-vision-statement { max-width: 900px; }

/* Mobile: vollständiges Hauptlogo behalten statt auf 36 px zu schrumpfen. */
@media (max-width: 1100px) {
    .la-promise-grid,
    .la-subject-grid,
    .la-vision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .la-brand img.la-main-logo {
        width: 190px;
        height: auto;
        max-height: 50px;
    }
    .la-home-promises { padding-bottom: 74px; }
    .la-cycle-step {
        grid-template-columns: 46px 1fr;
        gap: 16px;
        padding: 22px;
    }
    .la-cycle-number {
        width: 40px;
        height: 40px;
    }
}


/* =====================================================
   Lernatlas 2.3 – Vorschau-Website, Mobile-Menü, Feinschliff
   ===================================================== */

.la-development-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 22px;
    padding: 7px 11px;
    border: 1px solid var(--la-border);
    border-radius: 999px;
    background: #fafbfc;
    color: #68727c;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .01em;
}

.la-price-contact {
    margin: 44px auto 0;
    padding-top: 30px;
    max-width: 520px;
    border-top: 1px solid var(--la-border);
}
.la-price-contact p {
    margin-bottom: 8px;
    font-size: 16px;
}

.la-legal-page h2 {
    font-size: 28px;
    margin-top: 48px;
    margin-bottom: 14px;
}
.la-legal-page a {
    color: var(--la-blue);
    text-decoration: none;
}
.la-legal-page a:hover { text-decoration: underline; }
.la-legal-meta {
    margin-top: 52px;
    padding-top: 22px;
    border-top: 1px solid var(--la-border);
    font-size: 14px !important;
    color: #7b858e !important;
}

/* Mobile Navigation */
.la-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--la-border);
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex: 0 0 auto;
}
.la-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--la-dark);
    transition: transform .2s ease, opacity .2s ease;
}
.la-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.la-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.la-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
    .la-site-header { position: sticky; top: 0; }
    .la-header-inner {
        min-height: 72px;
        padding: 10px 0;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }
    .la-main-logo {
        width: 210px;
        max-height: 54px;
    }
    .la-menu-toggle { display: inline-flex; }
    .la-main-nav {
        display: none;
        flex-basis: 100%;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 10px;
        padding: 4px 0 8px;
        border-top: 1px solid var(--la-border);
    }
    .la-main-nav.is-open { display: flex; }
    .la-main-nav a {
        display: block;
        width: 100%;
        padding: 14px 2px;
        border-bottom: 1px solid var(--la-border);
        font-size: 15px;
    }
    .la-main-nav a:last-child { border-bottom: 0; }
    .la-main-nav a:hover,
    .la-main-nav a.is-active {
        border-bottom-color: var(--la-border);
        color: var(--la-blue);
    }
}

@media (max-width: 650px) {
    .la-brand img.la-main-logo {
        width: 182px;
        max-height: 48px;
    }
    .la-development-badge {
        margin-bottom: 18px;
        font-size: 12px;
    }
}

/* Beta V.1.5: Kontaktaufruf und zwei verfügbare Fächer. */
.la-beta-intro { max-width: 740px; margin-top: 24px; }
.la-beta-intro a { color: var(--la-blue); text-underline-offset: 3px; }
.la-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; }
.la-price-contact > .la-text-link { display: block; margin-top: 20px; }
.la-development-badge { color: var(--la-navy); background: #edf4fb; border-color: #d9e6f4; }
@media (max-width: 650px) {
    .la-beta-intro { font-size: 17px; }
    .la-hero-actions { align-items: flex-start; flex-direction: column; }
}
/* Lange deutsche Überschriften bleiben auch auf schmalen Displays lesbar. */
@media (max-width: 650px) {
    h1, h2, h3 { hyphens: auto; overflow-wrap: anywhere; }
}

/* Kundenbereich: klare Navigation und ausreichend Raum für Produktkarten. */
.la-main-nav .la-customer-link{border:1px solid #d7e1eb;border-radius:7px;padding:9px 12px;color:#173c62}.la-generic-content{max-width:1160px}.la-product-hero .la-lead{max-width:850px}@media(min-width:1101px){.la-main-nav{gap:19px}.la-main-nav a{font-size:14px}.la-main-logo{width:240px}}

.la-legal-page h2{margin-top:2em}.la-legal-page p{line-height:1.7}.la-footer-links{flex-wrap:wrap}

/* Individuelle Lernwege und transparente Paketpreise. */
.la-reading-width { max-width: 920px; }
.la-audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.la-purchase-note { padding: 28px; background: white; border: 1px solid var(--la-border); border-left: 4px solid var(--la-green); border-radius: 12px; margin-bottom: 32px; }
.la-purchase-note h2 { margin-top: 0; }
.la-purchase-note p { margin-bottom: 0; }
.la-price { color: var(--la-navy); font-size: 1.2rem; }
.la-price-example { margin-top: 28px; color: var(--la-navy); }
@media (max-width: 700px) { .la-audience-grid { grid-template-columns: 1fr; } .la-purchase-note { padding: 22px; } }
