/* Ruhrform Studio – Stylesheet (Fassung 02.12.2026: hell, kräftiger Kontrast, mehr Bewegung)
   Farben aus dem Logo, Schriften lokal (Montserrat wie im Logo, Inter für Text). */

@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Farben */
  --bg: #FFFFFF;          /* Grund */
  --surface: #EEF2F6;     /* eine Tonstufe dunkler, kühl */
  --ink: #0F1720;         /* Schrift, fast schwarz mit Blaustich */
  --muted: #52606E;       /* Nebentext */
  --accent: #0B4F86;      /* Logo-Blau */
  --accent-press: #083D69;
  --deep: #0A1420;        /* dunkle Fläche am Schluss */
  --deep-ink: #F2F5F8;
  --deep-muted: #9DAEBF;
  --deep-accent: #8DBBE8; /* Blau, das auf Dunkel lesbar ist */

  /* Schrift: fünf Größen */
  --f-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --f-text: "Inter", "Segoe UI", system-ui, sans-serif;
  --s1: clamp(34px, 9.4vw, 150px);  /* sehr groß */
  --s2: clamp(30px, 4vw, 64px);     /* Überschriften */
  --s3: clamp(21px, 1.9vw, 28px);   /* Aussagen */
  --s4: 18px;                       /* Fließtext */
  --s5: 16px;                       /* klein */

  /* Raster */
  --m: clamp(16px, 2.3vw, 32px);    /* Außenrand */
  --gap: 24px;
  --section: clamp(96px, 12vw, 190px);
  --r: 10px;

  /* Bewegung */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--s4)/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; max-width: 68ch; text-wrap: pretty; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: var(--m); top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: var(--s5); text-decoration: none; }
.skip:focus { top: 12px; }

/* Knopf: eine Form auf der ganzen Seite */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  font: 600 var(--s5)/1 var(--f-text);
  padding: 13px 20px; border-radius: 999px; text-decoration: none;
  transition: transform .25s var(--ease), background-color .2s;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover { background: var(--accent-press); transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-gross { padding: 17px 26px; font-size: var(--s4); }
.btn-hell { background: #fff; color: var(--accent); }
.btn-hell:hover { background: var(--surface); }

/* Textlinks: Unterstrich wächst beim Darüberfahren */
.nav-links a, .fuss-links a, .kontakt-unten a, .fakten a, .textlink { text-decoration: none; position: relative; display: inline-block; }
.nav-links a::after, .fuss-links a::after, .kontakt-unten a::after, .fakten a::after, .textlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.fuss-links a::after, .kontakt-unten a::after, .fakten a::after, .textlink::after { transform: scaleX(.25); transform-origin: left; }
.nav-links a:hover::after, .fuss-links a:hover::after, .kontakt-unten a:hover::after, .fakten a:hover::after, .textlink:hover::after,
.nav-links a:focus-visible::after, .fuss-links a:focus-visible::after, .textlink:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.textlink { font-weight: 600; padding: 6px 0; }

/* ===================== Kopfleiste ===================== */
.nav {
  position: fixed; z-index: 30; inset: 0 0 auto 0;
  display: flex; align-items: center; gap: 32px;
  padding: 20px var(--m);
  background: transparent;
  transition: padding .35s var(--ease), background-color .3s, box-shadow .3s, transform .45s var(--ease);
}
.nav.is-fest { padding-block: 10px; background: var(--bg); box-shadow: 0 8px 28px rgba(15, 23, 32, .08); }
.nav.is-weg { transform: translateY(-110%); }
.nav-logo { margin-right: auto; display: block; }
.nav-logo img { height: 46px; width: auto; transition: height .35s var(--ease); }
.nav.is-fest .nav-logo img { height: 38px; }
.nav-links { display: flex; gap: 28px; font-size: var(--s5); font-weight: 500; }
.nav-links a { padding: 6px 0; }

/* ===================== Geräterahmen (Oberflächen-Ausschnitte, hier sind Linien erlaubt) ===================== */
.browser {
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid #D5DCE4; /* taste-skill-ignore: Rahmen des Browserfensters */
}
.geraet-leiste { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--surface); }
.punkte { display: flex; gap: 6px; flex: none; }
.punkte i { width: 10px; height: 10px; border-radius: 50%; background: #C5CED8; }
.geraet-titel {
  flex: 0 1 300px; margin-inline: auto; text-align: center;
  background: #fff; border-radius: 999px; padding: 5px 14px;
  font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.geraet-leiste::after { content: ""; width: 42px; flex: none; }
.geraet-schirm { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.geraet-schirm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.geraet-schirm img[data-zoom] { transform: scale(var(--zoom, 1)); transform-origin: 50% 30%; will-change: transform; }
[data-wechsel] img { opacity: 0; transition: opacity 1.4s ease; }
[data-wechsel] img.is-da { opacity: 1; }
/* Projekte mit mehreren Ansichten: Bilder blenden im Fenster ineinander, darunter die Auswahl */
[data-rolle] img { opacity: 0; transition: opacity .8s ease; }
[data-rolle] img.is-da { opacity: 1; }
/* Lange Seitenaufnahmen laufen im Fenster einmal nach unten und wieder zurück (100cqh = Höhe des Fensters) */
[data-rolle] { container-type: size; }
[data-rolle] img[data-lang] { inset: 0 auto auto 0; height: auto; object-fit: fill; will-change: transform; }
[data-rolle] img[data-lang].is-da { animation: rolle-lauf 7.4s cubic-bezier(.45, 0, .35, 1) .7s infinite alternate; }
@keyframes rolle-lauf { 0%, 6% { transform: none; } 94%, 100% { transform: translateY(calc(100cqh - 100%)); } }
.rolle-wahl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rolle-wahl button {
  font: inherit; font-size: 14px; font-weight: 500; line-height: 1; color: var(--muted); cursor: pointer;
  padding: 9px 14px; border-radius: 999px; border: 1px solid #D5DCE4; background: var(--bg);
  transition: color .25s, background-color .25s, border-color .25s;
}
.rolle-wahl button:hover { color: var(--ink); border-color: var(--ink); }
.rolle-wahl button[aria-pressed="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.rolle-wahl button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.handy { background: var(--ink); padding: 3.4%; border-radius: clamp(16px, 2.3vw, 34px); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 28px 50px -22px rgba(15,23,32,.5), 0 8px 18px -10px rgba(15,23,32,.3); }
.handy .geraet-schirm { aspect-ratio: 780 / 1688; border-radius: clamp(11px, 1.7vw, 25px); background: #14181D; }
/* Im Handy liegt eine lange Aufnahme der Seite, die im Rahmen langsam durchläuft (100cqh = Höhe des Bildschirms) */
.handy .geraet-schirm { container-type: size; }
.handy .geraet-schirm img { inset: 0 auto auto 0; height: auto; object-fit: fill; will-change: transform; }
[data-handy] img { opacity: 0; transition: opacity .7s ease, transform 0s .7s; }
[data-handy] img.is-da { opacity: 1; }
[data-handy] img.rollt { transform: translateY(calc(100cqh - 100%)); transition: opacity .7s ease, transform 5.2s cubic-bezier(.45, 0, .25, 1) .9s; }
.handy-lauf img { animation: handy-lauf 16s cubic-bezier(.45, 0, .35, 1) 1s infinite alternate; }
@keyframes handy-lauf { 0%, 8% { transform: none; } 92%, 100% { transform: translateY(calc(100cqh - 100%)); } }
.schwebe { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* ===================== Erster Bildschirm ===================== */
.hero { padding: clamp(104px, 10.5vw, 168px) var(--m) clamp(72px, 9vw, 140px); }
.hero-title { font-size: var(--s1); font-weight: 700; letter-spacing: -0.05em; line-height: .96; }
.zeile { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; white-space: nowrap; }
.zeile > span { display: block; }
.zeile:nth-child(2) > span { color: var(--accent); }

/* Auftritt beim Laden: Übergänge statt Keyframes. Ohne Skript, ohne Bildfolge oder wenn etwas hängt,
   steht alles sofort sichtbar da (Klassen .fest und .ohne-animation). */
.js .zeile > span { transform: translateY(108%); }
.js .hero-text { opacity: 0; transform: translateY(18px); }
.js .hero-buehne { opacity: 0; transform: translateY(48px) scale(.97); }
.js.los .zeile > span { transform: none; transition: transform 1.1s var(--ease); }
.js.los .zeile:nth-child(2) > span { transition-delay: .1s; }
.js.los .hero-text { opacity: 1; transform: none; transition: opacity .9s var(--ease) .35s, transform .9s var(--ease) .35s; }
.js.los .hero-buehne { opacity: 1; transform: none; transition: opacity 1.2s var(--ease) .2s, transform 1.2s var(--ease) .2s; }
.fest .zeile > span, .fest .hero-text, .fest .hero-buehne,
.ohne-animation .zeile > span, .ohne-animation .hero-text, .ohne-animation .hero-buehne {
  opacity: 1 !important; transform: none !important; transition: none !important;
}

.hero-unten {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  margin-top: clamp(28px, 3.6vw, 60px); align-items: start;
}
.hero-text { grid-column: 1 / 5; padding-top: clamp(4px, 2.4vw, 40px); }
.hero-sub { font-size: var(--s4); line-height: 1.55; max-width: 24em; }
.hero-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(24px, 2.6vw, 40px); }
.hero-buehne { grid-column: 5 / 13; position: relative; }
/* Das Handy hängt über die rechte Kante des Browserfensters, damit es keinen Text im Bild verdeckt */
.hero-buehne > .schwebe:first-child { margin-right: 9%; }
.hero-handy { position: absolute; z-index: 2; right: 0; bottom: 18%; width: 18.5%; }
.hero-caption { margin-top: 16px; text-align: right; font-size: var(--s5); font-weight: 500; color: var(--muted); max-width: none; }
.hero-caption span { display: inline-block; color: var(--ink); }
.hero-caption span.wechsel { animation: caption-in .45s var(--ease); }
@keyframes caption-in { from { opacity: 0; transform: translateY(8px); } }

/* ===================== Eintritt der Abschnitte ===================== */
.js .rise { opacity: 0; transform: translateY(30px); }
.js .rise.in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.ohne-animation .rise { opacity: 1 !important; transform: none !important; }

/* Kopf eines Abschnitts: Überschrift links, ein Satz rechts */
.kopf { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; }
.kopf h2 { grid-column: 1 / 8; font-size: var(--s2); }
.kopf p { grid-column: 9 / 13; font-size: var(--s4); }

/* ===================== Leistungen ===================== */
.leistungen { background: var(--surface); padding: var(--section) var(--m); }
.leistungen-raster {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  margin-top: clamp(48px, 6vw, 96px); align-items: start;
}
.leistungen-liste { grid-column: 1 / 8; display: grid; gap: 6px; }
.leistung {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gap); align-items: center;
  padding: clamp(18px, 2vw, 30px) clamp(16px, 1.8vw, 28px); margin-inline: calc(clamp(16px, 1.8vw, 28px) * -1);
  border-radius: var(--r); color: var(--muted); cursor: default;
  transition: background-color .35s, color .35s;
}
.leistung h3 { font-size: var(--s2); transition: transform .5s var(--ease), color .35s; }
.leistung p { font-size: var(--s4); }
.leistung img { display: none; }
.leistung.is-aktiv { background: #fff; color: var(--ink); }
.leistung.is-aktiv h3 { color: var(--accent); transform: translateX(10px); }
.leistung:focus-visible { outline-offset: -3px; }
.leistungen-bild {
  grid-column: 9 / 13; position: sticky; top: 14vh;
  aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: #DCE3EB;
}
.leistungen-bild img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}
.leistungen-bild img.is-da { opacity: 1; transform: none; }

/* ===================== 3D-Druck nach Wunsch ===================== */
.druck {
  background: var(--accent); color: #fff;
  padding: clamp(80px, 9vw, 150px) var(--m);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center;
  overflow: hidden;
}
.druck ::selection { background: #fff; color: var(--accent); }
.druck :focus-visible { outline-color: #fff; }
.druck-text { grid-column: 1 / 8; display: grid; gap: clamp(20px, 2.2vw, 32px); justify-items: start; }
.druck h2 { font-size: clamp(34px, 6.2vw, 104px); letter-spacing: -0.045em; line-height: .98; }
.druck p { font-size: var(--s3); line-height: 1.4; max-width: 26em; }
/* Die Schichten: von unten nach oben gestapelt, Umriss wie das Sechseck im Logo */
.schichten {
  grid-column: 8 / 13; display: flex; flex-direction: column-reverse; align-items: center;
  gap: clamp(5px, .6vw, 9px); width: 100%; max-width: 470px; justify-self: center;
}
.schichten i {
  display: block; width: var(--w); height: clamp(11px, 1.5vw, 22px); border-radius: 999px; background: #fff;
  transform-origin: left center; opacity: calc(.55 + var(--n) * .034);
}
.js .schichten i { transform: scaleX(.86); opacity: .2; }
.js .schichten.in i { transform: none; opacity: calc(.55 + var(--n) * .034); transition: transform .55s var(--ease-in-out), opacity .45s; transition-delay: calc(var(--n) * 110ms + 150ms); }
.js .schichten.in i:nth-child(even) { transform-origin: right center; }
.ohne-animation .schichten i { transform: none !important; opacity: calc(.55 + var(--n) * .034) !important; }

/* ===================== Projekte ===================== */
.projekte { padding: var(--section) var(--m) clamp(110px, 12vw, 190px); }
.projekt {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end;
  margin-top: clamp(110px, 12vw, 200px);
}
.kopf + .projekt { margin-top: clamp(56px, 7vw, 110px); }
.projekt-bild { grid-row: 1; position: relative; }
.projekt-text { grid-row: 1; display: grid; gap: 14px; padding-bottom: 6px; }
.projekt.links .projekt-bild { grid-column: 1 / 8; }
.projekt.links.breit .projekt-bild { grid-column: 1 / 9; }
.projekt.links .projekt-text { grid-column: 9 / 13; }
.projekt.rechts .projekt-bild { grid-column: 6 / 13; }
.projekt.rechts.breit .projekt-bild { grid-column: 5 / 13; }
.projekt.rechts .projekt-text { grid-column: 1 / 5; }
.projekt h3 { font-size: var(--s3); letter-spacing: -0.03em; overflow-wrap: anywhere; }
.projekt-text p { font-size: var(--s4); }
.projekt-fakt { color: var(--muted); font-size: var(--s5) !important; }
.projekt-handy { position: absolute; z-index: 2; left: -11%; bottom: -10%; width: 23%; }
.projekt .browser { transition: border-color .4s; }

/* ===================== Ablauf ===================== */
.ablauf {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  padding: var(--section) var(--m) clamp(24px, 4vw, 64px);
  background: var(--surface);
}
.ablauf-text { grid-column: 1 / 6; }
.ablauf-text h2 { font-size: var(--s2); }
.schritt {
  min-height: 78vh; display: flex; flex-direction: column; justify-content: center; gap: 16px;
  color: var(--muted);
}
.schritt:last-child { min-height: 70vh; }
.schritt-satz {
  font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em;
  font-size: var(--s3); line-height: 1.2; max-width: 16em;
  transition: color .4s;
}
.schritt p:not(.schritt-satz) { max-width: 30em; font-size: var(--s4); transition: color .4s; }
.schritt.is-aktiv { color: var(--ink); }
.schritt.is-aktiv .schritt-satz { color: var(--accent); }

.ablauf-buehne {
  grid-column: 7 / 13;
  position: sticky; top: 12vh; align-self: start;
  margin-top: calc(var(--s2) * 1.2 + 6vh);
  background: #fff; border-radius: var(--r);
  padding: clamp(20px, 2.4vw, 36px);
}
.probe { display: grid; gap: 8px; margin-bottom: 20px; }
.probe label { font-size: var(--s5); font-weight: 500; }
.probe input {
  font: 600 var(--s4)/1.2 var(--f-text); color: var(--ink);
  background: #fff; border: 2px solid transparent; border-radius: var(--r);
  padding: 14px 16px; width: 100%;
  transition: border-color .2s;
}
.probe input:hover { border-color: #C3CDD8; }
.probe input:focus { outline: none; border-color: var(--accent); }

/* Das Browserfenster (Oberflächen-Ausschnitt, hier sind Linien erlaubt) */
.fenster {
  background: #fff; border-radius: 8px; overflow: hidden;
  border: 1px solid #D5DCE4; /* taste-skill-ignore: Rahmen des Browserfensters */
  font-family: var(--f-text);
}
.fenster-leiste { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #EEF2F6; border-bottom: 1px solid #E1E6EC; /* taste-skill-ignore: Fensterleiste */ }
.punkte { display: flex; gap: 6px; }
.punkte i { width: 10px; height: 10px; border-radius: 50%; background: #C5CED8; }
.adresse {
  flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0;
  background: #fff; border-radius: 999px; padding: 6px 12px;
  font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden;
}
.adresse [data-pfad] { overflow: hidden; text-overflow: ellipsis; }
.schloss { width: 13px; height: 13px; fill: #2E7D4F; flex: none; opacity: 0; width: 0; transition: opacity .3s, width .3s; }
.fenster[data-zustand="live"] .schloss { opacity: 1; width: 13px; }
.fenster[data-zustand="live"] .adresse { color: var(--ink); }

.fenster-inhalt { position: relative; aspect-ratio: 16 / 11; }
.lage { position: absolute; inset: 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.lage-skizze { background: #fff; }
.fenster[data-zustand="skizze"] .lage-design,
.fenster:not([data-zustand="skizze"]) .lage-skizze {
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s .6s;
}
.fenster[data-zustand="skizze"] .lage-design { transform: scale(.985); }
.fenster:not([data-zustand="skizze"]) .lage-skizze { transform: scale(1.015); }

.mini-nav { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); }
.mini-nav b { margin-right: auto; font-family: var(--f-display); font-size: 14px; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.mini-hero { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; background: #EEF2F6; border-radius: 6px; padding: 18px; min-height: 0; }
.mini-text { display: flex; flex-direction: column; gap: 10px; justify-content: center; min-width: 0; }
.mini-titel { font-family: var(--f-display); font-weight: 700; font-size: clamp(18px, 1.7vw, 26px); line-height: 1.05; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.mini-zeile { font-size: 12px; line-height: 1.45; color: var(--muted); }
.mini-knopf { align-self: start; background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; padding: 7px 12px; border-radius: 999px; }
.mini-bild { border-radius: 4px; overflow: hidden; min-height: 0; }
.mini-bild img { width: 100%; height: 100%; object-fit: cover; }
.mini-reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-reihe span { background: #EEF2F6; border-radius: 4px; padding: 10px; font-size: 11px; font-weight: 600; }

/* Skizze: alles grau, nur Aufbau */
.lage-skizze .mini-hero, .lage-skizze .mini-reihe i { background: #F4F4F2; border: 1.5px dashed #C9C6C0; }
.lage-skizze .mini-nav b, .lage-skizze .mini-titel { color: #6E737A; font-family: var(--f-text); font-weight: 600; letter-spacing: 0; }
.lage-skizze .mini-nav i { width: 40px; height: 8px; border-radius: 4px; background: #E3E1DC; }
.lage-skizze .strich { display: block; height: 8px; border-radius: 4px; background: #E3E1DC; width: 90%; }
.lage-skizze .strich.kurz { width: 60%; }
.lage-skizze .knopf-skizze { display: block; width: 92px; height: 24px; border-radius: 999px; border: 1.5px dashed #B9B5AE; }
.lage-skizze .skizze-bild { border: 1.5px dashed #C9C6C0; background: #F4F4F2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0L100 100M100 0L0 100' stroke='%23D9D6D0' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.lage-skizze .mini-reihe i { display: block; height: 34px; border-radius: 4px; }

.fenster-status {
  display: flex; gap: 18px; padding: 10px 16px; font-size: 12px; color: var(--muted);
  border-top: 1px solid #E6EBF0; /* taste-skill-ignore: Statusleiste des Fensters */
  transform: translateY(100%); opacity: 0; height: 0; padding-block: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease), height .5s var(--ease), padding .5s var(--ease);
}
.fenster[data-zustand="live"] .fenster-status { transform: none; opacity: 1; height: 38px; padding-block: 10px; }
.status-online { color: #2E7D4F; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.status-online::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.buehne-notiz { margin-top: 16px; font-size: var(--s5); color: var(--muted); min-height: 1.5em; }
.buehne-notiz.wechsel { animation: caption-in .45s var(--ease); }


/* ===================== Über mich ===================== */
.ueber { padding: var(--section) var(--m) clamp(96px, 10vw, 160px); }
.ueber h2 { font-size: clamp(34px, 7vw, 104px); font-weight: 700; letter-spacing: -0.05em; line-height: .96; max-width: 11em; }
.ueber-raster {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  margin-top: clamp(48px, 6vw, 88px);
}
.ueber-text { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 20px; max-width: 36em; }
.ueber-text > p:first-child { font-size: var(--s3); line-height: 1.35; font-family: var(--f-display); font-weight: 500; letter-spacing: -0.015em; }
.fakten { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 0; }
.fakten div { background: var(--surface); border-radius: var(--r); padding: 16px 18px; transition: transform .35s var(--ease), background-color .3s; }
.fakten div:hover { transform: translateY(-3px); background: #E3EAF1; }
.fakten dt { font-size: var(--s5); color: var(--muted); }
.fakten dd { margin: 2px 0 0; font-weight: 600; }
.ueber-bild { grid-column: 8 / 13; margin: 0; }
.ueber-bild-rahmen { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); }
.ueber-bild img {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%;
  animation: langsam 22s ease-in-out infinite alternate;
}
@keyframes langsam { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, 1%); } }
.ueber-bild figcaption { margin-top: 12px; font-size: var(--s5); color: var(--muted); }

/* ===================== Kontakt ===================== */
.kontakt {
  background: var(--deep); color: var(--deep-ink);
  padding: clamp(88px, 10vw, 160px) var(--m) 48px;
  display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px);
}
.kontakt h2 { font-family: var(--f-display); font-size: var(--s3); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; max-width: 30em; }
.themen { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.themen legend { font-size: var(--s5); color: var(--deep-muted); margin-bottom: 12px; padding: 0; }
.themen label { cursor: pointer; }
.themen input { position: absolute; opacity: 0; pointer-events: none; }
.themen span {
  display: inline-block; padding: 12px 20px; border-radius: 999px;
  background: #1A2836; color: var(--deep-ink); font-size: var(--s5); font-weight: 500;
  transition: background-color .2s, color .2s, transform .25s var(--ease);
}
.themen label:hover span { background: #243547; transform: translateY(-2px); }
.themen label:active span { transform: scale(.96); }
.themen input:checked + span { background: var(--deep-accent); color: var(--deep); }
.themen input:focus-visible + span { outline: 3px solid var(--deep-accent); outline-offset: 3px; }

.mail {
  display: block; text-decoration: none; color: var(--deep-ink);
  font-family: var(--f-display); font-weight: 500; letter-spacing: -0.045em; line-height: 1;
  font-size: 6vw; white-space: nowrap;
  transition: color .3s;
}
.mail span { display: inline-block; transition: transform .5s var(--ease); }
.mail:hover, .mail:focus-visible { color: var(--deep-accent); }
.mail:hover span:last-child { transform: translateX(.08em); }
.mail:focus-visible { outline-color: var(--deep-accent); }

.kontakt-unten { display: flex; justify-content: space-between; gap: 24px; font-size: var(--s5); color: var(--deep-muted); }
.kontakt-unten p:last-child { text-align: right; }
.kontakt-unten a { color: var(--deep-ink); }

/* ===================== Fuß: gleiche dunkle Fläche, der Name schließt die Seite ===================== */
.fuss {
  background: var(--deep); color: var(--deep-muted);
  padding: clamp(40px, 5vw, 72px) var(--m) 0; font-size: var(--s5);
}
.fuss-zeile { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 16px 24px; }
.fuss-links { display: flex; gap: 24px; }
.fuss-links a { color: var(--deep-ink); }
.fuss-jahr { text-align: right; }
.fuss-credits { margin-top: 20px; font-size: 13px; line-height: 1.5; max-width: 62ch; }
.fuss :focus-visible { outline-color: var(--deep-accent); }
.fuss-name {
  max-width: none; margin: clamp(40px, 6vw, 96px) 0 0; padding-bottom: clamp(20px, 2.6vw, 40px);
  font-family: var(--f-display); font-weight: 700; letter-spacing: -0.055em; line-height: .86;
  font-size: 11.6vw; white-space: nowrap; color: #1D3650;
}
.fuss-name span { display: inline; }

/* ===================== Mittlere Breiten ===================== */
@media (max-width: 1180px) {
  .nav-links { gap: 20px; }
  .leistung { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero-text, .hero-buehne { grid-column: 1 / -1; }
  .hero-sub { max-width: 26em; }
  .hero-buehne { margin-top: 20px; }
  .hero-buehne > .schwebe:first-child { margin-right: 0; }
  .hero-handy { right: 5%; bottom: -8%; width: 22%; }
  .hero-caption { text-align: left; margin-top: 14px; }
  .kopf h2, .kopf p { grid-column: 1 / -1; }
  .leistungen-liste { grid-column: 1 / -1; gap: 14px; }
  .leistungen-bild { display: none; }
  .leistung { background: #fff; color: var(--ink); margin-inline: 0; padding: 0 0 22px; overflow: hidden; gap: 10px; }
  .leistung h3, .leistung p { padding-inline: 20px; }
  .leistung h3, .leistung.is-aktiv h3 { color: var(--accent); transform: none; }
  .leistung img { display: block; order: -1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 10px; }
  .druck-text, .schichten { grid-column: 1 / -1; }
  .schichten { max-width: 300px; margin-top: 40px; }
  .projekt { margin-top: clamp(72px, 12vw, 120px); }
  .projekt .projekt-bild, .projekt .projekt-text { grid-column: 1 / -1 !important; grid-row: auto; }
  .projekt.rechts .projekt-bild { margin-left: 8%; }
  .projekt.links:not(.breit) .projekt-bild { margin-right: 8%; }
  .projekt-text { margin-top: 12px; }
  .projekt-handy { left: -9%; bottom: -8%; width: 24%; }
  .projekt:has(.projekt-handy) .projekt-text { margin-top: 48px; }
  /* Ablauf: das Fenster kommt nach oben und bleibt stehen, die Schritte laufen darunter durch */
  .ablauf { display: flex; flex-direction: column; }
  .ablauf-text { display: contents; }
  .ablauf-text h2 { order: 0; }
  .ablauf-buehne { order: 1; align-self: stretch; position: sticky; top: 0; z-index: 2; margin: 24px calc(var(--m) * -1) 0; padding: 12px var(--m); border-radius: 0; }
  .schritt { order: 2; min-height: 60svh; }
  .schritt:last-child { min-height: 50svh; }
  .probe { grid-template-columns: auto 1fr; align-items: center; gap: 12px; margin-bottom: 10px; }
  .probe input { padding: 9px 12px; font-size: 16px; }
  .buehne-notiz { display: none; }
  .ueber-text, .ueber-bild { grid-column: 1 / -1; }
  .ueber-bild { margin-top: 32px; }
  .ueber-bild-rahmen { aspect-ratio: 4 / 3; }
}

@media (max-width: 700px) {
  .nav { padding-block: 14px; }
  .nav-logo img { height: 38px; }
  .nav.is-fest .nav-logo img { height: 34px; }
  .btn { padding: 11px 16px; }
  .btn-gross { padding: 15px 22px; font-size: var(--s5); }
  .hero { padding-top: 100px; padding-bottom: 88px; }
  .hero-title { font-size: 10.6vw; }
  .hero-sub { font-size: var(--s4); }
  .hero-aktionen { gap: 12px 24px; }
  .hero-buehne { margin-top: 28px; }
  .hero-handy { width: 27%; right: 5%; bottom: -13%; }
  .hero-caption { margin-top: 18px; padding-right: 36%; }
  .kopf { gap: 14px; }
  .leistungen, .projekte, .ueber { padding-top: 88px; }
  .leistung img { border-radius: 0; }
  .druck { padding-block: 84px; }
  .druck h2 { font-size: 10.6vw; }
  .druck p { font-size: var(--s4); }
  .schichten { max-width: none; width: 82%; margin: 48px auto 0; gap: 6px; }
  .schichten i { height: 13px; }
  .projekt-handy { width: 27%; bottom: -12%; }
  .projekt:has(.projekt-handy) .projekt-text { margin-top: 64px; }
  .ueber h2 { font-size: 10.6vw; }
  .fuss-name { white-space: normal; font-size: 20vw; line-height: .9; color: #213C58; }
  .fuss-name span { display: block; }
  .geraet-leiste { padding: 7px 10px; gap: 8px; }
  .punkte i { width: 7px; height: 7px; }
  .geraet-titel { font-size: 13px; padding: 3px 10px; }
  .geraet-leiste::after { width: 25px; }
  .probe { grid-template-columns: 1fr; gap: 6px; }
  .probe label { font-size: 14px; }
  .fenster-inhalt { aspect-ratio: 16 / 10; }
  .lage { padding: 10px; gap: 8px; }
  .mini-hero { padding: 10px; gap: 10px; }
  .mini-zeile, .mini-reihe { display: none; }
  .mini-nav span { display: none; }
  .fakten { grid-template-columns: 1fr; }
  .mail { font-size: 10.4vw; white-space: normal; }
  .mail span { display: block; }
  .kontakt-unten { flex-direction: column; gap: 12px; }
  .kontakt-unten p:last-child { text-align: left; }
  .fuss-zeile { grid-template-columns: 1fr; gap: 8px; }
  .fuss-jahr { text-align: left; }
}

/* ===================== Weniger Bewegung ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rise { opacity: 1; transform: none; }
  .js .schichten i { transform: none; opacity: calc(.55 + var(--n) * .034); }
  .schwebe { transform: none; }
  .geraet-schirm img[data-zoom] { transform: none; }
  [data-handy] img.rollt { transform: none; }
  .handy-lauf img { animation: none; }
  [data-rolle] img[data-lang].is-da { animation: none; }
  .nav.is-weg { transform: none; }
}
