/* ==========================================================
   Webdesign Janosch Krause – Stylesheet (Vorschau 2026-11-06)
   Hell, ruhig, ein Akzentgrün.
   System: 5 Schriftgrößen, 2 Radien, Flächen statt Linien,
   Schatten nur auf schwebenden Dingen.
   ========================================================== */

@font-face {
  font-family: "Sora";
  src: url("../schriften/sora.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../schriften/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* Farben */
  --ink: #16201B;
  --accent: #1E6B4A;
  --accent-dark: #17573C;
  --accent-soft: #E4EEE8;
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --tint: #F1F0EB;
  --tint-2: #E8E6DF;
  --text: #1C2420;
  --muted: #5D665F;
  --line: #D9D6CC;           /* nur für Formularfelder */

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  /* Schriftgrößen: genau fünf */
  --fs-s: .875rem;                                   /* 14 – Hinweise */
  --fs-b: 1.0625rem;                                 /* 17 – Fließtext */
  --fs-l: 1.25rem;                                   /* 20 – Einleitung, h3 */
  --fs-h: clamp(2rem, 1.25rem + 2.6vw, 3.5rem);      /* 32–56 – h2, Preise */
  --fs-d: clamp(2.05rem, .6rem + 7.4vw, 7.25rem);    /* 33–116 – Hauptzeile */

  /* Radien: genau zwei */
  --r: 10px;
  --r-pill: 999px;

  --float: 0 24px 44px -18px rgba(22, 32, 27, .45);  /* nur Schwebendes */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1240px;
  --gap-section: clamp(72px, 10vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-b);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h2 { font-size: var(--fs-h); font-weight: 700; letter-spacing: -.035em; }
h3 { font-size: var(--fs-l); font-weight: 600; }
h4 { font-size: var(--fs-b); font-weight: 600; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: #fff; }
::placeholder { color: var(--muted); }
html { scrollbar-color: #C9C6BC var(--bg); }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container--narrow { --container: 860px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--r); }

a, button, summary, label { touch-action: manipulation; }

/* ---------- Buttons: ein Stil, immer rund ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: var(--h); padding: 0 1.4em;
  border: 0; border-radius: var(--r-pill);
  font: 600 var(--fs-b)/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .16s ease-out, background-color .2s, color .2s;
  white-space: nowrap; -webkit-user-select: none; user-select: none;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:active { transform: scale(.97); }
.btn--sm { --h: 44px; padding: 0 1.15em; }
.btn--lg { --h: 56px; padding: 0 1.7em; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--ghost { background: var(--tint-2); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover svg { transform: translateX(4px); }
  .btn--primary:hover { background: var(--accent-dark); }
  .btn--ghost:hover { background: var(--accent-soft); color: var(--accent); }
}

/* ---------- Navigation: schlichte Leiste ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s; }
.nav.is-scrolled, .nav.menu-open { background: var(--bg); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand img { transition: transform .5s var(--ease); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font: 700 var(--fs-b) var(--font-head); letter-spacing: -.01em; }
.brand__text small { font-size: var(--fs-s); font-weight: 600; color: var(--accent); }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: var(--fs-b); position: relative; transition: color .2s; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .brand:hover img { transform: rotate(-8deg) scale(1.05); }
  .nav__links a:not(.btn):hover { color: var(--ink); }
  .nav__links a:not(.btn):hover::after { transform: scaleX(1); }
}

.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 148px 0 clamp(16px, 3vw, 40px); background: var(--bg); }
.hero__title {
  font-size: var(--fs-d); font-weight: 700; line-height: .98; letter-spacing: -.045em;
  max-width: 12ch; margin: 0 0 clamp(32px, 4vw, 56px);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.hero__lead { font-size: var(--fs-l); line-height: 1.5; color: var(--text); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero__facts { margin: 0; color: var(--muted); font-size: var(--fs-s); max-width: 34ch; }

/* Geräte im Hero */
.devices { position: relative; margin: 0; padding: 0 7% 40px 0; }
.laptop__lid { padding: 2.2% 2.2% 3%; border-radius: 18px 18px 0 0; background: #15191A; }
.screen { position: relative; overflow: hidden; border-radius: 4px; container-type: inline-size; }
.screen img { width: 100%; height: auto; }
.laptop__base { height: 15px; margin: 0 -4%; border-radius: 0 0 14px 14px; background: #C9CBC6; position: relative; }
.laptop__base::after { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; margin-left: -8%; border-radius: 0 0 8px 8px; background: #AEB1AB; }
.hphone { position: absolute; right: 0; bottom: 44px; width: 25%; aspect-ratio: 390 / 844; padding: 1.1%; border-radius: 13% / 6%; background: #101613; box-shadow: var(--float); }
.hphone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 12% / 5.5%; background: #1E130C; container-type: inline-size; }
.hphone__screen > img { display: block; position: absolute; left: 0; top: 11cqw; width: 100%; height: auto; }
.hphone__bar { position: absolute; inset: 0 0 auto; height: 11cqw; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 1.5cqw 7cqw 0 9cqw; background: #1E130C; color: #fff; font: 700 4.6cqw var(--font-body); }
.hphone__bar i { position: absolute; left: 34%; top: 2.2cqw; width: 32%; height: 6.6cqw; border-radius: 4cqw; background: #000; }
.hphone__bar svg { width: 8cqw; height: auto; }

.devices figcaption { position: absolute; left: 0; bottom: 0; color: var(--muted); font-size: var(--fs-s); }

/* ---------- Abschnitte ---------- */
.section { padding: var(--gap-section) 0; position: relative; }
.section--tint { background: var(--tint); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.section__head p:last-child { font-size: var(--fs-l); line-height: 1.5; }

/* ---------- Leistungen & Preise: Zeilen statt gleicher Karten ---------- */
.pricing { display: grid; gap: 12px; }
.plan {
  display: flex; flex-direction: column;
  padding: 32px; border-radius: var(--r); background: var(--tint);
}
.plan--featured { background: var(--accent-soft); }
.plan__desc { color: var(--text); margin: 0; }
.plan__price { font: 700 var(--fs-h)/1 var(--font-head); color: var(--ink); letter-spacing: -.04em; margin: 0 0 6px; white-space: nowrap; }
.plan__price small { font-size: var(--fs-l); font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan__price .plan__unit { font-size: var(--fs-s); }
.plan__price--text { color: var(--accent); }
.plan__note { font-size: var(--fs-s); color: var(--muted); margin: 0; }
.plan__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; align-content: start; }
.plan__list li { display: flex; gap: 11px; align-items: flex-start; }
.plan__list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: var(--r-pill);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E6B4A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}
.plan__list li.plan__express { color: var(--accent); font-weight: 600; }
.plan__list li.plan__express::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231E6B4A'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7l1-8Z'/%3E%3C/svg%3E"); }

@media (min-width: 1025px) {
  .plan {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.25fr) auto;
    gap: 40px; align-items: start; padding: 36px 40px;
  }
  .plan .btn { align-self: start; }
}
@media (max-width: 1024px) {
  .plan { gap: 22px; }
  .plan .btn { margin-top: auto; }
  .plan__list { flex: 1; }
}

/* Mehrpager-Rechner */
.calc { margin: 22px 0 0; padding: 16px 18px 14px; border-radius: var(--r); background: var(--surface); max-width: 360px; }
.calc__label { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-s); font-weight: 600; color: var(--text); }
.calc__label output { min-width: 34px; text-align: center; padding: 2px 10px; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-weight: 700; }
.calc input[type="range"] { width: 100%; height: 44px; margin: -4px 0; appearance: none; -webkit-appearance: none; background: none; cursor: pointer; }
.calc input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent) var(--fill, 21%), var(--tint-2) var(--fill, 21%)); }
.calc input[type="range"]::-moz-range-track { height: 6px; border-radius: var(--r-pill); background: var(--tint-2); }
.calc input[type="range"]::-moz-range-progress { height: 6px; border-radius: var(--r-pill); background: var(--accent); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); transition: transform .16s ease-out; }
.calc input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); }
.calc input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc input[type="range"]:focus-visible { outline-offset: 2px; }
.calc__express { display: flex; gap: 10px; align-items: center; margin-top: 4px; min-height: 32px; font-size: var(--fs-s); color: var(--muted); cursor: pointer; }
.calc__express input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex: none; cursor: pointer; }
.calc__result { margin: 8px 0 0; display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-s); color: var(--muted); }
.calc__result strong { font: 700 var(--fs-l) var(--font-head); color: var(--ink); }
.calc__result span { display: inline-block; transition: transform .2s var(--ease); }
.calc__result span.bump { transform: scale(1.1); }

/* Zusatzleistungen: ein Band, zwei Hälften */
.addons { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; border-radius: var(--r); background: var(--ink); color: #fff; }
.addon { display: flex; align-items: center; gap: 24px; padding: 28px 40px; }
.addon + .addon { box-shadow: inset 2px 0 0 rgba(255, 255, 255, .08); }
.addon > div { flex: 1; }
.addon h4 { color: #fff; margin-bottom: 4px; }
.addon p { margin: 0; color: rgba(255, 255, 255, .72); }
.addon__price { font: 700 var(--fs-l) var(--font-head) !important; color: #fff !important; white-space: nowrap; text-align: right; }
.addon__price small { display: block; font: 500 var(--fs-s) var(--font-body); color: rgba(255, 255, 255, .64); }
.pricing__hint { color: var(--muted); font-size: var(--fs-s); margin: 24px 0 0; }

/* ---------- Referenzen ---------- */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); overflow: hidden; }
.work__frame { display: block; margin: 12px 12px 0; border-radius: var(--r); overflow: hidden; background: var(--tint-2); text-decoration: none; }
.work__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; }
.work__bar i { width: 9px; height: 9px; border-radius: 50%; background: #CBC8BE; }
.work__bar span { margin-left: 10px; flex: 1; padding: 3px 10px; border-radius: var(--r-pill); background: var(--surface); color: var(--muted); font-size: var(--fs-s); line-height: 1.4; }
.work__shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.work__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease); }
.work__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.work__body p { flex: 1; }
.work__link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; transition: background-color .2s, transform .16s ease-out; -webkit-user-select: none; user-select: none; }
.work__link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.work__link:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .work:hover .work__shot img { transform: scale(1.03); }
  .work__link:hover { background: var(--accent); }
  .work__link:hover svg { transform: translate(3px, -3px); }
}

.samples { margin-top: clamp(64px, 7vw, 104px); }
.samples__head { max-width: 640px; margin-bottom: 24px; }
.samples__head h3 { font-size: var(--fs-l); font-weight: 700; margin-bottom: 4px; }
.samples__head p { color: var(--muted); margin: 0; }
@media (min-width: 1181px) {
  .works--samples .work { flex-direction: row; }
  .works--samples .work__frame { flex: 0 0 48%; margin: 12px 0 12px 12px; align-self: stretch; }
  .works--samples .work__shot { height: calc(100% - 37px); aspect-ratio: auto; }
  .works--samples .work__shot img { object-position: left top; }
  .works--samples .work__body { padding: 22px 24px; }
}

/* ---------- Ablauf: Treppe statt Nummern ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.step { padding: 28px 28px 32px; border-radius: var(--r); background: var(--tint); }
.step:last-child { background: var(--accent-soft); }
.step h3 { margin-bottom: .4em; }
.step p { margin: 0; }
@media (min-width: 1025px) {
  .step:nth-child(2) { margin-top: 48px; }
  .step:nth-child(3) { margin-top: 96px; }
  .step:nth-child(4) { margin-top: 144px; }
}

/* ---------- Über mich & Standort ---------- */
.local { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.local__copy > p { font-size: var(--fs-b); }
.places { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.places li { padding: 6px 14px; border-radius: var(--r-pill); background: var(--surface); font-size: var(--fs-s); font-weight: 500; }
.places li:first-child { background: var(--accent); color: #fff; font-weight: 600; }
.area { margin: 0; padding: 24px; border-radius: var(--r); background: var(--surface); }
.area__map { width: 100%; height: auto; overflow: visible; }
.area__ring { fill: var(--tint); }
.area__ring--outer { fill: #F7F6F2; }
.area__ring--inner { fill: var(--accent-soft); }
.area__place circle { fill: var(--muted); }
.area__place text { fill: var(--muted); font: 500 12px var(--font-body); }
.area__place--big text { fill: var(--text); font-weight: 600; }
.area__home { fill: var(--accent); stroke: var(--surface); stroke-width: 3; }
.area__pulse { fill: var(--accent); opacity: .3; transform-origin: 200px 165px; animation: areaPulse 2.8s var(--ease) infinite; }
@keyframes areaPulse { from { transform: scale(1); opacity: .4; } to { transform: scale(3.5); opacity: 0; } }
.area__label { fill: var(--ink); font: 700 14px var(--font-head); letter-spacing: -.01em; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-wrap .section__head { position: sticky; top: 110px; margin-bottom: 0; }
@media (max-width: 1024px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } .faq-wrap .section__head { position: static; margin-bottom: 24px; } }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--tint); border-radius: var(--r); transition: background-color .25s; }
.faq details[open] { background: var(--accent-soft); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font: 600 var(--fs-l)/1.35 var(--font-head); color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E6B4A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 26px 24px; margin: 0; max-width: 64ch; }
.faq details[open] p { animation: fadeDown .35s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__intro { position: sticky; top: 110px; }
.contact__perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact__perks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact__perks svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent-soft); fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.direct { display: grid; gap: 4px; margin-top: 24px; }
.direct a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--accent); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.direct svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.form { position: relative; background: var(--surface); border-radius: var(--r); padding: clamp(24px, 4vw, 48px); }
.form__group { border: 0; padding: 0; margin: 0 0 26px; }
.form__group legend { font: 600 var(--fs-b) var(--font-head); color: var(--ink); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: var(--r-pill); cursor: pointer;
  background: var(--tint); font-size: var(--fs-s); font-weight: 600; -webkit-user-select: none; user-select: none;
  transition: background-color .2s, color .2s, transform .16s ease-out;
}
.chip span::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E6B4A' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.chip span:active { transform: scale(.97); }
.chip input:checked + span { background: var(--accent); color: #fff; }
.chip input:checked + span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E6B4A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .chip span:hover { background: var(--accent-soft); } .chip input:checked + span:hover { background: var(--accent-dark); } }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; margin-bottom: 16px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 26px 16px 10px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--bg);
  font: 500 1rem var(--font-body); color: var(--text); transition: border-color .2s, box-shadow .2s, background-color .2s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D665F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field label { position: absolute; left: 17px; top: 18px; color: var(--muted); font-size: 1rem; pointer-events: none; transition: top .2s var(--ease), font-size .2s var(--ease), color .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(30, 107, 74, .14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { top: 7px; font-size: var(--fs-s); font-weight: 600; color: var(--accent); }
.field__error { display: none; color: #B42E1C; font-size: var(--fs-s); margin-top: 6px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #B42E1C; }
.field.is-invalid .field__error { display: block; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-s); color: var(--muted); margin: 6px 0 4px; cursor: pointer; line-height: 1.7; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; cursor: pointer; }
.consent a { color: var(--accent); padding: 6px 0; }
.field__error--consent { margin: 0 0 8px 32px; }
.consent.is-invalid + .field__error--consent { display: block; }

.form .btn--block { margin-top: 20px; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.is-loading .spinner { display: inline-block; }
.is-loading svg { display: none; }
.is-loading { pointer-events: none; opacity: .85; }
.form__status { margin: 14px 0 0; font-size: var(--fs-s); text-align: center; min-height: 1.4em; }
.form__status.is-error { color: #B42E1C; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__success {
  position: absolute; inset: 0; border-radius: inherit; background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px;
  animation: fadeIn .4s var(--ease);
}
.form__success[hidden] { display: none; }
.form__success p { color: var(--muted); max-width: 360px; }
.check svg { width: 84px; height: 84px; margin-bottom: 22px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.check circle { stroke: var(--accent-soft); stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s var(--ease) forwards; }
.check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; transform: scale(.97); } }

/* ---------- Footer: der Name kommt zum Schluss groß zurück ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .64); padding: clamp(48px, 7vw, 96px) 0 36px; font-size: var(--fs-s); }
.footer__big { margin: 0 0 clamp(32px, 4vw, 56px); font: 700 var(--fs-d)/.95 var(--font-head); letter-spacing: -.05em; color: #fff; white-space: nowrap; }
.footer .brand { color: #fff; }
.footer .brand img { filter: brightness(0) invert(1); }
.footer .brand__text small { color: rgba(255, 255, 255, .64); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__copy { margin: 0; }

/* ---------- Fester Anfrage-Button & Wisch-Punkte ---------- */
.sticky-cta { display: none; }
.dots { display: none; }

/* ---------- Auftritt beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Unterseiten (Impressum / Datenschutz / 404) ---------- */
.legal-hero { background: var(--tint); padding: 148px 0 56px; }
.legal-hero h1 { font-size: var(--fs-h); margin: 0; }
.legal { padding: 64px 0 112px; }
.legal h2 { font-size: var(--fs-l); margin-top: 2em; }
.legal a { color: var(--accent); }
.note { padding: 16px 20px; border-radius: var(--r); background: var(--accent-soft); color: var(--ink); margin-bottom: 30px; }

.notfound { min-height: 100svh; display: flex; align-items: center; padding: 148px 0 96px; }
.notfound h1 { font-size: var(--fs-d); line-height: .98; letter-spacing: -.045em; max-width: 12ch; margin-bottom: 28px; }
.notfound p { font-size: var(--fs-l); max-width: 40ch; }
.notfound .hero__actions { margin-top: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero { padding: 120px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__lead, .hero__facts { max-width: 46ch; }
  .devices { max-width: 680px; width: 100%; }
  .addons { grid-template-columns: 1fr; }
  .addon + .addon { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .08); }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .local { grid-template-columns: 1fr; gap: 44px; }
  .area { max-width: 560px; }
  .contact__intro { position: static; }

  /* Preise: nebeneinander wischen */
  .js .pricing[data-carousel] { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: -24px; padding: 0 24px 4px; scroll-padding-inline: 24px; scrollbar-width: none; }
  .js .pricing[data-carousel]::-webkit-scrollbar { display: none; }
  .js .pricing[data-carousel] > * { flex: 0 0 46%; scroll-snap-align: start; }
  .js .pricing[data-carousel] > .reveal { opacity: 1; transform: none; transition: none; }
  .js .pricing + .dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .calc { max-width: none; }
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px; background: var(--bg); box-shadow: 0 18px 24px -18px rgba(22, 32, 27, .3);
    clip-path: inset(0 0 100% 0); transition: clip-path .4s var(--ease); visibility: hidden;
  }
  .nav__links.is-open { clip-path: inset(0 0 -40px 0); visibility: visible; }
  .nav__links a:not(.btn) { min-height: 52px; font-size: var(--fs-l); color: var(--ink); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 16px; --h: 52px; }

  /* Fester Anfrage-Button, schmal: iOS-Safari färbt sonst seine Leiste ein */
  .sticky-cta {
    display: flex; position: fixed; left: auto; right: 16px; width: auto; max-width: 70vw; padding: 0 1.3em;
    bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40; box-shadow: var(--float);
    transform: translateY(140%); opacity: 0; pointer-events: none;
    transition: transform .45s var(--ease), opacity .3s;
  }
  .sticky-cta.is-visible { transform: none; opacity: 1; pointer-events: auto; }
}

@media (max-width: 760px) {
  .works { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --gap-section: 64px; }
  .container { width: min(100% - 32px, var(--container)); }
  body { font-size: 1rem; }
  .section__head p:last-child, .hero__lead { font-size: 1.0625rem; }
  .faq summary { font-size: 1.0625rem; padding: 18px 56px 18px 18px; }
  .faq summary::after { right: 16px; }
  .faq details p { padding: 0 18px 18px; }

  .nav__inner { height: 64px; }
  .nav__links { inset: 64px 0 auto; padding-inline: 16px; }
  html { scroll-padding-top: 72px; }

  .hero { padding: 96px 0 56px; }
  .hero__title { margin-bottom: 20px; }
  .hero__actions { margin: 24px 0 20px; gap: 10px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__inner { gap: 36px; }
  .devices { padding-bottom: 32px; }
  .laptop__base { height: 9px; }
  .btn--lg { --h: 52px; }
  .section__head { margin-bottom: 24px; }

  .form__row { grid-template-columns: 1fr; gap: 0; }
  .plan { padding: 22px 20px; gap: 18px; }
  .calc { padding: 10px 14px 12px; margin-top: 16px; }
  .addon { padding: 20px; gap: 16px; }
  .work__frame { margin: 10px 10px 0; }
  .work__body { padding: 18px 18px 20px; }
  .area { display: none; }
  .footer__inner { flex-direction: column; align-items: flex-start; }

  /* Karussell: Karten nebeneinander, seitlich wischen */
  .js [data-carousel] {
    display: flex; gap: 10px; max-width: none;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -16px; padding: 0 16px 4px; scroll-padding-inline: 16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .js [data-carousel]::-webkit-scrollbar { display: none; }
  .js [data-carousel] > * { flex: 0 0 86%; scroll-snap-align: start; }
  .js [data-carousel] > .reveal { opacity: 1; transform: none; transition: none; }
  .js .pricing[data-carousel] { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .js .pricing[data-carousel] > * { flex-basis: 86%; }
  .js .steps[data-carousel] > * { flex-basis: 74%; margin-top: 0; }
  .js .pricing[data-carousel] { align-items: flex-start; }

  .js .dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }

  /* Arbeitsproben auf dem Handy nur als Bild */
  .js .works--samples[data-carousel] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-inline: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  .works--samples .work__frame { margin: 8px; }
  .works--samples .work__bar { padding: 7px 8px; gap: 4px; }
  .works--samples .work__bar i { display: none; }
  .works--samples .work__bar span { margin-left: 0; padding: 2px 8px; font-size: 11px; }
  .works--samples .work__body, .js .works--samples + .dots { display: none; }
  .samples { margin-top: 48px; }
}

.dots button { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--r-pill); background: #CFCDC4; cursor: pointer; transition: width .3s var(--ease), background-color .3s; }
.dots button::after { content: ""; position: absolute; inset: -18px -6px; }
.dots button[aria-current="true"] { width: 24px; background: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
