/* =====================================================
   SNBCI — Sonja Neitzel-Bothe Business Coaching International
   Warm Executive / Premium Redesign
   ===================================================== */

/* ---------- Brand typeface: Questrial (self-hosted) ---------- */
@font-face {
    font-family: 'Questrial';
    src: url('../fonts/Questrial-Regular.woff') format('woff'),
         url('../fonts/Questrial-Regular.ttf')  format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ---------- Design Tokens — Brand: Petrol-Blau, Schwarz, Weiß ---------- */
:root {
    --color-bg: #ffffff;            /* white — brand */
    --color-surface: #ffffff;
    --color-surface-muted: #eaf4f8; /* soft tint of brand blue */
    --color-surface-deep:  #d9eff4; /* original brand pastel */
    --color-ink: #181818;           /* black — brand */
    --color-ink-soft: #3a3a3a;
    --color-ink-muted: #6b6b6b;
    --color-line: rgba(24, 24, 24, 0.10);
    --color-accent: #2e97b8;        /* petrol blue — brand */
    --color-accent-dark: #1f6e8a;
    --color-accent-soft: #7ec1d4;
    /* legacy aliases for stability */
    --color-gold: var(--color-accent);
    --color-gold-soft: var(--color-accent-soft);

    /* Brand uses a single typeface — Questrial */
    --font-sans:  "Questrial", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Questrial", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

    --max-width: 1180px;
    --gutter: clamp(20px, 4vw, 48px);

    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 18px;

    --shadow-soft: 0 1px 2px rgba(28, 28, 31, 0.04),
                   0 8px 30px rgba(28, 28, 31, 0.06);
    --shadow-hover: 0 2px 4px rgba(28, 28, 31, 0.06),
                    0 18px 40px rgba(28, 28, 31, 0.10);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-ink);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--color-gold); }
ul, ol { margin: 0 0 1.4em 0; padding-left: 1.4em; }
li { margin-bottom: 0.5em; }
p { margin: 0 0 1.1em 0; }
hr { border: 0; border-top: 1px solid var(--color-line); margin: 3rem 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--color-ink);
    margin: 0 0 0.6em 0;
    letter-spacing: -0.01em;
    line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.15rem; font-weight: 600; font-family: var(--font-sans); letter-spacing: 0.02em; text-transform: uppercase; color: var(--color-accent); }
h5 { font-size: 1.05rem; font-weight: 600; font-family: var(--font-sans); }

.eyebrow {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.2rem;
    display: inline-block;
}

.lead {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    font-style: italic;
    color: var(--color-ink-soft);
    line-height: 1.5;
}

/* ---------- Layout ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section--muted { background: var(--color-surface-muted); }
.section--dark { background: var(--color-ink); color: rgba(255,255,255,0.85); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #ffffff; }
.section--dark a { color: var(--color-accent-soft); }
.section--dark a:hover { color: #fff; }

.grid {
    display: grid;
    gap: clamp(24px, 4vw, 48px);
}
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--sidebar { grid-template-columns: 1fr; }

@media (min-width: 760px) {
    .grid--2 { grid-template-columns: 1fr 1fr; }
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--sidebar { grid-template-columns: 280px 1fr; gap: 64px; }
}

/* ---------- Header / Brand ---------- */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-line);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    background: rgba(255, 255, 255, 0.92);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 32px;
}
.brand {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--color-ink);
    line-height: 1.2;
}
.brand small {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 4px;
}
.brand a { color: inherit; }
.brand a:hover { color: var(--color-accent); }

/* Header logo (image-based brand) */
.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    flex-shrink: 0;
}
.brand-logo img {
    height: 104px;   /* verdoppelt — präsenter Brand-Auftritt */
    width: auto;
    display: block;
}
@media (max-width: 600px) {
    .brand-logo img { height: 64px; }   /* auf Mobile etwas konservativer */
}

/* Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--color-line);
    border-radius: 6px;
    width: 42px; height: 42px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    content: ""; display: block; width: 20px; height: 1.5px;
    background: var(--color-ink); position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top:  6px; }

.site-nav ul {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.site-nav li { margin: 0; }
.site-nav a {
    display: inline-block;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-ink);
    border-radius: 6px;
    letter-spacing: 0.02em;
    position: relative;
}
.site-nav a:hover { color: var(--color-accent); background: var(--color-surface-muted); }
.site-nav a.is-active {
    color: var(--color-accent);
}
.site-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 1.5px;
    background: var(--color-gold);
}
.site-nav .cta {
    background: var(--color-accent);
    color: #fff;
    padding: 10px 18px;
    margin-left: 8px;
    border-radius: 999px;
}
.site-nav .cta:hover { background: var(--color-accent-dark); color: #fff; }

.site-nav a { padding: 10px 12px; }

@media (max-width: 1024px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--color-surface);
        border-bottom: 1px solid var(--color-line);
        display: none;
        box-shadow: var(--shadow-soft);
    }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; align-items: stretch; padding: 16px var(--gutter); gap: 0; }
    .site-nav li { border-bottom: 1px solid var(--color-line); }
    .site-nav li:last-child { border-bottom: 0; }
    .site-nav a { padding: 14px 0; border-radius: 0; font-size: 1rem; }
    .site-nav a.is-active::after { display: none; }
    .site-nav .cta { margin: 14px 0 4px 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
    padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 96px);
    position: relative;
    overflow: hidden;
}
.hero--home {
    background: linear-gradient(135deg, var(--color-surface-deep) 0%, var(--color-surface-muted) 55%, #ffffff 100%);
    position: relative;
}
.hero--home::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 88% 18%, rgba(46, 151, 184, 0.18) 0%, transparent 45%);
    pointer-events: none;
}
.hero--home .container { position: relative; z-index: 1; }
.hero--home .hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
    max-width: none;
}
.hero__portrait {
    margin: 0 auto;
    max-width: 260px;
    order: -1;       /* auf Mobile zuerst das Bild */
}
.hero__portrait img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(24, 24, 24, 0.15),
                0 2px 4px rgba(24, 24, 24, 0.06);
    display: block;
}
@media (min-width: 880px) {
    .hero--home .hero__inner {
        grid-template-columns: 1.5fr 1fr;
        gap: 64px;
    }
    .hero__portrait {
        max-width: 380px;
        order: 0;     /* auf Desktop in der Quellreihenfolge (rechts) */
    }
}
.hero__inner { max-width: 820px; }
.hero h1 { margin-bottom: 24px; }
.hero p.lead { color: var(--color-ink-soft); margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    text-decoration: none;
    line-height: 1;
}
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-line); }
.btn--ghost:hover { background: var(--color-surface); border-color: var(--color-accent); color: var(--color-accent); }
.btn--gold, .btn--brand { background: var(--color-accent); color: #ffffff; }
.btn--gold:hover, .btn--brand:hover { background: var(--color-accent-soft); color: var(--color-ink); }

.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Cards (Pillars) ---------- */
.pillar {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all 0.3s var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(184, 153, 104, 0.4);
}
.pillar__num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 12px;
}
.pillar h3 { font-size: 1.5rem; margin-bottom: 14px; }
.pillar p { color: var(--color-ink-soft); margin-bottom: 24px; flex-grow: 1; }
.pillar__link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
}
.pillar__link::after { content: " →"; transition: margin-left 0.2s var(--ease); }
.pillar:hover .pillar__link::after { margin-left: 4px; }

/* ---------- Sidebar (inner pages) ---------- */
.sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
}
.sidebar__title {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 14px;
}
.sidebar__lead {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-ink-soft);
    line-height: 1.4;
    border-left: 2px solid var(--color-gold);
    padding-left: 20px;
}
.sidebar__quote { margin: 0; }   /* Browser-Default-Margin von blockquote entfernen, damit Striche bündig mit anderen Sidebar-Blöcken sind */
.sidebar__quote cite { display: block; font-style: normal; font-size: 0.85rem; color: var(--color-ink-muted); margin-top: 12px; font-family: var(--font-sans); letter-spacing: 0.04em; }

/* Sidebar-Highlight: gleicher Petrol-Border-Left wie .sidebar__lead, aber für Listen statt Zitate */
.sidebar__highlight {
    border-left: 2px solid var(--color-accent);
    padding-left: 20px;
    margin-top: 8px;
}
.sidebar__highlight .cred-list {
    margin: 0 0 12px 0;
}
.sidebar__highlight .cred-list li {
    border-bottom: 0;
    padding: 4px 0;
    font-size: 0.95rem;
    color: var(--color-ink);
}
.sidebar__highlight p.muted {
    margin: 0;
    line-height: 1.45;
}
/* Quellenangabe unter dem .sidebar__highlight-Block — Link in Textfarbe, dezente gleichfarbige Unterstreichung */
.sidebar__source {
    margin-top: 14px;
    line-height: 1.45;
}
.sidebar__source a {
    color: inherit;
    text-decoration: none;                  /* keine Unterstreichung */
}
.sidebar__source a:hover {
    color: var(--color-accent);             /* nur beim Hover als Petrol erkennbar */
}

.sidebar img { border-radius: var(--radius-md); }

.content-body {
    max-width: 720px;
}
.content-body p { font-size: 1.06rem; color: var(--color-ink-soft); }
.content-body p strong { color: var(--color-ink); }
.content-body ol, .content-body ul { padding-left: 1.4em; }
/* :where() keeps the specificity at 0 so component classes (.timeline, .list-numbered, .cred-list, .ref-grid) can override */
:where(.content-body ol li, .content-body ul li) {
    color: var(--color-ink-soft);
    padding-left: 8px;
    margin-bottom: 0.6em;
}
/* Strip default list padding for component lists so absolute markers anchor correctly */
.content-body ul.timeline,
.content-body ol.list-numbered,
.content-body ul.cred-list,
.content-body ul.ref-grid {
    padding-left: 0;
    list-style: none;
}
.content-body h3 { margin-top: 2.2em; }
.content-body h4 { margin-top: 1.6em; font-size: 0.78rem; }

/* Ordered list with accent numbers */
.list-numbered {
    list-style: none;
    padding: 0;
    counter-reset: snbci;
}
.list-numbered li {
    counter-increment: snbci;
    position: relative;
    padding-left: 48px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--color-line);
    color: var(--color-ink-soft);
}
.list-numbered li:last-child { border-bottom: 0; }
.list-numbered li::before {
    content: counter(snbci, decimal-leading-zero);
    position: absolute;
    left: 0; top: 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-gold);
    font-weight: 500;
}

/* ---------- Profile / Bio ---------- */
.profile-image {
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}
.cred-list {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}
.cred-list li {
    padding: 6px 0;
    border-bottom: 1px solid var(--color-line);
    font-size: 0.9rem;
    color: var(--color-ink-soft);
    margin-bottom: 0;
}
.cred-list li:last-child { border-bottom: 0; }
.cred-list li a { color: inherit; }                        /* Sidebar-Links wie normaler Text rendern, statt Petrol */
.cred-list li a:hover { color: var(--color-accent); }      /* Petrol nur bei Hover als Affordance */

.ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px 16px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.ref-grid li { margin: 0; }
.ref-grid a { font-size: 0.85rem; color: var(--color-ink-soft); }
.ref-grid a:hover { color: var(--color-accent); }

/* Timeline for CV */
.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}
.timeline li {
    position: relative;
    padding: 12px 0 12px 110px;
    border-bottom: 1px solid var(--color-line);
}
.timeline li:last-child { border-bottom: 0; }
.timeline .year {
    position: absolute;
    left: 0; top: 14px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-gold);
    width: 90px;
}
.timeline .title { font-weight: 600; color: var(--color-ink); display: block; margin-bottom: 4px; }
.timeline .org   { font-size: 0.88rem; color: var(--color-ink-muted); }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 760px) {
    .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-card {
    background: var(--color-surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-line);
}
.contact-card h3 { margin-top: 0; }
.contact-card .label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold);
    display: block;
    margin-bottom: 6px;
    margin-top: 18px;
}
.contact-card .label:first-of-type { margin-top: 0; }

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-line);
    min-height: 360px;
    background: var(--color-surface-muted);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- Quote / Callout ---------- */
.callout {
    background: var(--color-surface);
    border-left: 3px solid var(--color-gold);
    padding: 28px 32px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 2.5em 0;
    box-shadow: var(--shadow-soft);
}
.callout p { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--color-ink); }
.callout cite { display: block; margin-top: 10px; font-size: 0.85rem; color: var(--color-ink-muted); font-style: normal; font-family: var(--font-sans); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
    padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 4vw, 40px);
    background: linear-gradient(180deg, var(--color-surface-deep) 0%, var(--color-bg) 100%);
}
.page-hero .eyebrow { color: var(--color-gold); }
.page-hero h1 { max-width: 820px; margin-bottom: 18px; }
.page-hero .lead { max-width: 680px; }

/* ---------- Hero mit Vollbild + Gradient (cinematic) ---------- */
.page-hero--image {
    position: relative;
    overflow: hidden;
    background: var(--color-ink);
    padding: 0;
    min-height: clamp(440px, 62vh, 640px);
    display: flex;
    align-items: center;
}
.page-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* "right top" hält die Person am rechten Bildrand fest — egal wie breit der Browser wird.
       Funktioniert, weil das Bild künstlich nach links erweitert wurde (Bühnen-Padding),
       sodass die Person im Bildausschnitt schon rechts sitzt. */
    object-position: right top;
    z-index: 0;
}
.page-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(24, 24, 24, 0.94) 0%,
            rgba(24, 24, 24, 0.78) 32%,
            rgba(24, 24, 24, 0.35) 60%,
            rgba(24, 24, 24, 0.0) 85%);
    z-index: 1;
}
.page-hero--image > .container {
    position: relative;
    z-index: 2;
    width: 100%;
}
.page-hero__content {
    max-width: 600px;
    padding: clamp(40px, 8vw, 80px) 0;
}
.page-hero--image .eyebrow {
    color: var(--color-accent-soft);
    margin-bottom: 18px;
}
.page-hero--image h1 {
    color: #ffffff;
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    line-height: 1.05;
    margin-bottom: 24px;
    font-weight: 400;
    letter-spacing: -0.01em;
}
.page-hero--image h1 .accent {
    color: var(--color-accent);
    display: inline-block;
}
.page-hero--image .lead {
    color: rgba(255, 255, 255, 0.85);
    font-style: normal;
    max-width: 520px;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.55;
}

/* Variante mit Text rechts (für Bilder, deren Hauptmotiv links sitzt) */
.page-hero--image.page-hero--reverse .page-hero__bg {
    object-position: left top;
}
.page-hero--image.page-hero--reverse .page-hero__overlay {
    background:
        linear-gradient(270deg,
            rgba(24, 24, 24, 0.94) 0%,
            rgba(24, 24, 24, 0.78) 32%,
            rgba(24, 24, 24, 0.35) 60%,
            rgba(24, 24, 24, 0.0) 85%);
}
.page-hero--image.page-hero--reverse .page-hero__content {
    margin-left: auto;
}

/* Auf schmalen Viewports den Overlay etwas opaker — Text bleibt lesbar */
@media (max-width: 720px) {
    .page-hero__bg { object-position: center 20%; }
    .page-hero__overlay {
        background:
            linear-gradient(180deg,
                rgba(24, 24, 24, 0.55) 0%,
                rgba(24, 24, 24, 0.85) 55%,
                rgba(24, 24, 24, 0.95) 100%);
    }

    /* WICHTIG: Reverse-Hero (Coaching) muss auf Mobile auch vertikalen Gradient bekommen,
       sonst überlebt der horizontale 270deg-Gradient aus der Reverse-Regel.
       Doppelter Klassenselektor erhöht die Spezifität auf 0,3,1 — gewinnt sicher. */
    .page-hero--image.page-hero--reverse .page-hero__overlay {
        background:
            linear-gradient(180deg,
                rgba(24, 24, 24, 0.55) 0%,
                rgba(24, 24, 24, 0.85) 55%,
                rgba(24, 24, 24, 0.95) 100%);
    }
    /* Coaching-Bild: zeige rechte Bildhälfte (dunklere Personen + Padding) statt heller Flipchart-Mitte */
    .page-hero--image.page-hero--reverse .page-hero__bg {
        object-position: 80% 20%;
    }

    /* Text-Shadow als Sicherheitsnetz für ALLE Hero-Texte auf Mobile — egal was im Hintergrund passiert */
    .page-hero--image .eyebrow,
    .page-hero--image h1,
    .page-hero--image .lead {
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
    }

    .page-hero__content { padding: 80px 0 40px; }
}

/* ---------- Section image (zwischen Hero und Content) ---------- */
.image-band {
    padding: 0 0 clamp(32px, 5vw, 56px);
    background: var(--color-bg);
}
.page-image {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    background: var(--color-surface-muted);
}
.page-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.page-image figcaption {
    padding: 14px 20px;
    font-size: 0.85rem;
    color: var(--color-ink-muted);
    background: var(--color-surface);
    border-top: 1px solid var(--color-line);
}

/* ---------- CTA Band ---------- */
.cta-band {
    background: var(--color-ink);
    color: rgba(255, 255, 255, 0.82);
    padding: clamp(48px, 7vw, 80px) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 12% 90%, rgba(46, 151, 184, 0.28) 0%, transparent 50%);
    pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #ffffff; max-width: 700px; margin: 0 auto 18px; }
.cta-band p { color: rgba(255, 255, 255, 0.78); max-width: 600px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--color-ink);
    color: rgba(255, 255, 255, 0.65);
    padding: 64px 0 32px;
    font-size: 0.9rem;
}
.site-footer h5 {
    color: var(--color-accent-soft);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.site-footer a { color: rgba(255, 255, 255, 0.82); }
.site-footer a:hover { color: var(--color-accent-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
@media (min-width: 760px) {
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
.footer-brand p { color: rgba(255, 255, 255, 0.55); max-width: 320px; }
.footer-brand .brand small { color: var(--color-accent-soft); }
.footer-brand .brand { color: #ffffff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.65); }
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.muted { color: var(--color-ink-muted); }
.small { font-size: 0.85rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }


/* =====================================================
   Mobile-Paket — UX-Verbesserungen für kleine Viewports
   ===================================================== */

/* (1) Logo auf Tablet+Mobile schon kleiner — sonst dominiert es schmale Bildschirme */
@media (max-width: 1024px) {
    .brand-logo img { height: 72px; }
}
@media (max-width: 600px) {
    .brand-logo img { height: 52px; }
}

/* (2) Sidebar-Reihenfolge auf Mobile umkehren — Hauptinhalt zuerst lesen */
@media (max-width: 759px) {
    .grid--sidebar { display: flex; flex-direction: column; }
    .grid--sidebar > .sidebar      { order: 2; }
    .grid--sidebar > .content-body { order: 1; }
}

/* (3) Profil-Sidebar-Bild auf Mobile begrenzen — sonst füllt es den Viewport */
@media (max-width: 759px) {
    .sidebar .profile-image {
        max-width: 240px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* (4) CTA-Button im Hamburger-Menü als Button stylen, nicht als Link */
@media (max-width: 1024px) {
    .site-nav .cta {
        display: block;
        background: var(--color-accent) !important;
        color: #ffffff !important;
        padding: 14px 20px !important;
        border-radius: 999px !important;
        text-align: center;
        margin: 14px 0 4px 0;
        font-weight: 500;
    }
    .site-nav .cta:hover {
        background: var(--color-accent-dark) !important;
    }
}

/* (5) Hero-Bild auf Mobile: noch konservativer positionieren */
@media (max-width: 480px) {
    .page-hero--image { min-height: clamp(420px, 75vh, 540px); }
    .page-hero__content { padding: 60px 0 32px; }
    .page-hero--image h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
}

/* (6) Headlines: weichere Umbrüche (Browser-Support: Chrome 114+, Safari 17.4+) */
h1, h2, h3 { text-wrap: balance; }

/* (7) Container-Padding auf sehr schmalen Geräten reduzieren */
@media (max-width: 380px) {
    :root { --gutter: 16px; }
    .site-header__inner { padding-top: 12px; padding-bottom: 12px; }
}

/* (8) Footer-Brand auf Mobile zentrierter / kompakter */
@media (max-width: 759px) {
    .footer-grid { gap: 32px; }
    .footer-brand p { max-width: none; }
}

/* (9) Pillars: Padding auf Mobile reduzieren — kein verschenkter Raum */
@media (max-width: 480px) {
    .pillar { padding: 24px 20px; }
}
