/* ─────────────────────────────────────────────────────────────
   Synervia Case-Study-System (Referenzbereich)
   Wiederverwendbares Stylesheet für referenzen.html (Übersicht mit
   Filtern) und alle Einzel-Case-Studies unter referenzen/*.html.
   Nutzt dieselbe Designsprache wie index.html / shopware.html /
   programmierung.html / plugins/configurator-pro.html (Space Grotesk +
   Inter, sparsames Rot auf Hell/Dunkel-Kontrast).
   Wird per <link> eingebunden – kein Kopieren des Style-Blocks
   pro Seite mehr nötig (echtes "wiederverwendbares System").
   ───────────────────────────────────────────────────────────── */

:root {
  color-scheme: light only;
  --red: #E2231A;
  --red-600: #C81E16;
  --bordeaux: #6E120D;
  --red-soft: #FBEAE8;
  --ink: #131316;
  --ink-1: var(--ink);
  --ink-2: #2B2A2F;
  --muted: #5B5A62;
  --muted-1: var(--muted);
  --muted-2: #8B8990;
  --line: #E7E4DF;
  --line-2: #D8D4CC;
  --bg: #FFFFFF;
  --bg-1: var(--bg);
  --bg-2: #F6F4EF;
  --bg-3: #EEEBE3;
  --r: 14px;
  --r-lg: 20px;
  --font-head: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.01em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
section[id] { scroll-margin-top: 88px; }

/* ─── NAV ─── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 68px; background: rgba(255,255,255,0.88); backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); transition: background 0.3s, border-color 0.3s; }
nav.at-top { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
nav.at-top .nav-menu a, nav.at-top .nav-trigger, nav.at-top .nav-login { color: rgba(255,255,255,0.88); }
nav.at-top .nav-menu a:hover, nav.at-top .nav-menu a.active, nav.at-top .nav-trigger:hover, nav.at-top .nav-trigger.active, nav.at-top .nav-item.open .nav-trigger { color: #fff; }
nav.at-top .nav-submenu a { color: var(--ink-2); }
nav.at-top .nav-submenu a:hover, nav.at-top .nav-submenu a.active { color: var(--red); }
nav.at-top .lang-btn { color: rgba(255,255,255,0.6); }
nav.at-top .lang-btn:hover { color: #fff; background: rgba(255,255,255,0.10); }
nav.at-top .lang-btn.active { color: #fff; background: rgba(226,35,26,0.9); }
nav.at-top .lang-sep { color: rgba(255,255,255,0.28); }
nav.at-top .logo-img { filter: brightness(0) invert(1); }
nav.at-top .hamburger span { background: #fff; }
.nav-in { max-width: 1200px; margin: 0 auto; height: 100%; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 9px; letter-spacing: -0.01em; }
.logo-img { height: 44px !important; width: auto !important; max-height: none !important; display: block; }
.nav-menu { display: flex; gap: 22px; list-style: none; align-items: center; }
.nav-menu li { position: relative; }
.nav-item::after { content: ""; position: absolute; left: -10px; right: -10px; top: 100%; height: 18px; }
.nav-menu a, .nav-trigger { font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color 0.18s; font-family: var(--font-body); }
.nav-trigger { display: inline-flex; align-items: center; gap: 5px; background: none; border: none; padding: 0; cursor: pointer; font-family: var(--font-body); }
.nav-menu a:hover, .nav-menu a.active, .nav-trigger:hover, .nav-trigger.active, .nav-item.open .nav-trigger { color: var(--red); }
.nav-trigger::after { content: '⌄'; font-size: 12px; line-height: 1; opacity: .7; transform: translateY(-1px); transition: transform .16s; }
.nav-item.open .nav-trigger::after, .nav-trigger[aria-expanded="true"]::after { transform: translateY(-1px) rotate(180deg); }
.nav-submenu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); min-width: 230px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.97); box-shadow: 0 18px 50px rgba(19,19,22,.12); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .16s, transform .16s, visibility .16s; }
.nav-item.open .nav-submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.nav-submenu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 13.5px; color: var(--ink-2); }
.nav-submenu a:hover, .nav-submenu a.active { background: var(--red-soft); color: var(--red); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-btn { background: none; border: none; cursor: pointer; font-size: 12px; font-weight: 700; color: var(--muted-2); padding: 4px 6px; border-radius: 5px; transition: color 0.15s, background 0.15s; font-family: var(--font-body); letter-spacing: 0.04em; }
.lang-btn:hover { color: var(--ink); background: var(--bg-3); }
.lang-btn.active { color: var(--red); background: var(--red-soft); }
.lang-sep { font-size: 11px; color: var(--line-2); }

/* ─── BUTTONS ─── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; cursor: pointer; border-radius: 8px; transition: all 0.18s; border: none; font-size: 14.5px; padding: 11px 22px; font-family: var(--font-body); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-600); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(226,35,26,0.24); }
.btn-ghost { background: var(--bg-3); color: var(--ink); }
.btn-ghost:hover { background: var(--line-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--ink) !important; font-weight: 700; }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,0,0,0.28); }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 10px; }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.28); }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

/* ─── PAGE HERO (dunkel, kompakt – für Übersicht & Case-Detail) ─── */
.hero { position: relative; overflow: hidden; isolation: isolate; background: #0C0C0F; padding: 150px 0 80px; }
.hero::before { content:''; position:absolute; inset:0; z-index:0; pointer-events:none; opacity: 0.5; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%); mask-image: linear-gradient(180deg, #000 0%, transparent 92%); }
.hero .wrap { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(234,234,239,0.5); margin-bottom: 22px; font-family: var(--font-body); flex-wrap: wrap; }
.breadcrumb a { color: rgba(234,234,239,0.5); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span.current { color: rgba(234,234,239,0.82); }
.pill { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: 100px; padding: 8px 17px; font-size: 13px; font-weight: 500; color: #E9E8EC; font-family: var(--font-body); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.hero h1 { font-family: var(--font-head-display); font-size: clamp(34px, 4.4vw, 54px); font-weight: 560; line-height: 1.08; color: #fff; letter-spacing: -0.01em; margin-bottom: 18px; max-width: 820px; }
.hero p.hero-sub { font-size: 17px; color: rgba(234,234,239,0.72); font-weight: 400; max-width: 620px; margin: 0 0 26px; line-height: 1.62; font-family: var(--font-body); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* meta pills row under a case-study H1 (Kunde/Branche/Status) */
.case-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.case-meta-item { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: rgba(234,234,239,0.82); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: 100px; padding: 6px 14px; font-family: var(--font-body); }
.case-meta-item b { font-weight: 700; color: #fff; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; border-radius: 100px; padding: 6px 13px; font-family: var(--font-body); }
.status-badge.is-live { color: #6FDBA8; background: rgba(52,211,153,0.14); border: 1px solid rgba(52,211,153,0.3); }
.status-badge.is-dev { color: #FFB199; background: rgba(226,35,26,0.14); border: 1px solid rgba(226,35,26,0.3); }
.status-badge::before { content:''; width:6px; height:6px; border-radius:50%; background: currentColor; flex-shrink: 0; }

@media (max-width: 980px) { .hero { padding: 128px 0 60px; } }

/* ─── SECTION BASE ─── */
section.block { padding: 96px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); }
.eyebrow::before { content:''; width: 20px; height: 2px; background: var(--red); }
.h2 { font-family: var(--font-head); font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; color: var(--ink); line-height: 1.12; margin-bottom: 16px; letter-spacing: -0.01em; }
.lead { font-size: 17px; color: var(--muted); max-width: 640px; line-height: 1.65; font-family: var(--font-body); }
.sec-head { max-width: 700px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }

/* ─── CASE-STUDY DETAILSEITE ─── */
.case-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.case-fields { display: grid; gap: 52px; }
.case-field .eyebrow { margin-bottom: 12px; }
.case-field p { font-size: 16px; color: var(--ink-2); line-height: 1.72; font-family: var(--font-body); }
.case-field p + p { margin-top: 14px; }
.case-field ul { list-style: none; display: grid; gap: 10px; margin-top: 6px; }
.case-field ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; color: var(--ink-2); line-height: 1.6; font-family: var(--font-body); }
.case-field ul li svg { width: 16px; height: 16px; stroke: var(--red); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-top: 4px; flex-shrink: 0; }

.case-sidebar { display: grid; gap: 24px; align-content: start; position: sticky; top: 100px; }
.case-sidebar-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; background: var(--bg-2); }
.case-sidebar-card h4 { font-size: 13px; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; font-family: var(--font-body); }
.tech-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-pill { font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 100px; padding: 6px 13px; font-family: var(--font-body); }

/* Ergebnis-Callout: bewusst OHNE große Kennzahl-Typografie – Text statt Statistik */
.result-box { border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: var(--r); padding: 22px 22px; background: var(--bg); }
.result-box .eyebrow { margin-bottom: 10px; }
.result-box p { font-size: 15.5px; color: var(--ink-2); line-height: 1.65; font-family: var(--font-body); font-style: italic; }

.case-links { display: grid; gap: 10px; }
.case-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; color: var(--red); text-decoration: none; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; transition: background 0.15s, border-color 0.15s; }
.case-links a:hover { background: var(--red-soft); border-color: var(--red-soft); }

@media (max-width: 980px) { .case-body { grid-template-columns: 1fr; gap: 44px; } .case-sidebar { position: static; } }

/* Screenshot-Block (nur wenn ein echter Screenshot existiert) */
.case-shot-wrap { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.case-shot-bar { height: 32px; background: #F0F0F3; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.case-shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D4D4D8; display: block; }
.case-shot-bar span { font-size: 11px; color: var(--muted-2); margin-left: 8px; font-family: var(--font-body); }
.case-shot-wrap img { display: block; width: 100%; height: auto; }
.case-shot-wrap.is-app { max-width: 760px; margin-left: auto; margin-right: auto; }
.case-shot-caption { padding: 14px 20px; font-size: 12.5px; color: var(--muted-2); font-family: var(--font-body); }

/* ─── ÜBERSICHT: FILTER + GRID ─── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 44px 0 8px; }
.filter-btn { font-family: var(--font-body); font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 100px; padding: 9px 20px; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.filter-btn:hover { border-color: var(--line-2); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.ref-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
.ref-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.2s, transform 0.2s; }
.ref-card:hover { box-shadow: 0 16px 44px rgba(19,19,22,0.08); transform: translateY(-3px); }
.ref-card.is-hidden { display: none; }
.ref-card-shot { height: 168px; background: var(--bg-2); display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.ref-card-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ref-card-shot.no-shot { background: linear-gradient(135deg, #1b1b22 0%, #2a2a33 100%); }
.ref-card-shot.no-shot span { font-family: var(--font-head); font-size: 15px; color: rgba(255,255,255,0.35); }
.ref-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.ref-card-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.cat-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red); background: var(--red-soft); padding: 4px 10px; border-radius: 6px; font-family: var(--font-body); }
.ref-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.ref-card .industry { font-size: 12.5px; color: var(--muted-2); margin-bottom: 10px; font-family: var(--font-body); }
.ref-card p.summary { font-size: 14px; color: var(--muted); line-height: 1.55; font-family: var(--font-body); flex: 1; }
.ref-card .ref-link { display: inline-flex; gap: 5px; margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--red); }

@media (max-width: 980px) { .ref-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .ref-grid { grid-template-columns: 1fr; } }

/* ─── CTA ─── */
.cta { padding: 100px 0; }
.cta-box { background: var(--ink); border-radius: var(--r-lg); padding: 76px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-box .inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cta-box .eyebrow { color: #FF8A7E; justify-content: center; }
.cta-box .eyebrow::before { background: var(--red); }
.cta-box h2 { font-size: clamp(26px,3.4vw,38px); font-weight: 600; color:#fff; line-height:1.1; margin-bottom: 16px; }
.cta-box p { font-size: 16px; color: rgba(255,255,255,0.62); margin-bottom: 30px; font-family: var(--font-body); }
.cta-box .hero-cta { justify-content: center; }
.meetergo-booking { width: 100%; max-width: 760px; min-height: 620px; margin: 34px auto 0; background: #fff; border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; overflow: hidden; box-shadow: 0 22px 70px rgba(0,0,0,0.26); }
.meetergo-booking .meetergo-iframe { width: 100%; min-height: 620px; }
.cta-contacts { display:flex; gap:26px; justify-content:center; flex-wrap:wrap; margin-top: 28px; }
.cta-contacts a { font-size: 14px; color: rgba(255,255,255,0.55); text-decoration:none; display:inline-flex; align-items:center; gap:7px; font-family: var(--font-body); }
.cta-contacts a:hover { color:#fff; }

/* ─── HAMBURGER / MOBILE NAV ─── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 7px; border-radius: 9px; transition: background 0.15s; }
.hamburger:hover { background: var(--bg-3); }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; display: block; }
.mobile-nav { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(255,255,255,0.98); backdrop-filter: blur(22px) saturate(1.5); flex-direction: column; align-items: center; justify-content: flex-start; padding: 88px 32px 48px; gap: 0; overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav > a, .mobile-nav-trigger { font-family: var(--font-head); font-size: 21px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 10px 0; width: 100%; max-width: 320px; text-align: center; border-bottom: 1px solid var(--line); transition: color 0.18s; }
.mobile-nav-trigger { background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-head); }
.mobile-nav-trigger::after { content: '⌄'; font-size: 14px; line-height: 1; opacity: .7; transform: translateY(-1px); transition: transform .16s; }
.mobile-nav-group.open .mobile-nav-trigger::after { transform: translateY(-1px) rotate(180deg); }
.mobile-nav > a:last-of-type { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a.active, .mobile-nav-trigger:hover, .mobile-nav-trigger.active { color: var(--red); }
.mobile-nav-group { width: 100%; max-width: 320px; border-bottom: 1px solid var(--line); }
.mobile-nav-group .mobile-nav-trigger { border: none; max-width: none; }
.mobile-nav-submenu { display: none; padding: 0 0 10px; }
.mobile-nav-group.open .mobile-nav-submenu { display: grid; gap: 2px; }
.mobile-nav-submenu a { display: block; padding: 8px 0; font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--ink-2); text-align: center; text-decoration: none; }
.mobile-nav .btn-red { font-size: 16px; margin-top: 28px; border-bottom: none; padding: 14px 32px; border-radius: 10px; width: auto; }
.mobile-close { position: absolute; top: 18px; right: 18px; background: var(--bg-3); border: none; border-radius: 10px; width: 40px; height: 40px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--muted); transition: background 0.15s; }
.mobile-close:hover { background: var(--line-2); color: var(--ink); }

/* ─── COOKIE BANNER ─── */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 300; background: var(--ink-2); border-top: 1px solid rgba(255,255,255,0.07); padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; transform: translateY(100%); transition: transform 0.5s cubic-bezier(.16,1,.3,1); }
.cookie-bar.show { transform: translateY(0); }
.cookie-bar p { font-size: 13.5px; color: rgba(255,255,255,0.72); line-height: 1.5; flex: 1; min-width: 180px; font-family: var(--font-body); }
.cookie-bar p a { color: rgba(255,255,255,0.5); text-decoration: underline; cursor: pointer; }
.cookie-bar p a:hover { color: #fff; }
.cookie-accept { font-family: var(--font-body); font-size: 13px; font-weight: 700; background: var(--red); color: #fff; border: none; border-radius: 8px; padding: 9px 20px; cursor: pointer; white-space: nowrap; transition: background 0.15s; }
.cookie-accept:hover { background: var(--red-600); }

/* reveal (Beobachter kommt aus assets/js/synervia.js) */
.rv { opacity:0; transform: translateY(16px); transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.6s cubic-bezier(.16,1,.3,1); }
.rv.vis { opacity:1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ─── FOOTER ─── */
footer { background: #0E0E11; padding: 64px 0 36px; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.foot-brand .logo { color:#fff; margin-bottom: 16px; }
.foot-brand .logo-img { filter: brightness(0) invert(1); }
.foot-brand p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.6; max-width: 280px; font-family: var(--font-body); }
.foot-col h5 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; font-family: var(--font-body); }
.foot-col a { display:block; font-size: 14px; color: rgba(255,255,255,0.5); text-decoration:none; margin-bottom: 11px; transition: color 0.18s; font-family: var(--font-body); }
.foot-col a:hover { color:#fff; }
.foot-bottom { display:flex; justify-content:space-between; align-items:center; padding-top: 28px; flex-wrap:wrap; gap:16px; }
.foot-bottom span { font-size: 13px; color: rgba(255,255,255,0.35); font-family: var(--font-body); }
.foot-legal { display:flex; gap:22px; }
.foot-legal a { font-size: 13px; color: rgba(255,255,255,0.35); text-decoration:none; font-family: var(--font-body); }
.foot-legal a:hover { color: rgba(255,255,255,0.6); }

@media (prefers-color-scheme: dark) {
  html, body { background: #FFFFFF !important; color: var(--ink) !important; }
  .h2, .lead, .case-field p, .case-field ul li, .ref-card h3, .ref-card p.summary,
  .case-sidebar-card h4, .tech-pill, .result-box p { color: var(--ink); }
  .lead, .case-field p, .ref-card p.summary { color: var(--muted) !important; }
  .eyebrow { color: var(--red) !important; }
  .cta-box .eyebrow { color: #FF8A7E !important; }
  .hero { background: #0C0C0F !important; color: #fff !important; }
  .cta-box, .cta-box * { color: #fff; }
  .cta-box h2 { color:#fff !important; }
  footer, footer * { color: rgba(255,255,255,0.5); }
  footer .foot-col h5, footer .logo { color: #fff !important; }
}

@media (max-width: 980px) {
  .nav-menu { display:none; }
  .hamburger { display: flex; }
  /* Kontakt-Button bleibt auch mobil sichtbar (wichtigster Conversion-Punkt);
     dafuer kompakter, damit er neben Logo, Sprachwahl und Menue passt. */
  .nav-right { gap: 10px; }
  .nav-right .btn-red { padding: 9px 15px; font-size: 13.5px; }
  .lang-sep { display: none; }
  .lang-btn { padding: 4px 4px; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .nav-in { padding: 0 20px; }
  section.block { padding: 68px 0; }
  .cta-box { padding: 48px 22px; }
  .meetergo-booking { min-height: 640px; margin-left: -10px; margin-right: -10px; border-radius: 12px; }
  .meetergo-booking .meetergo-iframe { min-width: 0 !important; min-height: 640px; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 132px 0 52px; }
  .cookie-bar { padding: 14px 20px; }
}
@media (max-width: 980px) and (min-width: 621px) { .foot-top { grid-template-columns: 1fr 1fr; } }

  /* Ab 1200px auf Menue-Button umschalten: mit den zusaetzlichen Nav-Punkten
     (Referenzen, Support & Care) bricht die Desktop-Navigation darunter um. */
  @media (max-width: 1200px) {
    .nav-menu { display: none; }
    .hamburger { display: flex; }
  }
