/* ════════════════════════════════════════════════════════════════
   ElbKupfer Immobilienverwaltung — Designsystem
   Abgeleitet vom Login-Screen der Verwaltung (Hanse-Blau + Kupfer).
   Hybrid-Look: dunkle, immersive Sektionen + helle Lesebereiche.
   ════════════════════════════════════════════════════════════════ */

/* ── Schriften (lokal self-gehostet, kein Google-Request) ──── */
@import url('fonts.css');

/* ── Designtokens ───────────────────────────────────────────── */
:root {
    /* Hanse-Blau */
    --navy-900: #0A2A3F;
    --navy-800: #0D3347;
    --navy-700: #124560;
    --navy-600: #1A5878;
    --navy-500: #1E5F78;
    /* Elb-Blau */
    --elb:        #2E7FA0;
    --elb-light:  #5BB0CC;
    /* Kupfer */
    --copper:       #C4622D;
    --copper-hover: #D4845A;
    --copper-light: #E89167;
    --copper-dark:  #A04E20;
    --copper-soft:  #F3D9C8;
    /* Neutral / hell */
    --paper:  #FFFFFF;
    --cream:  #FAF7F3;
    --mist:   #F1F5F8;
    --ink:        #1B2730;
    --ink-soft:   #51606E;
    --ink-faint:  #8A98A4;
    --border:      #E7E0D6;
    --border-cool: #DCE5EC;

    --maxw: 1180px;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 4px 14px rgba(13, 51, 71, 0.06);
    --shadow-md: 0 14px 40px rgba(13, 51, 71, 0.10);
    --shadow-lg: 0 30px 70px rgba(10, 42, 63, 0.18);
    --shadow-copper: 0 14px 30px rgba(196, 98, 45, 0.28);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    --font-display: 'Fraunces', 'Georgia', serif;
    --font-body: 'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;
}

/* ── Reset / Basis ──────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; }

::selection { background: var(--copper); color: #fff; }

/* ── Sichtbarer Tastatur-Fokus (WCAG 2.4.7) ── */
*:focus-visible {
    outline: 2px solid var(--copper);
    outline-offset: 3px;
    border-radius: 2px;
}
/* Helle Variante auf dunklen Sektionen */
.site-header :focus-visible,
.hero :focus-visible,
.digital :focus-visible,
.locations :focus-visible,
.page-banner :focus-visible,
.site-footer :focus-visible,
.nav-links.mobile :focus-visible {
    outline-color: var(--copper-light);
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 26px;
}

/* ── Typografie ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.display {
    font-size: clamp(2.4rem, 5.4vw, 4.1rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.02em;
}

p { font-size: 1.0625rem; }

.text-copper { color: var(--copper); }
.text-elb { color: var(--elb); }

/* Kupfer-Unterstreichung als Markenmotiv */
.ink-underline {
    position: relative;
    white-space: nowrap;
}
.ink-underline::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0.04em;
    height: 0.34em;
    background: linear-gradient(90deg, var(--copper-light), var(--copper));
    opacity: 0.30;
    border-radius: 4px;
    z-index: -1;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    --btn-bg: var(--copper);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
                background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
    background: var(--copper);
    color: #fff;
    box-shadow: 0 10px 24px rgba(196, 98, 45, 0.30);
}
.btn-primary:hover {
    background: var(--copper-hover);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(196, 98, 45, 0.40);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--copper); color: var(--copper); transform: translateY(-2px); }

/* Auf dunklem Grund */
.on-dark .btn-ghost,
.btn-ghost-light {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}
.on-dark .btn-ghost:hover,
.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: var(--copper-light);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Eyebrow / Section-Titel ────────────────────────────────── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--copper);
}
.eyebrow::before {
    content: '';
    width: 26px; height: 2px;
    background: var(--copper);
    display: inline-block;
}
.on-dark .eyebrow { color: var(--copper-light); }
.on-dark .eyebrow::before { background: var(--copper-light); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    margin-top: 18px;
}
.section-head p {
    color: var(--ink-soft);
    margin-top: 16px;
    font-size: 1.12rem;
}
.on-dark .section-head h2,
.section-head.on-dark h2 { color: #fff; }
.on-dark .section-head p,
.section-head.on-dark p { color: rgba(233, 240, 245, 0.82); }

section { padding: 104px 0; }

/* ════════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ════════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 42, 63, 0.0);
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
                backdrop-filter 0.4s var(--ease);
}
/* Auf hellen Seiten (Rechtstexte) startet der Header schon „solide" */
.site-header.solid {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px) saturate(140%);
    border-bottom: 1px solid var(--border);
}
.site-header.scrolled {
    background: rgba(9, 36, 54, 0.82);
    backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 10px 30px rgba(8, 30, 45, 0.28);
}
.site-header.solid.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 26px rgba(13, 51, 71, 0.10);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    transition: padding 0.4s var(--ease);
}
.site-header.scrolled .nav-inner { padding: 11px 0; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; transition: height 0.4s var(--ease); }
.site-header.scrolled .brand img { height: 40px; }

/* Logo-Wechsel je nach Header-Zustand */
.brand .logo-light { display: block; }
.brand .logo-dark  { display: none; }
.site-header.solid .brand .logo-light { display: none; }
.site-header.solid .brand .logo-dark  { display: block; }
.site-header.solid.scrolled .brand .logo-light { display: none; }
.site-header.solid.scrolled .brand .logo-dark  { display: block; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.86);
    position: relative;
    transition: color 0.2s;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--copper-light);
    transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.site-header.solid .nav-links a { color: var(--ink); }
.site-header.solid .nav-links a:hover { color: var(--copper); }
.site-header.solid .nav-links a::after { background: var(--copper); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-portal {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s;
}
.nav-portal:hover { color: var(--copper-light); }
.nav-portal svg { width: 16px; height: 16px; }
.site-header.solid .nav-portal { color: var(--ink-soft); }
.site-header.solid .nav-portal:hover { color: var(--copper); }

.nav-cta .btn { padding: 11px 22px; font-size: 0.9rem; }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1100; /* muss über dem Mobile-Panel (z-index 999) liegen */
}
.burger span {
    width: 26px; height: 2.5px;
    background: #fff;
    border-radius: 3px;
    transition: transform 0.3s var(--ease), opacity 0.3s;
}
.site-header.solid .burger span { background: var(--ink); }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    background: var(--navy-800);
    color: #fff;
    overflow: hidden;
    padding: clamp(120px, 17vh, 190px) 0 clamp(180px, 22vh, 240px);
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(168deg, #0A2A3F 0%, #0D3347 42%, #124560 72%, #185074 100%);
    z-index: -3;
}
/* Kupfer-Shimmer */
.hero .shimmer {
    position: absolute;
    top: -120px; left: 50%;
    transform: translateX(-50%);
    width: 820px; height: 460px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(196, 98, 45, 0.16) 0%, transparent 68%);
    pointer-events: none;
    z-index: -2;
}
/* feiner Raster-/Patina-Schimmer */
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 60%);
    opacity: 0.5;
    z-index: -2;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 56px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 26px;
}
.hero-tag .pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--copper-light);
    box-shadow: 0 0 0 0 rgba(232, 145, 103, 0.6);
    animation: pulse 2.4s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(232, 145, 103, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(232, 145, 103, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 145, 103, 0); }
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5.6vw, 4.15rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    font-weight: 600;
}
.hero h1 em {
    font-style: italic;
    color: var(--copper-light);
    font-weight: 500;
}
.hero .lead {
    margin-top: 24px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(233, 240, 245, 0.82);
    max-width: 560px;
}
.hero-actions {
    margin-top: 36px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-chips {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 8px 15px;
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--copper-light); }
.chip .dot.elb { background: var(--elb-light); }
.chip .dot.green { background: #6FCF97; }

/* Hero-Visual: Karte mit Skyline-Emblem */
.hero-visual { position: relative; }
.hero-card {
    position: relative;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}
.hero-card .scene { width: 100%; height: auto; display: block; }

.hero-stat {
    position: absolute;
    background: rgba(11, 40, 58, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 12px 30px rgba(6, 26, 40, 0.4);
}
.hero-stat .num {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--copper-light);
    line-height: 1;
}
.hero-stat .cap {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 5px;
}
.hero-stat.s1 { top: 22px; right: -14px; animation: floaty 6s ease-in-out infinite; }
.hero-stat.s2 { bottom: 26px; left: -18px; animation: floaty 6s ease-in-out infinite 1.6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ── Animierte Wellen (Sektions-Sohle) ──────────────────────── */
.waves {
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 150px;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}
.waves .wave {
    position: absolute;
    bottom: 0; left: -50%;
    width: 200%; height: 150px;
    border-radius: 46% 46% 0 0;
    animation: waveroll linear infinite;
}
.waves .wave.w1 { background: rgba(30, 95, 120, 0.40); animation-duration: 11s; height: 120px; bottom: 24px; }
.waves .wave.w2 { background: rgba(46, 127, 160, 0.26); animation-duration: 15s; animation-direction: reverse; height: 100px; bottom: 8px; }
.waves .wave.w3 { background: var(--paper); animation-duration: 9s; height: 86px; bottom: 0; }
@keyframes waveroll { from { transform: translateX(0); } to { transform: translateX(50%); } }
/* Wellen-Variante, die in eine helle Folge-Sektion „ausläuft" */
.waves.to-cream .wave.w3 { background: var(--cream); }
.waves.to-mist  .wave.w3 { background: var(--mist); }

/* ════════════════════════════════════════════════════════════
   PILLARS (drei Säulen) — überlappen den Hero
   ════════════════════════════════════════════════════════════ */
.pillars {
    position: relative;
    z-index: 5;
    margin-top: -110px;
    padding-bottom: 30px;
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.pillar {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-md);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar .ic {
    width: 54px; height: 54px;
    border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--copper), var(--copper-light));
    color: #fff;
    margin-bottom: 20px;
    box-shadow: var(--shadow-copper);
}
.pillar:nth-child(2) .ic { background: linear-gradient(135deg, var(--navy-500), var(--elb)); box-shadow: 0 14px 30px rgba(46, 127, 160, 0.28); }
.pillar:nth-child(3) .ic { background: linear-gradient(135deg, #2E8B6F, #57B894); box-shadow: 0 14px 30px rgba(46, 139, 111, 0.26); }
.pillar .ic svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 9px; }
.pillar p { color: var(--ink-soft); font-size: 1rem; }

/* ════════════════════════════════════════════════════════════
   TRUST-LEISTE
   ════════════════════════════════════════════════════════════ */
.trust { padding: 56px 0; background: var(--paper); }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 38px 0;
}
.trust-item { text-align: center; padding: 0 10px; }
.trust-item .big {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 3.4vw, 2.7rem);
    color: var(--copper);
    line-height: 1;
}
.trust-item .lbl { margin-top: 10px; color: var(--ink-soft); font-size: 0.98rem; font-weight: 500; }
.trust-item:nth-child(2) .big,
.trust-item:nth-child(4) .big { color: var(--elb); }

/* ════════════════════════════════════════════════════════════
   STORY / ÜBER UNS
   ════════════════════════════════════════════════════════════ */
.story { background: var(--cream); position: relative; overflow: hidden; }
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.story-text p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.08rem; }
.story-text p strong { color: var(--ink); font-weight: 700; }
.story-text .lede {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--ink);
    font-weight: 500;
    margin-bottom: 24px;
}

.story-visual { position: relative; }
.story-emblem {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
    border-radius: 24px;
    padding: 54px 44px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.story-emblem::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(196,98,45,0.22), transparent 70%);
    border-radius: 50%;
}
.story-emblem img { width: 78%; margin: 0 auto 22px; filter: drop-shadow(0 10px 24px rgba(0,0,0,0.35)); position: relative; }
.story-emblem .claim {
    font-family: var(--font-display);
    font-style: italic;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.4;
    position: relative;
}
.story-emblem .claim span { color: var(--copper-light); }

/* Werte-Mini-Karten */
.values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 26px;
}
.value-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}
.value-card h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.18rem;
    line-height: 1.2;
    margin-bottom: 5px;
    color: var(--copper); /* Kupfer = Stolberg */
}
.value-card.elb h4 { color: var(--elb); } /* Elb-Blau = Hamburg/Hanse */
.value-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ════════════════════════════════════════════════════════════
   LEISTUNGEN — Bento-Grid
   ════════════════════════════════════════════════════════════ */
.services { background: var(--paper); }
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.svc {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
    grid-column: span 2;
}
/* Erste zwei prominenter */
.svc.feature { grid-column: span 3; background: linear-gradient(160deg, #fff, var(--cream)); }
.svc.wide { grid-column: span 6; background: linear-gradient(110deg, var(--cream), #fff 60%); }
.svc.wide .svc-inner { display: flex; align-items: center; }
.svc.wide .wide-left {
    flex: 0 0 34%;
    display: flex;
    align-items: center;
    gap: 18px;
    padding-right: 40px;
}
.svc.wide .wide-left .ic { margin: 0; flex: 0 0 auto; }
.svc.wide .wide-left h3 { margin: 0; }
.svc.wide .wide-body {
    flex: 1;
    border-left: 1px solid var(--border);
    padding-left: 40px;
}
.svc.wide .wide-body p { margin: 0; }
.svc::before {
    content: '';
    position: absolute; left: 0; top: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--copper), var(--elb));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }
.svc .ic {
    width: 52px; height: 52px;
    border-radius: 13px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--copper), var(--copper-light));
    color: #fff;
    margin-bottom: 18px;
}
.svc:nth-child(even) .ic { background: linear-gradient(135deg, var(--navy-500), var(--elb)); }
.svc .ic svg { width: 25px; height: 25px; }
.svc h3 { font-size: 1.3rem; margin-bottom: 10px; }
.svc p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* ════════════════════════════════════════════════════════════
   DIGITAL — dunkle Akzent-Sektion + Portal-Mockup
   ════════════════════════════════════════════════════════════ */
.digital {
    position: relative;
    background: var(--navy-800);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.digital::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(150deg, #0A2A3F, #124560 70%, #16567a);
    z-index: -2;
}
.digital .deco-dot {
    position: absolute; border-radius: 50%;
    background: var(--copper); opacity: 0.07; z-index: -1; pointer-events: none;
}
.digital .deco-dot.a { width: 300px; height: 300px; top: -90px; right: -70px; }
.digital .deco-dot.b { width: 170px; height: 170px; bottom: 40px; left: -60px; }

.digital-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}
.feat-list { list-style: none; margin-top: 30px; display: grid; gap: 18px; }
.feat-list li { display: flex; gap: 15px; align-items: flex-start; }
.feat-list .fic {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 11px;
    background: rgba(196, 98, 45, 0.16);
    border: 1px solid rgba(232, 145, 103, 0.3);
    display: grid; place-items: center;
    color: var(--copper-light);
}
.feat-list .fic svg { width: 20px; height: 20px; }
.feat-list h4 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 1.06rem; margin-bottom: 3px; }
.feat-list p { color: rgba(233, 240, 245, 0.82); font-size: 0.98rem; margin: 0; }

/* Portal-Mockup */
.mockup {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 16px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}
.mockup-bar { display: flex; align-items: center; gap: 7px; padding: 6px 8px 14px; }
.mockup-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.22); display: inline-block; }
.mockup-bar i:nth-child(1) { background: #E8896A; }
.mockup-bar .url {
    margin-left: 12px;
    font-size: 0.74rem;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.07);
    padding: 4px 12px; border-radius: 999px;
}
.mockup-screen { background: #fff; border-radius: 12px; overflow: hidden; color: var(--ink); }
.ms-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid var(--border-cool);
}
.ms-top .t { font-weight: 700; font-size: 0.92rem; }
.ms-top .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--copper), var(--elb)); }
.ms-body { padding: 18px; display: grid; gap: 12px; }
.ms-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 11px 13px; border: 1px solid var(--border-cool); border-radius: 10px; }
.ms-row .ric { width: 38px; height: 38px; border-radius: 9px; background: var(--mist); display: grid; place-items: center; color: var(--elb); }
.ms-row .ric svg { width: 19px; height: 19px; }
.ms-row .rt { font-size: 0.86rem; font-weight: 600; }
.ms-row .rs { font-size: 0.74rem; color: var(--ink-faint); }
.ms-badge { font-size: 0.68rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.ms-badge.ok { background: #E4F4EC; color: #1F7A52; }
.ms-badge.work { background: #FCEAD9; color: var(--copper-dark); }

/* ════════════════════════════════════════════════════════════
   WECHSEL — 3 Schritte
   ════════════════════════════════════════════════════════════ */
.switch { background: var(--mist); }
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 18px;
    position: relative;
}
.step {
    background: var(--paper);
    border: 1px solid var(--border-cool);
    border-radius: var(--radius);
    padding: 34px 28px;
    position: relative;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step .no {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1;
    color: var(--copper);
    opacity: 0.9;
}
.step:nth-child(2) .no { color: var(--elb); }
.step:nth-child(3) .no { color: #2E8B6F; }
.step h3 { font-size: 1.22rem; margin: 14px 0 8px; }
.step p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.switch-cta { text-align: center; margin-top: 46px; }

/* ════════════════════════════════════════════════════════════
   STANDORTE — dunkel
   ════════════════════════════════════════════════════════════ */
.locations {
    position: relative;
    background: var(--navy-700);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.locations::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(140deg, #0D3347, #124560 60%, #1A5878);
    z-index: -2;
}
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.loc-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    padding: 38px;
    backdrop-filter: blur(10px);
    transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.loc-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.08); }
.loc-tag {
    display: inline-block;
    background: var(--copper);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.loc-card:nth-child(2) .loc-tag { background: var(--elb); }
.loc-card h3 { color: #fff; font-size: 1.7rem; margin-bottom: 6px; }
.loc-card .loc-sub { color: var(--copper-light); font-size: 0.92rem; margin-bottom: 22px; font-weight: 500; }
.loc-row { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 14px; color: rgba(233, 240, 245, 0.85); }
.loc-row svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--copper-light); margin-top: 3px; }
.loc-row a { color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,0.3); }
.loc-row a:hover { color: #fff; }

/* ════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════ */
.faq { background: var(--paper); }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    padding: 26px 48px 26px 0;
    position: relative;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    transition: color 0.2s;
}
.faq-q:hover { color: var(--copper); }
.faq-q .plus {
    position: absolute; right: 4px; top: 50%;
    transform: translateY(-50%);
    width: 26px; height: 26px;
}
.faq-q .plus::before,
.faq-q .plus::after {
    content: ''; position: absolute;
    background: var(--copper);
    border-radius: 2px;
    transition: transform 0.3s var(--ease);
}
.faq-q .plus::before { top: 12px; left: 3px; width: 20px; height: 2.5px; }
.faq-q .plus::after  { left: 12px; top: 3px; width: 2.5px; height: 20px; }
.faq-item.open .faq-q .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s var(--ease);
}
.faq-a-inner { padding: 0 48px 26px 0; color: var(--ink-soft); font-size: 1.04rem; }
.faq-a-inner a { color: var(--copper); }

/* ════════════════════════════════════════════════════════════
   KONTAKT
   ════════════════════════════════════════════════════════════ */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: start; }
.contact-info h3 { font-size: 1.7rem; margin-bottom: 14px; }
.contact-info > p { color: var(--ink-soft); margin-bottom: 30px; font-size: 1.08rem; }
.cinfo-item { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cinfo-item:last-child { border-bottom: none; }
.cinfo-item .cic {
    width: 46px; height: 46px; flex-shrink: 0;
    border-radius: 12px;
    background: var(--copper); color: #fff;
    display: grid; place-items: center;
}
.cinfo-item:nth-child(even) .cic { background: var(--elb); }
.cinfo-item .cic svg { width: 21px; height: 21px; }
.cinfo-item .lbl { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); font-weight: 700; }
.cinfo-item .val { color: var(--ink); font-weight: 600; }
.cinfo-item .val a { color: inherit; text-decoration: none; }
.cinfo-item .val a:hover { color: var(--copper); }

.contact-form {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 38px;
    box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--border-cool);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--mist);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--elb);
    box-shadow: 0 0 0 3px rgba(46, 127, 160, 0.13);
    background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 14px; }
.form-note a { color: var(--copper); }
.form-status { margin-top: 12px; font-size: 0.92rem; font-weight: 600; color: #2E8B6F; outline: none; }
.form-status:empty { margin-top: 0; }
.form-status.error { color: #B23B3B; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ════════════════════════════════════════════════════════════
   GRÜNDUNGS-HINWEIS
   ════════════════════════════════════════════════════════════ */
.founding {
    background: linear-gradient(135deg, #FFF8F1 0%, #FBE9D6 100%);
    border-top: 1px solid var(--copper-soft);
    border-bottom: 1px solid var(--copper-soft);
    padding: 26px 0;
}
.founding .container { display: flex; align-items: center; gap: 18px; justify-content: center; text-align: center; flex-wrap: wrap; }
.founding .badge-new {
    flex-shrink: 0;
    background: var(--copper); color: #fff;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 7px 15px; border-radius: 999px;
}
.founding p { color: var(--copper-dark); font-size: 1rem; margin: 0; max-width: 760px; }
.founding p strong { color: var(--copper-dark); }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--navy-900);
    color: rgba(233, 240, 245, 0.62);
    padding: 72px 0 28px;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--copper), var(--elb), var(--copper-light));
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 44px; margin-bottom: 46px; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; max-width: 320px; color: rgba(233, 240, 245, 0.70); }
.footer-brand .claim-sm { color: var(--copper-light); font-family: var(--font-display); font-style: italic; margin-top: 14px; font-size: 1rem; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; font-size: 0.95rem; }
.footer-col a { text-decoration: none; color: rgba(233, 240, 245, 0.62); transition: color 0.2s; }
.footer-col a:hover { color: var(--copper-light); }
.footer-col .muted { color: rgba(233, 240, 245, 0.72); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 26px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
    font-size: 0.86rem;
}
.footer-bottom .legal-links a { margin-left: 20px; text-decoration: none; color: rgba(233, 240, 245, 0.62); }
.footer-bottom .legal-links a:hover { color: var(--copper-light); }

/* ════════════════════════════════════════════════════════════
   PAGE-BANNER + LEGAL (Rechtstexte)
   ════════════════════════════════════════════════════════════ */
.page-banner {
    position: relative;
    background: var(--navy-800);
    color: #fff;
    overflow: hidden;
    padding: 130px 0 90px;
    isolation: isolate;
}
.page-banner::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(160deg, #0A2A3F, #124560 75%, #185074);
    z-index: -2;
}
.page-banner .shimmer {
    position: absolute; top: -120px; right: -60px;
    width: 540px; height: 380px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(196,98,45,0.16), transparent 68%);
    z-index: -1;
}
.crumb { font-size: 0.92rem; color: rgba(233,240,245,0.65); margin-bottom: 16px; }
.crumb a { color: var(--copper-light); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.page-banner h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.page-banner .subtitle { color: rgba(233,240,245,0.78); margin-top: 14px; max-width: 720px; font-size: 1.08rem; }

.legal { padding: 80px 0 100px; background: var(--paper); }
.legal-grid { display: grid; grid-template-columns: 250px 1fr; gap: 60px; align-items: start; }
.toc {
    position: sticky; top: 104px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}
.toc h4 { font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); margin-bottom: 14px; }
.toc ul { list-style: none; }
.toc li { margin-bottom: 7px; }
.toc a { text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; display: block; padding: 3px 0; transition: color 0.2s; }
.toc a:hover { color: var(--copper); }

.legal-content section { margin-bottom: 44px; scroll-margin-top: 104px; padding: 0; }
.legal-content h2 {
    font-size: 1.5rem; margin-bottom: 16px; padding-bottom: 11px;
    border-bottom: 2px solid var(--border); position: relative;
}
.legal-content h2::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 50px; height: 2px; background: var(--copper); }
.legal-content h3 { font-size: 1.12rem; margin: 24px 0 10px; }
.legal-content p { color: var(--ink-soft); margin-bottom: 14px; }
.legal-content strong { color: var(--ink); }
.legal-content ul, .legal-content ol { color: var(--ink-soft); margin: 0 0 16px 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--copper); text-decoration: none; border-bottom: 1px dotted var(--copper); }
.legal-content a:hover { color: var(--copper-dark); }
.data-block {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    padding: 22px 26px; margin: 14px 0 20px;
}
.data-block p { margin-bottom: 4px; }
.data-block .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); font-weight: 700; margin: 14px 0 2px; }
.data-block .label:first-child { margin-top: 0; }
.data-block .value { color: var(--ink); font-weight: 600; }
.notice-box {
    background: linear-gradient(135deg, #FFF8F1, #FBE9D6);
    border: 1px solid var(--copper-soft);
    border-radius: var(--radius-sm);
    padding: 18px 22px; margin: 16px 0 24px;
}
.notice-box p { color: var(--copper-dark); margin: 0; font-size: 0.98rem; }
.placeholder { color: var(--copper-dark); font-style: italic; background: rgba(196,98,45,0.10); padding: 1px 6px; border-radius: 3px; }

/* ════════════════════════════════════════════════════════════
   SCROLL-REVEAL
   ════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
    .story-grid, .digital-grid, .contact-grid, .loc-grid { grid-template-columns: 1fr; gap: 40px; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .svc, .svc.feature, .svc.wide { grid-column: span 1; }
    .svc.wide .svc-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .svc.wide .wide-left { padding-right: 0; }
    .svc.wide .wide-body { border-left: none; padding-left: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .legal-grid { grid-template-columns: 1fr; gap: 30px; }
    .toc { position: static; }
}

@media (max-width: 760px) {
    body { font-size: 16px; }
    section { padding: 76px 0; }
    .nav-links, .nav-portal { display: none; }
    .burger { display: flex; }

    /* Kein backdrop-filter auf Mobil: ein Element mit backdrop-filter wird
       zum Containing Block für das fixed Menü-Panel und beschränkt es auf
       Header-Höhe (Flackern beim Ausklappen). Stattdessen deckende Farbe. */
    .site-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
    .site-header.scrolled { background: rgba(9, 36, 54, 0.97); }
    .site-header.solid,
    .site-header.solid.scrolled { background: rgba(255, 255, 255, 0.98); }
    /* Mobile-Nav Overlay */
    .nav-links.mobile {
        display: flex;
        position: fixed;
        inset: 0 0 0 auto;
        width: min(82vw, 340px);
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: var(--navy-800);
        padding: 96px 32px 32px;
        box-shadow: -20px 0 60px rgba(0,0,0,0.4);
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
        z-index: 999;
    }
    .nav-links.mobile.open { transform: translateX(0); }
    .nav-links.mobile a { color: #fff; font-size: 1.16rem; padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nav-links.mobile a::after { display: none; }
    .nav-backdrop {
        position: fixed; inset: 0; background: rgba(6,24,38,0.55);
        opacity: 0; visibility: hidden; transition: opacity 0.3s; z-index: 998;
    }
    .nav-backdrop.show { opacity: 1; visibility: visible; }

    .pillars { margin-top: -60px; }
    .pillars-grid, .trust-grid, .steps { grid-template-columns: 1fr; }
    .trust-grid { gap: 30px; padding: 30px 0; }
    .bento { grid-template-columns: 1fr; }
    .values, .field-row { grid-template-columns: 1fr; }
    .founding .container { flex-direction: column; gap: 12px; }
    .hero-stat { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom .legal-links a { margin: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
