/* =========================================================
   ROMLEA — Executive Mobility & Vehicle Logistics
   Design system: dark, modern, understated ("dezent")
   ========================================================= */

:root {
  /* Palette */
  --bg:            #0b0b0d;
  --bg-alt:        #101013;
  --surface:       #16161a;
  --surface-2:     #1b1b20;
  --line:          rgba(255, 255, 255, 0.08);
  --line-strong:   rgba(255, 255, 255, 0.16);

  --text:          #ecebe7;
  --text-muted:    #9b9b98;
  --text-dim:      #6d6d6a;

  --accent:        #c6a87a;   /* champagne / warm brass (logo gold) */
  --accent-soft:   rgba(198, 168, 122, 0.14);
  --accent-line:   rgba(198, 168, 122, 0.35);
  --accent-bright: #e6cb96;   /* highlight gold */

  --navy:          #1b2547;   /* logo navy */
  --navy-2:        #26325c;   /* lighter navy */

  /* Type */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1160px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; }

::selection { background: var(--accent-soft); color: var(--text); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.section-alt { background: var(--bg-alt); }

/* ---------- Typography ---------- */
h1, h2, h3 { font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.eyebrow.center { display: block; text-align: center; margin-bottom: 1.5rem; }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-index {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-head h2, .split-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 400;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 1rem;
  max-width: 46ch;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  flex: none;
}
.logo-mark { width: 100%; height: 100%; overflow: visible; object-fit: contain; transition: transform 0.5s var(--ease); }
.brand:hover .logo-mark { transform: scale(1.05) rotate(-2deg); }
.lm-disc  { fill: var(--navy); transition: fill 0.4s var(--ease); }
.brand:hover .lm-disc { fill: var(--navy-2); }
.lm-ring {
  fill: none; stroke: var(--accent); stroke-width: 2.6;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transform: rotate(-90deg); transform-origin: 60px 60px;
  animation: lm-draw 1.15s var(--ease) 0.15s forwards;
}
.lm-ring2 { fill: none; stroke: var(--accent); stroke-width: 1.1; opacity: 0.5; }
.lm-R { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 62px; fill: var(--accent); text-anchor: middle; }
.lm-m { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 27px; fill: var(--accent); text-anchor: middle; }
@keyframes lm-draw { to { stroke-dashoffset: 0; } }
.brand-name {
  font-size: 0.95rem;
  letter-spacing: 0.34em;
  font-weight: 500;
  padding-left: 0.06em;
}
.brand-sub { color: var(--accent); font-weight: 500; letter-spacing: 0.06em; font-size: 0.82rem; margin-left: 0.3rem; }

.nav { display: flex; align-items: center; gap: 2.2rem; }

/* =========================================================
   BEREICHS-WECHSLER (vier Säulen)
   ========================================================= */
.switcher {
  margin-top: 74px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.switcher + main .hero,
.switcher + .hero {
  padding-top: 0;
  min-height: calc(100svh - 74px);
}
.switcher-inner {
  display: flex;
  gap: 0;
}
.brand-switch {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 1.4rem;
  border-right: 1px solid var(--line);
  color: var(--text-muted);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.brand-switch:last-child { border-right: none; }
.brand-switch:hover { background: rgba(255,255,255,0.03); color: var(--text); }
.brand-switch-k {
  font-size: 0.92rem;
  font-weight: 500;
  color: inherit;
}
.brand-switch-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.brand-switch.active {
  background: rgba(198,168,122,0.07);
  color: var(--text);
}
.brand-switch.active .brand-switch-k { color: var(--accent-bright); }
.brand-switch.disabled {
  cursor: default;
  opacity: 0.5;
}
.brand-switch.disabled:hover { background: none; color: var(--text-muted); }
@media (max-width: 720px) {
  .switcher-inner { flex-wrap: wrap; }
  .brand-switch { flex: 1 1 50%; border-bottom: 1px solid var(--line); }
  .brand-switch:nth-child(2) { border-right: none; }
}

/* =========================================================
   PROZESS (Ablauf)
   ========================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.75rem;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding-top: 2.6rem;
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--accent);
  opacity: 0.7;
}
.process-step h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.process-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.nav a {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  border: 1px solid var(--line-strong);
  padding: 0.5rem 1.15rem;
  border-radius: 100px;
  color: var(--text) !important;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-cta:hover { border-color: var(--accent-line); background: var(--accent-soft); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 74px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-glow {
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 90vw; max-width: 1100px; height: 80vh;
  background: radial-gradient(50% 50% at 50% 50%, rgba(198,168,122,0.10), transparent 70%);
  filter: blur(10px);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  opacity: 0.6;
}

.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.9rem, 8vw, 6rem);
  line-height: 1.02;
  margin: 1.6rem 0 1.8rem;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}
.hero-tagline {
  font-size: clamp(0.82rem, 1.4vw, 0.95rem);
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 500;
  margin-top: 1.1rem;
  margin-bottom: 1.4rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--text-muted);
  max-width: 54ch;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero-meta dt {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}
.hero-meta dd {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 0.95rem 1.8rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
              border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #17130c;
  font-weight: 500;
}
.btn-primary:hover { background: #d8bc90; transform: translateY(-2px); }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.btn-block { width: 100%; }

/* =========================================================
   INTRO STATEMENT
   ========================================================= */
.intro { border-top: none; }
.section-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.65rem);
  line-height: 1.35;
  font-weight: 300;
  max-width: 22ch;
  color: var(--text);
}
.section-statement strong { font-weight: 500; color: var(--accent); }
.intro .section-statement { margin-inline: auto; }
.intro .pull-quote { margin-inline: auto; text-align: center; border-left: none; padding-left: 0; }
.intro { padding-block: clamp(4rem, 9vw, 7rem); }

/* Long-form prose (story paragraphs): readable width, consistent left edge */
.section-prose {
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 60ch;
}
.section-prose strong { color: var(--text); font-weight: 500; }

/* =========================================================
   LEISTUNGEN — CARDS
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  background: var(--surface-2);
}
.card-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.9rem;
}
.card-text { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0.6rem; }
.card-list { display: flex; flex-direction: column; gap: 0.55rem; }
.card-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* =========================================================
   ZIELGRUPPE — TAG GRID
   ========================================================= */
.tag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 760px) { .tag-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .tag-grid { grid-template-columns: 1fr; } }
.tag-grid li {
  background: var(--bg-alt);
  padding: 2.2rem 1.8rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.tag-grid li:hover { background: var(--surface); color: var(--accent); }

/* =========================================================
   ANSPRUCH / EINSATZGEBIET / KONTAKT — SPLIT LAYOUT
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.split-text { position: sticky; top: 110px; }

.value-list { display: flex; flex-direction: column; }
.value-list li {
  display: flex;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.value-list li:first-child { border-top: none; padding-top: 0; }
.value-num {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  padding-top: 0.4rem;
  min-width: 2ch;
}
.value-list h3 { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: 0.35rem; }
.value-list p { color: var(--text-muted); font-size: 0.95rem; }

/* Region list */
.region-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.region-list li {
  display: flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}
.region-list .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* Deutschlandkarte (Einsatzgebiet) */
.map-wrap { display: grid; place-items: center; }
.de-map {
  width: min(430px, 94%); overflow: visible;
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.5));
}
.de-states {
  fill: var(--surface);
  stroke: rgba(255, 255, 255, 0.07); stroke-width: 0.6; stroke-linejoin: round;
}
.de-bayern {
  fill: rgba(198, 168, 122, 0.14);
  stroke: var(--accent); stroke-width: 0.9; stroke-linejoin: round;
}
.de-pin { fill: var(--accent); }
.de-pulse {
  fill: var(--accent); opacity: 0.4;
  transform-box: fill-box; transform-origin: center;
  animation: de-ping 2.8s var(--ease) infinite;
}
.de-label {
  fill: var(--text); font-family: var(--font-serif);
  font-size: 15px; letter-spacing: 0.02em;
}
@keyframes de-ping {
  0%   { transform: scale(0.4); opacity: 0.5; }
  70%  { transform: scale(3);   opacity: 0; }
  100% { transform: scale(3);   opacity: 0; }
}

/* =========================================================
   ZUSAMMENARBEIT
   ========================================================= */
.coop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.coop {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  background: var(--surface);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.coop:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.coop h3 { font-family: var(--font-serif); font-size: 1.55rem; margin-bottom: 0.7rem; }
.coop p { color: var(--text-muted); font-size: 0.95rem; }

/* =========================================================
   ZUKUNFT / VISION
   ========================================================= */
.vision { text-align: center; }
.vision-text {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 4.4vw, 3rem);
  line-height: 1.35;
  max-width: 20ch;
  margin-inline: auto;
}
.vision-text em { font-style: italic; color: var(--accent); }
.vision .section-statement { margin-inline: auto; }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact-details { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-details li { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contact-details a:hover { color: var(--accent); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field input, .field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-line);
  background: var(--surface-2);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.form-note { font-size: 0.85rem; color: var(--accent); min-height: 1.2em; }
.form-privacy-note {
  font-size: 0.8rem;
  color: var(--muted, #9a9aa2);
  line-height: 1.5;
  margin-top: 0.5rem;
}
.form-privacy-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-privacy-note a:hover { color: var(--accent); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding-block: 3.5rem 2rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-brand .brand-name { display: block; letter-spacing: 0.3em; }
.footer-tag { display: block; font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.08em; margin-top: 0.25rem; }
.footer-nav, .footer-legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a, .footer-legal a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}
.footer-nav a:hover, .footer-legal a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1.8rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-dim); }

/* =========================================================
   LEGAL / PROSE PAGES (Impressum, Datenschutz)
   ========================================================= */
body.legal-page .site-header {
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.legal {
  padding-top: calc(74px + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(4rem, 9vw, 7rem);
}
.legal-inner { max-width: 780px; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2.5rem;
  transition: color 0.25s var(--ease);
}
.legal-back:hover { color: var(--accent); }
.legal h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin-bottom: 0.75rem;
}
.legal-lead { color: var(--text-muted); margin-bottom: 2.5rem; font-size: 1.05rem; }
.legal h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  margin: 2.6rem 0 0.9rem;
}
.legal h3 { font-size: 1rem; font-weight: 600; margin: 1.6rem 0 0.5rem; color: var(--text); }
.legal p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.legal p strong { color: var(--text); font-weight: 500; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { opacity: 0.8; }
.legal ul { padding-left: 1.2rem; list-style: disc; margin-bottom: 1rem; }
.legal li { color: var(--text-muted); line-height: 1.7; margin-bottom: 0.4rem; }
.legal address { font-style: normal; line-height: 1.9; color: var(--text); }
.legal-block {
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 1.25rem 0 1.5rem;
}
.legal-note {
  font-size: 0.88rem;
  color: var(--text-dim);
  border-left: 2px solid var(--accent-line);
  padding: 0.25rem 0 0.25rem 1rem;
  margin: 1.5rem 0;
}
.ph {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.05em 0.35em;
  border-radius: 4px;
  font-style: normal;
  white-space: nowrap;
}
[aria-current="page"] { color: var(--accent); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* Directional reveal variants */
.js [data-reveal="left"]  { transform: translateX(-34px); }
.js [data-reveal="right"] { transform: translateX(34px); }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal="blur"]  { filter: blur(12px); }
.js [data-reveal].in { transform: none; filter: none; }

/* Staggered groups (children animate in sequence) */
.js .stagger > * { opacity: 0; }
.js .stagger.in > * {
  animation: reveal-up 0.7s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 0.07s);
}
.js .stagger > *.reveal-done { animation: none; opacity: 1; }
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) { .brand-sub { display: none; } }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-text { position: static; }

  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11,11,13,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--pad) 2rem;
    transform: translateY(-120%);
    transition: transform 0.45s var(--ease);
    visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { border: none; padding: 1rem 0; text-align: left; border-radius: 0; }
  .nav-cta:hover { background: none; color: var(--accent) !important; }

  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-meta { gap: 1.5rem 2.5rem; }
}

/* =========================================================
   MODERN ANIMATION LAYER (Revolut-inspiriert)
   ========================================================= */

/* Screen-reader only */
.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;
}

/* Footer logo mark a touch larger */
.footer-brand .brand-mark { width: 48px; height: 48px; }

/* 404 / Fehlerseite */
.err { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 6rem var(--pad); }
.err-inner { max-width: 520px; }
.err .brand-mark { width: 56px; height: 56px; margin: 0 auto 2rem; }
.err-code {
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 18vw, 9rem); line-height: 1;
  color: var(--accent); letter-spacing: 0.02em;
}
.err h1 { font-family: var(--font-serif); font-size: clamp(1.5rem, 4vw, 2.3rem); margin: 0.4rem 0 1rem; }
.err p { color: var(--text-muted); margin-bottom: 2rem; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  z-index: 60; will-change: transform;
  box-shadow: 0 0 18px rgba(198, 168, 122, 0.5);
}

/* Scrollspy active nav link */
.nav a.active:not(.nav-cta) { color: var(--text); }
.nav a.active:not(.nav-cta)::after { transform: scaleX(1); }

/* Premium nav link */
.nav-soon { color: var(--accent) !important; display: inline-flex; align-items: center; gap: 0.45rem; }
.nav-soon::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: soon-pulse 2.2s infinite;
}

/* Hero: drifting gradient blobs */
.hero-glow.two {
  top: auto; bottom: -25%; left: 12%; transform: none;
  width: 60vw; max-width: 720px; height: 62vh;
  background: radial-gradient(50% 50% at 50% 50%, rgba(27, 37, 71, 0.55), transparent 70%);
  animation: float-a 20s ease-in-out infinite;
}
.hero-glow.three {
  top: 6%; right: -12%; left: auto; transform: none;
  width: 46vw; max-width: 560px; height: 56vh;
  background: radial-gradient(50% 50% at 50% 50%, rgba(198, 168, 122, 0.10), transparent 70%);
  animation: float-b 24s ease-in-out infinite;
}
@keyframes float-a { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(4%, -6%); } }
@keyframes float-b { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-5%, 5%); } }

/* =========================================================
   MARQUEE (Zielgruppe)
   ========================================================= */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-block: clamp(0.9rem, 2.4vw, 1.5rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee.first { margin-top: clamp(2rem, 4vw, 3rem); }
.marquee:last-of-type { border-bottom: 1px solid var(--line); }
.marquee-track {
  display: inline-flex; align-items: center;
  gap: clamp(1.4rem, 4vw, 3rem);
  white-space: nowrap; will-change: transform;
  animation: marquee-left 40s linear infinite;
}
.marquee.rtl .marquee-track { animation: marquee-right 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.8vw, 2.6rem);
  color: var(--text); transition: color 0.3s var(--ease);
}
.marquee-item:hover { color: var(--accent); }
.marquee-sep { color: var(--accent); font-size: 0.8em; opacity: 0.7; }
@keyframes marquee-left  { to   { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* =========================================================
   CARD SPOTLIGHT + TILT
   ========================================================= */
.cards, .coop-grid { perspective: 1200px; }
.card, .coop { position: relative; transform-style: preserve-3d; }
.card { transition: transform 0.3s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease); }
.card > *, .coop > * { position: relative; z-index: 1; }
.card::before, .coop::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(198, 168, 122, 0.16), transparent 62%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.card:hover::before, .coop:hover::before { opacity: 1; }

/* =========================================================
   BUTTONS — shine sweep
   ========================================================= */
.btn { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.btn-primary:hover::after { animation: btn-shine 0.9s var(--ease); }
@keyframes btn-shine { to { left: 150%; } }

/* =========================================================
   PREMIUM SHUTTLE SERVICES — Coming Soon (Kontrast)
   ========================================================= */
.premium-panel {
  position: relative; overflow: hidden;
  border-radius: 26px;
  padding: clamp(2.4rem, 6vw, 5rem);
  background: linear-gradient(135deg, #1c2749 0%, #131a34 52%, #0c1023 100%);
  border: 1px solid rgba(198, 168, 122, 0.30);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.premium-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.premium-blob { position: absolute; border-radius: 50%; filter: blur(34px); }
.premium-blob.b1 { width: 440px; height: 440px; top: -32%; right: -8%;
  background: radial-gradient(circle, rgba(198, 168, 122, 0.30), transparent 70%);
  animation: float-a 17s ease-in-out infinite; }
.premium-blob.b2 { width: 380px; height: 380px; bottom: -38%; left: -8%;
  background: radial-gradient(circle, rgba(56, 78, 140, 0.55), transparent 70%);
  animation: float-b 21s ease-in-out infinite; }
.premium-shimmer {
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: skewX(-16deg); animation: premium-sweep 7.5s ease-in-out infinite;
}
@keyframes premium-sweep { 0% { left: -60%; } 55%, 100% { left: 150%; } }
.premium-content { position: relative; z-index: 1; max-width: 720px; }
.badge-soon {
  display: inline-flex; align-items: center; gap: 0.6rem;
  border: 1px solid rgba(198, 168, 122, 0.5); background: rgba(198, 168, 122, 0.10);
  color: var(--accent-bright);
  padding: 0.5rem 1.05rem; border-radius: 100px;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); animation: soon-pulse 2s infinite; }
@keyframes soon-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(198, 168, 122, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(198, 168, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 168, 122, 0); }
}
.premium-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1.05; margin: 1.3rem 0 1.1rem;
  background: linear-gradient(100deg, #e9d3a2 0%, #c6a87a 35%, #f2ddb0 60%, #b98f52 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shimmer-text 7s linear infinite;
}
@keyframes shimmer-text { to { background-position: 220% center; } }
.premium-lead { color: #c3c7d4; font-size: clamp(1.02rem, 2vw, 1.2rem); max-width: 56ch; line-height: 1.7; }
.premium-features { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.7rem 0 2rem; }
.premium-features li {
  border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04);
  border-radius: 100px; padding: 0.5rem 1.1rem; font-size: 0.85rem; color: #dcdfe8;
}
.premium-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.6rem; }
.premium-note { font-size: 0.85rem; color: #8f93a3; max-width: 36ch; }
@media (max-width: 560px) { .premium-actions .btn { width: 100%; } }

/* =========================================================
   PULL QUOTE
   ========================================================= */
.pull-quote {
  margin: 2rem 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--accent-line);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--accent-bright);
  max-width: 640px;
}

/* =========================================================
   VIER-SÄULEN-KLAMMER (Geschichte)
   ========================================================= */
.pillars {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem 2.4rem;
  border-top: 1px solid var(--line);
  padding-top: 2.2rem;
}
.pillar-k {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--accent-bright);
  margin-bottom: 0.5rem;
}
.pillar p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* =========================================================
   REVEAL ANIMATION (single elements)
   ========================================================= */
/* base states defined earlier under .js */

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .stagger > *, .js .stagger.in > * { opacity: 1 !important; transform: none !important; animation: none !important; }
  .de-pulse, .badge-dot, .nav-soon::before, .premium-shimmer, .premium-blob,
  .hero-glow, .hero-glow.two, .hero-glow.three, .marquee-track, .premium-title { animation: none !important; }
  .lm-ring { stroke-dashoffset: 0 !important; animation: none !important; }
  .premium-title { background-position: 0 center !important; }
  .scroll-progress { display: none; }
  * { transition-duration: 0.01ms !important; }
}
