/* ==========================================================================
   MARMA TECH AG — Design im Stil von teccore.ch
   Helles Editorial-Layout · DM Sans · Blau/Cyan-Akzent · ruhige Bewegung
   --------------------------------------------------------------------------
   1  Tokens
   2  Reset & Basis
   3  Typografie
   4  Layout-Primitive
   5  Komponenten
   6  Kopfbereich
   7  Hero
   8  Sektionen
   9  Formular & Rechtsseiten
   10 Fussbereich
   11 Bewegung, Print, Fallbacks
   ========================================================================== */

/* ==========================================================================
   1  TOKENS
   ========================================================================== */
:root {
  /* Flächen */
  --paper: #faf9f6;
  --soft: #efece7;
  --band: #e8e5df;
  --card: #fbfbfa;
  --dark: #141414;
  --deep: #0a0a0a;
  --accent: #fdfcfa;

  /* Text */
  --ink: #1a1a1a;
  --text-secondary: #4a4a4a;
  --muted: #7a7a7a;
  --muted-soft: #a7a39c;
  --on-dark: #ece9e3;
  --on-dark-soft: #9d9993;

  /* Linien */
  --line: #e2ded7;
  --line-soft: #efedea;
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Akzent */
  --blue: #1d82f2;
  --blue-deep: #0a5fd0;
  --cyan: #38c6f4;
  --grad: linear-gradient(90deg, var(--blue), var(--cyan));

  /* Typografie */
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --step--1: clamp(0.78125rem, 0.76rem + 0.11vw, 0.8125rem);
  --step-0: 1rem;
  --step-1: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-2: clamp(1.125rem, 1.03rem + 0.5vw, 1.375rem);
  --step-3: clamp(1.5rem, 1.3rem + 0.9vw, 1.875rem);
  --step-4: clamp(1.75rem, 1.35rem + 1.9vw, 2.5rem);
  --step-5: clamp(2.375rem, 1.6rem + 3.4vw, 4rem);
  --step-6: clamp(3.25rem, 1.6rem + 6.6vw, 6.75rem);
  --step-7: clamp(3.5rem, 1.8rem + 7.6vw, 7.875rem);

  /* Raum & Layout */
  --gutter: clamp(20px, 5.55vw, 88px);
  --wrap: 1320px;
  --header-h: 88px;
  --section-y: clamp(72px, 9vw, 130px);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  /* Bewegung */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.35s;
  --dur-slow: 0.75s;

  /* Ebenen */
  --z-sticky: 35;
  --z-header: 60;
  --z-progress: 120;
  --z-skip: 150;
}

/* ==========================================================================
   2  RESET & BASIS
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 27px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img,
svg,
video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; min-width: 0; }

button { color: inherit; background: none; border: 0; cursor: pointer; }

button,
a,
input,
select,
textarea,
summary { touch-action: manipulation; }

address { font-style: normal; }

ul[role="list"] { list-style: none; padding: 0; }

[hidden] { display: none !important; }

:target,
[id] { scroll-margin-top: calc(var(--header-h) + 27px); }

::selection { color: #082b52; background: #cfe2ff; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
#main:focus { outline: none; }
:focus:not(:focus-visible) { outline: none; }

/* ==========================================================================
   3  TYPOGRAFIE
   ========================================================================== */
h1, h2, h3, h4 {
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { font-size: var(--step-6); }
h2 { font-size: var(--step-5); }
h3 { font-size: var(--step-3); letter-spacing: -0.03em; }
h4 { font-size: var(--step-2); }

/* Kursiv-Akzent: DM Sans, dünn und weit gesperrt – die Signatur des Designs */
h1 em,
h2 em,
h3 em,
.serif {
  font-family: inherit;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.04em;
}

p { color: var(--muted); text-wrap: pretty; }

strong, b { font-weight: 500; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ink);
}

.section-eyebrow { gap: 16px; }
.section-eyebrow > span { color: var(--muted-soft); font-weight: 400; }

.label-dot {
  display: inline-block;
  flex: none;
  width: 5px;
  height: 5px;
  background: currentColor;
  animation: dot-pulse 2.8s var(--ease) infinite;
}
@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.7; }
}

.swiss-cross {
  display: inline-block;
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}
.swiss-cross::before,
.swiss-cross::after {
  content: "";
  position: absolute;
  background: currentColor;
  inset: 1px 5px;
}
.swiss-cross::after { inset: 5px 1px; }

.muted { color: var(--muted-soft); }

.lead {
  font-size: var(--step-1);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 660px;
}

/* ==========================================================================
   4  LAYOUT-PRIMITIVE
   ========================================================================== */
.wrap {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--wrap);
  margin-inline: auto;
}

.wrap--narrow { max-width: 900px; }

.section { padding-block: var(--section-y); }

.section--paper { background: var(--soft); }

.section--deep {
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  overflow: clip;
}

/* Textfarben in dunklen Abschnitten.
   :where() hält die Spezifität bei null, damit Komponenten-Regeln
   (z. B. .faq-item h3) die Section-Themung immer überschreiben können. */
:where(.section--deep, .sustain) { color: var(--on-dark); }
:where(.section--deep, .sustain) h1,
:where(.section--deep, .sustain) h2,
:where(.section--deep, .sustain) h3 { color: var(--accent); }
:where(.section--deep, .sustain) p { color: var(--on-dark-soft); }
:where(.section--deep, .sustain) .lead { color: #c4c2c0; }
:where(.section--deep, .sustain) .section-eyebrow { color: #d5d1c9; }
:where(.section--deep, .sustain) .section-eyebrow > span { color: #8a8884; }
:where(.section--deep, .sustain) .text-link { color: #ddd9d2; border-color: #73716e; }
:where(.section--deep, .sustain) .text-link:hover { color: var(--cyan); border-color: var(--cyan); }

.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 52px;
}
.section-heading .eyebrow { margin-bottom: 26px; }
.section-heading > p {
  font-size: 13px;
  line-height: 1.8;
  padding-bottom: 7px;
  max-width: 34ch;
}
.section-heading > div { min-width: 0; }

/* ==========================================================================
   5  KOMPONENTEN
   ========================================================================== */

/* --- Buttons --- */
.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background var(--dur), transform var(--dur) var(--ease),
    box-shadow var(--dur), color var(--dur), border-color var(--dur);
}
.button > span { position: relative; z-index: 1; }
.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.3) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.8s var(--ease);
  pointer-events: none;
}
.button:hover::after { transform: translateX(130%); }
.button:hover { transform: translateY(-2px); }

.button--primary { color: var(--accent); background: var(--dark); }
.button--primary:hover {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  box-shadow: 0 12px 34px rgba(29, 130, 242, 0.24);
}

.button--light { color: var(--ink); background: var(--accent); }
.button--light:hover {
  background: #fff;
  box-shadow: 0 12px 34px rgba(29, 130, 242, 0.25);
}

.button--outline { background: transparent; border-color: var(--line); }
.button--outline:hover { border-color: var(--blue); color: var(--blue); }

.button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: transparent;
  width: auto;
  height: auto;
}
.button-icon .icon {
  width: 17px;
  height: 17px;
  transition: transform var(--dur) var(--ease);
}
.button:hover .button-icon .icon { transform: translate(3px, -3px); }

/* --- Textlink --- */
.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 12px;
  border-bottom: 1px solid #c4bfb6;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  transition: gap var(--dur) var(--ease), border-color 0.3s, color 0.3s;
}
.text-link .icon { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.text-link:hover { border-color: var(--blue); color: var(--blue); }
.text-link:hover .icon { transform: translate(3px, -3px); color: var(--blue); }

/* --- Tags & Pillen --- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.tags > span {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 10px;
  color: #595652;
  letter-spacing: 0.02em;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid #b8b6b4;
  border-radius: var(--radius-pill);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}
.pill > span {
  width: 5px;
  height: 5px;
  background: var(--grad);
}

/* --- Karten --- */
.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 28px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.45s var(--ease), box-shadow 0.45s var(--ease),
    transform 0.45s var(--ease), background 0.45s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(130% 100% at 100% 0%, rgba(29, 130, 242, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}
.card:hover {
  border-color: rgba(29, 130, 242, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(29, 130, 242, 0.1);
}
.card:hover::before { transform: scaleX(1); }
.card:hover::after { opacity: 1; }

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(29, 130, 242, 0.24);
  border-radius: 50%;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--blue-deep);
  margin-bottom: 14px;
}
.card h3 { font-size: var(--step-2); letter-spacing: -0.03em; line-height: 1.25; }
.card p { font-size: 13px; line-height: 1.8; color: var(--text-secondary); }
.card .text-link { margin-top: auto; padding-top: 24px; font-size: 12px; }

/* Karten in dunklen Sektionen */
.section--deep .card,
.sustain .card {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-dark);
}
.section--deep .card h3 { color: var(--accent); }
.section--deep .card p { color: #bebdbb; }
.section--deep .card .card-index { border-color: rgba(56, 198, 244, 0.3); color: var(--cyan); }
.section--deep .card .text-link { color: #ddd9d2; border-color: #73716e; }
.section--deep .card:hover { border-color: rgba(56, 198, 244, 0.4); }

.card-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 760px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* --- Akkordeon --- */
.accordion { border-top: 1px solid var(--line); }

.accordion-item {
  position: relative;
  border-bottom: 1px solid var(--line);
  transition: background 0.6s var(--ease), color 0.6s var(--ease);
}
.accordion-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--grad);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.8s var(--ease);
}
.accordion-item[open]::before { transform: scaleY(1); }
.accordion-item:not([open]):hover { background: #ebebea; }

.accordion-item > summary {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  padding: 29px 23px 27px;
  cursor: pointer;
  list-style: none;
}
.accordion-item > summary::-webkit-details-marker { display: none; }

.acc-number { font-size: 10px; color: var(--muted-soft); margin-top: 11px; flex: none; }
.acc-summary { display: grid; gap: 9px; min-width: 0; }
.acc-title {
  font-size: var(--step-3);
  line-height: 1.15;
  letter-spacing: -0.04em;
  transition: color 0.6s var(--ease);
}
.acc-sub { font-size: 11px; color: var(--muted-soft); }

.acc-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: auto;
  margin-top: 3px;
  flex: none;
  border: 1px solid #d1cdc5;
  border-radius: 50%;
  transition: border-color 0.3s, color 0.3s;
}
.acc-toggle .icon { width: 15px; height: 15px; transition: transform 0.4s; }

.acc-panel {
  display: grid;
  gap: 16px;
  margin-left: 65px;
  margin-right: 38px;
  padding-bottom: 30px;
  animation: panel-in 0.8s var(--ease) both;
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: none; }
}
.acc-panel > p { font-size: 14px; line-height: 1.8; max-width: 480px; }
.acc-panel .tags { margin-top: 0; gap: 6px; }
.acc-panel .tags > span { font-size: 9px; }
.acc-icon { color: var(--dark); }
.acc-icon svg { width: 44px; height: 44px; }

/* Geöffneter Eintrag wird dunkel – der charakteristische Wechsel */
.accordion-item[open] {
  background: linear-gradient(135deg, #101010 30%, #141414 55%, #0c1a2e);
  color: var(--paper);
  border-color: var(--dark);
}
.accordion-item[open] .acc-title { color: var(--accent); }
.accordion-item[open] .acc-number,
.accordion-item[open] .acc-sub { color: #a7a5a1; }
.accordion-item[open] .acc-panel > p { color: #c4c2c0; }
.accordion-item[open] .acc-plus,
.accordion-item[open] .acc-toggle { border-color: var(--blue); color: var(--cyan); }
.accordion-item[open] .acc-toggle .icon { transform: rotate(45deg); }
.accordion-item[open] .tags > span { color: #c8c6c3; border-color: #575553; }
.accordion-item[open] .acc-icon { color: var(--cyan); }

/* Dunkle Akkordeon-Variante (in dunklen Sektionen) */
.section--deep .accordion,
.section--deep .accordion-item,
.sustain .accordion,
.sustain .accordion-item { border-color: var(--line-dark); }
.section--deep .accordion-item:not([open]):hover,
.sustain .accordion-item:not([open]):hover { background: rgba(255, 255, 255, 0.04); }
.section--deep .accordion-item .acc-title,
.sustain .accordion-item .acc-title { color: var(--accent); }
.section--deep .accordion-item .acc-number,
.section--deep .accordion-item .acc-sub,
.sustain .accordion-item .acc-number,
.sustain .accordion-item .acc-sub { color: var(--on-dark-soft); }
.section--deep .accordion-item .acc-toggle,
.sustain .accordion-item .acc-toggle { border-color: rgba(255, 255, 255, 0.24); color: var(--accent); }
.section--deep .accordion-item .acc-panel > p,
.sustain .accordion-item .acc-panel > p { color: #c4c2c0; }

/* --- Statistik --- */
.stat-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 820px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }

.stat {
  padding: clamp(24px, 3.2vw, 40px);
  background: var(--paper);
  transition: background 0.4s var(--ease);
}
.stat:hover { background: var(--soft); }
.stat-num {
  display: block;
  font-size: var(--step-4);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  display: block;
  margin: 10px 0 18px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.stat p { font-size: 13px; line-height: 1.8; max-width: 36ch; }
.stat--accent { background: rgba(29, 130, 242, 0.05); }
.stat--accent .stat-num,
.stat--accent .stat-unit { color: var(--blue); }

.section--deep .stat-grid,
.sustain .stat-grid { background: var(--line-dark); border-color: var(--line-dark); }
.section--deep .stat,
.sustain .stat { background: rgba(255, 255, 255, 0.03); }
.section--deep .stat:hover,
.sustain .stat:hover { background: rgba(255, 255, 255, 0.06); }
.section--deep .stat-num,
.sustain .stat-num { color: var(--accent); }
.section--deep .stat p,
.sustain .stat p { color: #bebdbb; }
.section--deep .stat--accent,
.sustain .stat--accent { background: rgba(56, 198, 244, 0.07); }
.section--deep .stat--accent .stat-num,
.section--deep .stat--accent .stat-unit,
.sustain .stat--accent .stat-num,
.sustain .stat--accent .stat-unit { color: var(--cyan); }

/* --- Faktenliste --- */
.facts {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 700px)  { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(4, 1fr); } }

.fact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 26px;
  background: var(--paper);
  transition: background 0.4s var(--ease);
}
.fact:hover { background: var(--soft); }
.fact dt {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.fact dd { font-size: 13px; line-height: 1.75; color: var(--text-secondary); }
.fact dd a { border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.fact dd a:hover { color: var(--blue); border-color: var(--blue); }

.section--deep .facts,
.sustain .facts { background: var(--line-dark); border-color: var(--line-dark); }
.section--deep .fact,
.sustain .fact { background: rgba(255, 255, 255, 0.03); }
.section--deep .fact:hover,
.sustain .fact:hover { background: rgba(255, 255, 255, 0.06); }
.section--deep .fact dd,
.sustain .fact dd { color: #c4c2c0; }
.section--deep .fact dt,
.sustain .fact dt { color: var(--cyan); }
.section--deep .fact dd a:hover,
.sustain .fact dd a:hover { color: var(--cyan); border-color: var(--cyan); }

/* --- Galerie --- */
.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82%, 620px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  padding-block: 4px 16px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .gallery-track { grid-auto-columns: min(44%, 700px); } }

.gallery-item { scroll-snap-align: center; }
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 15px 36px rgba(51, 49, 45, 0.08);
  transition: transform 0.7s var(--ease);
}
.gallery-item:hover img { transform: translateY(-5px); }
.gallery-item figcaption {
  margin-top: 14px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.gallery-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
}
.gallery-nav { display: flex; align-items: center; gap: 6px; }
.gallery-count { margin-right: 14px; font-size: 10px; letter-spacing: 0.14em; color: var(--muted-soft); }

.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.icon-button .icon { width: 17px; height: 17px; }
.icon-button:hover {
  background: var(--accent);
  border-color: var(--blue);
  color: var(--blue);
  transform: rotate(-6deg);
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 45px;
  font-size: 10px;
  color: #777573;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 14px; }
.breadcrumb li + li::before { content: "/"; color: var(--muted-soft); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current="page"] { color: var(--blue); }

/* ==========================================================================
   6  KOPFBEREICH
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: box-shadow 0.3s, transform 0.45s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 1px;
  background: var(--grad);
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  width: 100%;
  height: 100%;
  max-width: none;
  padding-inline: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1.1px;
  line-height: 1;
}
.brand-mark { width: 30px; height: auto; flex: none; color: var(--dark); }
.brand-period { color: var(--blue); }

.header-location {
  position: relative;
  display: none;
  align-items: center;
  gap: 10px;
  padding-left: 21px;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #8d897f;
}
.header-location::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  background: var(--line);
  transform: translateY(-50%);
}
.header-location .swiss-cross { width: 12px; height: 12px; }
@media (min-width: 1240px) { .header-location { display: inline-flex; } }

.desktop-nav { display: none; align-items: center; gap: 27px; margin-left: auto; }
@media (min-width: 1024px) { .desktop-nav { display: flex; } }
.desktop-nav a {
  position: relative;
  padding-block: 12px;
  font-size: 12px;
  white-space: nowrap;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.desktop-nav a[aria-current="page"] { color: var(--ink); }

.lang-switch { display: none; align-items: center; gap: 3px; margin-left: 22px; font-size: 10px; font-weight: 500; letter-spacing: 0.12em; }
@media (min-width: 1024px) { .lang-switch { display: inline-flex; } }
.lang-switch a,
.lang-switch span { padding: 6px 9px; border-radius: var(--radius-pill); line-height: 1; }
.lang-switch a { color: #8d897f; transition: color 0.25s, background 0.25s; }
.lang-switch a:hover { color: var(--ink); background: rgba(0, 0, 0, 0.04); }
.lang-switch .is-current { color: var(--paper); background: var(--ink); }

.header-contact {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-left: 11px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  white-space: nowrap;
  transition: background 0.25s, box-shadow 0.3s, transform var(--dur) var(--ease);
}
@media (min-width: 1024px) { .header-contact { display: inline-flex; } }
.header-contact .icon { width: 16px; height: 16px; }
.header-contact:hover {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 26px rgba(29, 130, 242, 0.28);
  transform: translateY(-1px);
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
}
.menu-toggle .icon { width: 22px; height: 22px; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100dvh - var(--header-h));
  padding: 18px var(--gutter) 40px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow-y: auto;
  animation: nav-in 0.4s var(--ease);
}
@keyframes nav-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }
.mobile-nav .eyebrow { margin-bottom: 16px; }
.mobile-nav > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  font-size: var(--step-3);
  letter-spacing: -0.03em;
  transition: color 0.3s;
}
.mobile-nav > a .icon { width: 18px; height: 18px; color: var(--muted-soft); }
.mobile-nav > a:hover,
.mobile-nav > a[aria-current="page"] { color: var(--blue); }
.lang-switch--mobile { display: inline-flex; margin: 4px 0 18px; gap: 6px; font-size: 11px; }
.lang-switch--mobile a { color: #8d897f; }
.mobile-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 22px;
  font-size: 11px;
  color: var(--muted);
}

/* ==========================================================================
   7  HERO
   ========================================================================== */
.hero-shell { padding: 0 16px; }

.hero {
  position: relative;
  overflow: clip;
  width: 100%;
  max-width: 1800px;
  margin-inline: auto;
  border-radius: var(--radius);
  color: var(--paper);
  background:
    linear-gradient(100deg, #0a0a0a 0%, rgba(10, 10, 10, 0.95) 34%, rgba(10, 10, 10, 0.6) 72%, rgba(10, 10, 10, 0.7) 100%),
    url("https://images.prismic.io/marmatech/7eb26754-5112-4e29-877c-a788c83864d4_heroCroped.png?auto=compress,format&w=2000")
      center / cover no-repeat,
    var(--dark);
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 75px;
  left: 57%;
  border-left: 1px solid rgba(253, 252, 250, 0.04);
  pointer-events: none;
}

/* Aurora – zwei weiche Farbschleier */
.hero-light {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-light::before,
.hero-light::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.hero-light::before {
  width: 560px;
  height: 560px;
  left: 44%;
  top: -14%;
  background: radial-gradient(circle, rgba(29, 130, 242, 0.36), transparent 66%);
  animation: aurora-a 19s ease-in-out infinite alternate;
}
.hero-light::after {
  width: 460px;
  height: 460px;
  right: 2%;
  bottom: -20%;
  background: radial-gradient(circle, rgba(56, 198, 244, 0.3), transparent 66%);
  animation: aurora-b 24s ease-in-out infinite alternate;
}
@keyframes aurora-a {
  from { transform: translate3d(-6%, 4%, 0) scale(1); }
  to   { transform: translate3d(9%, -7%, 0) scale(1.18); }
}
@keyframes aurora-b {
  from { transform: translate3d(5%, -5%, 0) scale(1.06); }
  to   { transform: translate3d(-9%, 7%, 0) scale(0.9); }
}

.hero-inner {
  position: relative;
  display: grid;
  align-items: center;
  gap: 40px;
  min-height: 639px;
  padding-block: 67px 71px;
}
@media (min-width: 1000px) {
  .hero-inner { grid-template-columns: 1.17fr 1fr; }
}

.hero-copy { position: relative; z-index: 3; min-width: 0; }
.hero-copy .eyebrow {
  margin-bottom: 34px;
  color: #b6b3ae;
  font-size: 10px;
  letter-spacing: 0.2em;
}
.hero-copy .eyebrow .label-dot { color: var(--accent); box-shadow: 0 0 14px rgba(253, 252, 250, 0.2); }
.eyebrow-divider { color: #7e7b76; margin-inline: 4px; }

.hero h1 {
  font-size: var(--step-7);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero-line { display: block; }
.hero-line--sub {
  font-size: 0.5em;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-top: 0.12em;
}
.hero h1 em { color: #cfc9bf; }

.hero-description {
  max-width: 410px;
  margin-top: 32px;
  font-size: 16px;
  line-height: 1.85;
  color: #bab7b2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 33px;
}
.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding-block: 15px;
  font-size: 12px;
  color: #e3e0da;
}
.hero-secondary .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.hero-secondary:hover .icon { transform: translate(3px, -3px); }

/* Bildbühne */
.hero-stage {
  position: relative;
  height: 580px;
  min-width: 0;
  isolation: isolate;
}
.hero-stage .stage-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #000;
}
.hero-stage .stage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: slow-zoom 24s ease-in-out infinite alternate;
}
@keyframes slow-zoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12); }
}
.stage-scan { display: none; }

.stage-label {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 8px;
  letter-spacing: 0.13em;
  color: #d5d2cd;
}
.stage-label .label-dot { width: 4px; height: 4px; color: var(--cyan); }

.stage-caption {
  position: absolute;
  bottom: 22px;
  left: 26px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: 0.1em;
  color: #b1afad;
  text-transform: uppercase;
}
.stage-caption > span:last-child { text-align: right; }

.stage-side-label {
  position: absolute;
  top: 45%;
  right: -20px;
  font-size: 7px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a7a5a2;
  writing-mode: vertical-rl;
}
@media (max-width: 1199px) { .stage-side-label { display: none; } }

.stage-corner { position: absolute; width: 12px; height: 12px; border-style: solid; border-color: rgba(162, 157, 150, 0.35); }
.stage-corner--a { top: 78px; left: 33px; border-width: 1px 0 0 1px; }
.stage-corner--b { bottom: 72px; right: 6px; border-width: 0 1px 1px 0; }
@media (max-width: 999px) { .stage-corner { display: none; } }

.hero-bottom {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 76px;
  border-top: 1px solid rgba(226, 224, 221, 0.14);
  font-size: 9px;
  letter-spacing: 0.01em;
  color: #bcbab8;
}
.hero-bottom > span,
.hero-bottom > a { display: flex; align-items: center; gap: 9px; }
.hero-bottom .swiss-cross { width: 12px; height: 12px; color: var(--accent); }
.hero-bottom a .icon { width: 15px; height: 15px; margin-left: 8px; animation: bob 2.4s var(--ease) infinite; }
.hero-bottom a:hover { color: #fff; }
@keyframes bob {
  0%, 100% { transform: translateY(-2px); }
  50%      { transform: translateY(3px); }
}
.hero-bottom-last { color: #94928e; }
@media (max-width: 760px) {
  .hero-bottom > a,
  .hero-bottom-last { display: none; }
}

/* Einflug beim Laden */
.hero-copy .eyebrow,
.hero-line,
.hero-description,
.hero-actions { animation: entrance 1s var(--ease) backwards; }
.hero-copy .eyebrow { animation-delay: 0.04s; }
.hero-line:first-child { animation-delay: 0.13s; }
.hero-line:nth-child(2) { animation-delay: 0.23s; }
.hero-description { animation-delay: 0.35s; }
.hero-actions { animation-delay: 0.43s; }
@keyframes entrance {
  from { opacity: 0; transform: translateY(21px); }
  to   { opacity: 1; transform: none; }
}

/* --- Seiten-Hero (Innenseiten) --- */
.page-hero {
  padding-block: 34px 80px;
  background: var(--paper);
}
.page-hero .eyebrow { margin-bottom: 30px; }
.page-hero h1 {
  font-size: var(--step-7);
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.page-hero h1 em { color: #787570; }
.page-hero .lead {
  max-width: 660px;
  margin-top: 30px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

/* Akzentwörter mit Lichtlauf – die Signatur des Designs */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 em,
  .page-hero h1 em,
  .contact-band h2 em {
    padding-inline: 0.075em;
    margin-inline: -0.075em;
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: text-sheen 8s var(--ease) infinite;
  }
  .hero h1 em {
    background-image: linear-gradient(100deg, #9dc4ff 0%, #fdfcfa 46%, #7fdcff 100%);
  }
  .page-hero h1 em {
    background-image: linear-gradient(100deg, var(--blue), #4fb6ff 50%, var(--blue-deep));
  }
  .contact-band h2 em {
    background-image: linear-gradient(100deg, var(--blue-deep), var(--blue) 48%, #35b5f0);
  }
}
@keyframes text-sheen {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}

/* ==========================================================================
   8  SEKTIONEN
   ========================================================================== */

/* --- Band mit Themen --- */
.discipline-strip {
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}
.discipline-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 25px;
}
@media (min-width: 1024px) {
  .discipline-inner { grid-template-columns: 1.17fr repeat(4, 1fr); }
}
.discipline-inner > span {
  font-size: 8px;
  letter-spacing: 0.045em;
  line-height: 1.85;
  color: #7c7b7a;
  text-transform: uppercase;
}
.discipline-inner strong { font-weight: 500; color: #4c4a48; }
.discipline-inner a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-block: 10px;
  font-size: 14px;
  transition: color 0.3s;
}
.discipline-inner a .icon {
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: #83817e;
  transition: transform 0.3s;
}
.discipline-inner a:hover { color: #69645d; }
.discipline-inner a:hover .icon { transform: translate(2px, -2px); color: #69645d; }
.discipline-num { font-size: 8px; color: var(--blue); }
@media (max-width: 1023px) {
  .discipline-inner a { position: relative; }
  .discipline-inner a::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: var(--line);
  }
}

/* --- Intro / Kurzprofil --- */
.intro-section {
  display: grid;
  gap: 40px;
  padding-top: clamp(64px, 8vw, 122px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
@media (min-width: 1000px) {
  .intro-section { grid-template-columns: 0.95fr 2.5fr; gap: 70px; }
}
.intro-label .eyebrow { margin-top: 10px; }
.intro-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-top: 86px;
  background: var(--dark);
  border-radius: 50%;
}
.intro-symbol .brand-mark { width: 32px; height: 32px; color: var(--accent); }
.intro-copy h2 { font-size: var(--step-5); line-height: 1.12; }
.intro-copy h2 em { color: #575551; }
.intro-bottom {
  display: grid;
  gap: 30px;
  margin-top: 36px;
  padding-top: 0;
  border-top: 0;
}
@media (min-width: 900px) {
  .intro-bottom { grid-template-columns: 1.65fr 1fr; gap: 50px; align-items: end; }
}
.intro-bottom p { font-size: 14px; line-height: 1.8; max-width: 490px; }

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.chip-list li {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 10px;
  color: #595652;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.chip-list li:hover { background: var(--dark); color: var(--accent); border-color: var(--dark); }

/* --- Zahlenband --- */
.figure-band { display: grid; gap: 34px; }
@media (min-width: 900px) { .figure-band { grid-template-columns: repeat(4, 1fr); } }
.figure { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); position: relative; }
.figure::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.figure-num {
  font-size: var(--step-3);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.figure-label { font-size: 13px; line-height: 1.75; color: var(--muted); }
.section--deep .figure,
.sustain .figure { border-color: var(--line-dark); }
.section--deep .figure-num,
.sustain .figure-num { color: var(--cyan); }
.section--deep .figure-label,
.sustain .figure-label { color: var(--on-dark-soft); }

/* --- Prozess-Schritte --- */
.step-grid { display: grid; gap: 34px; }
@media (min-width: 760px)  { .step-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .step-grid { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding-top: 23px;
  border-top: 1px solid #bdbbb8;
}
.step::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.step-number { font-size: 11px; color: var(--muted-soft); }
.step h3 { margin-top: 36px; margin-bottom: 16px; font-size: var(--step-3); }
.step p { font-size: 13px; line-height: 1.8; max-width: 258px; }

/* --- Standort-Karten --- */
.location-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 860px) { .location-grid { grid-template-columns: repeat(3, 1fr); } }
.location-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(24px, 3.2vw, 40px);
  background: var(--paper);
  transition: background 0.4s var(--ease);
}
.location-card:hover { background: var(--soft); }
.location-card--accent { background: rgba(29, 130, 242, 0.05); }
.location-card h3 { font-size: var(--step-3); }
.location-card--accent h3 { color: var(--blue); }
.loc-role {
  margin-bottom: 16px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.location-card address { margin-bottom: 26px; font-size: 13px; line-height: 1.85; color: var(--text-secondary); }
.location-card .text-link { margin-top: auto; align-self: flex-start; }
.section--deep .location-grid,
.sustain .location-grid { background: var(--line-dark); border-color: var(--line-dark); }
.section--deep .location-card,
.sustain .location-card { background: rgba(255, 255, 255, 0.03); }
.section--deep .location-card h3,
.sustain .location-card h3 { color: var(--accent); }
.section--deep .location-card address,
.sustain .location-card address { color: #c4c2c0; }

.contact-strip {
  display: grid;
  gap: 30px;
}
@media (min-width: 760px) { .contact-strip { grid-template-columns: repeat(3, 1fr); } }
.contact-strip > div { display: flex; flex-direction: column; gap: 6px; }
.contact-strip span {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.contact-strip a,
.contact-strip strong {
  width: fit-content;
  font-size: var(--step-1);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.contact-strip a:hover { color: var(--blue); border-color: var(--blue); }

/* --- CTA-Panel --- */
.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line-dark);
}
.cta-panel > div { min-width: 0; }
.cta-panel h2 { font-size: var(--step-4); margin-bottom: 18px; }
.cta-panel h2 em { color: #c9c6c1; }
.cta-panel p { font-size: 14px; line-height: 1.85; color: #bebdbb; max-width: 52ch; }

/* --- FAQ --- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  position: relative;
  overflow: hidden;
  padding-inline: 26px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.faq-item:hover { border-color: rgba(29, 130, 242, 0.3); box-shadow: 0 14px 36px rgba(29, 130, 242, 0.09); }
.faq-item[open] { border-color: rgba(29, 130, 242, 0.3); }
.faq-item:hover::before,
.faq-item[open]::before { transform: scaleX(1); }
.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 22px;
  cursor: pointer;
  list-style: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--ink);
}
.faq-item .acc-toggle {
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 7px;
  border-color: rgba(29, 130, 242, 0.24);
  color: var(--blue-deep);
  transition: transform var(--dur) var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.faq-item[open] .acc-toggle {
  transform: rotate(45deg);
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.faq-answer { padding: 0 46px 26px 0; animation: panel-in 0.4s var(--ease) both; }
.faq-answer p { font-size: 14px; line-height: 1.85; max-width: 78ch; }
.faq-answer a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.faq-answer a:hover { color: var(--blue); }

/* --- Nachhaltigkeit (dunkel, mit Bildhintergrund) --- */
.sustain {
  position: relative;
  padding-block: var(--section-y);
  background: var(--dark);
  overflow: clip;
}
.sustain-bg {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
}
.sustain-bg img { width: 100%; height: 100%; object-fit: cover; }
.sustain::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--dark) 0%, rgba(20, 20, 20, 0.55) 45%, var(--dark) 100%);
  pointer-events: none;
}
.sustain-inner { position: relative; z-index: 1; }
.sustain h2 { margin-bottom: 16px; }
.sustain h2 em { color: #c9c6c1; }
.sustain .lead { margin-bottom: 40px; }
.section-eyebrow--light { color: #d5d1c9; }
.section-eyebrow--light > span { color: #8a8884; }

/* --- Abschlussband --- */
.contact-band {
  position: relative;
  overflow: clip;
  padding-block: 78px 82px;
  background: var(--band);
  color: var(--ink);
}
.contact-band .eyebrow { color: #6f6a60; }
.contact-band .label-dot { color: var(--blue); }
.contact-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  margin-top: 30px;
}
.contact-band h2 {
  font-size: clamp(3.5rem, 8.2vw, 7.875rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.contact-band h2 em { color: #6f6a61; }
.contact-band-inner > div { min-width: 0; }
.contact-band-inner > div > p {
  margin-top: 29px;
  font-size: 15px;
  line-height: 1.7;
  color: #5c574f;
}

.contact-orb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 19px;
  flex: none;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 16px;
  transition: transform 0.5s var(--ease), background 0.3s;
}
.orb-icon { display: block; }
.contact-orb .icon { width: 47px; height: 47px; stroke-width: 1; transition: transform 0.4s; }
.contact-orb:hover { transform: rotate(-6deg); background: #2e2e2e; }
.contact-orb:hover .icon { transform: translate(4px, -4px); }

/* ==========================================================================
   9  FORMULAR & RECHTSSEITEN
   ========================================================================== */
.prose-grid { display: grid; gap: 40px; }
@media (min-width: 980px) {
  .prose-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 70px; }
}
.prose-aside { display: flex; flex-direction: column; gap: 14px; align-self: start; }
@media (min-width: 980px) { .prose-aside { position: sticky; top: calc(var(--header-h) + 30px); } }
.prose-aside > p {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.prose-toc { display: flex; flex-direction: column; gap: 8px; }
.prose-toc a { font-size: 13px; color: var(--muted); transition: color 0.3s, transform 0.3s var(--ease); }
.prose-toc a:hover { color: var(--blue); transform: translateX(3px); }

.prose { max-width: 72ch; }
.prose > * + * { margin-top: 18px; }
.prose h2 {
  margin-top: 52px;
  font-size: var(--step-3);
  letter-spacing: -0.03em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 34px; font-size: var(--step-2); }
.prose p,
.prose li { font-size: 14px; line-height: 1.85; overflow-wrap: break-word; }
.prose ul,
.prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: 8px; }
.prose ul { list-style: none; }
.prose ul > li { position: relative; }
.prose ul > li::before {
  content: "";
  position: absolute;
  left: -1.1em;
  top: 0.75em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--blue); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose hr { margin-block: 40px; border: 0; border-top: 1px solid var(--line); }
.prose small { font-size: 12px; color: var(--muted-soft); }
.prose blockquote { padding-left: 22px; border-left: 2px solid var(--blue); font-size: var(--step-1); }

.placeholder {
  padding-bottom: 1px;
  border-bottom: 1px dashed var(--blue);
  color: var(--blue);
  font-style: italic;
  font-weight: 400;
}

/* --- Kontaktwege --- */
.contact-channels {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 700px)  { .contact-channels { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .contact-channels { grid-template-columns: repeat(4, 1fr); } }
.channel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 26px;
  background: var(--paper);
  transition: background 0.4s var(--ease);
}
.channel:hover { background: var(--soft); }
.channel span {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.channel a,
.channel strong { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.channel a:hover { color: var(--blue); }

/* --- Formular --- */
/* Karte auf hellem Grund – hält Beschriftungen auf jedem Hintergrund lesbar */
.form {
  display: grid;
  gap: 0;
  padding: clamp(24px, 3.2vw, 36px);
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.form-row { display: grid; gap: 20px; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 23px; }
.field label { font-size: 12px; font-weight: 500; color: var(--ink); }
.field .req { color: var(--blue); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 51px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--ink);
  background: #faf8f5;
  border: 1px solid #cdccca;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 160px; max-height: 550px; resize: vertical; line-height: 1.8; }
.field select { appearance: none; cursor: pointer; }
.field input::placeholder,
.field textarea::placeholder { color: #868482; font-size: 12px; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #b9b6b1; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 130, 242, 0.12);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #9c3926; box-shadow: 0 0 0 3px rgba(156, 57, 38, 0.1); }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.7;
  color: #66635f;
  cursor: pointer;
}
.checkbox input { flex: none; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--blue); cursor: pointer; }
.checkbox a { text-decoration: underline; text-underline-offset: 3px; }
.checkbox a:hover { color: var(--blue); }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 18px; }
.form-status { font-size: 12px; line-height: 1.8; color: var(--text-secondary); overflow-wrap: anywhere; }
.form-status[data-state="error"] { color: #9c3926; }
.form-status:empty { display: none; }

/* ==========================================================================
   10  FUSSBEREICH
   ========================================================================== */
.site-footer {
  background: radial-gradient(70% 55% at 10% 84%, rgba(29, 130, 242, 0.06), transparent 70%), var(--deep);
  color: var(--on-dark);
  overflow: clip;
}
.site-footer .wrap { width: 100%; max-width: none; padding-inline: 28px; }

.footer-main {
  display: grid;
  gap: 40px;
  padding-block: 78px 14px;
}
@media (min-width: 900px) {
  .footer-main { grid-template-columns: 1.7fr 0.8fr 0.85fr 1fr; gap: 48px; }
}
.brand--footer { font-size: 30px; color: var(--on-dark); }
.brand--footer .brand-mark { color: var(--accent); }
.footer-main > div > p { margin-top: 23px; font-size: 13px; line-height: 1.8; color: var(--on-dark-soft); }
.swiss-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #8d887f;
}
.swiss-label .swiss-cross { width: 12px; height: 12px; color: #c9c3ba; }

.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-links > p {
  margin-bottom: 9px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8d897f;
}
.footer-links > a { font-size: 12px; color: #d5d1ca; transition: color 0.25s; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-links a .icon { display: inline-block; vertical-align: middle; width: 12px; height: 12px; margin-left: 12px; }
.footer-links a[aria-current="page"] { color: #fff; }

.footer-note { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
@media (min-width: 900px) { .footer-note { border-left: 1px solid rgba(255, 255, 255, 0.12); padding-left: 32px; } }
.footer-note .eyebrow { color: #8d887f; font-size: 8px; }
.footer-note > p {
  margin-top: 17px;
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.25;
  color: #cbc5bb;
}
.footer-note > .icon { margin-top: 20px; width: 20px; height: 20px; color: #7f7a71; }

/* Grosse Wortmarke mit Lichtlauf */
.footer-word {
  display: flex;
  justify-content: center;
  align-items: baseline;
  padding-block: 78px 62px;
  font-size: clamp(20px, 5.6vw, 120px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
  overflow: clip;
  overflow-anchor: none;
  user-select: none;
  color: transparent;
  background: linear-gradient(100deg, #332f29 0%, #57524a 26%, #8f897d 50%, #57524a 74%, #332f29 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: footer-sheen 9s ease-in-out infinite;
}
@keyframes footer-sheen {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.type-caret {
  display: inline-block;
  width: 4px;
  height: 0.82em;
  margin-left: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
  animation: caret-blink 1.05s infinite;
}
@keyframes caret-blink {
  0%, 49%  { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 9px;
  color: #96918a;
}
.footer-bottom > div { display: flex; flex-wrap: wrap; align-items: center; gap: 23px; padding-right: 56px; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom a[aria-current="page"] { color: #fff; }
.footer-motto { color: #77726a; }
.motion-toggle {
  padding: 0;
  font-size: 9px;
  color: #aaa59d;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.motion-toggle:hover { color: #fff; }
.motion-toggle[aria-pressed="true"] { color: var(--cyan); }

/* Fortschrittsbalken und Sprungmarke */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-progress);
  width: 100%;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
.back-top {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 25px;
  bottom: 24px;
  z-index: var(--z-sticky);
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.3s, color 0.3s;
}
.back-top .icon { width: 18px; height: 18px; }
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--dark); color: var(--accent); border-color: var(--dark); }

/* ==========================================================================
   11  BEWEGUNG, PRINT, FALLBACKS
   ========================================================================== */
.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: 24px;
  top: -80px;
  z-index: var(--z-skip);
  padding: 12px 20px;
  color: #fff;
  background: var(--dark);
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 16px; }

.icon { width: 22px; height: 22px; flex: none; }
.icon-box { display: flex; align-items: center; justify-content: center; }

.stack { display: grid; gap: 16px; }
.stack--sm { gap: 12px; }
.stack--lg { gap: 32px; }

.reveal {
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.will-reveal { opacity: 0; transform: translateY(25px); }
.reveal.is-in { opacity: 1; transform: none; }

/* Staffelung in Rastern */
.card-grid > .reveal:nth-child(2),
.stat-grid > .reveal:nth-child(2),
.location-grid > .reveal:nth-child(2),
.figure-band > .reveal:nth-child(2) { --reveal-delay: 0.08s; }
.card-grid > .reveal:nth-child(3),
.stat-grid > .reveal:nth-child(3),
.location-grid > .reveal:nth-child(3),
.figure-band > .reveal:nth-child(3) { --reveal-delay: 0.16s; }
.step-grid > .reveal:nth-child(2) { --reveal-delay: 0.08s; }
.step-grid > .reveal:nth-child(3) { --reveal-delay: 0.16s; }
.step-grid > .reveal:nth-child(4),
.figure-band > .reveal:nth-child(4) { --reveal-delay: 0.24s; }

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}
body.reduce-motion .reveal { opacity: 1; transform: none; }
body.reduce-motion .hero-copy .eyebrow,
body.reduce-motion .hero-line,
body.reduce-motion .hero-description,
body.reduce-motion .hero-actions { animation-name: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-light::before,
  .hero-light::after,
  .hero-stage .stage-frame img { animation-name: none; }
}

@media print {
  :root { --paper: #fff; --soft: #fff; --band: #fff; --dark: #fff; --deep: #fff; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .mobile-nav, .back-top, .scroll-progress, .motion-toggle,
  .gallery-nav, .hero-stage, .hero-light, .discipline-strip, .footer-word,
  .contact-orb { display: none !important; }
  .hero { background: #fff; color: #000; border: 1px solid #ccc; }
  .hero h1 em, .hero-description, .hero-bottom { color: #333; }
  .section, .page-hero, .hero-shell, .contact-band, .site-footer { padding-block: 0.5cm; background: #fff; color: #000; }
  .card, .fact, .stat, .location-card, .faq-item { box-shadow: none !important; border: 1px solid #ccc; background: #fff; }
  .accordion-item[open] { background: #fff !important; color: #000 !important; }
  .accordion-item[open] .acc-title,
  .accordion-item[open] .acc-panel > p { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  a[href^="#"]::after, a[href^="mailto:"]::after, a[href^="tel:"]::after { content: ""; }
}

@media (forced-colors: active) {
  .label-dot, .swiss-cross { forced-color-adjust: none; }
  .button, .card, .fact, .stat, .location-card, .faq-item { border: 1px solid CanvasText; }
}
