/* ==========================================================================
   Vivora Logistik – Stylesheet
   ========================================================================== */

@font-face {
  font-family: 'Geist';
  src: url('/fonts/geist-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  src: url('/fonts/geist-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #062234;
  --navy-deep: #041a29;
  --navy-soft: #0d3149;
  --ink: #0b2233;
  --text: #33444f;
  --muted: #62727c;
  --line: #e1e6e9;
  --paper: #f4f6f7;
  --white: #ffffff;
  --gold: #b8872b;
  --gold-light: #d2a653;
  --gold-dark: #9a6f1f;
  --gold-btn: #946d1f;      /* Buttons: weißer Text mit AA-Kontrast */
  --gold-btn-hover: #7e5c19;
  --gold-text: #8a6519;     /* Goldene Schrift auf hellem Grund (AA) */
  --radius: 6px;
  --shadow: 0 18px 50px -20px rgba(4, 26, 41, 0.35);
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --script: 'Brush Script MT', 'Segoe Script', 'Snell Roundhand', cursive;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }

svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 104px) 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--white); color: var(--ink); padding: 12px 18px;
  font-weight: 600; border-radius: var(--radius); box-shadow: var(--shadow);
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow {
  color: var(--gold-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Buttons ---------------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 4px;
  font-size: 15px; font-weight: 600; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.button svg { font-size: 18px; transition: transform .2s ease; }
.button:hover svg { transform: translateX(3px); }
.button.lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.button.gold { background: var(--gold-btn); color: var(--white); box-shadow: 0 10px 24px -12px rgba(148, 109, 31, .9); }
.button.gold:hover { background: var(--gold-btn-hover); }
.button:active { transform: translateY(1px); }
.button.ghost { color: var(--white); border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.04); }
.button.ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* Topbar ----------------------------------------------------------------- */
.topbar { background: var(--navy); color: #d5dee4; font-size: 13.5px; }
.topbar-inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-contact, .topbar-meta, .topbar-links { display: flex; align-items: center; }
.topbar-contact { gap: 28px; }
.topbar-contact a, .topbar-contact span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-contact svg { color: var(--gold-light); font-size: 15px; }
.topbar a:hover { color: var(--white); }
.topbar-meta { gap: 22px; }
.topbar-links a { padding: 0 12px; border-left: 1px solid rgba(255,255,255,.22); line-height: 1; }
.topbar-links a:first-child { border-left: 0; }

.lang-switch { display: inline-flex; align-items: center; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.22); }
.lang-switch a {
  padding: 4px 6px; line-height: 1;
  color: #9fb0bb; font-size: 13px; font-weight: 600; letter-spacing: .04em;
}
.lang-switch a + a { border-left: 1px solid rgba(255,255,255,.22); }
.lang-switch a[aria-current="true"] { color: var(--white); }
.lang-switch a:hover { color: var(--gold-light); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px -18px rgba(4, 26, 41, .35); }
.nav-wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); flex-shrink: 0; }
.brand-mark { width: 50px; height: 41px; stroke: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 29px; font-weight: 700; letter-spacing: .08em; }
.brand-text small { margin-top: 6px; font-size: 11.5px; font-weight: 500; letter-spacing: .62em; color: var(--navy); padding-left: 3px; }
.brand.light { color: var(--white); }
.brand.light .brand-text small { color: #c7d3da; }

.nav-links { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 500; }
.nav-links a:not(.button) { position: relative; padding: 30px 0; color: var(--ink); transition: color .2s ease; }
.nav-links a:not(.button)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:not(.button):hover { color: var(--gold-text); }
.nav-links a:not(.button):hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none !important; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-button {
  display: none; width: 46px; height: 46px; padding: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-button span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(540px, 72vh, 700px);
  display: flex; align-items: center;
  background: var(--navy-deep);
  color: var(--white);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4,26,41,.94) 0%, rgba(4,26,41,.82) 32%, rgba(4,26,41,.35) 58%, rgba(4,26,41,0) 78%),
    linear-gradient(0deg, rgba(4,26,41,.55) 0%, rgba(4,26,41,0) 35%);
}
.hero-content { padding: 72px 0 96px; }
.hero h1 {
  max-width: 620px;
  color: var(--white);
  font-size: clamp(40px, 5.4vw, 66px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.hero .eyebrow { color: var(--gold-light); }
.hero-copy { max-width: 500px; margin-top: 24px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: #dfe7ec; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-tagline {
  position: absolute; right: max(24px, calc((100% - 1200px) / 2)); bottom: 40px;
  max-width: 260px; text-align: right;
  font-family: var(--script); font-size: 30px; line-height: 1.15; color: rgba(255,255,255,.9);
  transform: rotate(-6deg); text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

/* Services --------------------------------------------------------------- */
.services { position: relative; z-index: 2; background: var(--white); }
.service-strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin-top: -44px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -30px rgba(4, 26, 41, .35);
}
.service {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 38px 22px 36px;
  transition: background-color .25s ease;
}
.service + .service::before {
  content: ""; position: absolute; left: 0; top: 32px; bottom: 32px; width: 1px; background: var(--line);
}
.service:hover { background: var(--paper); }
.service svg {
  width: 64px; height: 64px; margin-bottom: 20px;
  color: var(--navy); fill: var(--navy); stroke: none;
  transition: transform .3s ease;
}
.service svg .wheel { fill: var(--white); stroke: var(--navy); stroke-width: 3; }
.service svg .cut { fill: var(--white); }
.service svg .cut-line { fill: none; stroke: var(--white); stroke-width: 2.5; }
.service svg.outline { fill: none; stroke: var(--navy); stroke-width: 2.6; }
.service:hover svg { transform: translateY(-4px); }
.service h3 { font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.service p { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* Split: Why + Office ---------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(64px, 7vw, 88px); }
.split-inner { height: 100%; padding: clamp(48px, 6vw, 72px) clamp(24px, 4vw, 56px); }
.why { background: var(--navy); color: #c9d5dc; }
.why .split-inner { max-width: 640px; margin-left: auto; }
.why h2 { color: var(--white); font-size: clamp(28px, 2.8vw, 36px); margin-bottom: 44px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.why-item { text-align: center; }
.why-item svg { width: 46px; height: 46px; color: var(--gold-light); stroke-width: 1.6; margin: 0 auto 18px; }
.why-item h3 { color: var(--white); font-size: 17px; margin-bottom: 10px; }
.why-item p { font-size: 14px; line-height: 1.5; }

.office {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, #ffffff 0%, rgba(255,255,255,0) 60%),
    linear-gradient(135deg, #eef1f3 0%, #dfe5e9 100%);
}
.office::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,135,43,.12), rgba(184,135,43,0) 70%);
}
.office-inner { position: relative; z-index: 1; max-width: 640px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; }
.kicker { font-size: 17px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.office h2 { font-size: clamp(28px, 2.8vw, 38px); margin-bottom: 24px; max-width: 12ch; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 32px; color: var(--ink); font-size: 16px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.binders { display: grid; gap: 10px; transform: perspective(700px) rotateY(-14deg); }
.binders span {
  display: block; width: 172px; padding: 17px 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f3f4 100%);
  border: 1px solid #cfd6da; border-left: 10px solid var(--navy);
  border-radius: 3px 8px 8px 3px;
  box-shadow: 0 12px 24px -14px rgba(4, 26, 41, .5);
  font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--navy);
}
.binders span:nth-child(2) { margin-left: 14px; }

/* About ------------------------------------------------------------------ */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.about-copy h2 { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 22px; }
.about-copy p { font-size: 17px; margin-bottom: 16px; }
.about-copy .button { margin-top: 12px; }
.about-media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.location-card {
  position: absolute; right: 0; bottom: 28px;
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px 28px; background: rgba(6, 34, 52, .94); color: #c9d5dc;
  border-radius: var(--radius) 0 0 var(--radius);
}
.location-card svg { width: 30px; height: 30px; color: var(--gold-light); fill: var(--gold-light); stroke: var(--navy); stroke-width: 1.4; }
.location-card span { display: flex; flex-direction: column; }
.location-card small { font-size: 15px; font-weight: 600; color: var(--white); }
.location-card strong { font-size: 24px; color: var(--white); line-height: 1.2; }
.location-card em { font-style: normal; font-size: 14px; margin-top: 8px; max-width: 16ch; }

/* Stats ------------------------------------------------------------------ */
.stats { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; align-items: center; gap: 18px; padding: 30px 24px; }
.stat + .stat { border-left: 1px solid #d2d9dd; }
.stat svg { width: 46px; height: 46px; color: var(--navy); stroke-width: 1.6; }
.stat svg.solid { fill: var(--navy); stroke: none; }
.stat svg .ring { fill: var(--paper); stroke: var(--navy); stroke-width: 1.6; }
.stat span { display: block; font-size: 14px; color: var(--text); line-height: 1.3; }
.stat strong { display: block; font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.stat-feature strong { font-size: 22px; line-height: 1.2; max-width: 11ch; }

/* Section heads ---------------------------------------------------------- */
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); }

/* Process ---------------------------------------------------------------- */
.process { background: var(--white); }
.process-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  counter-reset: step;
}
.process-step {
  position: relative; padding: 36px 32px 34px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.process-step:hover { border-color: #d6c29a; box-shadow: var(--shadow); transform: translateY(-3px); }
.process-step:not(:last-child)::after {
  content: ""; position: absolute; top: 58px; right: -19px; width: 14px; height: 14px; z-index: 1;
  border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: rotate(45deg);
}
.step-no { position: absolute; top: 26px; right: 28px; font-size: 44px; font-weight: 700; line-height: 1; color: #eef1f3; letter-spacing: -0.04em; }
.process-step svg {
  width: 56px; height: 56px; padding: 14px; margin-bottom: 22px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light); stroke-width: 1.8;
}
.process-step h3 { font-size: 20px; margin-bottom: 10px; }
.process-step p { font-size: 15.5px; color: var(--muted); }

/* FAQ -------------------------------------------------------------------- */
.faq { background: var(--paper); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 18px; }
.faq-intro p { font-size: 17px; margin-bottom: 28px; max-width: 38ch; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-list details[open] { border-color: #d6c29a; box-shadow: 0 14px 34px -24px rgba(4, 26, 41, .45); }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 60px 20px 24px;
  font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062234' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s ease, background-color .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: #f3ead8; }
.faq-list summary:hover { color: var(--gold-text); }
.faq-list details p { padding: 0 24px 22px; font-size: 16px; color: var(--text); }

/* Contact ---------------------------------------------------------------- */
.contact { background: var(--navy-deep); color: #c3d0d8; }
.contact .eyebrow { color: var(--gold-light); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact h2 { color: var(--white); font-size: clamp(32px, 3.6vw, 46px); max-width: 14ch; }
.contact .lead { margin-top: 20px; font-size: 17px; max-width: 42ch; }
.contact-details { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-details li { display: flex; gap: 16px; align-items: flex-start; }
.contact-details svg {
  width: 44px; height: 44px; padding: 11px; border-radius: 50%;
  background: rgba(210, 166, 83, .12); color: var(--gold-light);
}
.contact-details span { display: flex; flex-direction: column; color: var(--white); font-weight: 600; font-size: 17px; }
.contact-details a:hover { color: var(--gold-light); }
.contact-details small { font-weight: 400; font-size: 14px; color: #9fb0bb; }

.contact-form {
  display: grid; gap: 18px;
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--white); color: var(--text);
  border-radius: var(--radius); box-shadow: 0 30px 70px -30px rgba(0,0,0,.6);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; }
.contact-form label > span { font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  background: var(--white); border: 1px solid #cdd6db; border-radius: 4px;
  font-size: 16px; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062234' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,135,43,.18);
}
.contact-form .invalid { border-color: #c53131 !important; }
.consent { grid-template-columns: auto 1fr; align-items: start; gap: 12px !important; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); cursor: pointer; }
.consent span { font-size: 13.5px !important; font-weight: 400 !important; color: var(--muted) !important; line-height: 1.5; }
.consent a { color: var(--gold-text); text-decoration: underline; }
.consent.invalid span { color: #c53131 !important; }
.submit { width: 100%; }
.submit:disabled { opacity: .7; cursor: wait; }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-message { padding: 14px 16px; border-radius: 4px; font-size: 15px; font-weight: 500; }
.form-message.success { background: #e8f5ec; color: #1d6b3a; border: 1px solid #bfe3cb; }
.form-message.error { background: #fdeeee; color: #9f2323; border: 1px solid #f3c7c7; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #b5c3cc; font-size: 15px; }
.footer-main {
  display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center;
  padding: 52px 0 40px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-script { font-family: var(--script); font-size: 26px; color: var(--white); transform: rotate(-6deg); line-height: 1.1; }
.footer-nav { display: flex; justify-content: flex-end; }
.footer-nav div { display: grid; gap: 8px; padding: 0 32px; border-left: 1px solid rgba(255,255,255,.18); }
.footer-nav div:first-child { border-left: 0; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding: 22px 0 26px; font-size: 14px; }
.footer-legal { display: flex; gap: 24px; }

/* Quickbar (mobil) & Nach-oben-Button ----------------------------------- */
.quickbar { display: none; }
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--white); box-shadow: 0 12px 30px -10px rgba(4,26,41,.6);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s ease;
}
.to-top svg { font-size: 22px; }
.to-top:hover { background: var(--gold-btn); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* Legal pages ------------------------------------------------------------ */
.legal-page { background: var(--paper); }
.legal-header { background: var(--white); border-bottom: 1px solid var(--line); }
.legal-header .nav-wrap { height: 76px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.back-link:hover { color: var(--gold-text); }
.legal-card .legal-cta { margin-top: 12px; color: var(--white); text-decoration: none; }
.legal-shell { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.legal-card {
  max-width: 820px; margin-inline: auto; padding: clamp(28px, 5vw, 56px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.legal-card h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 28px; }
.legal-card h2 { font-size: 20px; margin: 36px 0 12px; }
.legal-card h3 { font-size: 16px; margin: 22px 0 8px; }
.legal-card p, .legal-card li { font-size: 16px; margin-bottom: 12px; }
.legal-card ul { padding-left: 20px; margin: 0 0 12px; }
.legal-card a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 2px; }
.legal-card .note { font-size: 14px; color: var(--muted); }
.legal-footer { background: var(--navy); color: #b5c3cc; }

/* Reveal animation ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1140px) {
  .nav-links { gap: 22px; font-size: 14.5px; }
  .nav-wrap { gap: 20px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .binders { display: none; }
  .office-inner { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) {
  .hide-md { display: none !important; }
  .menu-button { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(4,26,41,.35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.button) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-links a:not(.button)::after { display: none; }
  .nav-cta-mobile { display: inline-flex !important; margin-top: 18px; min-height: 52px; }

  .hero-tagline { display: none; }
  .service-strip { grid-template-columns: repeat(6, 1fr); }
  .service { grid-column: span 2; }
  .service:nth-child(n+4) { grid-column: span 3; border-top: 1px solid var(--line); }
  .service:nth-child(4)::before { display: none; }

  .process-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .process-step:not(:last-child)::after { top: auto; bottom: -19px; right: 50%; margin-right: -7px; transform: rotate(135deg); }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }

  .split { grid-template-columns: 1fr; }
  .why .split-inner, .office-inner { max-width: none; margin: 0; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid #d2d9dd; }

  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { justify-content: flex-start; }
  .footer-nav div:first-child { padding-left: 0; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .hide-sm { display: none !important; }
  .topbar-inner { min-height: 38px; }
  .nav-wrap { height: 70px; }
  .brand-mark { width: 40px; height: 33px; }
  .brand-text strong { font-size: 23px; }
  .brand-text small { font-size: 9.5px; margin-top: 5px; }

  .hero { min-height: 0; align-items: flex-end; }
  .hero-media img { object-position: 70% center; }
  .hero::before { background: linear-gradient(0deg, rgba(4,26,41,.96) 0%, rgba(4,26,41,.85) 50%, rgba(4,26,41,.45) 100%); }
  .hero-content { padding: 120px 0 88px; }
  .hero-actions .button { width: 100%; }
  .hero-tagline { display: none; }

  .service-strip { grid-template-columns: 1fr 1fr; margin-top: -32px; }
  .service, .service:nth-child(n+4) { grid-column: auto; padding: 28px 14px; }
  .service::before { display: none !important; }
  .service:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service:nth-child(odd) { border-right: 1px solid var(--line); }
  .service:last-child { grid-column: 1 / -1; border-right: 0; }
  .service svg { width: 52px; height: 52px; margin-bottom: 14px; }
  .service h3 { font-size: 16px; }
  .service p { font-size: 13.5px; }

  .why-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .why h2 { margin-bottom: 36px; }
  .split { margin-top: 48px; }

  .form-row { grid-template-columns: 1fr; }
  .location-card { position: static; border-radius: 0; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat { padding: 20px 4px; }
  .stat + .stat { border-left: 0; border-top: 1px solid #d2d9dd; }

  .footer-brand { gap: 20px; }
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .footer-nav div { display: contents; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .process-step { padding: 28px 24px; }
  .faq-list summary { font-size: 16px; padding: 18px 54px 18px 18px; }
  .faq-list details p { padding: 0 18px 18px; font-size: 15px; }

  body { padding-bottom: 72px; }
  .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -18px rgba(4,26,41,.4);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .quickbar.show { transform: none; }
  .quickbar a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; border-radius: 4px; font-weight: 600; font-size: 15px;
  }
  .quickbar svg { font-size: 18px; }
  .quickbar-call { border: 1px solid var(--navy); color: var(--navy); }
  .quickbar-offer { background: var(--gold-btn); color: var(--white); }
  .to-top { display: none; }
}

@media (max-width: 360px) {
  .brand-text strong { font-size: 20px; }
  .brand-mark { width: 34px; height: 28px; }
  .hero h1 { font-size: 34px; }
  .service-strip { grid-template-columns: 1fr; }
  .service, .service:nth-child(odd) { border-right: 0; }
  .service:nth-child(n+2) { border-top: 1px solid var(--line); }
  .why-grid { grid-template-columns: 1fr; }
  .lang-switch { padding-left: 12px; }
}

/* Druck ------------------------------------------------------------------ */
@media print {
  .topbar, .site-header, .hero-media, .hero::before, .hero-actions, .hero-tagline, .quickbar, .to-top,
  .contact-form, .binders, .about-media, .faq-intro .button, .legal-header .back-link { display: none !important; }
  body { padding: 0; color: #000; }
  .hero { min-height: 0; background: none; color: #000; }
  .hero h1, .hero-copy { color: #000; }
  .why, .contact, .site-footer { background: none !important; color: #000 !important; }
  .why h2, .why-item h3, .contact h2, .contact-details span { color: #000 !important; }
  .faq-list details > p { display: block; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 12px; }
}
