/* wischmops v2 – "Schaukasten": blauer Grund, Inhalte als weisse Aushänge.
   Gilt für home, impressum, datenschutz und die Antwortseiten von kontakt.php */

@font-face { font-family: "Gabarito"; src: url("fonts/gabarito.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --blue: #0153F2;
  --navy: #04143D;
  --cyan: #00E5FF;
  --paper: #FFFFFF;
  --ink: #0A1A45;
  --ink-soft: #44557F;
  --placeholder: #5F6E94;
  --rule: #D9E4FA;
  --wash: #F3F7FF;
  --on-blue-soft: #DCE8FF;
  --line-on-blue: rgba(255, 255, 255, .28);
  --edge-on-blue: rgba(255, 255, 255, .6);
  --field-edge: #6F82B5;
  --error: #B42318;
  --display: "Gabarito", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sheet-shadow: 0 2px 4px rgba(2, 12, 40, .14), 0 28px 56px -16px rgba(2, 12, 40, .45);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-color: var(--cyan) var(--navy); }

body {
  margin: 0;
  background: var(--blue);
  color: #fff;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--blue);
  accent-color: var(--blue);
}

::selection { background: var(--cyan); color: var(--navy); }

img, svg { max-width: 100%; }

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
h1 { font-size: clamp(2.75rem, 6.6vw, 5.5rem); font-weight: 800; line-height: .98; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; }
h3 { font-size: 1.3125rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }

a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .08em; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.sheet :focus-visible { outline-color: var(--blue); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 20px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; }

.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  border: 1.5px solid transparent; border-radius: 8px;
  font: 700 1.0625rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: #fff; color: var(--blue); }
.btn-primary:hover { background: var(--cyan); color: var(--navy); }
.btn-ghost { border-color: var(--edge-on-blue); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.sheet .btn-primary { background: var(--blue); color: #fff; }
.sheet .btn-primary:hover { background: var(--navy); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--blue); border-bottom: 1px solid var(--line-on-blue); }
.site-header .container { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: flex; margin-right: auto; min-width: 0; }
/* Logo-JPEG hat blauen Grund: lighten lässt nur das Weiss stehen */
.brand img { display: block; height: auto; width: auto; max-height: 38px; max-width: 100%; mix-blend-mode: lighten; }
.nav { display: none; gap: 32px; }
.nav a { font-weight: 600; font-size: 1rem; text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent; transition: border-color 200ms var(--ease); }
.nav a:hover { border-color: var(--cyan); }
.site-header .btn { min-height: 44px; padding: 8px 18px; font-size: 1rem; white-space: nowrap; }
.header-phone { display: none; }

/* ---------- Bänder ---------- */
section { padding-block: clamp(72px, 10vw, 136px); }
.band-navy { background: var(--navy); }
.section-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; color: var(--on-blue-soft); margin-top: 20px; max-width: 62ch; }
.aside-line { margin-top: 32px; color: var(--on-blue-soft); max-width: 75ch; }
.claim { font: 800 clamp(1.625rem, 3.4vw, 2.5rem)/1.1 var(--display); letter-spacing: -0.02em; color: var(--cyan); margin-top: clamp(48px, 6vw, 80px); }
.aside-line strong { color: #fff; font-weight: 700; }

/* ---------- Aushang (Sheet) ---------- */
.sheet { background: var(--paper); color: var(--ink); border-radius: 10px; box-shadow: var(--sheet-shadow); overflow: hidden; }
.band-navy .sheet { box-shadow: none; }
.sheet-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px;
  padding: 16px 24px; border-bottom: 1px solid var(--rule);
  font: 700 1.1875rem/1.3 var(--display);
}
.sheet-head span + span { color: var(--ink-soft); font: 500 .9375rem/1.4 var(--body); }
.sheet.doc { max-width: 900px; }
.sheet-foot strong { color: var(--ink); }
.sheet-foot { padding: 14px 24px; border-top: 1px solid var(--rule); background: var(--wash); color: var(--ink-soft); font-size: .9375rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 4.5vw, 64px) clamp(72px, 10vw, 136px); }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero h1 span { color: var(--cyan); display: block; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Reinigungsplan: CSS-only Umschalter über Radio-Buttons */
.plan { border: 0; margin: 0; padding: 0; min-width: 0; }
.plan-tabs { display: flex; gap: 4px; padding: 12px 16px 0; border-bottom: 1px solid var(--rule); }
.plan-tabs label {
  padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center;
  font-weight: 700; font-size: .9375rem; color: var(--ink-soft); cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.plan-tabs label:hover { background: var(--wash); color: var(--ink); }
#plan-t:checked ~ .plan-tabs label[for="plan-t"],
#plan-b:checked ~ .plan-tabs label[for="plan-b"] { color: var(--blue); border-color: var(--blue); }
#plan-t:focus-visible ~ .plan-tabs label[for="plan-t"],
#plan-b:focus-visible ~ .plan-tabs label[for="plan-b"] { outline: 3px solid var(--blue); outline-offset: -3px; }
.plan-list { list-style: none; margin: 0; padding: 4px 0; display: none; }
#plan-t:checked ~ .plan-list.is-t, #plan-b:checked ~ .plan-list.is-b { display: block; }
.plan-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 14px; align-items: center; padding: 8px 24px; border-bottom: 1px solid var(--rule); }
.plan-list li:last-child { border-bottom: 0; }
.plan-list b { display: block; font-weight: 700; line-height: 1.3; hyphens: auto; overflow-wrap: break-word; }
.plan-list small { display: block; color: var(--ink-soft); font-size: .875rem; line-height: 1.35; }
.plan-list em { grid-column: 2; font-style: normal; font-weight: 600; font-size: .875rem; color: var(--blue); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Haken zeichnen sich Zeile für Zeile ein; Grundzustand = sichtbar */
.tick { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; animation: tick 520ms var(--ease) backwards; }
.plan-list li:nth-child(1) .tick { animation-delay: 350ms; }
.plan-list li:nth-child(2) .tick { animation-delay: 470ms; }
.plan-list li:nth-child(3) .tick { animation-delay: 590ms; }
.plan-list li:nth-child(4) .tick { animation-delay: 710ms; }
.plan-list li:nth-child(5) .tick { animation-delay: 830ms; }
.plan-list li:nth-child(6) .tick { animation-delay: 950ms; }
.plan-list li:nth-child(7) .tick { animation-delay: 1070ms; }
.plan-list li:nth-child(8) .tick { animation-delay: 1190ms; }
.plan-list li:nth-child(9) .tick { animation-delay: 1310ms; }
@keyframes tick { from { stroke-dashoffset: 24; } }

/* ---------- Leistungen: linierte Liste statt Karten ---------- */
.ruled { list-style: none; margin: 0; padding: 0; }
.ruled li { display: grid; gap: 6px 40px; padding: 26px 24px; border-bottom: 1px solid var(--rule); transition: background-color 200ms var(--ease); }
.ruled li:last-child { border-bottom: 0; }
.ruled li:hover { background: var(--wash); }
.ruled h3 { color: var(--blue); font-size: clamp(1.3125rem, 2.2vw, 1.75rem); }
.ruled p { color: var(--ink-soft); max-width: 62ch; }

/* ---------- Wofür wir stehen: Text auf Blau, nur Linien ---------- */
.pillars { display: grid; gap: 0 56px; }
.pillars > div { padding-block: 28px; border-top: 1px solid var(--line-on-blue); }
.pillars p { color: var(--on-blue-soft); margin-top: 10px; max-width: 46ch; }

/* ---------- Ablauf ---------- */
.split { display: grid; gap: 48px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .16); }
.steps li::before { content: counter(step); font: 800 3rem/1 var(--display); color: var(--cyan); font-variant-numeric: tabular-nums; }
.steps p { color: var(--on-blue-soft); margin-top: 8px; max-width: 52ch; }
.rules { list-style: none; margin: 0; padding: 8px 0; counter-reset: para; }
.rules li { counter-increment: para; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 16px 24px; border-bottom: 1px solid var(--rule); }
.rules li:last-child { border-bottom: 0; }
.rules li::before { content: "§ " counter(para); font: 700 1rem/1.6 var(--display); color: var(--blue); }

/* ---------- Preise ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--wash); }
thead th { font: 700 .8125rem/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
th[scope="rowgroup"] { font: 700 1.125rem/1.3 var(--display); color: var(--blue); background: var(--wash); padding-block: 14px; }
td:first-child { color: var(--ink-soft); width: 1%; white-space: nowrap; }
/* schmal: jede Position als Block, Preis unter der Leistung */
thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
tbody, tbody tr, tbody td, tbody th { display: block; }
tbody tr { padding: 12px 24px; border-bottom: 1px solid var(--rule); }
tbody tr:first-child { padding: 0; }
tbody tr:last-child { border-bottom: 0; }
tbody td { padding: 0; border: 0; }
tbody th { padding-inline: 24px; border: 0; }
td:first-child { display: none; }
td:last-child { color: var(--blue); }
td:last-child, thead th:last-child { text-align: right; font-weight: 700; }

/* ---------- Über uns ---------- */
.about-grid { display: grid; gap: 48px; }
.about-grid p + p { margin-top: 16px; }
.about-text p { color: var(--on-blue-soft); max-width: 60ch; }
.creed > div { padding-block: 28px; border-top: 1px solid var(--line-on-blue); }
.creed p { color: var(--on-blue-soft); margin-top: 10px; max-width: 48ch; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 48px; align-items: start; }
.contact-list { list-style: none; margin: 40px 0 0; padding: 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding-block: 18px; border-top: 1px solid var(--line-on-blue); }
.contact-list .icon { color: var(--cyan); margin-top: 4px; }
.contact-list a { font: 700 1.3125rem/1.3 var(--display); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; color: var(--on-blue-soft); font-size: .9375rem; }

.fields { display: grid; gap: 20px; padding: 28px 24px 32px; }
.half { display: grid; gap: 20px; }
.field label { display: block; font-weight: 700; font-size: .9375rem; margin-bottom: 6px; }
.field .opt { color: var(--ink-soft); font-weight: 400; }
input, select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--field-edge); border-radius: 8px;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
textarea { min-height: 150px; resize: vertical; }
::placeholder { color: var(--placeholder); opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--blue); }
input:focus, select:focus, textarea:focus { outline: none; border-radius: 8px; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(1, 83, 242, .18); }
input:user-invalid, textarea:user-invalid { border-color: var(--error); box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .9375rem; color: var(--ink-soft); }
.consent input { width: 24px; height: 24px; min-height: 0; margin: 0; }
.consent a { color: var(--blue); }
/* Honeypot: für Menschen unsichtbar, Bots füllen es aus */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form .btn { width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-blue-soft); padding-block: 40px; font-size: .9375rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; align-items: center; }
.site-footer a { color: #fff; text-decoration: none; padding: 12px 0; display: inline-block; }
.site-footer a:hover { color: var(--cyan); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 24px; }

/* ---------- Textseiten (Impressum, Datenschutz, Antwortseiten) ---------- */
.page { padding-block: clamp(40px, 6vw, 88px); }
.prose { max-width: 820px; padding: clamp(28px, 5vw, 64px); }
.prose h1 { font-size: clamp(2.25rem, 4.6vw, 3.25rem); color: var(--blue); margin-bottom: 28px; line-height: 1.04; }
.prose h2 { font-size: 1.375rem; letter-spacing: -0.01em; line-height: 1.2; margin: 40px 0 10px; }
.prose p, .prose ul { margin: 0 0 16px; max-width: 70ch; }
.prose a { color: var(--blue); }
.prose .btn { margin-top: 12px; color: #fff; }
.todo { background: #FFE9A8; padding: 0 4px; border-radius: 3px; }

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .header-phone { display: inline-flex; }
  .brand img { max-height: 44px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .half { grid-template-columns: 1fr 1fr; align-items: end; }
  .fields { padding: 36px 40px 40px; }
  .sheet-head, .sheet-foot { padding-inline: 40px; }
  .rules li, .plan-list li { padding-inline: 40px; }
  .plan-tabs { padding-inline: 32px; }
  th, td { padding: 14px 20px; }
  thead { position: static; width: auto; height: auto; clip-path: none; display: table-header-group; }
  tbody { display: table-row-group; }
  tbody tr, tbody tr:first-child { display: table-row; padding: 0; border: 0; }
  tbody td, tbody th { display: table-cell; padding: 14px 20px; border-bottom: 1px solid var(--rule); }
  tbody tr:last-child td { border-bottom: 0; }
  td:first-child { display: table-cell; }
  td:last-child { text-align: right; color: inherit; }
  .plan-list li { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; }
  .plan-list em { grid-column: auto; }
  th:first-child, td:first-child { padding-left: 40px; }
  th:last-child, td:last-child { padding-right: 40px; white-space: nowrap; }
}
@media (min-width: 880px) {
  .ruled li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: baseline; padding: 30px 40px; }
}
@media (min-width: 1000px) {
  .nav { display: flex; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .hero .plan { transform: rotate(1.1deg); }
  .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 80px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split .sheet { position: sticky; top: 108px; }
}

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