/* 38GRAD Marketing – Layout: violettes Logo-Feld oben, dann ruhige linke Kante; das Logo als Kontur ist das wiederkehrende, verspielte Element. */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* Farbe: Violett + Pfirsich aus dem Logo. Feste Markenflächen (Hero, Check, Kontakt, Footer) nutzen --brand-*, die sich im Darkmode nicht ändern. */
:root {
  --brand-violet: #492e9a;
  --brand-violet-2: #503f9a;
  --brand-night: #2b1873;
  --brand-peach: #ffa188;
  --brand-ink: #221450;
  --brand-paper: #fffaf7;

  --paper: #fffaf7;
  --ink: #221450;
  --ink-soft: #5b5079;
  --accent: #492e9a;
  --peach: #ffa188;
  --peach-soft: #fff0ea;
  --warm: #ff6f4f;
  --cool: #a9b9f2;
  --line: rgba(34, 20, 80, .13);
  --on-ink: #fffaf7;
  --field: #ffffff;
  --contour: rgba(73, 46, 154, .12);

  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --r: 18px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #150c36; --ink: #f4efff; --ink-soft: #bcb3da; --accent: #b5a2ff; --peach: #ffa188; --peach-soft: #22154d;
    --warm: #ff8a6a; --cool: #8fa4ec; --line: rgba(244, 239, 255, .14); --on-ink: #150c36; --field: #1d1245; --contour: rgba(181, 162, 255, .13);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #150c36; --ink: #f4efff; --ink-soft: #bcb3da; --accent: #b5a2ff; --peach: #ffa188; --peach-soft: #22154d;
  --warm: #ff8a6a; --cool: #8fa4ec; --line: rgba(244, 239, 255, .14); --on-ink: #150c36; --field: #1d1245; --contour: rgba(181, 162, 255, .13);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 48px);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(72px, 10vw, 128px); }

.h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 750; }
.lede { font-size: clamp(19px, 1.7vw, 22px); color: var(--ink-soft); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 2px solid var(--ink);
  transition: background-color .2s, color .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1);
  font-family: var(--display); font-size: 18px; font-weight: 650;
  text-decoration: none; cursor: pointer;
}
.btn:hover { transform: translateY(-2px) rotate(-1.5deg); }
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--accent); color: var(--on-ink); border-color: var(--accent); }
.btn-solid:hover { background: transparent; color: var(--accent); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--on-ink); }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--brand-violet); }
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--brand-violet) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background-color .3s, box-shadow .3s;
}
.top.scrolled { background: color-mix(in srgb, var(--paper) 90%, transparent); box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.mark { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; text-decoration: none; display: flex; align-items: center; gap: 10px; color: var(--brand-paper); }
.mark img { width: 46px; height: 40px; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.mark:hover img { transform: rotate(-10deg) scale(1.08); }
.mark small { font-family: var(--body); font-weight: 400; font-size: 15px; letter-spacing: 0; opacity: .75; }
.top.scrolled .mark { color: var(--ink); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 16px; color: var(--brand-paper); transition: background-color .2s; }
.nav a:hover { background: rgba(255, 250, 247, .14); }
.top.scrolled .nav a { color: var(--ink); }
.top.scrolled .nav a:hover { background: var(--peach-soft); }
.top .btn { min-height: 44px; padding: 0 20px; font-size: 16px; border-color: var(--brand-peach); background: var(--brand-peach); color: var(--brand-ink); }
.top .btn:hover { background: transparent; color: var(--brand-peach); }
.top.scrolled .btn { border-color: var(--accent); background: var(--accent); color: var(--on-ink); }
.top.scrolled .btn:hover { background: transparent; color: var(--accent); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; color: var(--brand-paper); }
.top.scrolled .burger { color: var(--ink); }
.burger svg { width: 26px; height: 26px; }

/* ---------- Konturen-Muster und Deko (Logo als Umriss) ---------- */
.pattern { position: absolute; inset: -10%; width: 120%; height: 120%; pointer-events: none; z-index: 0; }
.deco { position: absolute; pointer-events: none; z-index: 0; color: var(--contour); --cw: 22px; }
.band, .hero, .ticker { position: relative; overflow: hidden; }
.band > .wrap, .hero > .wrap { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(120% 90% at 85% 10%, #6a47c0 0%, transparent 55%), linear-gradient(160deg, #573aa8 0%, var(--brand-violet) 45%, var(--brand-night) 100%);
  color: var(--brand-paper);
}
.hero .pattern { color: rgba(140, 110, 230, .35); --cw: 26px; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px; align-items: center;
  padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 104px);
}
.hero h1 { font-size: clamp(42px, 5.8vw, 80px); font-weight: 800; letter-spacing: -.035em; line-height: .98; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(3) { color: var(--brand-peach); }
.hero .intro { margin-top: 36px; display: grid; gap: 28px; max-width: 560px; }
.hero .intro p { font-size: clamp(19px, 1.8vw, 22px); color: rgba(255, 250, 247, .84); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-solid { background: var(--brand-peach); color: var(--brand-ink); border-color: var(--brand-peach); }
.hero .btn-solid:hover { background: transparent; color: var(--brand-peach); }
.hero .btn-line { color: var(--brand-paper); border-color: rgba(255, 250, 247, .7); }
.hero .btn-line:hover { background: var(--brand-paper); color: var(--brand-violet); border-color: var(--brand-paper); }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; color: rgba(255, 250, 247, .8); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2.5px solid var(--brand-peach); }

.degree { justify-self: end; margin: 0; position: relative; user-select: none; width: 100%; max-width: 480px; }
.logo-big { position: relative; transform: rotate(-6deg); }
.logo-svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 30px 40px rgba(20, 8, 60, .35)); }
.lg-glyph { fill: var(--brand-violet); stroke: var(--brand-violet); stroke-width: 0; }
.lg-ring { fill: var(--brand-violet-2); }
.pow {
  position: absolute; z-index: 4; left: -40%; top: -36%;
  width: clamp(230px, 21vw, 300px); aspect-ratio: 216 / 176;
  display: grid; place-items: center; rotate: -8deg; cursor: default;
}
.pow-in { position: absolute; inset: 0; display: grid; place-items: center; }
.pow-burst { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pow-shape { fill: var(--brand-paper); stroke: var(--brand-ink); stroke-width: 4; stroke-linejoin: round; }
.pow-shadow { fill: var(--brand-peach); stroke: var(--brand-ink); stroke-width: 4; stroke-linejoin: round; }
.pow-text { position: relative; display: grid; gap: 5px; text-align: center; width: 56%; color: var(--brand-ink); line-height: 1.15; }
.pow-text b { font-family: var(--display); font-weight: 800; font-size: clamp(16px, 1.4vw, 20px); letter-spacing: -.02em; text-transform: none; }
.pow-text span { font-size: clamp(11px, .85vw, 12.5px); line-height: 1.3; color: #45346f; }
.pow:hover { animation: pow-wiggle .5s ease-in-out; }
@keyframes pow-wiggle { 0%, 100% { rotate: -8deg; } 25% { rotate: -15deg; } 50% { rotate: -2deg; } 75% { rotate: -11deg; } }

/* ---------- Leistungen ---------- */
.services-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: end; margin-bottom: 56px; }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc li {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.svc h3 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; display: flex; gap: 14px; align-items: center; transition: color .2s, translate .3s; }
.svc li:hover h3 { color: var(--accent); translate: 6px 0; }
.deco-svc { width: min(420px, 55vw); right: 4%; top: 60px; rotate: 12deg; color: color-mix(in srgb, var(--accent) 18%, transparent); --cw: 20px; will-change: transform; }
.svc h3 svg { width: 34px; height: 34px; flex: none; }
.svc p { color: var(--ink-soft); max-width: 58ch; }

/* ---------- Thermometer / Website-Check ---------- */
.check { background: var(--brand-night); color: var(--brand-paper); --on-ink: var(--brand-paper); --peach: var(--brand-peach); }
.pat-dark { color: rgba(140, 110, 230, .22); --cw: 22px; }
.check .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.check .lede { color: color-mix(in srgb, var(--on-ink) 75%, transparent); margin-top: 22px; }
.check .note { margin-top: 28px; font-size: 16px; color: color-mix(in srgb, var(--on-ink) 65%, transparent); }
.check .btn { margin-top: 32px; border-color: var(--peach); background: var(--peach); color: var(--brand-ink); }
.check .btn:hover { background: transparent; color: var(--peach); }

.thermo { display: grid; gap: 28px; }
.qs { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.qs legend { font-family: var(--display); font-weight: 650; font-size: 22px; margin-bottom: 14px; padding: 0; }
.q {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--r);
  border: 1.5px solid color-mix(in srgb, var(--on-ink) 22%, transparent);
  cursor: pointer; transition: background-color .2s, border-color .2s;
}
.q:hover { border-color: color-mix(in srgb, var(--on-ink) 55%, transparent); }
.q input { position: absolute; opacity: 0; pointer-events: none; }
.q .box {
  width: 26px; height: 26px; flex: none; border-radius: 8px;
  border: 2px solid color-mix(in srgb, var(--on-ink) 50%, transparent);
  display: grid; place-items: center; transition: background-color .2s, border-color .2s;
}
.q .box svg { width: 16px; height: 16px; opacity: 0; transition: opacity .15s; }
.q input:checked + .box { background: var(--peach); border-color: var(--peach); }
.q input:checked + .box svg { opacity: 1; }
.q input:focus-visible + .box { outline: 3px solid var(--warm); outline-offset: 3px; }
.q:has(input:checked) { background: color-mix(in srgb, var(--peach) 10%, transparent); border-color: color-mix(in srgb, var(--peach) 60%, transparent); }

.scale { position: relative; padding-top: 6px; }
.scale-track { height: 18px; border-radius: 999px; background: color-mix(in srgb, var(--on-ink) 14%, transparent); overflow: hidden; }
.scale-fill {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--cool), var(--peach) 60%, var(--warm));
  background-size: var(--full, 100%) 100%;
  transition: width .7s cubic-bezier(.2, .8, .2, 1);
}
.ticks { position: relative; height: 34px; margin-top: 8px; font-size: 14px; color: color-mix(in srgb, var(--on-ink) 60%, transparent); font-variant-numeric: tabular-nums; }
.ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.ticks span::before { content: ""; position: absolute; left: 50%; top: -8px; width: 1px; height: 6px; background: currentColor; }
.ticks .goal { color: var(--peach); font-weight: 700; }
.readout { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.readout .temp { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 7vw, 84px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--peach); min-width: 3.4ch; }
.readout p { font-size: 18px; max-width: 36ch; }

/* ---------- Zielgruppen ---------- */
.fit .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); }
.fit .body { display: grid; gap: 18px; color: var(--ink-soft); }
.fit .body strong { color: var(--ink); }
.who { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.who li { padding: 10px 20px; border-radius: 999px; background: var(--peach-soft); border: 1.5px solid color-mix(in srgb, var(--peach) 55%, transparent); font-size: 17px; color: var(--ink); transition: rotate .3s cubic-bezier(.3, 1.6, .5, 1), scale .3s cubic-bezier(.3, 1.6, .5, 1), background-color .2s, color .2s; }
.who li:hover { rotate: -3deg; scale: 1.06; background: var(--peach); color: var(--brand-ink); }

/* ---------- Starterpaket ---------- */
.starter { background: var(--peach-soft); }
.deco-starter { width: min(620px, 70vw); left: -180px; bottom: -160px; transform: rotate(-18deg); }
.offer {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  border-radius: 28px; overflow: hidden; background: var(--field);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(43, 24, 115, .35);
}
.offer-main { padding: clamp(28px, 5vw, 56px); display: grid; gap: 22px; align-content: start; }
.offer-tag { justify-self: start; padding: 6px 14px; border-radius: 999px; background: var(--peach); color: var(--brand-ink); font-size: 15px; font-weight: 700; transform: rotate(-3deg); }
.offer-main .lede { font-size: 19px; }
.price { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.price s { font-size: 22px; color: var(--ink-soft); }
.price strong { font-family: var(--display); font-size: clamp(48px, 6vw, 72px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--accent); }
.price small { font-size: 15px; color: var(--ink-soft); width: 100%; }
.offer-list { background: var(--brand-violet); color: var(--brand-paper); padding: clamp(28px, 5vw, 56px); --on-ink: var(--brand-paper); position: relative; overflow: hidden; }
.offer-list > * { position: relative; }
.offer-list h3 { font-size: 24px; margin-bottom: 22px; }
.incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.incl li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; }
.incl svg { width: 22px; height: 22px; margin-top: 3px; color: var(--brand-peach); }
.incl b { display: block; font-weight: 700; }
.incl span { font-size: 16px; color: color-mix(in srgb, var(--on-ink) 70%, transparent); }

/* ---------- Referenzen ---------- */
.refs-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.project {
  display: grid; gap: 6px; align-content: start; min-height: 168px;
  padding: 28px; border-radius: var(--r); border: 1px solid var(--line);
  text-decoration: none; position: relative; transition: background-color .2s, border-color .2s;
}
a.project:hover { background: var(--peach-soft); border-color: var(--accent); }
.project .kind { font-size: 15px; color: var(--ink-soft); }
.project h3 { font-size: 28px; font-weight: 700; }
.project .go { position: absolute; top: 26px; right: 26px; width: 26px; height: 26px; transition: transform .2s; }
a.project:hover .go { transform: translate(3px, -3px); }
.project p { color: var(--ink-soft); font-size: 16px; margin-top: 6px; }

/* ---------- Über mich ---------- */
.about .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about .wrap > .portrait { z-index: 1; }
.portrait { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; background: var(--peach); box-shadow: 14px 14px 0 var(--brand-peach); }
.deco-about { width: min(520px, 80vw); left: -140px; top: 60px; transform: rotate(-10deg); color: color-mix(in srgb, var(--accent) 22%, transparent); }
.portrait img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.portrait .initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 120px; color: var(--brand-ink); letter-spacing: -.05em; }
.portrait figcaption { z-index: 2; position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 250, 247, .94); color: var(--brand-ink); font-size: 15px; }
.about .body { display: grid; gap: 20px; }
.about .body p { max-width: 60ch; }
.goals { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 22px; }
.goals li { padding-left: 22px; border-left: 3px solid var(--peach); transition: border-color .2s; }
.goals li:hover { border-color: var(--accent); }
.goals b { display: block; font-family: var(--display); font-size: 21px; font-weight: 650; line-height: 1.3; }
.goals span { color: var(--ink-soft); font-size: 17px; }

/* ---------- FAQ ---------- */
.faq .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); }
.faq .lede { margin-top: 20px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 24px 0; font-family: var(--display); font-weight: 650; font-size: clamp(20px, 2vw, 24px); line-height: 1.3;
}
.acc summary::-webkit-details-marker { display: none; }
.acc .pm { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .25s, background-color .2s; }
.acc .pm svg { width: 14px; height: 14px; }
.acc details[open] .pm { transform: rotate(45deg); background: var(--peach); border-color: var(--peach); color: var(--brand-ink); }
.acc summary:hover .pm { border-color: var(--accent); }
.acc .a { padding: 0 52px 26px 0; color: var(--ink-soft); white-space: pre-line; max-width: 64ch; }

/* ---------- Kontakt ---------- */
.contact { background: var(--brand-peach); color: var(--brand-ink); }
.pat-peach { color: rgba(73, 46, 154, .14); --cw: 22px; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact .lede { color: #45346f; margin-top: 22px; }
.direct { margin-top: 36px; display: grid; gap: 14px; }
.direct a { display: inline-flex; gap: 12px; align-items: center; font-family: var(--display); font-weight: 650; font-size: clamp(20px, 2.2vw, 26px); text-decoration: none; }
.direct a:hover { text-decoration: underline; text-underline-offset: 5px; }
.direct svg { width: 22px; height: 22px; flex: none; }
.direct p { font-size: 16px; color: #45346f; }

.form { background: #fffaf7; color: var(--brand-ink); box-shadow: 0 30px 60px -30px rgba(43, 24, 115, .45); border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; position: relative; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 700; min-width: 0; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 17px; color: var(--brand-ink);
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid #ddd3ec; background: #fff; width: 100%;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand-violet); box-shadow: 0 0 0 3px rgba(255, 161, 136, .55); }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; color: #5b5079; }
.form .consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand-violet); }
.form .btn { justify-self: start; background: var(--brand-violet); color: #fffaf7; border-color: var(--brand-violet); }
.form .btn:hover { background: transparent; color: var(--brand-violet); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { font-size: 16px; min-height: 1.3em; }
.status.ok { color: #1f6a35; font-weight: 700; }
.status.info { color: #5b5079; }

/* ---------- Footer ---------- */
.foot { background: var(--brand-night); color: var(--brand-paper); padding-block: 48px 32px; }
.foot .wrap { display: grid; gap: 28px; }
.foot-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot .mark { color: var(--brand-paper); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 16px; }
.foot nav a { text-decoration: none; opacity: .8; }
.foot nav a:hover { opacity: 1; color: var(--brand-peach); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 15px; opacity: .65; border-top: 1px solid rgba(255, 250, 247, .15); padding-top: 22px; }

/* ---------- Rechtstexte ---------- */
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin: 0 0 24px; }
.legal h1:not(:first-child) { margin-top: 72px; }
.legal h2 { font-size: 26px; margin: 40px 0 12px; }
.legal h3 { font-size: 21px; margin: 28px 0 8px; }
.legal h4 { font-family: var(--body); font-size: 18px; margin: 20px 0 6px; }
.legal p, .legal ul { margin: 0 0 14px; max-width: 72ch; color: var(--ink-soft); }
.legal a { word-break: break-word; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav, .top .btn { display: none; }
  .burger { display: grid; place-items: center; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); padding: 12px max(24px, env(safe-area-inset-right, 0px)) 20px max(24px, env(safe-area-inset-left, 0px));
    box-shadow: 0 16px 30px rgba(43, 24, 115, .18);
  }
  .nav.open a { color: var(--ink); font-size: 18px; padding: 12px; }
  .hero .wrap, .services-head, .svc li, .check .wrap, .fit .wrap, .offer, .refs-head, .about .wrap, .faq .wrap, .contact .wrap { grid-template-columns: minmax(0, 1fr); }
  .svc li { gap: 10px; }
  .degree { justify-self: center; max-width: 300px; margin-top: 190px; }
  .pow { left: -12%; top: -66%; width: 220px; }
  .about .portrait { max-width: 420px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .projects, .form .row { grid-template-columns: minmax(0, 1fr); }
  .acc .a { padding-right: 0; }
  .mark small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   Animationen (nur aktiv, wenn anim.js läuft: html.anim)
   ========================================================= */
.ring {
  position: absolute; left: 38.75%; top: 4.18%; width: 21.23%; height: 19.44%;
  overflow: visible; pointer-events: none; z-index: 5; visibility: hidden;
}
.ring .rf { fill: #40258f; fill-opacity: 0; }
.ring .ro { fill: var(--brand-violet-2); }

html.anim .hero { display: block; }
html.anim .hero .wrap { position: relative; }
html.anim .degree { position: relative; z-index: 3; }

/* Wortweise Einblendung von Überschriften */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi { display: inline-block; will-change: transform; }

/* Laufband zwischen den Sektionen */
.ticker { overflow: hidden; padding-block: clamp(40px, 7vw, 90px); display: grid; gap: 4px; background: var(--paper); }
.tick-line {
  font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1;
  font-size: clamp(56px, 10vw, 150px); white-space: nowrap; will-change: transform;
}
.tick-line i { font-style: normal; display: inline-block; padding: 0 .18em; vertical-align: -.08em; }
.tick-line .tk { width: .9em; height: .8em; display: inline-block; color: var(--accent); --cw: 34px; }
.tick-line.t2 .tk { color: var(--peach); }
.tick-line.t2 { color: transparent; -webkit-text-stroke: 1.5px var(--accent); }



