/* Rahel's Wäscheblitz – mobile first, dark mode via CSS variables */

@font-face {
  font-family: "Jakarta";
  src: url("/fonts/jakarta.woff2?v=c6434c03e6") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Default scheme: Sonnengelb (yellow + anthracite, from the bolt in the logo) */
:root {
  --primary: #1f2a37;
  --primary-dark: #111827;
  --tint: #f2f4f7;
  --accent: #ffc61a;
  --accent-hover: #ffd449;
  --current: #111827;
  --logo-bolt: #1f2a37;
  --hero-overlay: linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.82));
  --hero-blur: none;
  --hero-glow: none;
  --hero-ink: #1f2a37;
  --hero-sub: #3b4654;
  --hero-accent: #1f2a37;
  --hero-cta-bg: #1f2a37;
  --hero-cta-ink: #ffc61a;
  --ink: #1d2733;
  --muted: #5b6670;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --surface: #ffffff;
  --shadow: 0 6px 24px rgba(31, 42, 55, .08);

  /* derived roles (overridden by dark mode) */
  --heading: var(--primary-dark);
  --link: var(--primary);
  --btn-bg: var(--primary);
  --btn-ink: #ffffff;
  --band-bg: var(--primary);
  --band-ink: #ffffff;
  --footer-bg: var(--primary-dark);
  --price: var(--primary-dark);
  --header-bg: rgba(255,255,255,.95);

  --radius: 16px;
  --wrap: 1120px;
  color-scheme: light;
}

/* Banner "Hell": white behind the text, photo in true colours on the right. Dark mode overrides it below. */
@media (min-width: 700px) {
  :root[data-hero="1"] { --hero-overlay: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.90) 42%, rgba(255,255,255,.25) 72%, rgba(255,255,255,0) 100%); }
}

/* Dark mode: automatic (system setting) unless the visitor chose light, or chosen via the toggle.
   The two blocks are identical on purpose. */
:root[data-mode="dark"] {
  --hero-blur: none; --hero-glow: none;
  --bg: #0e1116; --bg-alt: #141922; --surface: #171d26; --header-bg: rgba(14,17,22,.92);
  --ink: #e6eaf0; --muted: #a2acb8; --line: #262e3a; --heading: #f3f5f8; --link: #f3f5f8;
  --tint: #1b222d;
  --btn-bg: var(--accent); --btn-ink: #111827; --band-bg: #1b2230; --band-ink: #f3f5f8;
  --footer-bg: #0a0d11; --price: var(--accent); --current: var(--accent); --logo-bolt: #111827;
  --hero-overlay: linear-gradient(180deg, rgba(10,13,17,.80), rgba(10,13,17,.92));
  --hero-ink: #ffffff; --hero-sub: #d3d9e0; --hero-accent: var(--accent);
  --hero-cta-bg: var(--accent); --hero-cta-ink: #111827;
  --shadow: 0 6px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-mode="light"]) {
    --hero-blur: none; --hero-glow: none;
    --bg: #0e1116; --bg-alt: #141922; --surface: #171d26; --header-bg: rgba(14,17,22,.92);
    --ink: #e6eaf0; --muted: #a2acb8; --line: #262e3a; --heading: #f3f5f8; --link: #f3f5f8;
    --tint: #1b222d;
    --btn-bg: var(--accent); --btn-ink: #111827; --band-bg: #1b2230; --band-ink: #f3f5f8;
    --footer-bg: #0a0d11; --price: var(--accent); --current: var(--accent); --logo-bolt: #111827;
    --hero-overlay: linear-gradient(180deg, rgba(10,13,17,.80), rgba(10,13,17,.92));
    --hero-ink: #ffffff; --hero-sub: #d3d9e0; --hero-accent: var(--accent);
    --hero-cta-bg: var(--accent); --hero-cta-ink: #111827;
    --shadow: 0 6px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  word-spacing: .07em; /* Plus Jakarta Sans has a narrow space (0.17em) */
  padding-bottom: 64px; /* room for the mobile action bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }
h1, h2, h3 { line-height: 1.15; color: var(--heading); margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 6.4vw, 3.2rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 4.2vw, 2.1rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 10px; min-height: 64px; }
.brand { display: flex; align-items: center; margin-right: auto; color: var(--heading); text-decoration: none; }
.brand .logo { height: 40px; width: auto; }
@media (max-width: 370px) { .brand .logo { height: 34px; } }
.logo .lm { display: none; }
[data-logo="1"] .lm-1, [data-logo="2"] .lm-2, [data-logo="3"] .lm-3, [data-logo="4"] .lm-4, [data-logo="5"] .lm-5 { display: inline; }
.header-call { display: none; }

.nav-desktop { display: none; }
.nav-toggle summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: 12px; }
.nav-toggle summary::-webkit-details-marker { display: none; }
.nav-toggle summary span { display: block; width: 22px; height: 2px; background: var(--heading); border-radius: 2px; }
.nav-toggle[open] summary { background: var(--tint); }
.nav-toggle nav { position: absolute; left: 0; right: 0; top: 64px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.nav-toggle ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
.nav-toggle a, .nav-toggle .mode-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 4px; text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--line); }
.nav-toggle li:last-child > * { border-bottom: 0; }
a[aria-current="page"] { color: var(--current); }
.nav-desktop a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.nav-toggle a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--accent); padding-left: 12px; }

/* Dark mode toggle */
.mode-toggle { font: inherit; color: var(--heading); background: none; border: 0; cursor: pointer; }
.mode-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mode-toggle .sun { display: none; }
.mode-toggle .label-light { display: none; }
:root[data-mode="dark"] .mode-toggle .sun, :root[data-mode="dark"] .mode-toggle .label-light { display: inline; }
:root[data-mode="dark"] .mode-toggle .moon, :root[data-mode="dark"] .mode-toggle .label-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-mode="light"]) .mode-toggle .sun, :root:not([data-mode="light"]) .mode-toggle .label-light { display: inline; }
  :root:not([data-mode="light"]) .mode-toggle .moon, :root:not([data-mode="light"]) .mode-toggle .label-dark { display: none; }
}
.header-mode { display: none; }
.header-wa { display: none; }
.menu-wa svg, .footer-wa svg { width: 20px; height: 20px; fill: #25d366; flex: none; }
.footer-wa { display: inline-flex; align-items: center; gap: 8px; }

/* Hero */
.hero { position: relative; color: var(--hero-ink); background: var(--primary-dark) url("/img/hemden.jpg") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); -webkit-backdrop-filter: var(--hero-blur); backdrop-filter: var(--hero-blur); }
.hero h1, .hero p.lead, .hero .eyebrow, .hero-badges { text-shadow: var(--hero-glow); }
.hero .wrap { position: relative; padding-top: 48px; padding-bottom: 52px; }
.hero h1 { color: var(--hero-ink); margin-bottom: .35em; }
.hero p.lead { font-size: 1.15rem; max-width: 36em; color: var(--hero-sub); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-accent); margin-bottom: .8em; }
.eyebrow::before { content: ""; width: 26px; height: 4px; border-radius: 2px; background: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4em; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 1.6em 0 0; font-size: .95rem; font-weight: 600; color: var(--hero-sub); }
.hero-badges li::before { content: "✓"; color: var(--hero-accent); font-weight: 800; margin-right: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sun { background: var(--accent); color: #1f2a37; }
.btn-sun:hover { background: var(--accent-hover); color: #1f2a37; }
.hero .btn-sun { background: var(--hero-cta-bg); color: var(--hero-cta-ink); }
.btn-ghost { border-color: var(--hero-ink); color: var(--hero-ink); }
.btn-ghost:hover { color: var(--hero-ink); }
.btn-blue { background: var(--btn-bg); color: var(--btn-ink); }
.btn-light { border-color: var(--band-ink); color: var(--band-ink); }
.btn-light:hover { color: var(--band-ink); background: rgba(255,255,255,.1); }
.band-actions { justify-content: center; }
.btn-blue:hover { color: var(--btn-ink); filter: brightness(1.1); }

/* Page header for subpages */
.page-head { background: var(--tint); border-bottom: 4px solid var(--accent); }
.page-head .wrap { padding-top: 32px; padding-bottom: 28px; }
.page-head p { color: var(--muted); max-width: 40em; margin: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: .6em; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

/* Sections */
section { padding: 44px 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { color: var(--muted); max-width: 40em; margin-bottom: 1.6em; }

.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; }
.card .icon { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 12px; }
.card a.more { display: inline-block; margin-top: 10px; font-weight: 700; }

.split { display: grid; gap: 24px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

.info-box { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 20px; }

.hours { border-collapse: collapse; width: 100%; }
.hours th { text-align: left; font-weight: 700; padding: 6px 12px 6px 0; white-space: nowrap; vertical-align: top; }
.hours td { padding: 6px 0; }
.hours tr + tr { border-top: 1px solid var(--line); }

.contact-list { list-style: none; padding: 0; margin: 0 0 1em; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }

/* Price list */
.price-groups { display: grid; gap: 20px; }
.price-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-group h2 { font-size: 1.15rem; margin: 0; padding: 14px 18px; background: var(--tint); border-bottom: 3px solid var(--accent); }
.price-group dl { margin: 0; padding: 4px 18px 10px; }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row dt { flex: 1; }
.price-row dt small { display: block; color: var(--muted); }
.price-row dd { margin: 0; font-weight: 800; white-space: nowrap; color: var(--price); font-variant-numeric: tabular-nums; }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--heading); }
.faq details p { margin: .6em 0 0; color: var(--muted); }

.cta-band { background: var(--band-bg); color: var(--band-ink); border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.cta-band h2 { color: var(--band-ink); }
.cta-band p { color: var(--band-ink); opacity: .85; }

.prose { max-width: 46em; }
.prose h2 { font-size: 1.35rem; margin-top: 1.4em; }

/* Footer */
.site-footer { background: var(--footer-bg); color: #d6dde4; padding-top: 36px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-logo { height: 40px; width: auto; margin-bottom: 14px; }
.footer-grid { display: grid; gap: 24px; }
.footer-title { color: #fff; font-weight: 800; margin-bottom: .5em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 3px 0; }
.hours-small th, .hours-small td { padding: 3px 10px 3px 0; color: #d6dde4; }
.hours-small tr + tr { border-top-color: rgba(255,255,255,.12); }
.copyright { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: .85rem; padding-top: 20px; padding-bottom: 20px; color: #9aa6b2; border-top: 1px solid rgba(255,255,255,.12); margin-top: 24px; }

/* Mobile action bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08); padding-bottom: env(safe-area-inset-bottom); }
.action-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 10px; font-size: .78rem; font-weight: 800; text-decoration: none; color: var(--heading); }
.action-bar a:first-child { background: var(--accent); color: #1f2a37; }
.action-bar a[href*="wa.me"] { color: #128c4a; }
:root[data-mode="dark"] .action-bar a[href*="wa.me"] { color: #3ddc84; }
@media (prefers-color-scheme: dark) { :root:not([data-mode="light"]) .action-bar a[href*="wa.me"] { color: #3ddc84; } }
.action-bar svg { width: 22px; height: 22px; fill: currentColor; }

/* Tablet and up */
@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .price-groups { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .hero .wrap { padding-top: 84px; padding-bottom: 84px; }
  section { padding: 64px 0; }
  .brand .logo { height: 48px; }
}
@media (min-width: 1440px) { .brand .logo { height: 54px; } .header-inner { min-height: 84px; } }
/* Desktop, medium width: compact header */
@media (min-width: 1024px) and (max-width: 1279px) {
  .brand .logo { height: 40px; }
  .header-wa span { display: none; }
  .nav-desktop a { padding: 8px 7px; }
  .header-inner { gap: 6px; }
  .header-call { padding: 6px 13px; font-size: .95rem; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  .brand .logo { height: 46px; }
}


/* Desktop */
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .header-inner { min-height: 76px; }
  .action-bar { display: none; }
  .nav-toggle { display: none; }
  .nav-desktop { display: block; }
  .nav-desktop ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
  .nav-desktop a { display: block; white-space: nowrap; padding: 8px 10px; border-radius: 10px; text-decoration: none; font-weight: 700; }
  .nav-desktop a:hover { background: var(--tint); }
  .header-mode { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
  .header-mode:hover { background: var(--tint); }
  .header-mode .label-dark, .header-mode .label-light { display: none !important; }
  .header-wa { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; min-width: 42px; padding: 6px 11px; white-space: nowrap; border-radius: 999px; background: #25d366; color: #0b3d1f; font-weight: 800; text-decoration: none; }
  .header-wa svg { width: 20px; height: 20px; fill: currentColor; }
  .header-wa:hover { background: #3be07a; color: #0b3d1f; }
  .header-call { flex: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 42px; padding: 6px 18px; border-radius: 999px; background: var(--accent); color: #1f2a37; font-weight: 800; text-decoration: none; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}

/* Beta only: colour scheme switcher */
.theme-picker { position: fixed; z-index: 70; right: 10px; bottom: 76px; display: grid; gap: 4px; padding: 6px 8px 6px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); font-size: .8rem; font-weight: 800; color: var(--ink); }
.picker-row { display: flex; align-items: center; gap: 5px; }
.picker-row span { width: 52px; }
.theme-picker button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); font: inherit; cursor: pointer; color: var(--ink); }
.theme-picker button.on { background: var(--accent); border-color: var(--accent); color: #1f2a37; }
.theme-picker em { font-style: normal; font-weight: 600; color: var(--muted); padding-right: 4px; min-width: 6.5em; }
@media (min-width: 1024px) { .theme-picker { bottom: 16px; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

