/* raphael-huerler.de – Webdesign
   Statisch, ohne externe Dienste. Schriften lokal (SIL Open Font License). */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Dunkles Erscheinungsbild – angelehnt an die Bewerbungsseite */
  --bg: #070a0f;
  --bg-soft: #0a0f17;
  --panel: rgba(11, 16, 24, .78);
  --panel-solid: #0b1018;
  --text: #f4f5fa;
  --muted: #9fb0c3;
  --teal: #55d9ff;          /* Cyan-Akzent */
  --teal-soft: rgba(85, 217, 255, .1);
  --coral: #55d9ff;
  --amber: #b49bff;
  --violet: #9676ff;
  --sun: #9676ff;
  --peach: rgba(150, 118, 255, .12);
  --border: rgba(255, 255, 255, .1);
  --border-strong: rgba(147, 197, 253, .44);
  --shadow: 0 18px 50px rgba(0, 0, 0, .22);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .4);
  --grad: linear-gradient(100deg, #55d9ff 0%, #b8c9ff 45%, #9676ff 100%);
  --max: 1760px;
  --head: "Hanken Grotesk", "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  background:
    radial-gradient(1000px 800px at 0 0, rgba(85, 217, 255, .08), transparent 70%),
    radial-gradient(1000px 800px at 100% 0, rgba(150, 118, 255, .10), transparent 70%),
    linear-gradient(180deg, #04070d, #080c14) no-repeat;
  overflow-x: clip;
}
body > main { flex: 1 0 auto; }
img { max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--text); color: #fff; padding: 12px 18px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 10px; left: 10px; right: 10px;
  z-index: 50;
  min-height: 78px;
  max-width: calc(var(--max) - 20px);
  margin-inline: auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 252, 247, .84);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 12px 40px rgba(78, 58, 34, .08);
}
.brand {
  text-decoration: none;
  display: grid;
  gap: 5px;
  white-space: nowrap;
}
.brand b { font-size: 21px; line-height: 1; letter-spacing: .18em; font-weight: 700; }
.brand small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.main-nav { display: flex; align-items: center; }
.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color .16s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"]::before {
  content: ""; position: absolute; left: 0; bottom: -10px;
  width: 24px; height: 3px; border-radius: 3px; background: var(--grad);
}
.main-nav a + a:not(.nav-cta) { margin-left: 0; }
.main-nav a:not(.nav-cta):not(:nth-last-child(2))::after {
  content: ""; width: 4px; height: 4px; margin: 0 20px; border-radius: 50%;
  background: rgba(86, 98, 114, .4);
}
.main-nav .nav-cta {
  margin-left: 28px;
  padding: 12px 22px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 8px 22px rgba(11, 135, 150, .25);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.main-nav .nav-cta, .main-nav .nav-cta[aria-current="page"] { color: #fff; }
.main-nav .nav-cta:hover { color: #fff; background: #08707d; transform: translateY(-1px); }
.main-nav .nav-cta[aria-current="page"]::before { display: none; }
.menu-button { display: none; }

/* ---------- Buttons ---------- */
.button {
  min-height: 58px;
  padding: 0 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-primary {
  min-width: 230px;
  color: #fff;
  background: linear-gradient(100deg, #e2603f 0%, #e8833a 55%, #eea23a 100%);
  box-shadow: 0 12px 28px rgba(226, 96, 63, .28);
}
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(226, 96, 63, .36); }
.button-secondary {
  min-width: 190px;
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, .75);
}
.button-secondary:hover { transform: translateY(-2px); border-color: var(--teal); background: #fff; }

/* ---------- Hero ---------- */
.hero {
  min-height: 860px;
  width: min(calc(100% - 128px), 1680px);
  margin: 0 auto;
  padding: 130px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 640px);
  gap: 64px;
  align-items: center;
  position: relative;
}
.eyebrow {
  margin: 0 0 24px;
  color: var(--teal);
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: .2em;
  font-weight: 700;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: var(--head);
  font-size: clamp(50px, 5.2vw, 82px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 700;
}
.hero h1 em, .grad-text {
  font-style: normal;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-intro {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 48px; color: var(--muted); font-size: 16px; font-weight: 600; }
.facts i { width: 1px; height: 26px; background: var(--border); }

.portrait-panel {
  position: relative;
  height: min(720px, calc(100vh - 150px));
  min-height: 580px;
  border-radius: 24px;
  padding: 2px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(247, 185, 85, .95), rgba(255, 255, 255, .6) 45%, rgba(11, 135, 150, .8));
  box-shadow: var(--shadow-lg);
}
.portrait-panel img {
  width: 100%; height: 100%;
  display: block;
  border-radius: 22px;
  object-fit: cover;
  object-position: center 30%;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.portrait-panel:hover img { transform: scale(1.015); }
.corner { position: absolute; z-index: 3; color: rgba(255, 255, 255, .85); font: 300 30px/1 Arial, sans-serif; text-shadow: 0 1px 6px rgba(0, 0, 0, .18); }
.corner-tl { left: 16px; top: 14px; } .corner-tr { right: 16px; top: 14px; }
.corner-bl { left: 16px; bottom: 14px; } .corner-br { right: 16px; bottom: 14px; }
.portrait-badge {
  position: absolute; z-index: 3; left: 22px; bottom: 22px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  font-size: 14px; font-weight: 700;
}
.portrait-badge i { width: 10px; height: 10px; border-radius: 50%; background: #2fb36d; box-shadow: 0 0 0 4px rgba(47, 179, 109, .2); }

/* Platzhalter, solange das Porträt fehlt */
.portrait-placeholder {
  position: absolute; inset: 2px; border-radius: 22px;
  display: none; place-content: center; text-align: center; gap: 10px;
  padding: 40px;
  color: #fff;
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 244, 214, .95), transparent 18%),
    linear-gradient(180deg, #9fd8ec 0%, #c9ecf2 38%, #8cc58a 39%, #5fa86a 58%, #3d9db4 59%, #2b8aa6 100%);
}
.portrait-placeholder strong { font-family: var(--head); font-size: 26px; text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.portrait-placeholder span { font-size: 14px; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.portrait-panel.is-missing img { display: none; }
.portrait-panel.is-missing .portrait-placeholder { display: grid; }

/* ---------- Fokus-Leiste ---------- */
.focus-strip {
  width: min(calc(100% - 128px), 1680px);
  margin: 0 auto 40px;
  padding: 26px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--shadow);
}
.focus-strip p { margin: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--text); font-weight: 600; text-align: center; }
.focus-strip svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sektionen ---------- */
.section { position: relative; padding: 130px 0; scroll-margin-top: 94px; }
.section-alt { background: linear-gradient(180deg, var(--bg-soft), rgba(244, 238, 229, .4)); border-block: 1px solid rgba(30, 41, 53, .05); }
.shell { width: min(calc(100% - 128px), 1680px); margin: 0 auto; }
.shell-narrow { width: min(calc(100% - 128px), 1000px); margin: 0 auto; }
.section-heading { max-width: 900px; margin-bottom: 64px; }
.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .7fr);
  gap: 72px;
  align-items: end;
}
.kicker {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.kicker span { color: var(--coral); margin-right: 14px; }
.section-heading h2, .cta-inner h2, .page-hero h1 {
  margin: 0;
  font-family: var(--head);
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: 1.03;
  letter-spacing: -.04em;
  font-weight: 700;
}
.section-heading h2 em, .cta-inner h2 em, .page-hero h1 em {
  display: block;
  font-style: normal;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
}
.section-heading > p, .split-heading > p { margin: 26px 0 0; color: var(--muted); font-size: 19px; line-height: 1.7; }
.split-heading > p { margin: 0 0 8px; }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; color: var(--teal); font-weight: 700; text-decoration: none; }
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.more-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Seitenkopf der Unterseiten */
.page-hero { width: min(calc(100% - 128px), 1680px); margin: 0 auto; padding: 190px 0 70px; }
.page-hero.shell-narrow { width: min(calc(100% - 128px), 1000px); padding-bottom: 20px; }
.page-hero .lead { max-width: 820px; margin: 26px 0 0; color: var(--muted); font-size: clamp(18px, 1.4vw, 21px); line-height: 1.65; }

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 54px; height: 54px; margin-bottom: 30px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--peach);
  color: var(--coral);
}
.card:nth-child(3n+2) .card-icon { background: var(--teal-soft); color: var(--teal); }
.card:nth-child(3n) .card-icon { background: #fff1d6; color: var(--amber); }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.section-tight-top { padding-top: 40px; }
.card h3, .card .h3-like { margin: 0 0 12px; font-family: var(--head); font-size: 25px; line-height: 1.2; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.card li + li { margin-top: 8px; }
.card li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg);
}

/* ---------- Referenzen ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ref-grid.ref-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ref-grid.ref-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1399px) { .ref-grid.ref-grid-4 { grid-template-columns: repeat(2, 1fr); } }
.ref-card {
  min-width: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ref-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.browser-bar {
  height: 46px; padding: 0 16px;
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--border);
  background: #faf6f0;
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: #f28b74; }
.browser-dots i:nth-child(2) { background: #f5c25b; }
.browser-dots i:nth-child(3) { background: #6cc79a; }
.browser-domain { flex: 1; overflow: hidden; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--muted); font-size: 12.5px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.ref-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.ref-shot img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.ref-card:hover .ref-shot img { transform: scale(1.03); }
.ref-tile {
  position: absolute; inset: 0;
  display: grid; place-content: center; gap: 10px; padding: 24px; text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(247, 185, 85, .45), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(11, 135, 150, .30), transparent 50%),
    #fdf4ea;
}
.ref-tile strong { font-family: var(--head); font-size: clamp(26px, 2.4vw, 38px); line-height: 1.05; letter-spacing: -.03em; }
.ref-tile span { color: var(--muted); font-size: 14px; font-weight: 600; }
.ref-meta { flex: 1; padding: 22px 24px 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.ref-meta h3, .ref-meta .h3-like { margin: 0 0 6px; font-family: var(--head); font-size: 21px; letter-spacing: -.01em; }
.ref-meta p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.ref-meta .tag { display: inline-block; margin-bottom: 10px; color: var(--teal); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ref-arrow { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; color: var(--teal); transition: background .2s ease, color .2s ease; }
.ref-card:hover .ref-arrow { background: var(--teal); color: #fff; }
.ref-arrow svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.feature-ref {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--border); border-radius: 24px;
  background: var(--panel); box-shadow: var(--shadow);
}
.feature-ref .ref-shot { aspect-ratio: auto; min-height: 380px; }
.feature-ref .ref-tile strong { font-size: clamp(40px, 4vw, 64px); }
.feature-copy { padding: 48px; }
.feature-copy h2, .feature-copy h3 { margin: 0 0 14px; font-family: var(--head); font-size: clamp(30px, 2.6vw, 40px); letter-spacing: -.03em; line-height: 1.1; }
.feature-copy p { margin: 0 0 14px; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.tag-row span { padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 13px; font-weight: 600; }

.clients { margin-top: 90px; padding-top: 48px; border-top: 1px solid var(--border); }
.client-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.client-list li { padding: 12px 18px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, .8); font-weight: 600; font-size: 15px; }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block; margin-bottom: 34px;
  font-family: var(--head); font-size: 44px; font-weight: 700; letter-spacing: -.04em; line-height: 1;
  color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text;
}
.step h3, .step .h3-like { margin: 0 0 10px; font-family: var(--head); font-size: 23px; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

.timeline-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 84px; }
.subheading { position: sticky; top: 130px; align-self: start; }
.subheading > p { margin: 0 0 16px; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.subheading h2, .subheading h3 { margin: 0; font-family: var(--head); font-size: 40px; line-height: 1.08; letter-spacing: -.035em; }
.timeline { border-top: 1px solid var(--border); }
.timeline-entry { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.timeline-entry .when { color: var(--coral); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.timeline-entry h3 { margin: -4px 0 8px; font-family: var(--head); font-size: 24px; letter-spacing: -.02em; }
.timeline-entry p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 16px; background: var(--panel); box-shadow: 0 6px 20px rgba(78, 58, 34, .05); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 60px 22px 26px; position: relative; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--teal); font: 400 28px/1 Arial, sans-serif; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 26px 24px; color: var(--muted); }

/* Hinweis-Box */
.note-box {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px 28px; border-radius: 18px;
  background: var(--teal-soft); border: 1px solid rgba(11, 135, 150, .2);
}
.note-box svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.note-box p { margin: 0; color: var(--text); }

/* ---------- Kontakt / CTA ---------- */
.cta { position: relative; overflow: hidden; padding: 150px 0 130px; text-align: center; }
.cta-glow { position: absolute; left: 50%; top: 50%; width: min(1000px, 92vw); height: 460px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(247, 185, 85, .32), rgba(11, 135, 150, .14) 45%, transparent 72%); filter: blur(18px); pointer-events: none; }
.cta-inner { position: relative; width: min(calc(100% - 64px), 960px); margin: 0 auto; }
.cta-inner > p:not(.kicker) { margin: 26px auto 0; max-width: 720px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 40px; }
.contact-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin-top: 40px; color: var(--muted); font-size: 15px; }
.contact-details a { text-decoration: none; font-weight: 600; }
.contact-details a:hover { color: var(--teal); }

.contact-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.contact-avatar img { display: block; width: clamp(160px, 16vw, 240px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow-lg); }
.note-box-spaced { margin-top: 28px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { display: block; padding: 34px; border-radius: 20px; border: 1px solid var(--border); background: var(--panel); box-shadow: var(--shadow); text-decoration: none; transition: transform .24s ease, border-color .24s ease; }
a.contact-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.contact-card .card-icon { margin-bottom: 26px; }
.contact-card h2 { margin: 0 0 8px; font-family: var(--head); font-size: 22px; letter-spacing: -.01em; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card strong { display: block; margin-top: 14px; font-size: 18px; color: var(--teal); word-break: break-word; }

/* ---------- Rechtstexte ---------- */
.legal { padding-bottom: 120px; }
.legal h2 { margin: 52px 0 12px; font-family: var(--head); font-size: 28px; letter-spacing: -.02em; }
.legal h3 { margin: 30px 0 8px; font-size: 19px; }
.legal p, .legal li { color: #3c4756; line-height: 1.75; }
.legal ul { padding-left: 22px; }
.legal address { font-style: normal; line-height: 1.8; }
.legal a { color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer {
  width: min(calc(100% - 128px), 1680px);
  margin: 0 auto;
  padding: 36px 0 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px 30px;
  border-top: 1px solid var(--border);
}
.site-footer .brand b { font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--teal); }
.footer-note { justify-self: end; margin: 0; color: var(--muted); font-size: 13px; text-align: right; }

/* ---------- Animation ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes portrait-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; animation: rise .55s cubic-bezier(.22, 1, .36, 1) forwards; }
.js .reveal-1 { animation-delay: .06s; } .js .reveal-2 { animation-delay: .13s; } .js .reveal-3 { animation-delay: .2s; } .js .reveal-4 { animation-delay: .27s; } .js .reveal-5 { animation-delay: .34s; }
.js .reveal-portrait { opacity: 0; animation: portrait-in .7s .1s cubic-bezier(.22, 1, .36, 1) forwards; }
.js .fade-in { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.js .fade-in.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 1800px) {
  body { font-size: 18px; }
  .hero { grid-template-columns: minmax(0, 1fr) 700px; }
}
@media (max-width: 1200px) {
  .site-header { padding: 0 26px; }
  .main-nav a:not(.nav-cta):not(:nth-last-child(2))::after { margin: 0 12px; }
  .main-nav .nav-cta { margin-left: 18px; }
  .hero, .focus-strip, .shell, .page-hero, .site-footer { width: min(calc(100% - 64px), 1120px); }
  .shell-narrow, .page-hero.shell-narrow { width: min(calc(100% - 64px), 1000px); }
  .hero { grid-template-columns: 1fr 44%; gap: 40px; }
  .cards, .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split-heading { grid-template-columns: 1fr; gap: 24px; }
  .timeline-wrap { grid-template-columns: 1fr; gap: 40px; }
  .subheading { position: static; }
  .feature-ref { grid-template-columns: 1fr; }
  .focus-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .site-header { min-height: 66px; padding: 0 18px; border-radius: 14px; top: 8px; left: 8px; right: 8px; }
  .brand b { font-size: 16px; }
  .brand small { font-size: 9.5px; }
  .menu-button { display: grid; gap: 7px; padding: 12px 6px; border: 0; background: none; cursor: pointer; }
  .menu-button span { width: 26px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: 74px; left: 0; right: 0;
    padding: 14px; display: none; flex-direction: column; align-items: stretch; gap: 2px;
    border: 1px solid var(--border); border-radius: 14px;
    background: rgba(255, 252, 247, .98); box-shadow: var(--shadow-lg);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 12px; font-size: 17px; }
  .main-nav a::after { display: none !important; }
  .main-nav a[aria-current="page"]::before { left: 12px; bottom: 6px; }
  .main-nav .nav-cta { margin: 8px 0 0; justify-content: center; }
  .hero { width: min(calc(100% - 40px), 720px); min-height: auto; padding: 104px 0 70px; grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { order: 2; }
  .portrait-panel { order: 1; height: 62vh; min-height: 420px; max-height: 620px; }
  .focus-strip, .shell, .shell-narrow, .page-hero, .page-hero.shell-narrow, .site-footer { width: min(calc(100% - 40px), 720px); }
  .page-hero { padding-top: 140px; padding-bottom: 50px; }
  .section { padding: 96px 0; }
  .section-heading { margin-bottom: 44px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-hero { grid-template-columns: 1fr; gap: 28px; }
  .contact-avatar { order: -1; }
  .contact-avatar img { width: 128px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-note { justify-self: center; text-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero, .focus-strip, .shell, .shell-narrow, .page-hero, .page-hero.shell-narrow, .site-footer { width: calc(100% - 32px); }
  .portrait-panel { height: 56vh; min-height: 360px; }
  .eyebrow { font-size: 12px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; min-width: 0; }
  .facts { gap: 10px 16px; font-size: 14px; }
  .facts i { height: 18px; }
  .focus-strip { grid-template-columns: 1fr; padding: 20px; }
  .focus-strip p { justify-content: flex-start; text-align: left; }
  .cards, .ref-grid, .ref-grid.ref-grid-2, .ref-grid.ref-grid-4, .steps { grid-template-columns: 1fr; }
  .card, .step { padding: 26px 22px; }
  .card-icon { margin-bottom: 22px; }
  .section-heading h2, .cta-inner h2, .page-hero h1 { font-size: clamp(36px, 10vw, 52px); }
  .section-heading > p, .split-heading > p { font-size: 17px; }
  .feature-copy { padding: 28px 22px; }
  .feature-ref .ref-shot { min-height: 240px; }
  .timeline-entry { grid-template-columns: 1fr; gap: 8px; }
  .subheading h2, .subheading h3 { font-size: 32px; }
  .cta { padding: 100px 0 90px; }
  .cta-inner { width: calc(100% - 32px); }
  .cta-actions { flex-direction: column; }
  .contact-details { flex-direction: column; gap: 6px; }
  .faq summary { font-size: 16.5px; padding: 18px 52px 18px 20px; }
  .faq details p { padding: 0 20px 20px; }
  .portrait-badge { left: 14px; bottom: 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-portrait, .js .fade-in { opacity: 1; transform: none; animation: none; }
}
@media print {
  .site-header, .cta-glow, .menu-button { display: none; }
  body { background: #fff; }
}

/* ==========================================================
   Dunkles Erscheinungsbild: feste Farbwerte überschreiben
   ========================================================== */
.skip-link { background: var(--text); color: var(--bg); }
.site-header { background: rgba(7, 10, 15, .78); box-shadow: 0 16px 48px rgba(0, 0, 0, .22); }
.brand small { color: var(--teal); }
.main-nav a:not(.nav-cta):not(:nth-last-child(2))::after { background: rgba(147, 164, 184, .55); }
.main-nav .nav-cta, .main-nav .nav-cta[aria-current="page"] {
  color: #071019;
  background: linear-gradient(100deg, #55d9ff 0%, #6fcbff 42%, #9676ff 100%);
  box-shadow: 0 0 22px rgba(85, 217, 255, .24), 0 0 30px rgba(150, 118, 255, .16);
}
.main-nav .nav-cta:hover { color: #071019; background: linear-gradient(100deg, #6fe0ff 0%, #86d4ff 42%, #a58bff 100%); }

.button-primary {
  color: #071019;
  border: 1px solid rgba(255, 255, 255, .55);
  background: linear-gradient(100deg, #55d9ff 0%, #6fcbff 42%, #9676ff 100%);
  box-shadow: 0 0 24px rgba(85, 217, 255, .26), 0 0 34px rgba(150, 118, 255, .18);
}
.button-primary:hover { box-shadow: 0 0 28px rgba(85, 217, 255, .42), 0 0 38px rgba(150, 118, 255, .28); }
.button-secondary { color: var(--text); background: rgba(17, 24, 39, .52); backdrop-filter: blur(12px); }
.button-secondary:hover { background: rgba(17, 24, 39, .78); border-color: rgba(85, 217, 255, .68); }

.eyebrow { color: #a5b5ca; }
.facts { color: #a5b5ca; }
.facts i { background: rgba(147, 164, 184, .28); }
.portrait-panel {
  background: linear-gradient(145deg, rgba(85, 217, 255, .92), rgba(255, 255, 255, .15) 45%, rgba(150, 118, 255, .92));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .48), 0 0 40px rgba(150, 118, 255, .08);
}
.portrait-panel img { filter: saturate(.9) contrast(1.04) brightness(.92); }
.corner { color: rgba(255, 255, 255, .45); text-shadow: none; }
.portrait-badge { background: rgba(7, 10, 15, .72); color: var(--text); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.portrait-badge i { background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); }

.focus-strip { background: rgba(11, 16, 24, .72); backdrop-filter: blur(16px); }
.focus-strip p { color: #c5d2df; }
.section-alt { background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent 30%, rgba(255, 255, 255, .01)); border-block: 1px solid rgba(255, 255, 255, .045); }
.kicker { color: #a8b8ca; }

.card, .step, .ref-card, .feature-ref, .contact-card, .faq details {
  background: radial-gradient(circle at 100% 0, rgba(85, 217, 255, .05), transparent 42%), rgba(11, 16, 24, .78);
}
.card:hover, .ref-card:hover, a.contact-card:hover { background-color: rgba(17, 24, 39, .85); border-color: rgba(85, 217, 255, .28); }
.card-icon, .card:nth-child(3n+2) .card-icon, .card:nth-child(3n) .card-icon { background: rgba(85, 217, 255, .08); color: var(--teal); border: 1px solid rgba(85, 217, 255, .18); }
.card:nth-child(3n+2) .card-icon { background: rgba(150, 118, 255, .1); color: #b49bff; border-color: rgba(150, 118, 255, .22); }
.card li::before { border-color: var(--teal); }

.browser-bar { background: rgba(4, 7, 13, .6); }
.browser-dots i { background: rgba(248, 113, 113, .65); }
.browser-dots i:nth-child(2) { background: rgba(251, 191, 36, .65); }
.browser-dots i:nth-child(3) { background: rgba(52, 211, 153, .65); }
.browser-domain { background: rgba(255, 255, 255, .04); color: #93a4b8; }
.ref-shot { background: #020408; }
.ref-tile {
  background:
    radial-gradient(circle at 20% 20%, rgba(85, 217, 255, .22), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(150, 118, 255, .26), transparent 50%),
    #0b1018;
}
.ref-card:hover .ref-arrow { background: var(--teal); color: #071019; }
.tag-row span { background: rgba(255, 255, 255, .03); color: #c5d2df; }
.client-list li { background: rgba(255, 255, 255, .025); color: #c7d2de; }
.timeline-entry .when { color: #b6c5d5; }
.note-box { background: rgba(85, 217, 255, .06); border-color: rgba(85, 217, 255, .2); }
.cta-glow { background: radial-gradient(ellipse, rgba(85, 217, 255, .12), rgba(150, 118, 255, .09) 42%, transparent 72%); filter: blur(16px); }
.contact-avatar img { border-color: rgba(255, 255, 255, .15); }
.legal p, .legal li { color: #b9c6d4; }
.site-footer { border-top-color: var(--border); }
@media (max-width: 900px) {
  .main-nav { background: rgba(7, 10, 15, .96); backdrop-filter: blur(20px); }
}