/* ==========================================================
   webelektriker – style.css
   Farben kommen aus den Variablen unten (wie in Figma: Dunkel / Hell)
   ========================================================== */

@font-face { font-family: "Unbounded"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/unbounded-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }

:root,
[data-theme="dark"] {
  --bg: #0C0D10;
  --surface: #16181D;
  --border: #26292F;
  --border-strong: #3A3E46;
  --text: #F2F2F0;
  --text-2: #C4C7CE;
  --muted: #A9ADB6;
  --accent: #4FD1FF;
  --on-accent: #0C0D10;
  --notif-border: #2C2F36;
  --shadow: 0 20px 50px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #F6F6F3;
  --surface: #FFFFFF;
  --border: #E3E3DE;
  --border-strong: #C9C9C3;
  --text: #0C0D10;
  --text-2: #3A3E46;
  --muted: #5A5E66;
  --accent: #0A7CC2;
  --on-accent: #F6F6F3;
  --notif-border: #E3E3DE;
  --shadow: 0 16px 40px rgba(13, 15, 20, .12);
  color-scheme: light;
}

:root {
  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad-x: clamp(20px, 6.7vw, 96px);
  --section-gap: clamp(64px, 8.4vw, 120px);
  --radius-l: 28px;
  --radius-m: 18px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad-x); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-sm { height: 46px; padding: 0 22px; font-size: 15px; }
.btn-lg { height: 60px; padding: 0 30px; font-size: 18px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-outline { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--text); }
.btn-dark { background: var(--bg); color: var(--accent); border: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); cursor: pointer;
}

.show-mobile { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { color: var(--accent); flex-shrink: 0; }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.03em; }

.main-nav {
  display: flex; gap: 4px; padding: 6px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
}
.main-nav a { padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; }
.main-nav a:hover { background: var(--border); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
.menu-toggle { display: none; flex-direction: column; gap: 6px; }
.menu-toggle span { width: 18px; height: 2px; border-radius: 1px; background: var(--text); transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 72px) 0 var(--section-gap); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 40px; align-items: center; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border);
  font-size: 15px; font-weight: 600; color: var(--text-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5.3vw, 76px); line-height: 1.02; letter-spacing: -0.04em;
  max-width: 13ch;
}
.hero h1 .accent { color: var(--accent); }
.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: var(--muted); max-width: 30em; }

.hero-visual { position: relative; height: 620px; }
.phone {
  position: absolute; left: 110px; top: 0; width: 300px; height: 620px;
  padding: 12px; border-radius: 48px; background: #1D2026; border: 1px solid #33363E;
}
.phone-screen {
  position: relative; height: 100%; border-radius: 38px; background: #F4F1EA; color: #16181D;
  padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.phone-screen::before { content: ""; position: absolute; left: 50%; top: 10px; width: 86px; height: 24px; margin-left: -43px; border-radius: 12px; background: #0C0D10; }
.ps-status { display: flex; justify-content: space-between; align-items: center; height: 26px; padding: 0 8px; font-size: 11px; font-weight: 700; }
.ps-status-icons { display: flex; gap: 3px; align-items: center; }
.ps-status-icons i { display: block; height: 8px; border-radius: 2px; background: #16181D; }
.ps-status-icons i:nth-child(1) { width: 12px; }
.ps-status-icons i:nth-child(2) { width: 10px; }
.ps-status-icons i:nth-child(3) { width: 18px; border-radius: 3px; }
.ps-top { display: flex; justify-content: space-between; align-items: center; }
.ps-brand { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 11px; }
.ps-logo { width: 16px; height: 16px; border-radius: 5px; background: #F5B700; }
.ps-callicon { width: 28px; height: 28px; border-radius: 50%; background: #16181D; color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.ps-hero { position: relative; height: 150px; border-radius: 16px; overflow: hidden; flex-shrink: 0; }
.ps-scene { display: block; width: 100%; height: 100%; }
.ps-badge { position: absolute; left: 8px; bottom: 8px; padding: 4px 9px; border-radius: 999px; background: #16181D; color: #FFFFFF; font-size: 10px; font-weight: 700; }
.ps-title { font-family: var(--font-display); font-size: 20px; line-height: 1.08; letter-spacing: -0.03em; }
.ps-rating { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #5A5E66; }
.ps-stars { color: #E0A400; letter-spacing: 1px; }
.ps-rating b { color: #16181D; }
.ps-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ps-chips span { padding: 6px 10px; border-radius: 999px; background: #FFFFFF; border: 1px solid #E4DFD3; font-size: 11px; font-weight: 700; }
.ps-chips .is-alert { background: #16181D; border-color: #16181D; color: #FFFFFF; }
.ps-bar { margin-top: auto; display: flex; gap: 8px; }
.ps-cta { flex: 1; height: 44px; border-radius: 12px; background: #F5B700; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 800; color: #16181D; }
.ps-call { width: 44px; height: 44px; border-radius: 12px; background: #16181D; color: #FFFFFF; display: flex; align-items: center; justify-content: center; }

.notif {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 20px 14px 16px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--notif-border); box-shadow: var(--shadow);
  font-size: 15px;
}
.notif strong { display: block; font-weight: 700; }
.notif small { display: block; font-size: 13px; color: var(--muted); }
.n-icon {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--text); color: var(--bg);
}
.n-icon.is-accent { background: var(--accent); color: var(--on-accent); }
.n1 { left: -10px; top: 120px; }
.n2 { right: -20px; top: 330px; }
.n3 { left: 20px; bottom: 60px; }

/* Einmalige Einblend-Animation der Benachrichtigungen */
@media (prefers-reduced-motion: no-preference) {
  .notif { opacity: 0; transform: translateY(10px); animation: pop .5s ease forwards; }
  .n1 { animation-delay: .5s; }
  .n2 { animation-delay: 1.1s; }
  .n3 { animation-delay: 1.7s; }
  @keyframes pop { to { opacity: 1; transform: none; } }
}

/* ---------- Sections ---------- */
.section { padding-bottom: var(--section-gap); }
.section .h2 { margin-bottom: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head .h2 { margin-bottom: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); }

/* ---------- Bento ---------- */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 250px 250px;
}
.tile {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px; border-radius: var(--radius-l);
  background: var(--surface); border: 1px solid var(--border);
}
.tile h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; }
.tile-invert { background: var(--text); color: var(--bg); border-color: var(--text); }
.tile-photo {
  grid-column: span 2; grid-row: span 2; padding: 40px; gap: 14px; color: #FFFFFF; border: none;
  position: relative; overflow: hidden; background: #1B2230;
}
.tile-illu { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.tile-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--photo, none) center / cover no-repeat; }
.tile-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(5, 8, 13, 0) 0%, rgba(5, 8, 13, .15) 45%, rgba(5, 8, 13, .85) 100%); }
.tile-photo > h3, .tile-photo > p { position: relative; z-index: 3; }
.tile-photo h3 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; }
.tile-photo p { font-size: 19px; font-weight: 600; max-width: 22ch; }

/* ---------- Ihr Betrieb ---------- */
.tabs {
  display: inline-flex; gap: 6px; padding: 6px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
}
.tab {
  height: 46px; padding: 0 22px; border: none; border-radius: 999px;
  background: transparent; font-size: 16px; font-weight: 700; cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.seg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seg-card { padding: 44px; display: flex; flex-direction: column; gap: 22px; }
.seg-pkg { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.03em; }
.checks { display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 600; }
.checks li::before {
  content: ""; width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%230C0D10' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
[data-theme="light"] .checks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23F6F6F3' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* Vorschau: Mini-Website, baut sich Punkt für Punkt auf */
.seg-preview {
  --pv-bg: #EEF1F6; --pv-fg: #0E1A2B; --pv-card: #FFFFFF; --pv-line: #DCE2EC; --pv-muted: #5A6475; --pv-acc: #2563EB; --pv-on-acc: #FFFFFF;
  border-radius: var(--radius-l); overflow: hidden;
  background: var(--pv-bg); color: var(--pv-fg);
  display: flex; flex-direction: column;
  transition: background-color .3s ease, color .3s ease;
}
.seg-preview[data-variant="klein"] { --pv-bg: #F4F1EA; --pv-fg: #16181D; --pv-card: #FFFFFF; --pv-line: #E4DFD3; --pv-muted: #6B665B; --pv-acc: #F5B700; --pv-on-acc: #16181D; }
.seg-preview[data-variant="gewerbe"] { --pv-bg: #262B37; --pv-fg: #FFFFFF; --pv-card: #323846; --pv-line: #434A5A; --pv-muted: #A9B0BE; --pv-acc: #7DD3FC; --pv-on-acc: #0C0D10; }
.sp-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--pv-line); }
.sp-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--pv-line); }
.sp-bar span { margin-left: 10px; padding: 4px 12px; border-radius: 999px; background: var(--pv-card); color: var(--pv-muted); font-size: 12px; font-weight: 600; }
.sp-page { flex: 1; padding: 22px 28px 28px; display: flex; flex-direction: column; gap: 18px; }
.sp-nav { display: flex; justify-content: space-between; align-items: center; }
.sp-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.sp-brand b { width: 18px; height: 18px; border-radius: 6px; background: var(--pv-acc); }
.sp-call, .sp-btn { padding: 7px 14px; border-radius: 999px; background: var(--pv-acc); color: var(--pv-on-acc); font-size: 12px; font-weight: 800; white-space: nowrap; }
.sp-headline { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.1; letter-spacing: -0.02em; }
.sp-widgets { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.sp-w {
  padding: 14px 16px; border-radius: 16px; background: var(--pv-card); border: 1px solid var(--pv-line);
  font-size: 14px; font-weight: 700;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.sp-w small { display: block; font-size: 12px; font-weight: 600; color: var(--pv-muted); }
.sp-w.is-hl { border-color: var(--pv-acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pv-acc) 25%, transparent); }
.sp-row { display: flex; align-items: center; gap: 12px; }
.sp-row > span:nth-child(2) { flex: 1; min-width: 0; }
.sp-ico { width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--pv-acc); color: var(--pv-on-acc); }
.sp-search { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--pv-line); font-size: 13px; font-weight: 600; color: var(--pv-muted); }
.sp-result { margin-top: 10px; }
.sp-thumbs { display: flex; gap: 4px; }
.sp-thumbs i { width: 26px; height: 26px; border-radius: 7px; background: var(--pv-line); }
.sp-links { display: flex; flex-wrap: wrap; gap: 2px 14px; color: var(--pv-muted); font-size: 13px; }
.sp-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--pv-bg); border: 1px solid var(--pv-line); }
.sp-toggle span { padding: 5px 12px; border-radius: 999px; font-size: 12px; }
.sp-toggle .is-on { background: var(--pv-acc); color: var(--pv-on-acc); }
.sp-dot { width: 10px; height: 10px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px color-mix(in srgb, #22C55E 25%, transparent); }

/* Aufbau-Animation (nur mit JS und ohne reduced-motion) */
.checks li { transition: color .25s ease, opacity .35s ease, transform .35s ease; }
.checks li.is-active { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .js .seg-build .checks li:not(.is-in),
  .js .seg-build .sp-w:not(.is-in) { opacity: 0; transform: translateY(12px); }
  .js .seg-build .sp-headline:not(.is-in) { opacity: 0; }
  .sp-w { transition: opacity .4s ease, transform .4s cubic-bezier(.16,1,.3,1), border-color .25s ease, box-shadow .25s ease; }
  .sp-headline { transition: opacity .4s ease; }
}

/* ---------- Beispiele ---------- */
.examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.example { display: flex; flex-direction: column; gap: 16px; padding: 16px 16px 22px; text-decoration: none; transition: border-color .15s ease; }
.example:hover { border-color: var(--border-strong); }
.ex-preview { height: 260px; border-radius: var(--radius-m); padding: 22px; }
.ex-preview p { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.05; letter-spacing: -0.02em; }
.ex-werkstatt { background: #F4F1EA; color: #16181D; }
.ex-assistent { background: #EEF1F6; color: #0E1A2B; }
.ex-gewerbe { background: #262B37; color: #FFFFFF; }
.ex-label { display: flex; justify-content: space-between; padding: 0 8px; font-weight: 700; font-size: 19px; }

/* ---------- Preise ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.price h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.price.is-featured { border: 2px solid var(--accent); }
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pill { padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; }
.amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 3.3vw, 48px); letter-spacing: -0.03em; }
.amount span { font-family: var(--font-body); font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.fair { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; }
.fair li { font-size: 16px; font-weight: 600; color: var(--text-2); }
.fair li::before { content: "✓ "; color: var(--accent); }
.price-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 80px; align-items: center; }
.about-photos { display: flex; align-items: flex-end; gap: 16px; }
.photo-slot {
  width: 272px; height: 380px; border-radius: var(--radius-l);
  border: 1px dashed var(--border-strong); background: var(--surface) center / cover no-repeat;
  display: flex; align-items: flex-end; padding: 20px; font-size: 15px; font-weight: 600; color: var(--muted);
}
.photo-slot.is-short { height: 330px; }
.about-text { display: flex; flex-direction: column; gap: 24px; }
.about-text .h2 { margin-bottom: 0; font-size: clamp(32px, 3.9vw, 56px); }
.about-lead { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 32em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 15px; font-weight: 600; }

/* ---------- CTA ---------- */
.section-cta { padding-bottom: 96px; }
.cta {
  border-radius: 36px; background: var(--accent); color: var(--on-accent);
  padding: clamp(36px, 5.5vw, 80px) clamp(22px, 5.5vw, 80px);
  display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center;
}
.cta h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 5vw, 72px); line-height: 1; letter-spacing: -0.04em; }
.cta-form {
  display: flex; gap: 10px; width: 100%; max-width: 820px;
  padding: 8px; border-radius: 999px; background: var(--bg);
}
.cta-form input {
  flex: 1; min-width: 0; height: 58px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px; background: var(--surface); color: var(--text); font-size: 17px;
}
.cta-form input[type="tel"] { flex: 0 1 220px; }
.cta-form input::placeholder { color: var(--muted); }
.cta-form input:focus-visible { outline: none; border-color: var(--accent); }
.cta-form .btn { height: 58px; background: var(--accent); color: var(--on-accent); }
.cta-form .hp { position: absolute; left: -9999px; }
.form-note:empty { display: none; }
.form-note { font-weight: 700; }
.cta-alt { font-size: 17px; font-weight: 600; }
.cta-legal { font-size: 13px; opacity: .8; }
.cta a { color: inherit; }
.cta .btn-dark { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-inner .logo-word { font-size: 18px; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: var(--muted); font-size: 15px; text-decoration: none; }
.footer-nav a:hover { color: var(--text); }

/* ---------- Sticky-Leiste (nur Handy) ---------- */
.sticky-bar { display: none; }

/* ---------- Rechtliche Seiten ---------- */
.legal { padding: 40px 0 var(--section-gap); }
.legal .container { max-width: 820px; }
.legal h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.03em; margin-bottom: 32px; }
.legal h2 { font-size: 20px; font-weight: 700; margin: 32px 0 10px; }
.legal p { color: var(--text-2); margin-bottom: 12px; }
.legal .note { padding: 16px 20px; border-radius: var(--radius-m); border: 1px dashed var(--border-strong); color: var(--muted); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  body { font-size: 16px; padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  .header-inner { min-height: 72px; }
  .hide-mobile { display: none; }
  .show-mobile { display: inline-flex; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: var(--pad-x); right: var(--pad-x); top: calc(100% + 4px);
    flex-direction: column; border-radius: 24px; padding: 10px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 16px; font-size: 17px; }

  .hero-text { gap: 20px; }
  .btn-row { flex-direction: column; width: 100%; }
  .btn-row .btn { width: 100%; height: 54px; font-size: 16px; }

  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 130px 130px; gap: 10px; }
  .tile { padding: 18px; border-radius: 22px; }
  .tile h3 { font-size: 15px; line-height: 1.2; }
  .tile-photo { grid-column: span 2; grid-row: auto; padding: 24px; gap: 8px; }
  .tile-photo h3 { font-size: 26px; }
  .tile-photo p { font-size: 15px; }

  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 0 8px; font-size: 15px; }
  .seg-grid { grid-template-columns: minmax(0, 1fr); }
  .seg-card { padding: 24px; }
  .sp-page { padding: 18px 18px 20px; gap: 14px; }
  #betrieb .seg-preview { order: -1; } /* auf dem Handy direkt unter den Tabs, damit der Aufbau sichtbar ist */
  .checks li { font-size: 16px; }
  .checks li::before { width: 20px; height: 20px; background-size: 11px; }

  .examples, .prices { grid-template-columns: minmax(0, 1fr); }
  .ex-preview { height: 200px; }
  .price { padding: 24px; gap: 10px; }
  .fair { flex-direction: column; gap: 10px; }

  .about-photos { width: 100%; gap: 10px; }
  .photo-slot, .photo-slot.is-short { width: auto; flex: 1; height: 210px; border-radius: 22px; }
  .about-lead { font-size: 16px; }

  .section-cta { padding-bottom: 40px; }
  .section-cta .container { padding: 0 16px; }
  .cta { border-radius: 28px; gap: 14px; }
  .cta-form { flex-direction: column; background: transparent; padding: 0; border-radius: 0; }
  .cta-form input, .cta-form input[type="tel"] { flex: none; height: 52px; background: var(--bg); }
  .cta-form .btn { background: var(--bg); color: var(--accent); height: 54px; }

  .sticky-bar {
    display: flex; gap: 10px; position: fixed; z-index: 60;
    left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .sticky-bar .btn { flex: 1; height: 56px; font-size: 17px; box-shadow: var(--shadow); }
  .sticky-wa {
    width: 56px; height: 56px; flex-shrink: 0; border-radius: 28px;
    display: flex; align-items: center; justify-content: center;
    background: var(--text); color: var(--bg); box-shadow: var(--shadow);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ==========================================================
   Anfrage in 4 Schritten (Wizard)
   ========================================================== */
.wizard {
  display: grid; grid-template-columns: 380px minmax(0, 1fr);
  border-radius: 36px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
}
.wz-side {
  background: var(--accent); color: var(--on-accent);
  padding: 48px 40px; display: flex; flex-direction: column; gap: 24px;
}
.wz-side h2 { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -0.04em; }
.wz-sub { font-size: 17px; font-weight: 600; line-height: 1.45; }
.wz-steps { list-style: none; counter-reset: wz; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.wz-steps li {
  counter-increment: wz; display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 16px; opacity: .55;
}
.wz-steps li::before {
  content: counter(wz); width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid currentColor; font-size: 14px;
}
.wz-steps li.is-current { opacity: 1; }
.wz-steps li.is-current::before { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.wz-steps li.is-done { opacity: .9; }
.wz-steps li.is-done::before { content: "✓"; }
.wz-direct { margin-top: auto; font-size: 15px; font-weight: 600; line-height: 1.6; }
.wz-direct a { color: inherit; }

.wz-main { padding: 44px 48px; display: flex; flex-direction: column; gap: 22px; min-height: 620px; }
.wz-top { display: flex; align-items: center; gap: 16px; }
.wz-count { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.wz-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; }
.wz-bar span { display: block; height: 100%; width: 25%; border-radius: 3px; background: var(--accent); transition: width .3s ease; }

.wz-step { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.js .wz-step:not(.is-active) { display: none; }
.wz-q { padding: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 4px; }
.wz-hint { color: var(--muted); font-size: 15px; margin-top: -8px; }
.wz-label { font-weight: 700; font-size: 15px; margin-top: 6px; }
.wz-error { color: #FF6B6B; font-weight: 700; font-size: 15px; }
[data-theme="light"] .wz-error { color: #C62828; }
.wz-error:empty { display: none; }

/* Auswahl-Karten */
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.opt { position: relative; cursor: pointer; }
.opt input, .chip input, .consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-box {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 20px 52px 20px 20px; border-radius: 18px;
  border: 1.5px solid var(--border-strong); background: var(--bg);
  transition: border-color .15s ease, background-color .15s ease;
  position: relative;
}
.opt-box::after {
  content: ""; position: absolute; right: 18px; top: 20px; width: 22px; height: 22px;
  border-radius: 50%; border: 1.5px solid var(--border-strong);
}
.opt input[type="checkbox"] + .opt-box::after { border-radius: 7px; }
.opt-title { font-weight: 700; font-size: 17px; }
.opt-sub { font-size: 14px; color: var(--muted); }
.opts-sm .opt-box { padding: 16px 48px 16px 16px; }
.opts-sm .opt-box::after { top: 16px; right: 16px; }
.opts-sm .opt-title { font-size: 16px; }
.opt:hover .opt-box { border-color: var(--muted); }
.opt input:checked + .opt-box { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
.opt input:checked + .opt-box::after {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%230C0D10' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
[data-theme="light"] .opt input:checked + .opt-box::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23F6F6F3' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.opt input:focus-visible + .opt-box, .chip input:focus-visible + span, .consent input:focus-visible + span::before { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Chips */
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1.5px solid var(--border-strong); background: var(--bg);
  font-size: 15px; font-weight: 600; transition: border-color .15s ease, background-color .15s ease;
}
.chip:hover span { border-color: var(--muted); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* Felder */
.fields-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 6px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.opt-note { font-weight: 500; color: var(--muted); }
.field input {
  height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1.5px solid var(--border-strong); background: var(--bg); color: var(--text); font-size: 16px;
}
.field input:focus-visible { outline: none; border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: #FF6B6B; }

.consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 15px; position: relative; }
.consent span { display: flex; gap: 12px; }
.consent span::before {
  content: ""; width: 22px; height: 22px; flex-shrink: 0; border-radius: 7px;
  border: 1.5px solid var(--border-strong); background: var(--bg);
}
.consent input:checked + span::before {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%230C0D10' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
[data-theme="light"] .consent input:checked + span::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23F6F6F3' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.consent a { color: var(--accent); }

/* Empfehlung */
.wz-reco {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 22px;
  border-radius: 18px; border: 1.5px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--bg));
}
.wz-reco-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.wz-reco-pkg { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.03em; }
.wz-reco-why { font-size: 15px; color: var(--text-2); }
.wz-reco-why:empty { display: none; }

/* Navigation */
.wz-nav { display: flex; gap: 12px; margin-top: auto; padding-top: 8px; }
.wz-nav .btn { height: 56px; padding: 0 30px; }
.wz-next, .wz-submit { margin-left: auto; }
.wz-back, .wz-next { display: none; }
.js .wz-back, .js .wz-next { display: inline-flex; }
.js .wz-submit { display: none; }
.js .wizard[data-step="1"] .wz-back { visibility: hidden; }
.js .wizard[data-step="4"] .wz-next { display: none; }
.js .wizard[data-step="4"] .wz-submit { display: inline-flex; }
.wz-submit:disabled { opacity: .6; cursor: progress; }

@media (max-width: 1100px) {
  .wizard { grid-template-columns: 300px minmax(0, 1fr); }
  .wz-side { padding: 36px 28px; }
  .wz-side h2 { font-size: 34px; }
  .wz-main { padding: 36px; }
}

@media (max-width: 900px) {
  .wizard { grid-template-columns: minmax(0, 1fr); border-radius: 28px; }
  .wz-side { padding: 28px 22px; gap: 10px; }
  .wz-side h2 { font-size: 32px; }
  .wz-sub { font-size: 15px; }
  .wz-steps, .wz-direct { display: none; }
  .wz-main { padding: 24px 18px 22px; min-height: 0; gap: 18px; }
  .opts, .fields-2 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .opt-box { padding: 16px 48px 16px 16px; }
  .opt-box::after { top: 16px; right: 16px; }
  .wz-nav .btn { flex: 1; padding: 0 16px; }
  .wz-next, .wz-submit { margin-left: 0; }
  .js .wizard[data-step="1"] .wz-back { display: none; }
}
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wz-step legend.wz-q { float: left; width: 100%; }
.wz-step legend.wz-q + * { clear: both; }
.wz-hint { margin-top: 0; }
.wizard { scroll-margin-top: 96px; }
@media (max-width: 900px) {
  .opts-sm .opt-sub { display: none; }
  .opts-sm .opt-box { padding: 14px 46px 14px 16px; }
  .opts-sm .opt-box::after { top: 50%; transform: translateY(-50%); }
  .sticky-bar { transition: opacity .2s ease, transform .2s ease; }
  .wz-in-view .sticky-bar { opacity: 0; transform: translateY(20px); pointer-events: none; }
}

/* Foto-Platzhalter "Über uns": Illustration verschwindet, sobald ein echtes Foto gesetzt ist */
.photo-slot { position: relative; overflow: hidden; color: var(--border-strong); }
.photo-slot svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.photo-slot span { position: relative; color: var(--muted); }
.photo-slot[style*="background-image"] svg, .photo-slot[style*="background-image"] span { display: none; }

/* ---------- Ergänzungen: Icons, Paket-Karten, Überspringen ---------- */
.tile { justify-content: space-between; }
.tile-icon { color: var(--accent); }
.tile-invert .tile-icon { color: inherit; }
.price-list { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 6px; }
.price-list li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--text-2); }
.price-list li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.price-btn { margin-top: auto; width: 100%; }
.price .muted { display: none; }
.btn-ghost { background: transparent; color: var(--muted); border: none; padding: 0 12px; }
.btn-ghost:hover { color: var(--text); }
.wz-skip { display: none; }
.js .wizard[data-step="2"] .wz-skip { display: inline-flex; margin-left: auto; }
.js .wizard[data-step="2"] .wz-next { margin-left: 0; }
@media (max-width: 900px) {
  .tile-icon { width: 24px; height: 24px; }
  .js .wizard[data-step="2"] .wz-skip { flex: 0 0 auto; margin-left: 0; }
}
.tile-photo { justify-content: flex-end; }

/* ---------- Fotos in den kleinen Kacheln (nur wenn Datei vorhanden, siehe main.js) ---------- */
.tile.has-photo:not(.tile-photo) { position: relative; overflow: hidden; color: #FFFFFF; border-color: transparent; background: #1B2230; }
.tile.has-photo:not(.tile-photo)::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--photo) center / cover no-repeat; }
.tile.has-photo:not(.tile-photo)::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5, 8, 13, .25) 0%, rgba(5, 8, 13, .1) 40%, rgba(5, 8, 13, .85) 100%); }
.tile.has-photo:not(.tile-photo) > * { position: relative; z-index: 2; }
.tile.has-photo .tile-icon { color: #FFFFFF; }
.photo-slot.has-photo { background-image: var(--photo); border-style: solid; border-color: transparent; }
.photo-slot.has-photo svg, .photo-slot.has-photo span { display: none; }

/* ==========================================================
   Demo-Konfigurator (demo.html): links Schritte, rechts baut sich die Website
   ========================================================== */
.builder-wrap { padding: 40px 0 var(--section-gap); }
.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 520px); gap: 32px; align-items: start; }
.bd-form { display: flex; flex-direction: column; gap: 22px; order: -1; }
.bd-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 8px; }
.bd-head h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -0.04em; }
.bd-steps { list-style: none; counter-reset: bd; display: flex; flex-wrap: wrap; gap: 6px; }
.bd-steps li {
  counter-increment: bd; display: flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--border);
  font-size: 14px; font-weight: 700; color: var(--muted);
}
.bd-steps li::before {
  content: counter(bd); width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
  border: 1.5px solid currentColor;
}
.bd-steps li.is-current { color: var(--text); border-color: var(--border-strong); }
.bd-steps li.is-current::before { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.bd-steps li.is-done { color: var(--text-2); }
.bd-steps li.is-done::before { content: "✓"; background: var(--text); color: var(--bg); border-color: var(--text); }
.bd-form .wz-step { gap: 16px; }
.bd-form .wz-nav { margin-top: 8px; }
.js .bd-form[data-step="1"] .wz-back { visibility: hidden; }
.js .bd-form:not([data-step="3"]) .wz-skip { display: none; }
.js .bd-form[data-step="5"] .wz-next { display: none; }
.js .bd-form[data-step="5"] .wz-submit { display: inline-flex; }
.bd-form .wz-direct { margin-top: 0; font-size: 15px; color: var(--muted); }
.bd-form .wz-direct a { color: var(--text); }

.bd-stage { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 12px; }
.bd-stage-toggle {
  display: flex; align-items: center; gap: 10px; padding: 0 4px; border: 0; background: none; cursor: default;
  font-size: 14px; font-weight: 700; color: var(--muted); text-align: left;
}
.bd-stage-title { color: var(--text); }
.bd-stage-chev { display: none; }
.bd-preview { min-height: 560px; box-shadow: var(--shadow); position: relative; }
.bd-preview .sp-page { gap: 16px; }
.bd-preview .sp-widgets { margin-top: 0; }
.bd-preview .sp-headline { font-size: clamp(24px, 2.4vw, 34px); }
.sp-navlinks { display: flex; gap: 14px; margin-top: -8px; font-size: 12px; font-weight: 700; color: var(--pv-muted); opacity: 0; transition: opacity .3s ease; }
.sp-navlinks:empty { display: none; }
.bd-preview .sp-brand { min-width: 0; }
.bd-preview .sp-brand > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-navlinks.is-in { opacity: 1; }
.sp-call.is-alert { background: #E5484D; color: #FFFFFF; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-chips[hidden] { display: none; }
.sp-chips span { padding: 6px 11px; border-radius: 999px; background: var(--pv-card); border: 1px solid var(--pv-line); font-size: 12px; font-weight: 700; }
.sp-empty { margin-top: auto; padding: 18px; border-radius: 16px; border: 1.5px dashed var(--pv-line); color: var(--pv-muted); font-size: 14px; font-weight: 600; text-align: center; }
.sp-empty[hidden] { display: none; }
.sp-stepper { display: flex; gap: 6px; margin-top: 10px; }
.sp-stepper span { flex: 1; padding: 6px 0; border-radius: 8px; text-align: center; font-size: 12px; background: var(--pv-bg); color: var(--pv-muted); }
.sp-stepper .is-on { background: var(--pv-acc); color: var(--pv-on-acc); }
.sp-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.sp-gallery i { height: 44px; border-radius: 8px; background: var(--pv-line); }
.sp-stars { color: #E0A400; letter-spacing: 1px; font-size: 14px; flex-shrink: 0; }
.sp-float {
  position: absolute; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #FFFFFF; box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transform: scale(0); transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.sp-float.is-in { transform: scale(1); }
.sp-float[hidden] { display: none; }
/* Mitarbeiter-Regler */
.sizer { display: flex; align-items: center; gap: 14px; }
.sizer-btn {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--border-strong); background: var(--bg); font-size: 24px; line-height: 1;
}
.sizer-btn:hover { border-color: var(--text); }
.sizer-mid { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.sizer-num { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.03em; }
.sizer input[type="range"] {
  --fill: 15%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 0; border-radius: 4px;
  background: linear-gradient(to right, var(--accent) var(--fill), var(--border) var(--fill));
  cursor: pointer;
}
.sizer input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--surface); box-shadow: 0 0 0 1.5px var(--accent);
}
.sizer input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: 0 0 0 1.5px var(--accent); }
.sizer input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }

.bd-reco { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); font-size: 15px; }
.bd-reco b { font-family: var(--font-display); font-size: 16px; letter-spacing: -0.02em; }
.bd-reco[hidden] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .bd-preview .sp-headline { transition: opacity .2s ease; }
  .sp-call { transition: background-color .25s ease, color .25s ease; }
}

@media (max-width: 1100px) {
  .builder { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 24px; }
  .bd-preview { min-height: 480px; }
  .bd-preview .sp-page { padding: 18px 20px 22px; }
}

/* Handy: Vorschau als feste Leiste oben, antippen klappt sie auf */
@media (max-width: 900px) {
  .builder-wrap { padding-top: 12px; }
  .builder { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .bd-form { order: 0; }
  .bd-stage {
    order: -1; top: 80px; z-index: 40; gap: 0;
    border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
    overflow: hidden;
  }
  .bd-stage-toggle { height: 48px; padding: 0 16px; cursor: pointer; width: 100%; }
  .bd-stage-count { margin-left: auto; }
  .bd-stage-chev { display: block; transition: transform .2s ease; }
  .bd-stage.is-open .bd-stage-chev { transform: rotate(180deg); }
  .bd-preview {
    min-height: 0; height: 200px; border-radius: 0; box-shadow: none; zoom: .72;
    overflow: hidden; transition: height .3s ease;
  }
  .bd-preview .sp-bar { display: none; }
  .bd-preview .sp-page { padding: 14px 18px 18px; gap: 12px; }
  .bd-preview .sp-headline { font-size: 22px; }
  .bd-stage.is-open .bd-preview { height: auto; max-height: 70vh; overflow: auto; }
  .bd-reco { border-radius: 0; border-width: 1px 0 0; }
  .bd-head h1 { font-size: 30px; }
  .bd-steps li { padding: 4px 10px 4px 4px; font-size: 13px; }
  .bd-steps li::before { width: 20px; height: 20px; font-size: 11px; }
  .bd-steps li:not(.is-current) { font-size: 0; gap: 0; padding-right: 4px; }
  .bd-steps li:not(.is-current)::before { font-size: 11px; }
}

/* ==========================================================
   v2 – mutiger: Stecker-Motiv, größere Display-Schrift, Browser-Details
   ========================================================== */
:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Browser-Oberflächen */
::selection { background: var(--accent); color: var(--on-accent); }
html { scrollbar-color: var(--border-strong) var(--bg); }
input, textarea { caret-color: var(--accent); }
a { text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
.amount, .sizer-num { font-variant-numeric: tabular-nums; }

/* Buttons: spürbarer Hover */
.btn { transition: transform .2s cubic-bezier(.16, 1, .3, 1), background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 84%, var(--text)); }
.btn-dark:hover { background: color-mix(in srgb, var(--bg) 85%, var(--accent)); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } .btn:active { transform: scale(.98); } }

/* Hero: "Internet" wird eingesteckt – die Klammern aus dem Logo schließen sich um das Wort */
.hero h1 { max-width: 14.5ch; text-wrap: balance; }
.plug { white-space: nowrap; display: inline-block; }
.plug-b {
  display: inline-block; width: .3em; height: .62em; vertical-align: -.02em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 28'%3E%3Cpath d='M11 3 3 14l8 11' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 28'%3E%3Cpath d='M11 3 3 14l8 11' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plug-l { margin-right: .06em; }
.plug-r { margin-left: .06em; transform: scaleX(-1); }
@media (prefers-reduced-motion: no-preference) {
  .plug-l { animation: plug-l 1.1s cubic-bezier(.16, 1, .3, 1) .35s both; }
  .plug-r { animation: plug-r 1.1s cubic-bezier(.16, 1, .3, 1) .35s both; }
  .plug { animation: plug-on .5s ease 1.05s both; }
  @keyframes plug-l { from { transform: translateX(-.45em); opacity: .25; } }
  @keyframes plug-r { from { transform: translateX(.45em) scaleX(-1); opacity: .25; } }
  @keyframes plug-on { from { color: var(--text); } }
}
.hero-text { gap: 28px; }
.hero .badge { order: 3; border-color: transparent; padding-left: 0; }
.hero .lead { color: var(--text-2); }

/* Überschriften mit voller Kraft */
.h2 { font-size: clamp(34px, 4.6vw, 68px); line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
.section .h2 { margin-bottom: clamp(28px, 3vw, 44px); }
.about-text .h2 { font-size: clamp(34px, 4.6vw, 68px); }

/* Bento: Icon oben, Titel unten, leichtes Anheben */
.tile { transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .2s ease; }
.tile:not(.tile-photo) .tile-icon { width: 36px; height: 36px; }
@media (hover: hover) { .tile:not(.tile-photo):hover { transform: translateY(-4px); border-color: var(--border-strong); } }

/* Beispiele: echtes Foto aus der Demo, Hover hebt die Karte */
.example { transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .2s ease, box-shadow .35s ease; }
.ex-preview { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.ex-preview p { position: relative; z-index: 2; font-size: clamp(22px, 2vw, 28px); max-width: 11ch; }
.ex-preview.has-photo { color: #FFFFFF; background: #16181D; }
.ex-preview.has-photo::before { content: ""; position: absolute; inset: 0; background: var(--photo) center 30% / cover no-repeat; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.ex-preview.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 13, 0) 35%, rgba(5, 8, 13, .8) 100%); }
.ex-label span { display: inline-block; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
@media (hover: hover) {
  .example:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .example:hover .ex-preview::before { transform: scale(1.04); }
  .example:hover .ex-label span { transform: translate(3px, -3px); }
}

/* Preise: das beliebte Paket steht in Akzentfarbe */
.amount { font-size: clamp(40px, 4vw, 60px); letter-spacing: -0.04em; }
.price.is-featured { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.price.is-featured .amount span,
.price.is-featured .price-list li { color: var(--on-accent); }
.price.is-featured .amount span { opacity: .75; }
.price.is-featured .pill { background: var(--on-accent); color: var(--accent); }
.price.is-featured .btn-accent { background: var(--bg); color: var(--text); }
.price.is-featured .btn-accent:hover { background: color-mix(in srgb, var(--bg) 85%, var(--accent)); }
.price-list li::before, .fair li::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; background: var(--accent);
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
.price.is-featured .price-list li::before { background: var(--on-accent); }
.fair li { display: flex; align-items: center; gap: 10px; }
@media (min-width: 901px) { .price.is-featured { transform: translateY(-12px); } }

/* CTA: größte Schrift der Seite */
.cta { gap: 32px; }
.cta h2 { font-size: clamp(40px, 7vw, 96px); line-height: .95; }

@media (max-width: 900px) {
  .hero .badge { padding-left: 0; }
  .tile:not(.tile-photo) .tile-icon { width: 26px; height: 26px; }
}
.price-top { flex-wrap: wrap; row-gap: 8px; }
.pill { flex-shrink: 0; }
.sp-result small { color: var(--pv-muted); }
.notif { border-color: transparent; }
@media (hover: hover) { .example:hover { border-color: transparent; } }

/* ---------- v2: Telefon zeigt die echte Demo "Elektro Vogt" ---------- */
.hero-visual { height: 640px; }
.phone {
  left: 120px; top: 6px; width: 304px; height: 628px; padding: 9px; border-radius: 54px;
  background: #0A0B0D; border: none;
  box-shadow:
    inset 0 0 0 1.5px #2E3138,
    inset 0 0 0 4px #0A0B0D,
    inset 0 0 0 5px #1E2026,
    0 40px 80px -20px rgba(0, 0, 0, .6),
    0 18px 36px -18px rgba(0, 0, 0, .5);
}
[data-theme="light"] .phone { box-shadow: inset 0 0 0 1.5px #2E3138, inset 0 0 0 4px #0A0B0D, inset 0 0 0 5px #1E2026, 0 40px 80px -24px rgba(13, 15, 20, .35), 0 16px 32px -16px rgba(13, 15, 20, .25); }
/* Seitentasten */
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #1E2026; }
.phone::before { left: -3px; top: 150px; height: 64px; box-shadow: 0 -52px 0 -6px #1E2026; }
.phone::after { right: -3px; top: 190px; height: 92px; }
.phone-screen { padding: 0; gap: 0; border-radius: 45px; background: #15171B; color: #FFFFFF; }
.phone-screen::before { top: 11px; width: 92px; height: 27px; margin-left: -46px; border-radius: 14px; background: #000; z-index: 3; }
.ps-status { position: relative; z-index: 2; flex-shrink: 0; height: 48px; padding: 6px 26px 0 30px; font-size: 13px; background: #15171B; color: #FFFFFF; }
.ps-status-icons i { background: #FFFFFF; }
.ps-frame { position: relative; flex: 1; overflow: hidden; background: #15171B; }
.ps-frame iframe {
  position: absolute; left: 0; top: 0; border: 0; pointer-events: none;
  width: 390px; height: calc(100% / var(--ps-scale, .7)); transform: scale(var(--ps-scale, .7)); transform-origin: 0 0;
  opacity: 0; transition: opacity .6s ease;
}
.ps-frame iframe.is-ready { opacity: 1; }
/* Home-Indikator */
.phone-screen::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 110px; height: 4px; margin-left: -55px; border-radius: 2px; background: rgba(255, 255, 255, .55); z-index: 3; mix-blend-mode: difference; }

/* Benachrichtigungen: ruhiger, gleiche Breite, klar an den Rändern */
.notif { width: 236px; padding: 12px 16px 12px 12px; border-radius: 20px; }
.n1 { left: -8px; top: 96px; }
.n2 { right: 0; top: 300px; }
.n3 { left: 16px; bottom: 96px; }
.phone { left: auto; right: 16px; }
.n1 { left: -24px; right: auto; top: 112px; bottom: auto; }
.n2 { left: -28px; right: auto; top: 270px; bottom: auto; }
.n3 { left: 8px; right: auto; top: 420px; bottom: auto; }
.ps-frame { margin-top: -2px; } /* Statusleiste überdeckt die Kante der skalierten Demo, sonst Haarlinie */

/* Preise: zwei Pakete (Stand Inhaber) */
.prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.price-includes { margin: -4px 0 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.price.is-featured .price-includes { color: var(--on-accent); opacity: .8; }
.price-list li { align-items: flex-start; line-height: 1.35; }
.price-list li::before { margin-top: 3px; }
@media (max-width: 900px) { .prices { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Umspannwerk: großes Paket über die volle Breite ---------- */
.price-xl {
  grid-column: 1 / -1; position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 24px;
  padding: clamp(28px, 3.4vw, 48px);
  background: var(--text); color: var(--bg); border-color: var(--text);
}
.xl-text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; position: relative; z-index: 1; }
.price-xl .price-top { width: 100%; justify-content: flex-start; }
.price-xl h3 { font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -0.035em; }
.price-xl .amount { font-size: clamp(30px, 2.8vw, 40px); }
.price-xl .price-includes, .price-xl .price-list li { color: color-mix(in srgb, var(--bg) 78%, var(--text)); }
.price-xl .price-list li::before { background: var(--bg); }
.price-xl .pill { background: transparent; color: var(--bg); border: 1px solid color-mix(in srgb, var(--bg) 35%, var(--text)); }
.price-xl .price-list { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; }
.price-xl .price-btn { width: auto; margin-top: 6px; }
[data-theme="dark"] .price-xl .btn-accent, :root:not([data-theme="light"]) .price-xl .btn-accent { background: var(--bg); color: var(--text); }
[data-theme="light"] .price-xl .btn-accent { background: var(--accent); color: #FFFFFF; }

.xl-art { width: 100%; height: auto; max-height: 340px; margin: -12px -12px -40px 0; justify-self: end; }
.xl-mast path, .xl-wire path { stroke: color-mix(in srgb, var(--bg) 40%, var(--text)); stroke-width: 2; }
.xl-wire path { stroke-width: 1.6; }
.xl-pulse path { stroke: #0A7CC2; stroke-width: 3; stroke-dasharray: 18 400; stroke-dashoffset: 18; opacity: 0; }
[data-theme="light"] .xl-pulse path { stroke: #4FD1FF; }
@media (prefers-reduced-motion: no-preference) {
  .xl-pulse path { animation: xl-flow 3.2s cubic-bezier(.5, 0, .3, 1) infinite; }
  .xl-pulse path:nth-child(2) { animation-delay: .45s; }
  .xl-pulse path:nth-child(3) { animation-delay: 1.6s; }
  .xl-pulse path:nth-child(4) { animation-delay: 2.05s; }
  @keyframes xl-flow {
    0% { stroke-dashoffset: 18; opacity: 0; }
    8% { opacity: 1; }
    40% { stroke-dashoffset: -190; opacity: 1; }
    48%, 100% { stroke-dashoffset: -220; opacity: 0; }
  }
}
@media (min-width: 901px) { .price-xl { transform: none; } }
@media (max-width: 900px) {
  .price-xl { grid-template-columns: minmax(0, 1fr); }
  .xl-art { order: -1; max-height: 160px; margin: -8px 0 -16px; justify-self: center; }
  .price-xl .price-btn { width: 100%; }
}
