/* IT-Unna – Startseite (hell, schlank). Die Rechtstexte in #legal-view nutzen dieselben Grundstile. */
:root {
  --bg: #faf7f0;
  --surface: #fffdf9;
  --ink: #1b2620;
  --muted: #5d655e;
  --line: #ebe4d6;
  --btn: #197a45;
  --sand: #f3f0e8;
  --dark: #0f1a14;
  --on-dark: #eef4ef;
  --on-dark-muted: #a9b9ae;
  --bright: #14c456;
  --border: var(--line);
  --brand: #1f8f4f;
  --brand-dark: #13663a;
  --brand-soft: #e5f3e9;
  --wa: #25d366;
  --wa-dark: #1fbf5a;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(70, 50, 20, .05), 0 14px 34px rgba(70, 50, 20, .08);
  --wrap: 1100px;
  --head: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Dunkler Grund hinter der ganzen Seite: beim Überziehen (iPad, iPhone) oben und unten sieht man Kopf- und Fußfarbe statt Hell */
html { background: var(--dark); }
body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font: 400 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; background: var(--bg); }
body > .foot { margin-top: auto; flex-shrink: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-dark); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0; }
[hidden] { display: none !important; }
.sprite { display: none; }
.ic { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
/* Anker: Sektions-Padding abziehen, Inhalt mit etwas Luft unter der Navbar */
.sec[id] { scroll-margin-top: calc(var(--head) - 48px); }
@media (max-width: 700px) {
  .sec[id] { scroll-margin-top: calc(var(--head) - 28px); }
}
[id="fernwartung"], article[id], #contact-form { scroll-margin-top: var(--head); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px;
  border: 1px solid transparent; border-radius: 12px;
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: left;
  cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-call, .btn-call:visited { background: var(--btn); color: #fff; box-shadow: 0 6px 16px rgba(25, 122, 69, .26); }
.btn-call:hover { background: var(--brand-dark); }
.btn-wa, .btn-wa:visited { background: var(--wa); color: #04351a; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cfc6b3; background: #fff; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .95rem; }
.btn-lg { min-height: 58px; padding: 12px 24px; font-size: 1.05rem; }
.btn-two small { display: block; font-size: .78rem; font-weight: 500; opacity: .75; }
.btn-block { width: 100%; }

/* ---------- Kopfzeile ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15, 26, 20, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.is-scrolled { border-bottom-color: rgba(255, 255, 255, .1); }
.top .wrap { height: var(--head); display: flex; align-items: center; gap: 20px; }
.brand { flex: none; }
.brand img { width: auto; height: 30px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--on-dark-muted); font-size: .95rem; font-weight: 500; text-decoration: none; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.top .btn .short { display: none; }
@media (max-width: 1080px) {
  .top .btn .long { display: none; }
  .top .btn .short { display: inline; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 72px;
  background: radial-gradient(900px 440px at 88% -30%, rgba(70, 209, 127, .16), transparent 62%), var(--dark);
  color: var(--on-dark);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center;
  padding: .38em .8em; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: .82rem; font-weight: 600; line-height: 1.2; letter-spacing: 0;
}
.hero h1 { margin: 12px 0 16px; font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 750; color: #fff; }
.hero h1 .hl { color: var(--bright); }
.lead { max-width: 36em; color: var(--on-dark-muted); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.points li { display: flex; align-items: center; gap: 8px; }
.points .ic { color: var(--brand); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.person { min-width: 0; padding: 28px; color: var(--ink); }
.person-head { display: flex; align-items: center; gap: 14px; }
.person-head b { display: block; font-size: 1.1rem; }
.person-head > div > span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; }
.avatar {
  flex: none;
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; background: #2a2a2a;
  border: 2px solid #fff; box-shadow: 0 0 0 2px var(--brand);
}
.person blockquote { margin: 20px 0; font-size: 1.08rem; line-height: 1.5; }
.person ul { display: grid; gap: 10px; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: .93rem; }
.person li { display: flex; align-items: center; gap: 10px; }
.person li .ic { color: var(--brand); }
.dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .2); }

@media (max-width: 980px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .actions .btn { flex: 1 1 100%; }
}

/* ---------- Abschnitte ---------- */
.sec { padding: 76px 0; }
.sec-alt { background: var(--sand); border-block: 1px solid var(--line); }
.sec-alt .card { background: var(--surface); }
.sec-head { max-width: 660px; margin-bottom: 36px; }
.sec-head.tight { margin-bottom: 0; }
.sec-head h2 { margin: 12px 0 10px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.sec-head p { color: var(--muted); }
@media (max-width: 700px) { .sec { padding: 56px 0; } }

/* ---------- Leistungen ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
a.tile, a.tile:visited { color: inherit; text-decoration: none; }
.tile { display: flex; flex-direction: column; gap: 14px; padding: 24px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.tile:hover { transform: translateY(-2px); border-color: var(--brand); }
.tile-head { display: flex; align-items: center; gap: 14px; }
.tile-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-dark); }
.tile h3 { font-size: 1.15rem; line-height: 1.25; }
.tile p { color: var(--muted); font-size: .98rem; line-height: 1.55; }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.kind-toggle { display: inline-flex; margin-top: 18px; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.kind-toggle button { font: inherit; font-weight: 600; font-size: .95rem; padding: 8px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.kind-toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.kind-toggle button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.kind-note { margin: 8px 0 0; }
.tile-price { display: flex; flex-direction: column; line-height: 1.2; }
.tile-price small { color: var(--muted); font-size: .78rem; font-weight: 500; }
.tile-foot b { font-size: 1.35rem; font-weight: 750; letter-spacing: -.02em; }
.tile .tag { padding: 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: .8rem; font-weight: 600; }
.offer-limit { max-width: 46rem; margin: 22px 0 0; color: var(--muted); }
.offer-limit + .offer-limit { margin-top: 10px; }
.offer-not { color: var(--ink); font-weight: 500; }
@media (min-width: 980px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } .tile:hover { transform: none; } }
@media (max-width: 700px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Ablauf & Preise ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.steps { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--btn); color: #fff; font-weight: 700;
  box-shadow: 0 4px 10px rgba(25, 122, 69, .25);
}
.steps h3 { margin: 9px 0 4px; font-size: 1.1rem; }
.steps p { color: var(--muted); }

.prices { padding: 26px; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.price-row b { font-size: 1.05rem; }
.price-row small { display: block; margin-top: 2px; color: var(--muted); font-size: .9rem; }
.amount { font-size: 1.6rem; font-weight: 750; white-space: nowrap; }
.zones { padding: 16px 0; border-bottom: 1px solid var(--line); }
.zones > b { display: block; margin-bottom: 6px; }
.zone-card { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; font-size: .95rem; }
.zone-card h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.zone-card p { order: 1; color: var(--muted); }
.zone-card .price { order: 2; font-weight: 600; white-space: nowrap; }
.fine { padding: 16px 0 20px; color: var(--muted); font-size: .88rem; }
.zone-note { padding: 8px 0 0; }

.remote { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; margin-top: 48px; padding: 28px; }
.remote h3 { margin: 12px 0 8px; font-size: 1.25rem; }
.remote p { color: var(--muted); }
.dl { display: flex; flex-wrap: wrap; gap: 10px; }
.dl .btn { flex: 1 1 180px; }
.dl-note { margin-top: 10px; color: var(--muted); font-size: .85rem; }
.remote details { margin-top: 14px; font-size: .93rem; }
.remote summary { color: var(--brand-dark); font-weight: 600; cursor: pointer; }
.mac-setup { display: grid; gap: 8px; margin: 12px 0 0; }
.mac-setup > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.mac-setup dt { color: var(--muted); font-size: .78rem; }
.mac-setup dd { margin: 0; font: .85rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.mac-setup button { flex: none; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; font-size: .82rem; cursor: pointer; }
.safe { display: flex; gap: 10px; margin-top: 16px; color: var(--muted); font-size: .88rem; }
.safe .ic { margin-top: 2px; color: var(--brand-dark); }

@media (max-width: 880px) {
  .split, .remote { grid-template-columns: 1fr; }
  .split { gap: 36px; }
}

/* ---------- Über mich & Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about h2 { margin: 12px 0 18px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.about .person-head { margin-bottom: 18px; }
.about p { color: #33413a; }
.about p + p { margin-top: 12px; }
.direct { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.facts { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.facts li { display: flex; align-items: flex-start; gap: 12px; }
.facts strong { display: block; color: var(--ink); font-weight: 600; }
.facts .ic { margin-top: 3px; color: var(--brand); }
.contact-alt { margin-top: 22px; color: var(--muted); font-size: .85rem; }

.contact { padding: 28px; }
.contact h3 { font-size: 1.25rem; }
.form-intro { margin: 6px 0 20px; color: var(--muted); font-size: .95rem; }
.contact label { display: grid; gap: 6px; margin-bottom: 14px; font-size: .92rem; font-weight: 600; }
.contact label small { color: var(--muted); font-weight: 400; }
.contact input, .contact textarea, .contact select {
  width: 100%; padding: 12px 14px;
  border: 1px solid #d9d2c3; border-radius: 12px;
  background: #fff; color: var(--ink); font: inherit; font-weight: 400;
}
.contact textarea { min-height: 130px; resize: vertical; }
.contact input:focus, .contact textarea:focus, .contact select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 143, 79, .18); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; }
.privacy { margin-bottom: 16px; color: var(--muted); font-size: .85rem; }
.form-status { min-height: 1.4em; margin-top: 12px; color: var(--brand-dark); font-size: .95rem; }
.form-status.err { color: #b42318; }

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Fußzeile ---------- */
.foot { padding: 36px 0 44px; color: var(--on-dark-muted); font-size: .9rem; background: var(--dark); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--on-dark-muted); text-decoration: none; }
.foot a:hover { color: #fff; }
body.has-cta .foot { padding-bottom: 112px; }

/* ---------- Mobile Kontaktleiste ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  display: none; gap: 8px; padding: 8px; border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
  transform: translateY(140%); visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
}
.mobile-cta .btn { flex: 1; }
.mobile-cta.is-shown { transform: none; visibility: visible; transition: transform .25s ease; }
html.is-phone .mobile-cta { display: flex; }
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }

/* ---------- Rechtstexte ---------- */
.legal-page { padding: 40px 0 72px; }
.legal-page .wrap { max-width: 800px; }
.back-link { display: inline-flex; gap: 8px; margin-bottom: 24px; font-weight: 600; text-decoration: none; }
.legal { padding: clamp(22px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.legal h2 { margin: 12px 0 10px; font-size: 1.9rem; }
.legal h3 { margin: 28px 0 8px; font-size: 1.1rem; }
.legal p { margin-bottom: 10px; color: #33413a; }
.legal .contact-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.legal .contact-list strong { display: block; }
.legal .tick { display: none; }

.zones summary { cursor: pointer; padding: 4px 0; }
.zones .zones-head { margin: 0 0 10px; }
.zones details[open] summary { margin-bottom: 8px; }
.remote details > summary { margin-bottom: 4px; }

.prices-solo { max-width: 640px; margin-inline: auto; }
.steps-row { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps-row li { grid-template-columns: 1fr; gap: 12px; }
@media (max-width: 800px) { .steps-row { grid-template-columns: 1fr; gap: 20px; } .steps-row li { grid-template-columns: 44px 1fr; gap: 16px; } }
#fernwartung-bereich .remote { margin-top: 0; }

/* WhatsApp nur auf dem Handy */
.hero-wa, .mo-only { display: none; }
/* Gerätebasiert: Die Klasse is-phone setzt ein kleines Skript im Kopf der Seite (Handy-Kennung im Browser) */
html.is-phone .hero-wa { display: inline-flex; }
html.is-phone .mo-only { display: inline-flex; }
html.is-phone span.mo-only { display: inline; }
html.is-phone .pc-only { display: none; }
@media (max-width: 700px) {
  /* untereinander: alle Knöpfe gleich breit; auf dem Handy (mit WhatsApp) Anrufen oben, WhatsApp und E-Mail nebeneinander */
  .direct { display: grid; grid-template-columns: 1fr; }
  .direct .btn { width: 100%; justify-content: center; padding-inline: 12px; }
  html.is-phone .direct { grid-template-columns: 1fr 1fr; }
  html.is-phone .direct .btn:first-child { grid-column: 1 / -1; }
}

/* Sehr schmale Handys (320–380 px): Kopfzeile und Überschriften passen sich an */
@media (max-width: 380px) {
  .top .wrap { gap: 10px; }
  .brand img { height: 24px; }
  .btn-sm { padding: 8px 11px; }
}
.legal h2 { font-size: clamp(1.45rem, 6.2vw, 1.9rem); overflow-wrap: anywhere; hyphens: auto; }
.legal h3, .legal p { overflow-wrap: anywhere; }
.steps-row li { align-content: start; }

/* ---------- Buttons auf dunklem Grund (Kopf und Hero) ---------- */
.top .btn-call, .top .btn-call:visited,
.hero .btn-call, .hero .btn-call:visited { background: var(--bright); color: #06210f; box-shadow: none; }
.top .btn-call:hover, .hero .btn-call:hover { background: #33d56f; }
.hero .btn-ghost, .hero .btn-wa, .hero .btn-wa:visited { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .32); }
.hero .btn-ghost:hover, .hero .btn-wa:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); }

/* Hinweis: Einschätzung / Festpreis vorab */
.estimate { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 4px; padding: 16px 18px; border: 1px solid #cfe6d6; border-radius: 14px; background: var(--brand-soft); }
.estimate .ic { width: 1.5em; height: 1.5em; margin-top: 2px; padding: 4px; border-radius: 50%; background: var(--btn); color: #fff; stroke-width: 3; }
.estimate b { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.estimate p { color: var(--ink); font-size: .95rem; line-height: 1.5; }

/* Zeitpreis als kleine Tabelle */
.price-block { padding: 20px 0 6px; border-bottom: 1px solid var(--line); }
.pb-title { display: block; font-size: 1.05rem; line-height: 1.3; }
.pb-sub { margin: 4px 0 12px; color: var(--muted); font-size: .92rem; }
.price-list { margin: 0; }
.price-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.price-list dt { color: var(--ink); }
.price-list dd { margin: 0; font-weight: 750; white-space: nowrap; }
.pb-example { margin: 4px 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--bg); color: var(--muted); font-size: .93rem; }
.pb-example strong { color: var(--ink); }
@media (max-width: 480px) {
  .prices { padding: 20px; }
  .estimate { padding: 14px; gap: 10px; }
  .estimate .ic { width: 1.35em; height: 1.35em; padding: 3px; flex: none; }
}

/* ---------- Touch: große Ziele, keine Zoom-Sprünge, Notch ---------- */
a, button, summary, label, select, input, textarea { touch-action: manipulation; -webkit-tap-highlight-color: rgba(31, 143, 79, .18); }
.btn-sm { min-height: 44px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.contact input, .contact textarea, .contact select { font-size: 1rem; }
.mac-setup button { min-height: 44px; padding: 10px 14px; }
.zones summary, .remote summary { padding: 10px 0; }
.foot { padding: 20px 0 28px; }
.foot nav { gap: 0 10px; }
.foot a { display: inline-block; padding: 12px 6px; }
.mobile-cta { left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
.foot a { min-width: 44px; text-align: center; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; }

/* Einschätzung/Festpreis: kurze Liste statt Fließtext */
.estimate { display: block; padding: 16px 18px; }
.estimate b { display: block; margin-bottom: 10px; font-size: 1.05rem; line-height: 1.3; }
.estimate ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.estimate li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.4; }
.estimate li .ic { flex: none; width: 1.2em; height: 1.2em; margin-top: 2px; padding: 0; background: none; color: var(--btn); stroke-width: 3; }
@media (max-width: 480px) { .estimate { padding: 14px; } }

/* Preisrechner */
.calc { margin: 14px 0 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.calc-title { display: block; margin-bottom: 8px; font-weight: 700; font-size: 1.02rem; }
.calc select { width: 100%; padding: 12px 14px; border: 1px solid #d9d2c3; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; }
.calc-out { margin-top: 12px; }
.calc-range { font-size: 1.15rem; font-weight: 750; }
.calc-meta { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.calc-note { margin: 8px 0 12px; color: var(--muted); font-size: .85rem; }
.calc-out .btn { width: 100%; margin-top: 14px; }
@media (max-width: 480px) { .calc { padding: 14px; } }

/* Preise auf breiten Bildschirmen: zwei Spalten in einer Karte */
@media (min-width: 900px) {
  .prices-solo { max-width: 1000px; }
  .prices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; align-items: start; }
  .prices-grid .estimate { margin-top: 20px; }
  .prices-grid .price-block { padding-top: 20px; }
  .prices-grid .pcol + .pcol { border-left: 1px solid var(--line); padding-left: 36px; }
  .prices-grid .pcol .fine { padding-bottom: 6px; }
}

.calc-extra { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: #fdf3d9; color: var(--ink); font-size: .9rem; font-weight: 600; }

/* Startbereich: „Preis schätzen“ ist immer der grüne Hauptknopf an erster Stelle.
   Der zweite (Rahmen-)Knopf ist der Kontaktweg, der zum Gerät passt:
   Handy: WhatsApp (Anrufen steht oben rechts) · Tablet/schmal: Nummer (Kopfzeile zeigt nur „Anrufen“) · Desktop: Kurz schreiben */
.hero-write2 { display: none; }
.hero .actions .hero-write { order: 0; background: var(--bright); color: #06210f; border-color: transparent; }
.hero .actions .hero-write:hover { background: #33d56f; }
.hero .actions .btn-two, .hero .actions .hero-write2, .hero .actions .hero-wa { order: 1; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .32); box-shadow: none; }
.hero .actions .btn-two:hover, .hero .actions .hero-write2:hover, .hero .actions .hero-wa:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); }
@media (min-width: 1081px) {
  html:not(.is-phone) .hero .actions .btn-two { display: none; }
  html:not(.is-phone) .hero .actions .hero-write2 { display: inline-flex; }
}
html.is-phone .hero .actions .btn-two { display: none; }

/* Footer auf dem Handy: Links zentriert in einer Zeile (bei Bedarf zweizeilig), Copyright darunter, Platz für Home-Leiste */
@media (max-width: 600px) {
  .foot { padding: 20px 0 max(28px, env(safe-area-inset-bottom)); }
  .foot .wrap { flex-direction: column-reverse; align-items: center; gap: 8px; }
  .foot nav { justify-content: center; gap: 0; }
  .foot nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 7px; font-size: .86rem; }
  .foot .wrap > span { text-align: center; font-size: .82rem; line-height: 1.5; }
}

/* Auswahl aus dem Preisrechner im Anfrageformular */
.picked { margin-bottom: 14px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px; border: 1px solid #b9dcc6; border-radius: 12px; background: #eef7f1; }
.picked[hidden] { display: none; }
.picked-k { grid-column: 1; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--btn); }
.picked-v { grid-column: 1 / -1; font-weight: 650; }
.picked-x { min-height: 44px; padding: 8px 4px; border: 0; background: none; color: var(--muted); font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; }
.picked-p { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }
.picked-x { grid-column: 2; grid-row: 1; margin: -12px -4px -12px 0; }
.calc-hint { margin: 10px 0 0; color: var(--muted); font-size: .9rem; }
.calc-hint[hidden] { display: none; }

/* Bestätigung nach der Anfrage (ersetzt das Formular) */
.sent-box[hidden], .contact[hidden] { display: none; }
.sent-box h3 { margin-bottom: 8px; }
.sent-box p { color: var(--ink); }
.sent-steps { margin: 14px 0; padding-left: 1.25rem; color: var(--muted); }
.sent-steps li { margin: 6px 0; }
.sent-mail { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }

/* Dropdowns: eigener Pfeil mit Abstand zum Rand */
.calc select, .contact select {
  -webkit-appearance: none; appearance: none;
  padding-right: 44px; cursor: pointer; text-overflow: ellipsis;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.75 7 7.25l5.5-5.5' fill='none' stroke='%236b6558' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 14px 9px;
}
