/* =========================================================
   Thom & Tümler GbR – Webagentur Münster
   Statisches Stylesheet, keine externen Abhängigkeiten
   ========================================================= */

:root {
  --bg: #0b0f12;
  --bg-rgb: 11, 15, 18;
  --surface: #11171b;
  --surface-2: #171e23;
  --fg-rgb: 236, 241, 243;
  --fg: rgb(var(--fg-rgb));
  --muted: rgba(var(--fg-rgb), 0.6);
  --faint: rgba(var(--fg-rgb), 0.4);
  --line: rgba(var(--fg-rgb), 0.09);
  --line-2: rgba(var(--fg-rgb), 0.16);
  --accent: #0cc0df;
  --accent-rgb: 12, 192, 223;
  --accent-ink: #031417;
  --accent-text: #0cc0df;
  --card-light: #e4eaec;
  --card-light-2: #c9d3d6;
  --card-light-ink: #0b0f12;
  --nav-bg: rgba(17, 23, 27, 0.72);
  --overlay-bg: rgba(11, 15, 18, 0.86);

  --sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Times New Roman", Times, Georgia, serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;

  --radius: 16px;
  --pad-x: clamp(1.25rem, 6vw, 8rem);
  --pad-y: clamp(6rem, 14vh, 12rem);
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f2f4f5;
  --bg-rgb: 242, 244, 245;
  --surface: #ffffff;
  --surface-2: #e7ecee;
  --fg-rgb: 11, 15, 18;
  --accent-text: #067d93;
  --card-light: #0f1519;
  --card-light-2: #1b2328;
  --card-light-ink: #ecf1f3;
  --nav-bg: rgba(255, 255, 255, 0.75);
  --overlay-bg: rgba(242, 244, 245, 0.9);
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.has-smooth { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color 0.4s ease, color 0.4s ease;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.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 {
  position: fixed; top: 1rem; left: 1rem; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.6rem 1rem; border-radius: 10px; font-weight: 600;
  transform: translateY(-200%); transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }


.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.accent { color: var(--accent-text); }

.container { max-width: var(--max); margin: 0 auto; }
.section { padding: var(--pad-y) var(--pad-x); position: relative; }
.section--tight { padding-top: clamp(3rem, 8vh, 6rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--faint);
}
.eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: var(--line-2); }

.h-display {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1.05; letter-spacing: -0.01em;
}
.h-section {
  font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.08;
}
.lead { font-size: clamp(1rem, 1.25vw, 1.15rem); font-weight: 300; color: var(--muted); max-width: 38rem; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-size: 0.92rem; font-weight: 500; line-height: 1;
  padding: 0.95rem 1.6rem; border-radius: 12px;
  transition: transform 0.35s var(--ease), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.35s ease;
  white-space: nowrap;
}
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb), 0.55); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--fg); }
.btn--ghost:hover { border-color: rgba(var(--fg-rgb), 0.35); background: rgba(var(--fg-rgb), 0.04); }
.btn--sm { padding: 0.7rem 1.2rem; font-size: 0.85rem; border-radius: 10px; }
.btn svg { width: 1em; height: 1em; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.link-underline {
  position: relative; font-size: 0.92rem; font-weight: 500; padding-bottom: 0.25rem;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: left; transition: transform 0.5s var(--ease);
}
.link-underline:hover::after { transform: scaleX(0.35); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: clamp(14px, 3.5vh, 36px); left: 50%; transform: translateX(-50%);
  z-index: 100; width: min(980px, calc(100vw - 2rem)); height: 58px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 0.6rem 0 1.25rem;
  background: var(--nav-bg); border: 1px solid var(--line); border-radius: 16px;
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.logo {
  display: inline-flex; align-items: baseline; gap: 0.05em;
  font-size: 1.35rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1;
}
.logo__amp { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent-text); font-size: 1.15em; padding: 0 0.04em; }
.logo__name { display: none; font-size: 0.72rem; font-weight: 400; letter-spacing: 0; color: var(--faint); margin-left: 0.7rem; line-height: 1.2; }
@media (min-width: 1100px) { .logo__name { display: inline-block; } }

.nav__links { display: flex; gap: 0.25rem; }
.nav__links a {
  font-size: 0.86rem; color: var(--muted); padding: 0.5rem 0.8rem; border-radius: 9px;
  transition: color 0.25s ease, background-color 0.25s ease;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--fg); background: rgba(var(--fg-rgb), 0.06); }

.nav__actions { display: flex; align-items: center; gap: 0.5rem; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--muted); transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.icon-btn:hover { color: var(--fg); border-color: var(--line-2); }
.icon-btn svg { width: 17px; height: 17px; }
.icon-sun { display: none; }
:root[data-theme="light"] .icon-sun { display: block; }
:root[data-theme="light"] .icon-moon { display: none; }

.nav__burger { display: none; width: 44px; height: 40px; border-radius: 11px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__burger span { display: block; width: 20px; height: 1.5px; background: var(--fg); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s; }
.menu-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--overlay-bg);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem;
  opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s;
}
.menu a.menu__link {
  font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 8vw, 2.6rem); color: var(--muted);
  transform: translateY(20px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), color 0.2s;
}
.menu a.menu__link:hover,
.menu a.menu__link[aria-current="page"] { color: var(--fg); }
.menu .btn { margin-top: 1.5rem; opacity: 0; transition: opacity 0.6s var(--ease) 0.35s; }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-open .menu a.menu__link { transform: none; opacity: 1; }
.menu-open .menu .btn { opacity: 1; }
.menu a.menu__link:nth-child(2) { transition-delay: 0.04s; }
.menu a.menu__link:nth-child(3) { transition-delay: 0.08s; }
.menu a.menu__link:nth-child(4) { transition-delay: 0.12s; }
.menu a.menu__link:nth-child(5) { transition-delay: 0.16s; }
.menu a.menu__link:nth-child(6) { transition-delay: 0.2s; }

@media (max-width: 900px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__burger { display: flex; }
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 8rem var(--pad-x) 4rem; position: relative;
}
.hero__title {
  font-size: clamp(2.2rem, 10.5vw, 9.2rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.04;
  perspective: 800px;
}
.hero__line { display: block; white-space: nowrap; }
.hero__word { display: inline-block; min-height: 1em; }

.l { display: inline-block; will-change: transform, opacity; }
.l-in { animation: letterIn 0.7s var(--ease) both; }
.l-out { animation: letterOut 0.45s cubic-bezier(0.55, 0, 0.75, 0) both; }
@keyframes letterIn {
  from { opacity: 0; transform: translateY(0.45em) rotateX(-70deg) scale(0.9); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes letterOut {
  to { opacity: 0; transform: translateY(-0.4em) rotateX(60deg); filter: blur(6px); }
}

/* 3D-Ring als "O" */
.ring {
  display: inline-block; width: 0.76em; height: 0.76em; margin: 0 0.01em 0 0.02em;
  vertical-align: -0.035em; perspective: 500px;
}
.ring__inner {
  position: relative; display: block; width: 100%; height: 100%; border-radius: 50%;
  transform-style: preserve-3d; animation: ringSwing 3.6s ease-in-out infinite alternate;
}
.ring__inner::before,
.ring__inner::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  -webkit-mask: radial-gradient(circle, transparent 0 34%, #000 35.5% 68.5%, transparent 70%);
  mask: radial-gradient(circle, transparent 0 34%, #000 35.5% 68.5%, transparent 70%);
}
.ring__inner::before {
  background: conic-gradient(from 200deg, #f4feff, #8fe8f5 10%, #0cc0df 22%, #06404b 38%, #0a7385 50%, #d8f9ff 62%, #0cc0df 74%, #04262d 88%, #f4feff);
  animation: ringShine 5s linear infinite;
}
.ring__inner::after {
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85), transparent 32%),
              radial-gradient(circle at 70% 78%, rgba(0, 0, 0, 0.55), transparent 45%);
  mix-blend-mode: soft-light;
}
@keyframes ringSwing {
  0% { transform: rotateX(18deg) rotateY(-48deg) rotateZ(-6deg); }
  100% { transform: rotateX(8deg) rotateY(48deg) rotateZ(6deg); }
}
@keyframes ringShine { to { transform: rotate(360deg); } }

.hero__sub {
  margin-top: clamp(1.75rem, 4vh, 3rem); font-size: clamp(0.95rem, 1.2vw, 1.1rem); color: var(--muted); font-weight: 300;
}
.hero__actions { margin-top: 2rem; display: flex; gap: 1.75rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  width: 1px; height: 48px; background: linear-gradient(var(--line-2), transparent); overflow: hidden;
}
.hero__scroll::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent);
  animation: scrollHint 2.2s var(--ease) infinite;
}
@keyframes scrollHint { to { top: 110%; } }

/* ---------- Rotierendes Raster ---------- */
.rgrid { overflow: hidden; padding: 0 0 clamp(4rem, 10vh, 8rem); }
.rgrid__inner { transform-origin: 50% 0; will-change: transform; }
.rgrid__row {
  display: flex; gap: 12px; margin: 0 -12vw 12px; will-change: transform;
}
.tile {
  position: relative; flex: var(--w, 1) 1 0; min-width: 0; height: clamp(150px, 21vw, 300px);
  border-radius: 12px; overflow: hidden; background: var(--t-bg, #222);
  display: grid; place-items: center; isolation: isolate;
}
.tile::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 24px;
  background:
    radial-gradient(circle at 14px 12px, rgba(255, 255, 255, 0.6) 0 3px, transparent 3.5px),
    radial-gradient(circle at 26px 12px, rgba(255, 255, 255, 0.45) 0 3px, transparent 3.5px),
    radial-gradient(circle at 38px 12px, rgba(255, 255, 255, 0.3) 0 3px, transparent 3.5px),
    rgba(0, 0, 0, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--t-pattern, none);
  opacity: 0.6;
}
.tile__mark { text-align: center; color: var(--t-ink, #fff); padding: 1rem; line-height: 1; }
.tile__mark strong { display: block; font-size: clamp(1.2rem, 2.6vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }
.tile__mark small { display: block; margin-top: 0.7rem; font-size: clamp(0.55rem, 0.8vw, 0.72rem); letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.75; }
.tile__mark--serif strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 3.2vw, 3rem); letter-spacing: 0; }
.tile__mark--caps strong { font-weight: 500; letter-spacing: 0.35em; text-transform: uppercase; font-size: clamp(1rem, 2vw, 1.9rem); padding-left: 0.35em; }
.tile__mark--boxed strong { border: 1.5px solid currentColor; padding: 0.45em 0.7em; letter-spacing: 0.25em; font-weight: 500; text-transform: uppercase; font-size: clamp(0.9rem, 1.7vw, 1.5rem); }
.tile__mark--heavy strong { font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em; font-size: clamp(1.4rem, 3vw, 2.8rem); }
.tile figcaption {
  position: absolute; left: 14px; bottom: 12px; font-size: clamp(0.62rem, 0.8vw, 0.78rem); font-weight: 500;
  color: var(--t-ink, #fff); opacity: 0.85;
}
.rgrid__note { text-align: center; margin-top: 2rem; font-size: 0.78rem; color: var(--faint); padding: 0 var(--pad-x); }

/* ---------- Gepinnte Bereiche ---------- */
.pin { position: relative; height: var(--pin-h, 250vh); }
.pin__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}

/* Statement */
.statement__text {
  max-width: 1000px; padding: 0 var(--pad-x); text-align: center;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 3.7vw, 3.3rem); line-height: 1.3;
}
.w { display: inline-block; opacity: 0.14; transition: opacity 0.12s linear; }
.statement__text strong { font-style: normal; font-family: var(--sans); font-weight: 500; letter-spacing: -0.02em; }

.marquee {
  position: absolute; bottom: clamp(2rem, 9vh, 5rem); left: 0; right: 0; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem;
  font-size: 0.82rem; color: var(--faint); white-space: nowrap; letter-spacing: 0.02em;
}
.marquee__item::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Flip-Karten ---------- */
.flip { --pin-h: 340vh; }
.flip__head { position: absolute; top: clamp(5.5rem, 15vh, 9rem); left: 0; right: 0; text-align: center; padding: 0 var(--pad-x); }
.flip__head h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; }
.flip__head h2 b { font-family: var(--sans); font-style: normal; font-weight: 600; letter-spacing: -0.03em; }

.flip__area {
  --fr: 16px; --gap: 20px;
  position: relative; margin-top: clamp(6rem, 14vh, 9rem);
  width: min(900px, 86vw); height: clamp(360px, 52vh, 500px);
  display: flex; gap: var(--gap); perspective: 1600px;
}
.flip__card { position: relative; flex: 1 1 0; transform-style: preserve-3d; will-change: transform; }
.flip__face {
  position: absolute; inset: 0; border-radius: var(--fr); padding: clamp(1.25rem, 2.2vw, 2.2rem);
  display: flex; flex-direction: column; justify-content: space-between;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.flip__back {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, #23d6f2 0%, #0cc0df 35%, #07788c 100%);
}
.flip__back::after {
  content: "&"; position: absolute; right: -0.12em; bottom: -0.3em;
  font-family: var(--serif); font-style: italic; font-size: clamp(12rem, 22vw, 20rem); line-height: 1;
  color: rgba(3, 20, 23, 0.16);
}
.flip__card:nth-child(1) .flip__back::after { right: auto; left: 40%; }
.flip__card:nth-child(2) .flip__back::after { right: -30%; }
.flip__card:nth-child(3) .flip__back::after { right: 60%; }

.flip__front--light { background: linear-gradient(140deg, var(--card-light) 0%, var(--card-light-2) 100%); color: var(--card-light-ink); }
.flip__front--accent { background: linear-gradient(150deg, #1fd0ec 0%, #0cc0df 40%, #0890a8 100%); color: var(--accent-ink); }
.flip__front--dark { background: linear-gradient(150deg, #1a2227 0%, #0f1418 100%); color: #ecf1f3; border: 1px solid rgba(236, 241, 243, 0.08); }

.flip__icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem;
  background: rgba(0, 0, 0, 0.08); border: 1px solid rgba(0, 0, 0, 0.08);
}
.flip__front--dark .flip__icon { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.08); }
.flip__icon svg { width: 18px; height: 18px; }
.flip__face h3 { font-size: clamp(1.35rem, 2vw, 1.9rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 0.9rem; }
.flip__face p { font-size: clamp(0.8rem, 0.95vw, 0.92rem); line-height: 1.55; opacity: 0.78; }

/* ---------- Skalierende Überschriften ---------- */
.shrink-wrap { overflow-x: clip; padding: clamp(4rem, 12vh, 9rem) var(--pad-x) 0; text-align: center; }
.shrink { display: inline-block; transform-origin: 50% 60%; will-change: transform, opacity; }
.shrink-wrap .lead { margin: 1.5rem auto 0; }

/* ---------- Leistungs-Zeilen ---------- */
.services { padding: clamp(3rem, 8vh, 6rem) var(--pad-x) var(--pad-y); }
.service {
  display: grid; grid-template-columns: 0.9fr 1fr 0.95fr; gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center; padding: clamp(2.5rem, 6vh, 4rem) 0; border-bottom: 1px solid var(--line);
  max-width: var(--max); margin: 0 auto;
}
.service:first-child { border-top: 1px solid var(--line); }
.service__num { font-size: 0.75rem; color: var(--faint); font-variant-numeric: tabular-nums; margin-bottom: 0.9rem; display: block; }
.service__title { font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; }
.service__desc { margin-top: 1rem; font-size: 0.92rem; color: var(--muted); font-weight: 300; max-width: 26rem; }
.service__list li { font-size: 0.9rem; color: var(--muted); padding: 0.38rem 0; display: flex; gap: 0.7rem; align-items: baseline; }
.service__list li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.service__visual { transition: transform 0.6s var(--ease); }
.service:hover .service__visual { transform: rotate(-1.2deg) scale(1.02); }

@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; }
}

/* ---------- Mockups (reines CSS) ---------- */
.mock {
  position: relative; aspect-ratio: 16 / 10.5; border-radius: 12px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -35px rgba(0, 0, 0, 0.7);
}
.mock__bar { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(var(--fg-rgb), 0.18); }
.mock__bar span { margin-left: 10px; height: 12px; flex: 0 1 50%; border-radius: 6px; background: rgba(var(--fg-rgb), 0.07); }
.mock__body { position: absolute; inset: 26px 0 0; padding: 7% 8%; display: flex; flex-direction: column; gap: 6%; }
.mk { border-radius: 5px; background: rgba(var(--fg-rgb), 0.1); }
.mk--line { height: 7px; }
.mk--accent { background: var(--accent); }
.mk--dashed { background: transparent; border: 1.5px dashed rgba(var(--fg-rgb), 0.25); border-radius: 7px; }
.mk-row { display: flex; gap: 5%; }
.mock--wire .mock__body { gap: 5%; }
.mock--design .mock__body { padding: 0; gap: 0; }
.mock--design .hero-blk {
  height: 58%; background: linear-gradient(135deg, #2a3a40, #0c5d6b 60%, #0cc0df); padding: 6% 8%;
  display: flex; flex-direction: column; justify-content: center; gap: 8%;
}
.mock--design .hero-blk .mk { background: rgba(255, 255, 255, 0.8); }
.mock--design .hero-blk .mk--accent { background: #fff; width: 22%; height: 14%; border-radius: 4px; }
.mock--design .cards { flex: 1; display: flex; gap: 4%; padding: 5% 8%; }
.mock--design .cards div { flex: 1; border-radius: 6px; background: rgba(var(--fg-rgb), 0.08); }
.mock--code .mock__body { font-family: var(--mono); font-size: clamp(0.56rem, 0.85vw, 0.78rem); line-height: 1.75; gap: 0; color: var(--muted); justify-content: center; }
.mock--code .t { color: var(--accent-text); }
.mock--code .a { color: #e7b26b; }
.mock--code .s { color: #9fd39a; }
.mock--status .mock__body { gap: 0; justify-content: center; }
.status-row { display: flex; align-items: center; justify-content: space-between; padding: 4% 0; border-bottom: 1px solid var(--line); font-size: clamp(0.65rem, 0.9vw, 0.82rem); color: var(--muted); }
.status-row:last-child { border-bottom: 0; }
.status-row b { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 500; color: var(--fg); }
.status-row b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.15); }
.mock--chat .mock__body { justify-content: center; gap: 5%; }
.bubble { max-width: 78%; padding: 3.5% 5%; border-radius: 12px; font-size: clamp(0.65rem, 0.9vw, 0.82rem); line-height: 1.45; }
.bubble--in { background: rgba(var(--fg-rgb), 0.08); border-bottom-left-radius: 4px; }
.bubble--out { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.bubble small { display: block; opacity: 0.6; font-size: 0.85em; margin-top: 0.2rem; }

/* ---------- Paket-Karten ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: var(--max); margin: clamp(3rem, 7vh, 5rem) auto 0; }
.tier {
  position: relative; display: flex; flex-direction: column; padding: clamp(1.75rem, 2.5vw, 2.5rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.5s var(--ease), border-color 0.4s ease;
}
.tier:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), 0.45); }
.tier__label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.tier__name { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 500; letter-spacing: -0.03em; margin-top: 0.75rem; }
.tier__scope { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--muted); margin-top: 0.3rem; }
.tier__list { margin: 1.75rem 0 2rem; display: grid; gap: 0.6rem; }
.tier__list li { font-size: 0.9rem; color: var(--muted); display: flex; gap: 0.7rem; }
.tier__list li svg { flex: none; width: 16px; height: 16px; margin-top: 0.22rem; color: var(--accent-text); }
.tier__foot { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tier__price { font-size: 0.85rem; color: var(--faint); }
.tier__price b { display: block; color: var(--fg); font-weight: 500; font-size: 1rem; }
.tier--featured { background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.12), var(--surface) 55%); border-color: rgba(var(--accent-rgb), 0.3); }

.tiers--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .tiers--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .tiers--4 { grid-template-columns: 1fr; } }

/* ---------- Fakten / Zähler ---------- */
.facts { max-width: var(--max); margin: 0 auto; }
.fact {
  display: grid; grid-template-columns: minmax(140px, 0.6fr) 1fr; gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center; padding: clamp(2rem, 5vh, 3rem) 0; border-bottom: 1px solid var(--line);
}
.fact:first-child { border-top: 1px solid var(--line); }
.fact__num { font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 7vw, 6rem); line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
.fact__num small { font-size: 0.42em; color: var(--muted); margin-left: 0.15em; }
.fact h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 0.5rem; }
.fact p { font-size: 0.92rem; color: var(--muted); font-weight: 300; max-width: 34rem; }
@media (max-width: 620px) { .fact { grid-template-columns: 1fr; gap: 0.75rem; } }

/* ---------- Ablauf ---------- */
.process-head { max-width: var(--max); margin: 0 auto clamp(3rem, 8vh, 5rem); }
.process-head .h-section { margin-top: 1.25rem; }
.process-head .lead { margin-top: 1rem; }
.process { position: relative; max-width: var(--max); margin: 0 auto; padding-left: clamp(2.25rem, 5vw, 4rem); }
.process__line { position: absolute; left: 7px; top: 8px; bottom: 0; width: 1px; background: var(--line-2); }
.process__fill { position: absolute; inset: 0; background: linear-gradient(var(--accent), rgba(var(--accent-rgb), 0.2)); transform-origin: top; transform: scaleY(0); }
.process__step { position: relative; padding-bottom: clamp(2.5rem, 6vh, 4rem); }
.process__step:last-child { padding-bottom: 0; }
.process__dot {
  position: absolute; left: calc(-1 * clamp(2.25rem, 5vw, 4rem)); top: 0.45rem; width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2); transition: border-color 0.4s, background-color 0.4s, box-shadow 0.4s;
}
.process__step.is-active .process__dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.15); }
.process__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.7rem; }
.process__top h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 600; letter-spacing: -0.02em; display: flex; gap: 1rem; align-items: baseline; }
.process__top h3 span { font-size: 0.75rem; font-weight: 400; color: var(--faint); font-variant-numeric: tabular-nums; }
.tag { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); padding: 0.35rem 0.7rem; border-radius: 999px; }
.process__step p { font-size: 0.95rem; color: var(--muted); font-weight: 300; max-width: 44rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: clamp(2.5rem, 6vh, 4rem) auto 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0.25rem; font-size: clamp(0.95rem, 1.2vw, 1.05rem); font-weight: 400; color: var(--fg);
}
.faq__icon { position: relative; flex: none; width: 14px; height: 14px; }
.faq__icon::before,
.faq__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; background: var(--muted); transition: transform 0.4s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 0.25rem 1.6rem; color: var(--muted); font-weight: 300; font-size: 0.95rem; max-width: 46rem; }
.js .faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.js .faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- Kontakt-CTA ---------- */
.cta { text-align: center; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; left: 50%; top: 55%; width: min(900px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--fg-rgb), 0.06), transparent 60%); pointer-events: none;
}
.cta .h-display { max-width: 900px; margin: 0 auto; }
.cta .lead { margin: 1.25rem auto 0; }
.contact-card {
  position: relative; max-width: 460px; margin: clamp(3rem, 7vh, 5rem) auto 0; padding: 2rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; text-align: left;
}
.contact-card__top { display: flex; align-items: center; gap: 1rem; }
.monogram {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex: none; white-space: nowrap; font-size: 1.1rem;
  background: linear-gradient(150deg, #1fd0ec, #087f94); color: var(--accent-ink); font-weight: 700; letter-spacing: -0.04em;
}
.monogram .logo__amp { color: var(--accent-ink); }
.contact-card h3 { font-size: 1.05rem; font-weight: 500; }
.contact-card p { font-size: 0.85rem; color: var(--muted); }
.contact-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1.5rem; }
.contact-card__actions .btn { width: 100%; }
@media (max-width: 460px) { .contact-card__actions { grid-template-columns: 1fr; } }

/* ---------- Unterseiten-Hero ---------- */
.page-hero { padding: clamp(10rem, 26vh, 15rem) var(--pad-x) clamp(3rem, 8vh, 6rem); max-width: calc(var(--max) + 2 * var(--pad-x)); margin: 0 auto; }
.page-hero__title {
  margin-top: 1.5rem; font-size: clamp(2.8rem, 7.5vw, 6.6rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; perspective: 800px;
}
.page-hero__title .serif { letter-spacing: -0.01em; }
.page-hero__lead { margin-top: 2rem; }
.wd { display: inline-block; white-space: nowrap; }

/* ---------- Diverse Raster ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: var(--max); margin: 0 auto; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: var(--max); margin: 0 auto; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  padding: clamp(1.5rem, 2.4vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.4s ease, transform 0.5s var(--ease);
}
.card:hover { border-color: var(--line-2); }
.card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--accent-rgb), 0.1); color: var(--accent-text); margin-bottom: 1.5rem; }
.card__icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.card p { font-size: 0.92rem; color: var(--muted); font-weight: 300; }

.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); max-width: var(--max); margin: 0 auto; align-items: start; }
.split > :first-child { position: sticky; top: 8rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split > :first-child { position: static; } }

.checklist { display: grid; gap: 0; }
.checklist li { display: flex; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist li b { color: var(--fg); font-weight: 500; display: block; margin-bottom: 0.15rem; }
.checklist svg { flex: none; width: 18px; height: 18px; margin-top: 0.2rem; color: var(--accent-text); }
.checklist--x svg { color: var(--faint); }

/* Vergleichstabelle */
.table-wrap { max-width: var(--max); margin: clamp(2.5rem, 6vh, 4rem) auto 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.92rem; }
.compare th, .compare td { padding: 1.1rem 1.4rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-weight: 500; font-size: 1rem; }
.compare thead th small { display: block; font-weight: 300; color: var(--faint); font-size: 0.78rem; }
.compare tbody th { font-weight: 400; color: var(--muted); }
.compare td { color: var(--fg); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--accent-text); }
.compare .no { color: var(--faint); }
.compare { table-layout: fixed; min-width: 760px; }
.compare__label { width: 30%; }
.compare col.is-featured { background: rgba(var(--accent-rgb), 0.05); }
.compare thead th { padding-top: 1.6rem; padding-bottom: 1.4rem; font-size: 1.15rem; letter-spacing: -0.02em; }
.compare td { vertical-align: top; line-height: 1.45; color: var(--muted); }
.compare td b { display: block; color: var(--fg); font-weight: 500; }
.compare td span { display: block; font-size: 0.82rem; color: var(--faint); margin-top: 0.15rem; }
.compare td.yes svg { width: 18px; height: 18px; }
.compare tbody th { vertical-align: top; }
.compare__group th {
  padding-top: 1.8rem !important; padding-bottom: 0.7rem !important;
  font-size: 0.7rem !important; font-weight: 500 !important; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-text) !important;
}
.compare tfoot th, .compare tfoot td { border-top: 1px solid var(--line-2); border-bottom: 0; }
.compare tfoot th { font-weight: 400; color: var(--muted); }
.compare__actions td { padding-top: 0.2rem; padding-bottom: 1.6rem; }
.compare__note {
  max-width: var(--max); margin: 1.5rem auto 0; padding: 1.1rem 1.4rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 0.9rem;
}
.compare__note b { color: var(--fg); font-weight: 500; }

/* Team */
.person { display: flex; flex-direction: column; gap: 1.5rem; }
.person__img {
  aspect-ratio: 4 / 3.4; border-radius: var(--radius); position: relative; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(var(--accent-rgb), 0.25), transparent 55%), var(--surface-2);
  border: 1px solid var(--line); display: grid; place-items: center;
}
.person__img span { font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 11vw, 9rem); color: rgba(var(--fg-rgb), 0.85); line-height: 1; }
.person__img::after { content: "Foto folgt"; position: absolute; right: 14px; bottom: 12px; font-size: 0.7rem; color: var(--faint); letter-spacing: 0.08em; }
.person h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; }
.person__role { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.1rem; }
.person p { color: var(--muted); font-weight: 300; font-size: 0.95rem; margin-top: 0.6rem; }

/* Formular */
.form { display: grid; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.8rem; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%; font: inherit; font-size: 0.95rem; color: var(--fg); background: rgba(var(--fg-rgb), 0.03);
  border: 1px solid var(--line-2); border-radius: 11px; padding: 0.85rem 1rem; transition: border-color 0.25s, background-color 0.25s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--surface); color: var(--fg); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--accent); background: rgba(var(--accent-rgb), 0.04); }
.form__note { font-size: 0.8rem; color: var(--faint); }
.form__status { font-size: 0.85rem; color: var(--accent-text); min-height: 1.2em; }

.info-list { display: grid; gap: 0; }
.info-list div { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.info-list div:first-child { border-top: 1px solid var(--line); }
.info-list dt { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.35rem; }
.info-list dd { font-size: 1rem; }
.info-list dd a { border-bottom: 1px solid var(--line-2); transition: border-color 0.25s; }
.info-list dd a:hover { border-color: var(--accent); }

/* Rechtstexte */
.legal { max-width: 760px; margin: 0 auto; padding: 0 var(--pad-x) var(--pad-y); }
.legal h2 { font-size: 1.3rem; font-weight: 500; margin: 2.5rem 0 0.75rem; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--muted); font-weight: 300; }
.legal ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: 0.3rem; }
.notice {
  padding: 1.1rem 1.3rem; border-radius: 12px; border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.07); font-size: 0.9rem; color: var(--fg);
}
.ph { color: var(--accent-text); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(4rem, 10vh, 6rem) var(--pad-x) 2rem; }
.footer__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__brand p { color: var(--muted); font-size: 0.88rem; font-weight: 300; margin-top: 1rem; max-width: 22rem; }
.footer h4 { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.1rem; }
.footer ul { display: grid; gap: 0.55rem; }
.footer li a, .footer li { font-size: 0.88rem; color: var(--muted); transition: color 0.2s; }
.footer li a:hover { color: var(--fg); }
.footer__bottom {
  max-width: var(--max); margin: clamp(3rem, 8vh, 5rem) auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.78rem; color: var(--faint);
}
.footer__bottom nav { display: flex; gap: 1.5rem; }
.footer__bottom a:hover { color: var(--fg); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal-Animationen ---------- */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 32px, 0);
  transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s);
}
.js [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-pop] .l { opacity: 0; }
.js [data-pop].is-popped .l { animation: letterIn 0.8s var(--ease) both; }

/* ---------- Mobile: Flip-Karten ohne Pin ---------- */
@media (max-width: 899px) {
  .flip { height: auto; }
  .flip .pin__sticky { position: static; height: auto; overflow: visible; padding: var(--pad-y) var(--pad-x); }
  .flip__head { position: static; padding: 0; }
  .flip__area { flex-direction: column; height: auto; width: 100%; margin-top: 2.5rem; perspective: none; gap: 1rem; opacity: 1 !important; transform: none !important; }
  .flip__card { transform: none !important; }
  .flip__face { position: relative; min-height: 260px; }
  .flip__back { display: none; }
  .rgrid__row { gap: 8px; margin-bottom: 8px; }
  .tile { height: 130px; border-radius: 9px; }
  .tile:nth-child(n+4) { display: none; }
  .rgrid__inner { will-change: auto; }
}

/* Mobil: Reihen laufen per Scroll-Timeline im Compositor statt per JavaScript */
@supports (animation-timeline: view()) {
  @media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
    .rgrid { view-timeline: --rgrid block; }
    .rgrid__row {
      --rg-x: -60px;
      animation: rgridDrift linear both;
      animation-timeline: --rgrid;
      animation-range: cover 0% cover 100%;
    }
    .rgrid__row:nth-child(2) { --rg-x: 75px; }
    .rgrid__row:nth-child(3) { --rg-x: -90px; }
    .rgrid__row:nth-child(4) { --rg-x: 60px; }
  }
}
@keyframes rgridDrift {
  from { transform: translate3d(calc(var(--rg-x) * -1), 0, 0); }
  to { transform: translate3d(var(--rg-x), 0, 0); }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .pin { height: auto; }
  .pin__sticky { position: static; height: auto; padding: var(--pad-y) 0; }
  .w { opacity: 1 !important; }
  .marquee { position: static; margin-top: 3rem; }
  .flip__head { position: static; }
  .flip__area { opacity: 1 !important; transform: none !important; }
  .flip__card { transform: none !important; }
  .js [data-reveal], .js [data-pop] .l { opacity: 1; transform: none; }
}
