/* ------------------------------------------------------------
      Root + base
   ------------------------------------------------------------ */
:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --ink: #0f172a;
    --muted: #475569;
    --line: #e2e8f0;
    --brand: #1A3A79; /* ← logo background color */
    --brand-ink: #0b1220;
    --accent: #10b981;
    --warn: #f59e0b;
    --radius: 16px;
    --shadow: 0 8px 28px rgba(15,23,42, .08);
    --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.55;
}

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 8vw, 112px) 0; }

/* ------------------------------------------------------------
   Typografie Fix (global)
------------------------------------------------------------ */
h1 {
    font-size: clamp(32px, 6vw, 56px);
    line-height: 1.08;
    margin: 0 0 18px;
    font-weight: 700;
    color: var(--ink);
}

h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
    color: var(--ink);
}

h3 {
    font-size: clamp(18px, 2.6vw, 22px);
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.3;
    color: var(--ink);
}

p {
    font-size: 17px;
    color: var(--muted);
    margin: 0 0 16px;
    max-width: 70ch;
}

.sub {
    font-size: 18px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 70ch;
}

/* ------------------------------------------------------------
   Buttons
------------------------------------------------------------ */
.btn {
    appearance: none;
    border: none;
    cursor: pointer;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: var(--shadow);
}
.btn-primary:hover { filter: brightness(1.06); }

.btn-ghost {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
}
.btn-ghost:hover { background: #fdfdfd; }

/* ------------------------------------------------------------
   Navigation — repariert
------------------------------------------------------------ */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(8px);
    background: rgba(255,255,255,.75);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

/* Das reparierte Menü */
.main-nav {
    display: flex;
    gap: 36px;
    align-items: center;
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 0;
    letter-spacing: 0.2px;
    transition: color .2s ease;
}

.main-nav a:hover {
    color: var(--ink);
}
/* Navigation Logo */
.nav .logo-link {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 64px;      /* optisch perfekt in deinem Header */
    width: auto;
    display: block;
    border-radius: 12px; /* gleicher Radius wie Karten */
}

@media (max-width: 600px) {
    .nav-logo {
        height: 28px;
    }
}

/* ------------------------------------------------------------
   Language switch
------------------------------------------------------------ */
.lang-switch {
    display:flex;
    gap:8px;
    align-items:center;
    margin-right:16px;
}

.lang-switch button {
    background:#fff;
    border:1px solid var(--line);
    border-radius:999px;
    padding:6px 10px;
    font-weight:600;
    cursor:pointer;
    font-size:14px;
}

.lang-switch button[aria-pressed="true"]{
    background: var(--brand);
    color:#fff;
    border-color: var(--brand);
}

/* ------------------------------------------------------------
   Hero
------------------------------------------------------------ */
.hero {
    background: radial-gradient(1200px 500px at 90% -10%, rgba(14,165,233,.12), transparent 60%),
    radial-gradient(1000px 400px at -10% 10%, rgba(16,185,129,.10), transparent 60%);
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .3px;
    box-shadow: 0 2px 12px rgba(15,23,42,.06);
}

/* ------------------------------------------------------------
   Trust logos
------------------------------------------------------------ */
/* Abstand zur Hero-Section */
.trust-optimized {
    padding-top: 5rem; /* vorher wenig → jetzt deutlicher Abstand */
}

/* Überschrift mittig ausrichten */
.trust-heading {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Grid – breitere Karten, weniger Abstand */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* vorher 180px */
    gap: 1.5rem; /* vorher 2.2rem → zu viel Abstand */
    padding: 0;
}

/* Karten – gleiche Höhe, breiter, hochwertige Optik */
.trust-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    height: 100%;               /* Karten werden einheitlich hoch */
    display: flex;
    flex-direction: column;
    /*justify-content: space-between; !* Text klebt unten – hochwertig *!*/
    /*align-items: center;*/
    /*text-align: center;*/
    align-items: flex-start;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

/* Bild – automatische Höhe, gleiche Optik */
.trust-card img {
    width: 100%;
    height: 160px; /* Fixiert Bildhöhe → macht Karten einheitlich */
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 14px;
}

/* Caption */
.trust-card figcaption {
    font-size: 0.92rem;
    line-height: 1.35;
    color: #222;
}

/* Link unsichtbar, aber klickbar */
.trust-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}


/* ------------------------------------------------------------
   Cards, lists, FAQ etc.
------------------------------------------------------------ */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items:center; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }

.list { display: grid; gap: 12px; margin: 16px 0 0; }
.li { display: flex; gap: 12px; align-items: flex-start; }
.li svg { flex: 0 0 18px; margin-top: 3px; }

.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; font-size:17px; }
details p { margin-top:8px; }

/* ------------------------------------------------------------
   Forms
------------------------------------------------------------ */
form { display: grid; gap: 12px; }
.field { display: grid; gap: 8px; }
label { font-size: 14px; color: var(--muted); }
input, select, textarea {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-family: var(--font);
    font-size: 15px;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(14,165,233,.15);
}

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------
   Footer
------------------------------------------------------------ */
footer {
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 48px 0;
}

.foot {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 24px;
}
@media (max-width: 960px) {
    .foot { grid-template-columns: 1fr 1fr; }
}

.foot a {
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
}
.foot a:hover { color: var(--ink); text-decoration: underline; }

.offers-grid {
    display: grid;
    gap: 40px;
}

.offer-item {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 32px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.offer-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.offer-image {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.offer-content h3 {
    margin: 10px 0 6px;
    font-size: 22px;
}

.offer-content p {
    margin: 0 0 14px 0;
    color: var(--muted);
}

@media (max-width: 960px) {
    .offer-item {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .offer-visual {
        order: -1;
    }
}

.book-image-small {
    max-height: 240px;
    width: auto;
    margin: 0 auto;
    display: block;
}

/* Offer-Item Card Fix: Text wird nicht mehr vom Button überdeckt */
.offer-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 80px;
    position: relative;
}

.offer-card .cta-row {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
}

/* Mobile: Buttons etwas näher am Text */
@media (max-width: 640px) {
    .offer-card {
        padding-bottom: 96px;
    }
}

.offer-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.offer-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 24px;
}

.offer-content .btn {
    margin-top: 12px;
    align-self: flex-start;
}

.offer-item {
    min-height: 420px;
}

/* === OFFER ITEM FIX === */
.offer-item {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
    align-items: start;
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.offer-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.offer-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 8px;
}

.offer-content .btn {
    align-self: flex-start;
}

.offer-visual {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.offer-visual img {
    width: auto;
    max-width: 180px;
    height: auto;
}

@media (max-width: 800px) {
    .offer-item {
        grid-template-columns: 1fr;
    }
}

.offer-item {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
    align-items: center;
}

.offer-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.offer-visual img {
    max-width: 90%;
    height: auto;
    display: block;
}

.benefits-plusone {
    max-width: 70ch;
    margin: 48px auto 0 !important;
    text-align: center !important;
    display: block;
}

.benefits-plusone p {
    font-size: 2rem;
    line-height: 1.25;
    font-weight: 300;
    color: var(--muted);
    margin: 0;
}

.benefits-plusone strong {
    color: var(--ink);
    font-weight: 500;
}

.li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--ink);
}

.li-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--brand);
    margin-top: 4px;
}

/* Calendly styling */
.calendly-wrapper {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.calendly-inline-widget {
    border-radius: var(--radius);
    overflow: hidden;
}

/* ============================
   FAQ – LIGHT & CLEAN ACCORDION (immer hell)
   ============================ */

.faq {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 8px;
}

/* FAQ CARD – immer weiße Box, dunkle Schrift */
.faq-item {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    color: #111;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.faq-summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 20px;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: inherit;
}

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

.faq-summary::after {
    content: "▾";
    font-size: 0.9rem;
    opacity: 0.55;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-item[open] .faq-summary::after {
    transform: rotate(-180deg);
    opacity: 0.85;
}

.faq-content {
    padding: 0 20px 16px 20px;
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 0.95rem;
    line-height: 1.55;
    color: #222;
    background: #ffffff;
}

/* Dark-Mode: bewusst NICHT invertieren, Karten bleiben hell */
@media (prefers-color-scheme: dark) {
    .faq-item,
    .faq-content,
    .faq-summary {
        background: #ffffff;
        color: #111;
        border-color: rgba(0,0,0,0.15);
    }
}

/* ============================
   Webinar-Form / Slots
   ============================ */

.webinar-layout {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .webinar-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: flex-start;
    }
}

.webinar-form-card {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 20px 20px 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.webinar-form .field {
    margin-top: 12px;
}

.webinar-form input[type="text"],
.webinar-form input[type="email"] {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font: inherit;
    box-sizing: border-box;
}

.webinar-slots {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.slot {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.checkbox-field label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
}

.checkbox-field input[type="checkbox"] {
    margin-top: 2px;
}

.webinar-logo {
    width: 100%;
    height: auto;
    margin-top: 24px;
    display: block;
}


/* ============================================================
   HERO VIDEO – YouTube-Embed in der rechten Spalte
   ============================================================ */

.video-card {
    padding: 16px;
}

/* Video nutzt die ganze Breite der Karte, mit 16:9 Höhe */
.video-card .video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
}

/* iframe füllt den Wrapper */
.video-card .video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* ============================================================
   HERO – Abstand zwischen Text und Video erhöhen
   ============================================================ */

.hero-grid {
    gap: 48px !important;   /* vorher ~24–32px, jetzt sichtbar */
}

@media (min-width: 1280px) {
    .hero-grid {
        gap: 64px !important;  /* großer Screen = mehr Luft */
    }
}

/* ------------------------------------------------------------
   HERO – kompakter, Video wirkt höher
------------------------------------------------------------ */

/* Weniger Abstand zwischen Text und Video */
.hero-grid {
    gap: clamp(16px, 2vw, 32px) !important;
}

/* Weniger vertikales Padding in der Hero-Section */
.hero.section {
    padding-top: clamp(32px, 6vw, 72px) !important;
    padding-bottom: clamp(32px, 6vw, 72px) !important;
}
