/* Edian Zymberi – Portfolio
   Farben, Schriften und Abstände stehen hier oben unter :root.
   Palette: Off-White, Navy, Stahlblau und Sand. */

/* Schriften lokal (keine Verbindung zu Google).
   Cormorant Garamond für Titel (elegant, mit schöner Kursive), Inter für Text. */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/cormorant-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/cormorant-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("../fonts/cormorant-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("../fonts/cormorant-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --weiss: #FFFFFF;
  --papier: #F6F3EE;
  --ton: #EFEAE1;
  --grau-2: #E3DED5;
  --grau-3: #C9C2B6;
  --sand: #D9C7A7;
  --sand-hell: #EFE6D6;
  --sand-dunkel: #9C8257;
  --navy: #0F1E36;
  --navy-2: #1B2E4F;
  --blau: #3A5A8C;
  --blau-hell: #8FA6CB;
  --blau-pastell: #DCE4F0;
  --text: #0F1E36;
  --text-2: #46516A;
  --text-3: #7D8496;
  --verlauf: linear-gradient(110deg, #0F1E36 0%, #3A5A8C 40%, #7E9BC7 55%, #3A5A8C 70%, #0F1E36 100%);
  --linie: rgba(15, 30, 54, .09);
  --linie-stark: rgba(15, 30, 54, .17);
  --glas: rgba(255, 255, 255, .72);
  --schatten: 0 1px 2px rgba(15, 30, 54, .04), 0 14px 40px -14px rgba(15, 30, 54, .16);
  --schatten-navy: 0 18px 44px -18px rgba(15, 30, 54, .55);

  --font-titel: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-klein: 14px;
  --container: 1220px;
  --rand: clamp(16px, 4vw, 40px);
  --abschnitt: clamp(96px, 12vw, 168px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-aus: cubic-bezier(.16, 1, .3, 1);
  --ease-feder: cubic-bezier(.34, 1.56, .64, 1);
}

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

html {
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
  background: var(--papier);
}
html:not(.lenis) { scroll-behavior: smooth; }

body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.gesperrt { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--blau-pastell); color: var(--navy); }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 16px; }

h1, h2, h3, h4 {
  font-family: var(--font-titel);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.7rem, 5.8vw, 5rem); }
h2 em, h3 em { font-style: italic; font-weight: 500; }
h3 { font-size: 1.65rem; line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--rand);
}

.gedimmt { color: var(--text-3); font-size: .95rem; }

/* Akzentwort: Kursiv in Blau mit langsamem Glanz */
.akzent-text {
  font-style: italic;
  background: var(--verlauf);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: glanz 8s ease-in-out infinite;
  padding-right: .06em;
}
.akzent-text .split-wort { background: inherit; background-size: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.akzent-text .zeichen {
  background: linear-gradient(110deg, #0F1E36 0%, #3A5A8C 45%, #7E9BC7 62%, #3A5A8C 82%, #1B2E4F 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-wort.akzent-text { animation: none; }
@keyframes glanz {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blau);
  margin: 0 0 22px;
}
.eyebrow .nr { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .06em; }
.eyebrow .nr::after { content: ""; width: 36px; height: 1px; background: var(--sand-dunkel); }

.punkt {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blau);
  box-shadow: 0 0 0 0 rgba(58, 90, 140, .5);
  animation: puls 2.2s infinite;
}
@keyframes puls {
  0% { box-shadow: 0 0 0 0 rgba(58, 90, 140, .5); }
  70% { box-shadow: 0 0 0 10px rgba(58, 90, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(58, 90, 140, 0); }
}

/* ---------- Knöpfe ---------- */
.knopf {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  isolation: isolate; overflow: hidden;
  transition: transform .5s var(--ease-aus), box-shadow .4s var(--ease), color .3s, border-color .3s, background .3s;
}
.knopf svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-aus); }
.knopf:hover svg { transform: translate(2px, -1px); }
.knopf:active { transform: scale(.97); }
.knopf-navy {
  color: #fff;
  background: linear-gradient(120deg, #0F1E36 0%, #1B2E4F 55%, #2C4770 100%);
  box-shadow: var(--schatten-navy), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.knopf-navy::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(217, 199, 167, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-aus);
}
.knopf-navy:hover::before { transform: translateX(120%); }
.knopf-linie {
  color: var(--navy);
  background: var(--glas);
  border-color: var(--linie-stark);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.knopf-linie:hover { border-color: var(--blau); color: var(--blau); }

/* ---------- Ladebildschirm ---------- */
.lader { display: none; }
.js .lader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--papier);
  transition: clip-path 1s cubic-bezier(.77, 0, .18, 1);
  clip-path: inset(0 0 0 0);
}
.js .lader.weg { clip-path: inset(0 0 100% 0); pointer-events: none; }
.lader-logo { width: 96px; fill: none; stroke: var(--navy); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.lader-logo path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: zeichnen 1.4s var(--ease) forwards; }
.lader-logo path + path { stroke: var(--blau); animation-delay: .25s; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
.lader-zahl { font-size: .8rem; font-weight: 600; letter-spacing: .2em; color: var(--text-3); }
.lader-linie { width: 160px; height: 1px; background: var(--grau-2); overflow: hidden; }
.lader-linie i { display: block; height: 100%; background: var(--blau); transform-origin: left; transform: scaleX(var(--f, 0)); }

/* ---------- Hintergrund: leuchtende Fäden über weichen Farbwolken ---------- */
#faeden {
  position: fixed; inset: 0; z-index: -2;
  overflow: hidden; pointer-events: none;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.faeden-an #faeden { opacity: 1; }
.web-threads-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.wolken { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .8;
  animation: schweben 20s ease-in-out infinite alternate;
}
.b1 { width: 60vw; height: 60vw; right: -15%; top: -18%; background: radial-gradient(circle, rgba(143, 166, 203, .75), transparent 65%); }
.b2 { width: 50vw; height: 50vw; left: -16%; bottom: -20%; background: radial-gradient(circle, rgba(217, 199, 167, .85), transparent 65%); animation-duration: 24s; animation-delay: -6s; }
.b3 { width: 34vw; height: 34vw; right: 26%; top: 38%; background: radial-gradient(circle, rgba(58, 90, 140, .3), transparent 65%); animation-duration: 16s; animation-delay: -3s; }
@keyframes schweben {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-6vw, 5vh, 0) scale(1.12); }
  100% { transform: translate3d(4vw, -4vh, 0) scale(.94); }
}
main, .fuss { position: relative; z-index: 1; }

/* Fortschrittsbalken oben */
.fortschritt { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.fortschritt i { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--blau), var(--sand)); transform-origin: left; transform: scaleX(var(--f, 0)); }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: padding .4s var(--ease), transform .5s var(--ease-aus);
}
.kopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(246, 243, 238, .8);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--linie);
  opacity: 0; transition: opacity .4s var(--ease);
}
.kopf.gescrollt { padding: 10px 0; }
.kopf.gescrollt::before { opacity: 1; }
.kopf.versteckt { transform: translateY(-100%); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-titel); font-weight: 600; font-size: 1.3rem; }
.logo svg { width: 38px; fill: none; stroke: var(--navy); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease-feder); }
.logo svg path + path { stroke: var(--blau); }
.logo:hover svg { transform: rotate(-8deg) scale(1.06); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.knopf) {
  position: relative; padding: 8px 13px; border-radius: 999px;
  font-size: .92rem; font-weight: 500; color: var(--text-2); text-decoration: none;
  transition: color .3s;
}
.nav a:not(.knopf)::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1px;
  background: var(--blau); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-aus);
}
.nav a:not(.knopf):hover, .nav a.aktiv { color: var(--navy); }
.nav a:not(.knopf):hover::after, .nav a.aktiv::after { transform: scaleX(1); transform-origin: left; }
.nav .knopf { min-height: 42px; padding: 9px 20px; margin-left: 8px; font-size: .9rem; }

.kopf-aktionen { display: flex; align-items: center; gap: 10px; }
.sprache {
  position: relative; display: inline-flex; padding: 4px;
  border-radius: 999px; background: var(--glas); border: 1px solid var(--linie);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.sprache button {
  position: relative; z-index: 1;
  width: 40px; height: 32px; border: 0; border-radius: 999px; background: none;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--text-3); cursor: pointer;
  transition: color .3s;
}
.sprache button[aria-pressed="true"] { color: #fff; }
.sprache i {
  position: absolute; top: 4px; left: 4px; width: 40px; height: 32px; border-radius: 999px;
  background: var(--navy);
  transition: transform .5s var(--ease-feder);
}
.sprache.en i { transform: translateX(40px); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--linie-stark); background: var(--glas); cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--navy);
  transition: transform .45s var(--ease-aus), top .45s var(--ease-aus);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-offen .nav-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.nav-offen .nav-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 130px 0 110px;
  overflow: hidden;
}
.hero::before {
  /* Lesbarkeit für den Text über den Wellen */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 55% 65% at 22% 55%, rgba(246, 243, 238, .7), transparent 72%);
}
.hero-raster {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(40px, 6vw, 90px);
}
.hero-titel {
  font-size: clamp(4.2rem, 10.5vw, 10rem);
  font-weight: 600;
  line-height: .86; letter-spacing: -.025em; white-space: nowrap;
  margin: 0 0 26px;
}
.hero-titel .zeile { display: block; overflow: hidden; padding: 0 .08em .1em 0; }
.hero-titel .akzent-text { font-weight: 500; }
.hero-wort { display: inline-block; }
.hero-titel .zeichen { display: inline-block; }

.hero-rolle {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .35em;
  font-family: var(--font-titel); font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 500;
  margin-bottom: 22px; color: var(--text-2);
}
.rotator {
  position: relative; display: inline-flex; overflow: hidden; height: 1.25em; vertical-align: bottom;
  color: var(--blau); font-style: italic; font-weight: 600;
}
.rotator-wort { display: inline-block; white-space: nowrap; padding-right: .1em; }
.rotator::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: linear-gradient(90deg, var(--blau), var(--sand));
}
.hero-lead { max-width: 34em; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--text-2); margin-bottom: 36px; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-bild { position: relative; justify-self: center; width: min(100%, 440px); }
.bogen {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: 999px 999px 26px 26px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(15, 30, 54, .4);
  transform-style: preserve-3d;
  will-change: transform;
}
.bogen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.08); }
.bogen-linie {
  position: absolute; inset: -14px -14px 14px 14px; z-index: -1;
  border: 1px solid var(--sand-dunkel); border-radius: 999px 999px 30px 30px;
  pointer-events: none;
}
.abzeichen {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .88); border: 1px solid var(--linie);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--schatten);
  font-size: .82rem; font-weight: 600; white-space: nowrap;
  animation: wippen 6s ease-in-out infinite;
}
.abzeichen b {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font-size: .7rem; letter-spacing: .04em; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blau));
}
.a1 { left: -18%; top: 18%; }
.a2 { right: -14%; top: 48%; animation-delay: -2s; }
.a2 b { background: linear-gradient(135deg, #9C8257, #D9C7A7); color: var(--navy); }
.a3 { left: -6%; bottom: 8%; animation-delay: -4s; }
@keyframes wippen { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-hinweis {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--text-3);
  text-decoration: none;
}
.scroll-hinweis i { width: 1px; height: 46px; background: var(--grau-3); position: relative; overflow: hidden; }
.scroll-hinweis i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%;
  background: var(--blau); animation: tropfen 2s var(--ease) infinite;
}
@keyframes tropfen { to { top: 100%; } }

/* ---------- Laufband ---------- */
.laufband {
  position: relative; z-index: 1;
  border-block: 1px solid var(--linie);
  background: rgba(15, 30, 54, .96);
  overflow: hidden; padding: 20px 0;
  color: var(--papier);
}
.laufband-spur {
  display: flex; width: max-content; align-items: center; gap: 34px; padding-right: 34px;
  font-family: var(--font-titel); font-size: clamp(1.8rem, 3.8vw, 3rem); font-weight: 500; font-style: italic;
  white-space: nowrap;
  animation: laufen 40s linear infinite;
}
.laufband-spur span:nth-of-type(even) { color: var(--sand); }
.laufband-spur i { font-style: normal; color: var(--blau-hell); font-size: .5em; }
@keyframes laufen { to { transform: translateX(-50%); } }

/* ---------- Abschnitte ---------- */
.abschnitt { position: relative; padding: var(--abschnitt) 0; }
.abschnitt-ton { background: linear-gradient(to bottom, rgba(239, 234, 225, 0), rgba(239, 234, 225, .9) 10%, rgba(239, 234, 225, .9) 90%, rgba(239, 234, 225, 0)); }
.kopfzeile { max-width: 820px; margin-bottom: clamp(48px, 7vw, 84px); }
.kopfzeile-text { margin-top: 22px; color: var(--text-2); font-size: 1.1rem; max-width: 36em; }
.kopfzeile-zeile { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.h2-klein { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }

.split-zeile { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }

.fliesstext { display: grid; gap: 18px; color: var(--text-2); font-size: 1.08rem; }

/* Einblenden */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.1s var(--ease-aus); transition-delay: var(--verz, 0ms); }
.js .reveal.sichtbar { opacity: 1; transform: none; }

/* Spotlight auf Karten */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(143, 166, 203, .28), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }

.akzent-strich { display: inline-block; width: 30px; height: 1px; background: var(--sand-dunkel); vertical-align: middle; margin-right: 12px; }

/* ---------- Über mich ---------- */
.ueber-raster { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.ueber-text h2 { margin-bottom: 34px; }
.zahlen {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 48px 0 0;
  background: var(--linie); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden;
}
.zahl { background: rgba(255, 255, 255, .85); padding: 22px 18px; margin: 0; }
.zahl dt { font-family: var(--font-titel); font-size: clamp(2.4rem, 4vw, 3.3rem); font-weight: 600; line-height: 1; color: var(--blau); margin-bottom: 8px; }
.zahl dd { margin: 0; font-size: .86rem; color: var(--text-2); line-height: 1.4; }

.ueber-bild { margin: 0; }
.bild-rahmen { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -36px rgba(15, 30, 54, .4); }
.bild-rahmen img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 30%; margin-top: -9%; }
.ueber-bild figcaption { margin-top: 18px; font-size: .92rem; color: var(--text-3); }

/* ---------- Zeitstrahl ---------- */
.zeitstrahl {
  --fortschritt: 0;
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; gap: 28px;
}
.zeitstrahl::before, .zeitstrahl::after {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; border-radius: 2px;
}
.zeitstrahl::before { background: var(--grau-2); }
.zeitstrahl::after { background: linear-gradient(var(--navy), var(--blau), var(--sand)); transform-origin: top; transform: scaleY(var(--fortschritt)); }
.station { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.station::before {
  content: ""; position: absolute; left: 50%; top: 34px; z-index: 1;
  width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: var(--papier); border: 2px solid var(--grau-3);
  transition: border-color .5s, background .5s, box-shadow .5s, transform .6s var(--ease-feder);
}
.station.aktiv::before { border-color: var(--blau); background: var(--blau); box-shadow: 0 0 0 7px rgba(58, 90, 140, .16); transform: scale(1.1); }
.station-hervor.aktiv::before { background: var(--sand); border-color: var(--navy); box-shadow: 0 0 0 7px rgba(217, 199, 167, .45); }
.station-karte {
  grid-column: 1; margin-right: 52px;
  padding: 28px 30px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .9); border: 1px solid var(--linie);
  box-shadow: var(--schatten);
  transition: transform .6s var(--ease-aus), box-shadow .6s, border-color .5s;
}
.station:nth-child(even) .station-karte { grid-column: 2; margin: 0 0 0 52px; }
.station-karte:hover { transform: translateY(-4px); border-color: rgba(58, 90, 140, .35); }
.station-karte time { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blau); margin-bottom: 10px; }
.station-karte h3 { margin-bottom: 10px; }
.station-karte p { color: var(--text-2); font-size: .98rem; }
.marke {
  display: inline-block; margin-top: 16px; padding: 5px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: var(--sand-hell);
}
.station-hervor .station-karte { background: var(--navy); border-color: var(--navy); color: var(--papier); }
.station-hervor .station-karte p { color: rgba(246, 243, 238, .8); }
.station-hervor .station-karte time { color: var(--sand); }
.station-hervor .marke { background: var(--sand); }

/* ---------- Rollen (gestapelte Karten) ---------- */
.rollen-stapel { display: grid; gap: 28px; }
.rolle {
  position: sticky; top: calc(100px + var(--i, 0) * 22px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center;
  min-height: min(620px, 78vh);
  padding: clamp(28px, 4vw, 54px);
  border-radius: 32px; border: 1px solid var(--linie);
  background: linear-gradient(150deg, #FFFFFF 0%, #FAF8F4 60%, #F1EADD 100%);
  box-shadow: 0 -10px 60px -30px rgba(15, 30, 54, .25), var(--schatten);
  transform-origin: 50% 0;
  will-change: transform;
}
.rolle:nth-child(1) { --i: 0; }
.rolle:nth-child(2) { --i: 1; }
.rolle-nr {
  display: block; font-family: var(--font-titel); font-style: italic; font-weight: 500; font-size: clamp(3.4rem, 6vw, 5.4rem); line-height: 1;
  color: var(--sand-dunkel); margin-bottom: 8px;
}
.rolle h3 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
.rolle-sub { margin: 10px 0 20px; font-size: .9rem; font-weight: 600; color: var(--blau); }
.rolle-text > p:not(.rolle-sub) { color: var(--text-2); }
.haken { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.haken li { position: relative; padding-left: 30px; font-size: .97rem; }
.haken li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blau-pastell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A5A8C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.chips { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.chips span { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--linie-stark); font-weight: 600; font-size: .82rem; background: #fff; }

.rolle-visual { position: relative; height: 100%; min-height: 340px; border-radius: 22px; overflow: hidden; }
.rolle-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.browser-mini, .browser { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie-stark); box-shadow: var(--schatten); }
.browser-leiste { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--linie); background: var(--ton); flex-shrink: 0; }
.browser-leiste i { width: 9px; height: 9px; border-radius: 50%; background: var(--grau-3); }
.browser-leiste i:first-child { background: var(--sand); }
.browser-leiste span { margin-left: 10px; font-size: .74rem; color: var(--text-3); padding: 3px 12px; background: #fff; border-radius: 999px; }
.browser-flaeche { position: relative; flex: 1; overflow: hidden; }
.browser-flaeche img { position: absolute; left: 0; top: 0; width: 100%; height: auto; transition: transform 5s cubic-bezier(.45, .05, .35, 1); }
.browser-mini:hover .browser-flaeche img, .warum-bild:hover .browser-flaeche img, .referenz:hover .browser-flaeche img, .referenz:focus-visible .browser-flaeche img { transform: translateY(var(--weg, 0)); }

/* ---------- Webdesign ---------- */
.web-kopf { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px clamp(40px, 6vw, 90px); align-items: end; margin-bottom: clamp(56px, 7vw, 90px); }

.warum {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center;
  margin-bottom: clamp(70px, 9vw, 110px);
}
.warum-titel { font-size: clamp(2rem, 3.4vw, 2.8rem); font-style: italic; font-weight: 500; margin-bottom: 26px; color: var(--navy); }
.warum-bild { margin: 0; }
.warum-bild .browser { border-radius: 20px; overflow: hidden; height: clamp(320px, 38vw, 460px); transform: rotate(-1.5deg); transition: transform .8s var(--ease-aus); }
.warum-bild:hover .browser { transform: rotate(0); }
.warum-bild figcaption { margin-top: 16px; font-size: .9rem; color: var(--text-3); }

.leistungen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: clamp(70px, 9vw, 110px); }
.leistung {
  padding: 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .9); border: 1px solid var(--linie);
  box-shadow: var(--schatten); transition: transform .6s var(--ease-aus), border-color .4s;
}
.leistung:hover { transform: translateY(-5px); border-color: rgba(58, 90, 140, .35); }
.leistung svg, .kachel > svg {
  width: 48px; height: 48px; padding: 11px; border-radius: 14px; margin-bottom: 22px;
  fill: none; stroke: var(--blau); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  background: var(--blau-pastell);
}
.leistung h3 { margin-bottom: 8px; }
.leistung p { color: var(--text-2); font-size: .97rem; }

.ablauf-kopf { margin-bottom: 36px; }
.ablauf-kopf .eyebrow { margin-bottom: 14px; }
.ablauf-titel { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.ablauf {
  --fortschritt: 0;
  position: relative; list-style: none; margin: 0 0 clamp(80px, 10vw, 120px); padding: 34px 0 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px;
}
.ablauf::before, .ablauf::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; }
.ablauf::before { background: var(--grau-2); }
.ablauf::after { background: linear-gradient(90deg, var(--navy), var(--blau), var(--sand)); transform-origin: left; transform: scaleX(var(--fortschritt)); }
.schritt { position: relative; }
.schritt::before {
  content: ""; position: absolute; top: -41px; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--papier); border: 2px solid var(--grau-3); transition: all .5s var(--ease);
}
.schritt.aktiv::before { background: var(--blau); border-color: var(--blau); box-shadow: 0 0 0 6px rgba(58, 90, 140, .15); }
.schritt-nr { display: block; font-family: var(--font-titel); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--sand-dunkel); margin-bottom: 10px; }
.schritt h4 { font-size: 1.45rem; margin-bottom: 8px; }
.schritt p { color: var(--text-2); font-size: .93rem; line-height: 1.6; }

.referenzen-titel { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 30px; }
.referenzen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.referenz { display: grid; gap: 6px; text-decoration: none; }
.referenz .browser { border-radius: 18px; overflow: hidden; height: 380px; margin-bottom: 14px; transition: transform .6s var(--ease-aus), box-shadow .6s; }
.referenz:hover .browser { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(15, 30, 54, .4); }
.referenz-name { font-family: var(--font-titel); font-weight: 600; font-size: 1.4rem; line-height: 1.15; }
.referenz-art { font-size: .88rem; color: var(--blau); font-weight: 500; }
.referenz-hinweis { margin-top: 22px; }
.web-cta {
  margin-top: clamp(56px, 7vw, 90px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(26px, 4vw, 40px) clamp(26px, 4vw, 48px);
  border-radius: 28px; border: 1px solid rgba(156, 130, 87, .35);
  background: linear-gradient(120deg, #FFFFFF, #F3EBDD);
}
.web-cta p { font-size: 1.1rem; max-width: 34em; }
.web-cta strong { color: var(--blau); }

/* ---------- Baustellenfotos: Karussell ---------- */
.galerie-abschnitt { overflow: hidden; }
.galerie-hinweis { display: inline-flex; align-items: center; gap: 10px; }
.galerie-hinweis svg { width: 22px; height: 22px; fill: none; stroke: var(--blau); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: hin-her 2.4s ease-in-out infinite; }
@keyframes hin-her { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }

.karussell { position: relative; outline: none; }
.karussell:focus-visible .k-buehne { outline: 2px solid var(--blau); outline-offset: 8px; border-radius: 24px; }
.k-buehne {
  position: relative; height: clamp(340px, 62vh, 620px);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: grab;
}
.k-buehne.zieht { cursor: grabbing; }
.k-karte {
  position: absolute; top: 0; left: 50%; height: 100%; margin: 0;
  border-radius: 24px; overflow: hidden; background: var(--grau-2);
  box-shadow: 0 34px 70px -34px rgba(15, 30, 54, .55);
  transition: transform .9s var(--ease-aus), opacity .7s var(--ease), filter .7s var(--ease);
  will-change: transform;
}
.k-buehne.zieht .k-karte { transition: none; }
.k-karte img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.k-karte:not(.aktiv) { filter: saturate(.55) brightness(1.04); cursor: pointer; }
.k-karte.aktiv { cursor: zoom-in; }
.k-karte::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.k-unten { display: flex; align-items: center; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; margin-top: 30px; }
.k-text { font-family: var(--font-titel); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--navy); min-height: 1.4em; transition: opacity .4s, transform .5s var(--ease-aus); }
.k-text.wechsel { opacity: 0; transform: translateY(8px); }
.k-steuerung { display: flex; align-items: center; gap: 16px; }
.k-zaehler { font-size: .9rem; font-weight: 600; color: var(--text-3); letter-spacing: .06em; min-width: 62px; text-align: center; }
.k-zaehler b { color: var(--navy); }
.k-balken { width: 140px; height: 2px; background: var(--grau-2); border-radius: 2px; overflow: hidden; }
.k-balken i { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--blau)); transform-origin: left; transform: scaleX(var(--f, 0)); transition: transform .7s var(--ease-aus); }
.k-pfeil {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--linie-stark); background: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: transform .4s var(--ease-aus), background .3s, border-color .3s;
}
.k-pfeil svg { width: 22px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.k-pfeil:hover { background: var(--navy); border-color: var(--navy); transform: scale(1.06); }
.k-pfeil:hover svg { stroke: #fff; }

/* ---------- Persönlich (Bento) ---------- */
.bento {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 16px;
}
.kachel {
  position: relative; overflow: hidden;
  padding: 28px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .92); border: 1px solid var(--linie); box-shadow: var(--schatten);
  transition: transform .6s var(--ease-aus), border-color .4s;
}
.kachel:hover { transform: translateY(-5px); border-color: rgba(58, 90, 140, .35); }
.kachel h3 { margin-bottom: 8px; }
.kachel p { color: var(--text-2); font-size: .97rem; }
.k-liebste { grid-column: span 2; background: linear-gradient(140deg, #FFFFFF 30%, #F1E8D7); }
.k-reisen { grid-column: span 2; grid-row: span 3; padding: 0; min-height: 420px; }
.k-reisen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 1.4s var(--ease-aus); }
.k-reisen:hover img { transform: scale(1.05); }
.kachel-overlay {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  padding: 20px 22px; border-radius: 16px;
  background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .7);
}
.k-arbeit { background: linear-gradient(140deg, #0F1E36, #2C4770); color: #fff; border-color: transparent; }
.k-arbeit p { color: rgba(255, 255, 255, .82); }
.k-arbeit > svg { background: rgba(217, 199, 167, .2); stroke: var(--sand); }

.zitat { margin: clamp(80px, 10vw, 130px) auto 0; max-width: 980px; text-align: center; }
.zitat blockquote {
  margin: 0 0 26px;
  font-family: var(--font-titel); font-style: italic; font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.15;
  text-wrap: balance;
}
.zitat figcaption { color: var(--text-3); font-weight: 600; }

/* ---------- Ziele ---------- */
.ziele { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ziel {
  position: relative; padding: clamp(26px, 3vw, 36px); border-radius: 26px;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--linie); box-shadow: var(--schatten);
  transition: transform .6s var(--ease-aus), border-color .4s;
}
.ziel:hover { transform: translateY(-5px); border-color: rgba(58, 90, 140, .35); }
.ziel-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.ziel-nr { font-family: var(--font-titel); font-style: italic; font-size: 3rem; line-height: 1; color: var(--sand-dunkel); }
.ziel-zeit { padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blau); background: var(--blau-pastell); }
.ziel h3 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); margin-bottom: 12px; }
.ziel p { color: var(--text-2); }
.ziel-leben {
  grid-column: 1 / -1;
  padding: clamp(36px, 5vw, 64px);
  background: radial-gradient(ellipse at 85% 0%, rgba(58, 90, 140, .55), transparent 60%), linear-gradient(135deg, #0F1E36, #1B2E4F);
  color: var(--papier); border-color: transparent; overflow: hidden;
}
.ziel-leben::after {
  content: "∞"; position: absolute; right: -2%; bottom: -26%;
  font-family: var(--font-titel); font-size: clamp(14rem, 30vw, 26rem); line-height: 1; color: rgba(217, 199, 167, .08);
  pointer-events: none;
}
.ziel-leben .ziel-nr { color: var(--sand); font-style: normal; }
.ziel-leben .ziel-zeit { background: rgba(217, 199, 167, .18); color: var(--sand); }
.ziel-leben h3 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-style: italic; font-weight: 500; max-width: 16ch; color: #fff; }
.ziel-leben p { color: rgba(246, 243, 238, .82); font-size: 1.1rem; max-width: 40em; }

/* ---------- Kontakt / Abschluss ---------- */
.abschluss { overflow: hidden; padding: clamp(110px, 14vw, 190px) 0; text-align: center; }
.abschluss-innen { display: grid; justify-items: center; }
.abschluss-titel { font-size: clamp(3.2rem, 8.4vw, 7rem); line-height: .96; margin-bottom: 24px; }
.abschluss-text { max-width: 32em; color: var(--text-2); font-size: 1.12rem; margin-bottom: 46px; }
.kanaele { list-style: none; margin: 0 0 46px; padding: 0; width: min(100%, 760px); display: grid; text-align: left; }
.kanaele li { border-top: 1px solid var(--linie-stark); }
.kanaele li:last-child { border-bottom: 1px solid var(--linie-stark); }
.kanaele a {
  position: relative; display: grid; grid-template-columns: 1fr auto 28px; align-items: center; gap: 18px;
  padding: 22px 8px; text-decoration: none; overflow: hidden; isolation: isolate;
}
.kanaele a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--sand-hell), rgba(239, 230, 214, 0));
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-aus);
}
.kanaele a:hover::before { transform: scaleX(1); }
.kanal-name { font-family: var(--font-titel); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 600; transition: transform .6s var(--ease-aus); }
.kanaele a:hover .kanal-name { transform: translateX(12px); font-style: italic; }
.kanal-wert { color: var(--text-3); font-size: .95rem; }
.kanaele svg { width: 24px; height: 24px; fill: none; stroke: var(--blau); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-aus); }
.kanaele a:hover svg { transform: translate(3px, -3px) scale(1.1); }

/* ---------- Fusszeile ---------- */
.fuss { padding: 30px 0; font-size: .9rem; color: rgba(246, 243, 238, .7); background: var(--navy); }
.fuss-innen { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.fuss a { color: var(--papier); text-decoration: none; }
.fuss a:hover { color: var(--sand); }
.nach-oben { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.nach-oben svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-aus); }
.nach-oben:hover svg { transform: translateY(-3px); }

/* ---------- Schliessen-Knopf der Grossansicht ---------- */
.lb-schliessen {
  position: fixed; top: 20px; right: 20px; z-index: 5;
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--linie-stark);
  background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  cursor: pointer; transition: transform .5s var(--ease-feder), background .3s;
}
.lb-schliessen:hover { transform: rotate(90deg); background: #fff; }
.lb-schliessen span { position: absolute; left: 16px; right: 16px; top: 26px; height: 1.5px; background: var(--navy); transform: rotate(45deg); }
.lb-schliessen span + span { transform: rotate(-45deg); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 250;
  display: grid; place-items: center;
  background: rgba(15, 30, 54, .92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  opacity: 0; transition: opacity .45s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.offen { opacity: 1; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; max-width: 92vw; }
.lightbox img { max-width: 92vw; max-height: 80vh; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); transform: scale(.94); transition: transform .6s var(--ease-aus), opacity .3s; }
.lightbox.offen img { transform: scale(1); }
.lightbox figcaption { color: rgba(246, 243, 238, .85); font-family: var(--font-titel); font-style: italic; font-size: 1.3rem; text-align: center; }
.lb-pfeil {
  position: fixed; top: 50%; margin-top: -28px; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); cursor: pointer; display: grid; place-items: center;
  transition: transform .4s var(--ease-aus), background .3s;
}
.lb-pfeil:hover { background: rgba(255, 255, 255, .22); transform: scale(1.08); }
.lb-pfeil svg { width: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-zurueck { left: 20px; }
.lb-vor { right: 20px; }
.lb-zaehler { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); font-weight: 600; color: var(--sand); letter-spacing: .1em; }

/* ---------- Responsiv ---------- */
@media (max-width: 1180px) {
  .nav a:not(.knopf) { padding: 8px 9px; font-size: .88rem; }
}
@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 4px;
    background: rgba(246, 243, 238, .97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    clip-path: circle(0 at calc(100% - 44px) 40px);
    transition: clip-path .8s cubic-bezier(.77, 0, .18, 1);
    visibility: hidden;
  }
  .nav-offen .nav { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; }
  .nav a:not(.knopf) { font-family: var(--font-titel); font-size: 2.4rem; font-weight: 600; color: var(--navy); padding: 4px 18px; }
  .nav a:not(.knopf)::after { display: none; }
  .nav .knopf { margin: 18px 0 0; min-height: 52px; padding: 14px 30px; font-size: 1rem; }
  .nav-toggle { display: block; }
  .hero-raster { grid-template-columns: 1fr; }
  .hero-bild { order: -1; width: min(72%, 340px); margin-bottom: 10px; }
  .scroll-hinweis { display: none; }
  .ueber-raster, .web-kopf, .warum { grid-template-columns: 1fr; }
  .ueber-bild { max-width: 520px; }
  .rolle { grid-template-columns: 1fr; min-height: 0; position: relative; top: 0; }
  .rolle-visual { min-height: 280px; height: 300px; }
  .leistungen, .referenzen { grid-template-columns: 1fr 1fr; }
  .referenzen .referenz:last-child { grid-column: span 2; }
  .ablauf { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .ablauf::before, .ablauf::after { display: none; }
  .schritt::before { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .k-reisen { grid-row: span 2; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .kopf-innen .logo span { display: none; }
  .hero { padding-top: 110px; }
  .hero-bild { width: min(78%, 300px); }
  .a1 { left: -16%; top: 10%; }
  .a2 { right: -18%; }
  .a3 { left: -10%; }
  .abzeichen { font-size: .74rem; padding: 6px 12px 6px 6px; }
  .abzeichen b { width: 28px; height: 28px; font-size: .62rem; }
  .zahlen { grid-template-columns: 1fr 1fr; }
  .zeitstrahl::before, .zeitstrahl::after { left: 9px; }
  .station { grid-template-columns: 1fr; }
  .station::before { left: 10px; top: 30px; }
  .station .station-karte, .station:nth-child(even) .station-karte { grid-column: 1; margin: 0 0 0 38px; padding: 22px; }
  .leistungen, .referenzen { grid-template-columns: 1fr; }
  .referenzen .referenz:last-child { grid-column: auto; }
  .referenz .browser { height: 300px; }
  .ablauf { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .k-buehne { height: clamp(300px, 56vh, 480px); }
  .k-unten { flex-direction: column; align-items: flex-start; }
  .k-steuerung { width: 100%; justify-content: space-between; }
  .k-balken { flex: 1; width: auto; }
  .bento { grid-template-columns: 1fr; }
  .k-liebste, .k-reisen { grid-column: auto; }
  .k-reisen { min-height: 440px; }
  .ziele { grid-template-columns: 1fr; }
  .kanaele a { grid-template-columns: 1fr 24px; gap: 4px 12px; padding: 18px 4px; }
  .kanal-wert { grid-row: 2; }
  .kanaele svg { grid-row: 1 / span 2; grid-column: 2; }
  .lb-pfeil { top: auto; bottom: 14px; margin: 0; width: 48px; height: 48px; }
  .lb-zaehler { bottom: 28px; }
  .fuss-innen { justify-content: center; text-align: center; }
}

/* Weniger Bewegung gewünscht */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .lader { display: none; }
}
