/* ============================================================
   MediEcho – Home v4 ("Meistempfohlen", mit Megamenü)
   Eigenes CSS, kein Tailwind. Ruhige, redaktionelle Anmutung:
   viel Weißraum, wenige Farben, Handschrift-Akzente (Caveat).
   ============================================================ */

/* ---------- Variablen & Basis ---------- */

:root {
    --green: #80b32c;
    --green-dark: #6a9624;
    --green-soft: rgba(128, 179, 44, 0.1);
    --navy: #0a2540;
    --navy-deep: #031e35;
    --text: #425466;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-soft: #f6f9fc;
    --bg-grad: linear-gradient(150deg, #f6f9fc 0%, #eef2f6 100%);
    --border: #e5e7eb;
    --star: #fbbf24;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --hand: 'Caveat', cursive;

    --radius: 1rem;
    --radius-lg: 1.5rem;
    --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.05);
    --shadow-md: 0 10px 24px -8px rgba(10, 37, 64, 0.12);
    --shadow-lg: 0 25px 50px -12px rgba(10, 37, 64, 0.22);

    --nav-h: 76px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3 {
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin: 0 0 0.6em;
    font-weight: 800;
}

h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}

h3 {
    font-size: 1.35rem;
    font-weight: 700;
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--green);
    text-decoration: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--navy);
    color: #fff;
    padding: 10px 18px;
    z-index: 200;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

::selection {
    background: rgba(128, 179, 44, 0.25);
}

/* Feines Korn über dunklen Flächen */
.noise {
    position: relative;
}

.noise::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.03'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typo-Bausteine ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-dark);
    margin: 0 0 18px;
}

.eyebrow img {
    height: 22px;
    width: auto;
}

.eyebrow.inverse {
    color: #a8d05e;
}

.section-head {
    max-width: 720px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-head .sub,
.chapter-head .sub,
.faq-intro .sub,
.team-copy .sub {
    font-size: 1.1rem;
    color: var(--text-light);
}

.section-head.light h2 {
    color: #fff;
}

.section-head.light .sub {
    color: rgba(255, 255, 255, 0.72);
}

.grad {
    background: linear-gradient(110deg, var(--green) 10%, #b5d96f 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--green-dark);
}

.link-arrow svg {
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}

.link-arrow:hover svg {
    transform: translateX(4px);
}

.link-arrow.inverse {
    color: #b5d96f;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
}

.btn svg {
    width: 14px;
    height: 14px;
}

.btn-primary {
    background: var(--green);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(128, 179, 44, 0.35);
}

.btn-primary:hover {
    background: var(--green-dark);
}

.btn-sm {
    padding: 11px 20px;
    font-size: 14px;
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: var(--navy);
}

.btn-light {
    background: #fff;
    color: var(--navy);
}

.btn-light:hover {
    background: #f1f5f9;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: #fff;
}

/* ============================================================
   NAVIGATION & MEGAMENÜ
   ============================================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled,
.nav.mega-open {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(10, 37, 64, 0.07);
}

.nav-inner {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-logo {
    height: 40px;
    width: auto;
}

.brand-claim {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-light);
    border-left: 1px solid var(--border);
    padding-left: 14px;
    max-width: 150px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    padding: 10px 14px;
    border-radius: 9999px;
    background: none;
    border: 0;
    font-family: var(--font);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    background: rgba(10, 37, 64, 0.05);
}

.nav-link .chev {
    width: 11px;
    height: 11px;
    transition: transform 0.25s ease;
}

.nav.mega-open .mega-trigger {
    background: rgba(10, 37, 64, 0.05);
}

.nav.mega-open .mega-trigger .chev {
    transform: rotate(180deg);
}

.nav-cta {
    display: flex;
}

/* --- Megamenü-Panel --- */

.mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid rgba(10, 37, 64, 0.06);
    box-shadow: 0 40px 60px -30px rgba(10, 37, 64, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.nav.mega-open .mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    padding-top: 40px;
    padding-bottom: 36px;
}

.mega-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.mega-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-dark);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.mega-link {
    display: block;
    padding: 9px 10px;
    margin: 0 -10px;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.mega-link:hover {
    background: var(--bg-soft);
}

.mega-link strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.35;
}

.mega-link span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.45;
    margin-top: 1px;
}

/* Untergruppen-Label innerhalb einer Spalte (z. B. „Bewertungsinstrumente") */
.mega-sublabel {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-light);
    margin: 2px 0 6px;
}

/* Abstand vor den freistehenden Punkten unterhalb einer Untergruppe */
.mega-link--free {
    margin-top: 14px;
}

.mega-feature {
    display: block;
    background: var(--bg-soft);
    border: 1px solid rgba(10, 37, 64, 0.06);
    border-radius: var(--radius-lg);
    padding: 18px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mega-feature:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.mega-feature figure {
    margin: 0 0 14px;
    border-radius: 12px;
    overflow: hidden;
}

.mega-feature-note {
    font-family: var(--hand);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    line-height: 1.1;
}

.mega-feature-txt {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 6px 0 10px;
    line-height: 1.5;
}

.mega-foot {
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
}

.mega-foot-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.mega-foot p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text);
}

.mega-foot strong {
    color: var(--navy);
}

/* Unsichtbare Hover-Brücke zwischen Trigger und Panel */
.nav::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0;
}

/* --- Burger & Mobile Menü --- */

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.open span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: var(--nav-h) 0 0;
    z-index: 90;
    background: #fff;
    padding: 18px 24px 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    max-width: 560px;
    margin: 0 auto;
}

.mm-group {
    border-bottom: 1px solid var(--border);
}

.mm-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
    padding: 16px 0;
}

.mm-group summary::-webkit-details-marker {
    display: none;
}

.mm-ico {
    position: relative;
    width: 14px;
    height: 14px;
    flex: none;
}

.mm-ico::before,
.mm-ico::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    background: var(--green-dark);
    border-radius: 2px;
    transition: transform 0.25s ease;
}

.mm-ico::before {
    width: 14px;
    height: 2px;
}

.mm-ico::after {
    width: 2px;
    height: 14px;
}

.mm-group[open] .mm-ico::after {
    transform: rotate(90deg);
}

.mm-links {
    display: flex;
    flex-direction: column;
    padding: 0 0 14px;
}

.mm-links a {
    color: var(--text);
    font-size: 0.98rem;
    padding: 8px 0 8px 14px;
    border-left: 2px solid var(--border);
}

.mm-links a:active,
.mm-links a:hover {
    color: var(--navy);
    border-left-color: var(--green);
}

.mm-direct {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-menu .btn {
    margin-top: 26px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    padding: calc(var(--nav-h) + 64px) 0 96px;
    background: var(--bg-grad);
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(640px 420px at 86% 18%, rgba(128, 179, 44, 0.10), transparent 65%),
        radial-gradient(540px 420px at 8% 86%, rgba(10, 37, 64, 0.05), transparent 60%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 64px;
    align-items: center;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5.2vw, 3.9rem);
    line-height: 1.08;
    margin-bottom: 28px;
}

.hero-title .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}

.hero-title .w {
    display: inline-block;
    will-change: transform;
}

.hl-wrap {
    position: relative;
    white-space: nowrap;
}

.hl-text {
    position: relative;
    z-index: 1;
    color: var(--navy-deep);
}

.hl-underline {
    position: absolute;
    left: -1%;
    right: -1%;
    bottom: -0.14em;
    width: 102%;
    height: 0.22em;
    color: var(--green);
    z-index: 0;
}

.hero-checks {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-checks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.06rem;
}

.hero-checks .check {
    width: 22px;
    height: 22px;
    flex: none;
    margin-top: 2px;
    color: var(--green);
}

.hero-checks strong {
    color: var(--navy);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.hero-micro {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 0.83rem;
    color: var(--text-light);
    margin: 0;
}

/* --- Hero-Visual --- */

.hero-visual {
    position: relative;
    min-height: 460px;
}

.echo-rings {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.echo-rings i {
    position: absolute;
    border: 1px solid rgba(128, 179, 44, 0.35);
    border-radius: 50%;
    width: 220px;
    height: 220px;
    animation: echo 7s linear infinite;
    opacity: 0;
}

.echo-rings i:nth-child(2) {
    animation-delay: 1.75s;
}

.echo-rings i:nth-child(3) {
    animation-delay: 3.5s;
}

.echo-rings i:nth-child(4) {
    animation-delay: 5.25s;
}

@keyframes echo {
    0% {
        transform: scale(0.55);
        opacity: 0;
    }

    18% {
        opacity: 0.55;
    }

    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}

.vis-card {
    position: absolute;
    margin: 0;
    background: #fff;
    border: 1px solid rgba(10, 37, 64, 0.07);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.chat-card {
    top: 0;
    left: 4%;
    right: 18%;
    padding: 20px 22px 24px;
}

.chat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--bg-soft);
    margin-bottom: 16px;
}

.ai-ico {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 10px;
    background: var(--green-soft);
    color: var(--green-dark);
}

.ai-ico svg {
    width: 18px;
    height: 18px;
}

.chat-head-txt strong {
    display: block;
    font-size: 0.92rem;
    color: var(--navy);
    line-height: 1.2;
}

.chat-head-txt span {
    font-size: 0.74rem;
    color: var(--text-light);
}

.live-dot {
    margin-left: auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(128, 179, 44, 0.5);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(128, 179, 44, 0.45);
    }

    70% {
        box-shadow: 0 0 0 9px rgba(128, 179, 44, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(128, 179, 44, 0);
    }
}

.bubble {
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 0.9rem;
    line-height: 1.55;
}

.bubble.user {
    background: var(--bg-soft);
    color: var(--navy);
    margin: 0 0 12px 26px;
    border-bottom-right-radius: 4px;
}

.bubble.ai {
    background: linear-gradient(160deg, #f4f8ec, #eef5e0);
    margin-right: 26px;
    border-bottom-left-radius: 4px;
}

.bubble.ai p {
    margin: 0;
}

.bubble.ai strong {
    color: var(--navy);
}

.ai-sources {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 10px !important;
}

.src-label {
    font-size: 0.7rem;
    color: var(--text-light);
}

.src {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--green-dark);
    background: #fff;
    border: 1px solid rgba(128, 179, 44, 0.35);
    padding: 2px 9px;
    border-radius: 9999px;
}

.rank-badge {
    position: absolute;
    top: -14px;
    right: -12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--navy);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 9999px;
    box-shadow: var(--shadow-md);
}

.rank-badge svg {
    width: 13px;
    height: 13px;
    color: var(--star);
}

.g-card {
    right: 0;
    top: 46%;
    width: 230px;
    padding: 18px 20px;
}

.g-top {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.8rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.g-logo {
    width: 18px;
    height: 18px;
}

.g-score {
    display: flex;
    align-items: center;
    gap: 10px;
}

.g-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.stars {
    display: inline-flex;
    gap: 2px;
}

.stars svg {
    width: 16px;
    height: 16px;
    fill: var(--star);
}

.g-meta {
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: var(--text-light);
}

.g-meta em {
    font-style: normal;
    color: var(--green-dark);
    font-weight: 700;
}

.p-card {
    left: 0;
    bottom: 0;
    width: 210px;
    padding: 16px 18px;
}

.p-title {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 10px;
}

.p-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.p-card li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 7px 0;
    border-top: 1px solid var(--bg-soft);
    font-size: 0.84rem;
}

.p-card li span {
    color: var(--text);
}

.p-card li b {
    color: var(--navy);
    font-weight: 700;
    white-space: nowrap;
}

.hand-note {
    position: absolute;
    right: 2%;
    bottom: 7%;
    font-family: var(--hand);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--navy);
    transform: rotate(-5deg);
}

.hand-note svg {
    position: absolute;
    width: 44px;
    top: -34px;
    left: -30px;
    transform: scaleX(-1) rotate(110deg);
    color: var(--green-dark);
}

.hand-note.small {
    position: absolute;
    right: 18px;
    bottom: -16px;
    font-size: 1.3rem;
    transform: rotate(-4deg);
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 6px 14px;
}

.hand-note.small svg {
    display: none;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(10, 37, 64, 0.25);
    border-radius: 14px;
    display: grid;
    justify-content: center;
    padding-top: 7px;
    z-index: 2;
}

.scroll-cue span {
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: var(--green);
    animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.4;
    }
}

/* ============================================================
   TRUST-BAND
   ============================================================ */

.trust {
    padding: 56px 0 48px;
    border-bottom: 1px solid var(--bg-soft);
}

.trust-label {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 28px;
}

.marquee {
    position: relative;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 72px;
    width: max-content;
    animation: marquee 42s linear infinite;
    padding: 4px 0;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track img {
    height: 84px;
    width: auto;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

.marquee-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-fade.left {
    left: 0;
    background: linear-gradient(90deg, #fff, transparent);
}

.marquee-fade.right {
    right: 0;
    background: linear-gradient(-90deg, #fff, transparent);
}

/* ============================================================
   STATEMENT
   ============================================================ */

.statement {
    padding: 120px 0 110px;
    text-align: center;
}

.statement-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-dark);
    margin-bottom: 26px;
}

.statement-text {
    max-width: 920px;
    margin: 0 auto 36px;
    font-size: clamp(1.5rem, 3.1vw, 2.3rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.015em;
}

.statement-text .w {
    color: rgba(10, 37, 64, 0.22);
    transition: color 0.35s ease;
}

.statement-text .w.on {
    color: var(--navy);
}

.statement-text .w.hl.on {
    color: var(--green-dark);
}

.channel-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--bg-soft);
    border: 1px solid rgba(10, 37, 64, 0.07);
    padding: 10px 18px;
    border-radius: 9999px;
}

.chip svg {
    width: 16px;
    height: 16px;
    color: var(--green-dark);
}

/* ============================================================
   KI-SEKTION (dunkel)
   ============================================================ */

.ki {
    background:
        radial-gradient(900px 480px at 80% -10%, rgba(128, 179, 44, 0.16), transparent 60%),
        linear-gradient(165deg, #062541 0%, var(--navy-deep) 55%, #04223c 100%);
    color: rgba(255, 255, 255, 0.78);
    padding: 110px 0 100px;
}

.ki .section-head {
    margin-bottom: 56px;
}

.ki-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}

.ki-review,
.ki-answer {
    margin: 0;
    border-radius: var(--radius-lg);
    padding: 26px 28px;
}

.ki-review {
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-lg);
}

.ki-review header,
.ki-answer header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ki-review .avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.ki-review header strong {
    display: block;
    color: var(--navy);
    font-size: 0.92rem;
    line-height: 1.2;
}

.ki-stars {
    color: var(--star);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.ki-review blockquote {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
}

mark.kw,
mark.kw2 {
    color: inherit;
    font-weight: 700;
    background-image: linear-gradient(rgba(128, 179, 44, 0.28), rgba(128, 179, 44, 0.28));
    background-repeat: no-repeat;
    background-size: 0% 100%;
    background-position: 0 0;
    border-radius: 3px;
    padding: 1px 3px;
    margin: -1px -3px;
}

.ki-flow {
    position: relative;
    color: #b5d96f;
    text-align: center;
}

.ki-flow svg {
    width: 100%;
    height: 64px;
    overflow: visible;
}

.ki-flow-label {
    display: block;
    font-family: var(--hand);
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.65);
    transform: rotate(-3deg);
}

.ki-answer {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(6px);
}

.ki-answer header strong {
    color: #fff;
    font-size: 0.92rem;
}

.ki-answer .ai-ico {
    background: rgba(128, 179, 44, 0.25);
    color: #b5d96f;
}

.ki-answer p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
}

.ki-answer strong {
    color: #fff;
}

.ki-answer mark.kw2 {
    background-image: linear-gradient(rgba(181, 217, 111, 0.9), rgba(181, 217, 111, 0.9));
    color: rgba(255, 255, 255, 0.85);
}

.ki-bottom {
    max-width: 720px;
    margin: 56px auto 0;
    text-align: center;
}

.ki-bottom p {
    font-size: 1.06rem;
}

.ki-bottom strong {
    color: #fff;
}

/* ============================================================
   SYSTEM-MAP
   ============================================================ */

.system {
    padding: 120px 0;
    background: var(--bg);
}

.sys-map {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
}

.sys-note {
    position: absolute;
    top: -44px;
    right: 8px;
    font-family: var(--hand);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.05;
    color: var(--green-dark);
    transform: rotate(4deg);
    z-index: 2;
}

.sys-nodes {
    list-style: none;
    counter-reset: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
}

.sys-node {
    position: relative;
    background: #fff;
    border: 1px solid rgba(10, 37, 64, 0.08);
    border-radius: var(--radius-lg);
    padding: 26px 24px 22px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sys-node:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.sys-node:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    width: 12px;
    height: 12px;
    border-top: 2px solid rgba(128, 179, 44, 0.7);
    border-right: 2px solid rgba(128, 179, 44, 0.7);
    transform: translateY(-50%) rotate(45deg);
}

.sys-num {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(10, 37, 64, 0.25);
}

.sys-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--green-soft);
    color: var(--green-dark);
    margin-bottom: 16px;
}

.sys-ico svg {
    width: 22px;
    height: 22px;
}

.sys-node h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.sys-node p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

.sys-band {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    padding: 18px 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, #f4f8ec, #eef5e0);
    border: 1px solid rgba(128, 179, 44, 0.25);
    font-size: 0.95rem;
    color: var(--text);
    text-align: center;
}

.sys-band svg {
    width: 22px;
    height: 22px;
    flex: none;
    color: var(--green-dark);
}

.sys-band strong {
    color: var(--navy);
}

/* ============================================================
   KAPITEL
   ============================================================ */

.chapter {
    padding: 110px 0;
}

.chapter.alt {
    background: var(--bg-soft);
}

.chapter-head {
    max-width: 680px;
    margin: 0 0 70px;
}

.chapter-num {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-dark);
    background: var(--green-soft);
    border-radius: 9999px;
    padding: 6px 16px;
    margin-bottom: 18px;
}

/* --- Modul-Reihen --- */

.module-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: center;
    padding: 36px 0;
    scroll-margin-top: calc(var(--nav-h) + 24px);
}

.module-row.flip .module-copy {
    order: 2;
}

.module-row.flip .module-visual {
    order: 1;
}

.chip-tag {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-dark);
    background: var(--green-soft);
    padding: 5px 13px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.chapter.alt .chip-tag {
    background: rgba(128, 179, 44, 0.14);
}

.module-copy h3 {
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    margin-bottom: 16px;
}

.module-copy p {
    font-size: 1.02rem;
    color: var(--text);
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 10px 18px;
    margin-top: 6px;
    box-shadow: var(--shadow-sm);
}

.stat-pill svg {
    width: 15px;
    height: 15px;
    flex: none;
    color: var(--green-dark);
}

.module-visual {
    position: relative;
}

.shot {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(10, 37, 64, 0.08);
    box-shadow: var(--shadow-lg);
    background: #fff;
}

.shot img,
.shot video {
    width: 100%;
    height: auto;
}

/* --- Kanäle (Kapitel 01) --- */

.channels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 48px;
    scroll-margin-top: calc(var(--nav-h) + 24px);
}

.channel-card {
    background: var(--bg-soft);
    border: 1px solid rgba(10, 37, 64, 0.06);
    border-radius: var(--radius-lg);
    padding: 26px 26px 20px;
}

.chapter.alt .channel-card {
    background: #fff;
}

.channel-ico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(10, 37, 64, 0.07);
    color: var(--green-dark);
    margin-bottom: 14px;
}

.channel-ico svg {
    width: 21px;
    height: 21px;
}

.channel-card h3 {
    font-size: 1.04rem;
    margin-bottom: 6px;
}

.channel-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.logo-band {
    margin-top: 56px;
    text-align: center;
}

.logo-band-label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 22px;
}

.logo-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 22px 44px;
}

.logo-row img {
    width: auto;
    height: auto;
    max-height: 38px;
    max-width: 118px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.logo-row img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.logo-band-hint {
    margin-top: 20px;
    font-size: 0.72rem;
    color: var(--text-light);
    opacity: 0.75;
}

.chapter-more {
    margin: 40px auto 0;
    max-width: 640px;
    text-align: center;
    font-size: 0.98rem;
    color: var(--text-light);
    background: #fff;
    border: 1px dashed rgba(128, 179, 44, 0.5);
    border-radius: var(--radius);
    padding: 16px 26px;
}

.chapter-more strong {
    color: var(--navy);
}

/* --- Trio (Kapitel 03) --- */

.trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 48px;
    scroll-margin-top: calc(var(--nav-h) + 24px);
}

.trio-card {
    background: var(--bg-soft);
    border: 1px solid rgba(10, 37, 64, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.trio-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.trio-card figure {
    margin: 0;
    overflow: hidden;
}

.trio-card img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.trio-card:hover img {
    transform: scale(1.03);
}

.trio-card h3 {
    font-size: 1.06rem;
    margin: 20px 24px 6px;
}

.trio-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 24px 22px;
}

/* --- Kontrolle (Kapitel 04) --- */

.wide-visual {
    margin: 0 auto 56px;
    max-width: 860px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(10, 37, 64, 0.08);
    box-shadow: var(--shadow-lg);
}

.wide-visual img {
    width: 100%;
}

.control-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.control-card {
    background: #fff;
    border: 1px solid rgba(10, 37, 64, 0.07);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.control-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.control-card figure {
    margin: 0;
    border-bottom: 1px solid var(--bg-soft);
    overflow: hidden;
}

.control-card img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.control-card:hover img {
    transform: scale(1.03);
}

.control-card h3 {
    font-size: 1.06rem;
    margin: 20px 24px 6px;
}

.control-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 24px 22px;
}

/* ============================================================
   TEAM MIT HERZ
   ============================================================ */

.team {
    padding: 120px 0;
    background:
        radial-gradient(700px 460px at 12% 20%, rgba(128, 179, 44, 0.07), transparent 60%),
        var(--bg);
}

.team-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 72px;
    align-items: start;
}

.team-copy {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
}

.team-note {
    display: inline-block;
    font-family: var(--hand);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--green-dark);
    transform: rotate(-2.5deg);
    margin-top: 10px;
}

.team-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team-points li {
    display: flex;
    gap: 18px;
    background: #fff;
    border: 1px solid rgba(10, 37, 64, 0.07);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    box-shadow: var(--shadow-sm);
}

.team-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 13px;
    background: var(--green-soft);
    color: var(--green-dark);
}

.team-ico svg {
    width: 21px;
    height: 21px;
}

.team-points strong {
    display: block;
    color: var(--navy);
    font-size: 1.02rem;
    margin-bottom: 4px;
}

.team-points p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
    padding: 110px 0;
    background: var(--bg-soft);
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 72px;
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
}

.faq-intro a {
    font-weight: 700;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(10, 37, 64, 0.07);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    color: var(--navy);
    padding: 20px 24px;
    transition: background 0.2s ease;
}

.faq-item summary:hover {
    background: var(--bg-soft);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-ico {
    position: relative;
    width: 14px;
    height: 14px;
    flex: none;
}

.faq-ico::before,
.faq-ico::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    background: var(--green-dark);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.faq-ico::before {
    width: 14px;
    height: 2px;
}

.faq-ico::after {
    width: 2px;
    height: 14px;
}

.faq-item[open] .faq-ico::after {
    transform: rotate(90deg);
}

.faq-body {
    padding: 0 24px 22px;
}

.faq-body p {
    margin: 0;
    font-size: 0.96rem;
}

/* ============================================================
   CTA & FOOTER
   ============================================================ */

.cta {
    padding: 50px 0 110px;
    background: var(--bg-soft);
}

.cta-panel {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    background:
        radial-gradient(720px 380px at 85% 0%, rgba(128, 179, 44, 0.28), transparent 60%),
        linear-gradient(160deg, #07304f, var(--navy-deep));
    border-radius: 28px;
    padding: 88px 32px 76px;
}

.cta-rings i {
    border-color: rgba(255, 255, 255, 0.18);
}

.cta-panel h2 {
    color: #fff;
    position: relative;
}

.cta-panel > p {
    position: relative;
    max-width: 560px;
    margin: 0 auto 34px;
    font-size: 1.06rem;
}

.cta-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.cta-micro {
    position: relative;
    margin: 26px 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.88rem;
    margin: 0;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 0.88rem;
}

.footer-col strong {
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 28px;
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1180px) {
    .mega-cols {
        gap: 24px;
    }

    .mega-grid {
        grid-template-columns: 1fr 240px;
        gap: 32px;
    }
}

@media (max-width: 1024px) {

    .nav-links,
    .nav-cta,
    .mega {
        display: none;
    }

    .burger {
        display: flex;
        margin-left: auto;
    }

    .hero-grid {
        /* minmax(0, …) verhindert, dass breiter Inhalt den Track aufweitet */
        grid-template-columns: minmax(0, 1fr);
        gap: 72px;
    }

    .hero-visual {
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .sys-nodes {
        grid-template-columns: repeat(2, 1fr);
    }

    .sys-node:nth-child(2)::after {
        display: none;
    }

    .module-row {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 28px 0;
    }

    .module-row.flip .module-copy {
        order: 1;
    }

    .module-row.flip .module-visual {
        order: 2;
    }

    .module-visual {
        max-width: 620px;
    }

    .team-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .team-copy,
    .faq-intro {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    :root {
        --nav-h: 64px;
    }

    .brand-logo {
        height: 32px;
    }

    .brand-claim {
        display: none;
    }

    .hero {
        padding-top: calc(var(--nav-h) + 40px);
        padding-bottom: 72px;
    }

    /* „meistempfohlenen" ist das längste Wort der H1 – die Schrift muss
       mit dem Viewport skalieren, sonst sprengt es den Container. */
    .hero-title {
        font-size: clamp(1.85rem, 9.4vw, 2.5rem);
    }

    .hero-checks li {
        font-size: 0.96rem;
    }

    .hero-visual {
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .vis-card {
        position: relative;
        inset: auto;
    }

    .chat-card {
        left: auto;
        right: auto;
    }

    .g-card {
        width: auto;
        align-self: flex-start;
        min-width: 220px;
    }

    .p-card {
        display: none;
    }

    .hand-note {
        position: relative;
        right: auto;
        bottom: auto;
        align-self: flex-end;
        margin-top: -6px;
    }

    .echo-rings {
        display: none;
    }

    .scroll-cue {
        display: none;
    }

    .statement {
        padding: 80px 0 72px;
    }

    .ki {
        padding: 80px 0 72px;
    }

    .ki-stage {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ki-flow svg {
        display: none;
    }

    .ki-flow {
        padding: 10px 0;
    }

    .system {
        padding: 80px 0;
    }

    .sys-nodes {
        grid-template-columns: 1fr;
    }

    .sys-node::after {
        display: none;
    }

    .sys-note {
        position: static;
        display: inline-block;
        transform: rotate(-2deg);
        margin-bottom: 14px;
    }

    .sys-band {
        flex-direction: column;
        gap: 8px;
    }

    .chapter {
        padding: 76px 0;
    }

    .chapter-head {
        margin-bottom: 44px;
    }

    .channels,
    .trio,
    .control-grid {
        grid-template-columns: 1fr;
    }

    .team {
        padding: 80px 0;
    }

    .faq {
        padding: 76px 0;
    }

    .cta-panel {
        padding: 64px 24px 56px;
    }

    .br-desk {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ---------- Reduced Motion ---------- */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .echo-rings i,
    .live-dot,
    .scroll-cue span,
    .marquee-track {
        animation: none;
    }

    .echo-rings i {
        opacity: 0.25;
        transform: scale(1.4);
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
