:root {
    --blue: #176b87;
    --blue-dark: #0d4356;
    --blue-light: #eaf5f8;
    --text: #23313a;
    --muted: #60717c;
    --white: #ffffff;
    --border: #dce6ea;
    --shadow: 0 12px 32px rgba(20, 55, 70, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
    padding-bottom: 118px;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
}

a {
    color: var(--blue);
}

main {
    flex: 1 0 auto;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    max-width: 780px;
}

/* Header & Header-Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #e4eef1;
    border-bottom: 1px solid #c5d6dc;
}

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

.brand {
    display: flex;
    flex-direction: column;
    color: var(--text);
    text-decoration: none;
}

.brand-title {
    color: var(--blue-dark);
    font-size: 1.22rem;
    font-weight: 800;
}

.brand-subtitle {
    color: var(--muted);
    font-size: 0.84rem;
}

.main-nav,
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.main-nav a,
.footer-nav a,
.customer-login {
    color: var(--text);
    text-decoration: none;
}

.updated-note {
    margin: 12px 0 0;
    color: #d8edf2;
    font-size: 0.94rem;
}

.main-nav a:hover,
.main-nav a.active,
.footer-nav a:hover,
.customer-login:hover,
.customer-login:focus-visible,
.customer-login.is-signed-in {
    color: var(--blue);
}

.customer-login {
    white-space: nowrap;
}

/* Hero-Bereich */
.hero, .book-hero {
    padding: 70px 0 48px;
    background: linear-gradient(135deg, #eef8fa, #ffffff);
}

.hero-grid,
.feature-grid,
.book-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px; /* Spaltenbreite rechts von 330px auf 260px verkleinert */
    gap: 56px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h1, h2, h3 {
    color: var(--blue-dark);
    line-height: 1.2;
}

h1 {
    margin: 0 0 22px;
    font-size: clamp(2.05rem, 4.2vw, 3.55rem);
}

h2 {
    font-size: clamp(1.65rem, 2.6vw, 2.2rem);
}

.lead, .lead-wide {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.18rem;
    line-height: 1.5;
}

/* Interaktive Buttons */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 0;
}

.button {
    display: inline-block;
    padding: 12px 22px;
    border: 2px solid var(--blue);
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.button-primary {
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 4px 12px rgba(23, 107, 135, 0.25);
}

.button-primary:hover {
    color: var(--white);
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}

.button-secondary {
    color: var(--blue);
    background: transparent;
}

.button-secondary:hover {
    color: var(--blue-dark);
    background: var(--blue-light);
}

/* Cover & Buchanzeige (HERSTELLUNG BILDGRÖSSE) */
.book-cover, .book-image-frame {
    display: flex;
    justify-content: center;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.book-cover img, .book-image-frame img {
    max-height: 280px; /* Hier reduziert von 440px auf 280px */
    max-width: 100%;
    object-fit: contain;
}

/* Sektionen & Layouts */
.section, .book-section {
    padding: 58px 0;
}

.section-alt, .lesson-band {
    background: var(--white);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: 42px;
    align-items: center;
}

/* Pfad & Bände-Liste */
.path-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.path-step {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(20, 55, 70, .08);
}

.path-step strong {
    color: var(--blue-dark);
}

.path-step span:first-child {
    color: var(--blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Netz-Grafik Karte */
.network-card {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.network-title {
    margin: 0 0 18px;
    color: var(--blue-dark);
    font-weight: 800;
}

.network-map {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: center;
}

.node {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px solid #c7dce3;
    border-radius: 8px;
    background: #f7fbfc;
    color: var(--blue-dark);
    font-weight: 800;
    text-align: center;
}

.node.core {
    border-color: var(--blue);
    background: #eaf5f8;
}

.line {
    height: 2px;
    background: #9ebbc5;
}

/* Argumente & Gründe Grid */
.reason-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.reason {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbfdfe;
}

.reason strong {
    display: block;
    margin-bottom: 8px;
    color: var(--blue-dark);
}

/* FAQ Akkordeon */
.faq-list {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.faq-item {
    background: var(--white);
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.faq-item summary {
    font-weight: bold;
    cursor: pointer;
    color: var(--blue-dark);
    font-size: 1.05rem;
}

.faq-item p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

/* Footer */
.site-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    padding: 26px 0;
    color: var(--white);
    background: #092f3d;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-project {
    min-width: 0;
}

.footer-nav {
    align-items: center;
}

.footer-nav a {
    color: var(--white);
}

/* Responsive Anpassungen */
@media (max-width: 900px) {
    .header-inner,
    .footer-inner {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
    }

    .hero-grid,
    .feature-grid,
    .book-hero-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .book-cover {
        justify-content: flex-start;
    }

    .book-cover img {
        max-height: 240px;
    }

    .reason-grid {
        grid-template-columns: 1fr;
    }

    .network-map {
        grid-template-columns: 1fr;
    }

    .line {
        height: 16px;
        width: 2px;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, 1120px);
    }

    .hero,
    .section,
    .book-hero,
    .book-section {
        padding: 40px 0;
    }

    body {
        padding-bottom: 0;
    }

    .site-footer {
        position: static;
        padding: 20px 0;
    }

    .footer-inner {
        gap: 14px;
    }

    .footer-nav {
        gap: 12px 18px;
    }
}

.verwaltung-hotspot {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 34px;
    height: 34px;
    opacity: 0;
    overflow: hidden;
}