/* ==========================================================
   HandUmDreh – Hausmeisterservice
   Farben & Grundwerte zentral hier anpassen
   ========================================================== */
:root {
  --accent: #0f5c5a;        /* Tiefes Petrol – ruhig, verlässlich */
  --accent-dark: #0a4341;
  --accent-soft: #e3efee;   /* helle Tönung für Icons/Hinweise */
  --accent-tint: #f4f8f7;
  --ink: #16181d;
  --ink-soft: #4b5563;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f5f7f6;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 20, 30, 0.08);
  --maxw: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(var(--maxw), 100% - 2rem); margin-inline: auto; }
.container.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff;
  padding: .5rem 1rem; border-radius: 6px; z-index: 1000;
}
.skip-link:focus { left: 8px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600;
  color: var(--accent-dark); margin-bottom: .75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit;
  transition: translate .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { translate: 0 -1px; }
.btn:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-small { padding: .55rem 1.1rem; font-size: .9rem; background: var(--accent); color: #fff; }
.btn-small:hover { background: var(--accent-dark); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.brand-mark svg { display: block; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a { text-decoration: none; font-weight: 500; color: var(--ink-soft); }
.site-nav a:hover { color: var(--ink); }
.site-nav a.btn { color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: .5rem; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 1rem 1rem; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a.btn { margin-top: .75rem; justify-content: center; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(15,92,90,.14), transparent 55%),
    linear-gradient(180deg, var(--accent-tint) 0%, #fff 100%);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; color: var(--ink-soft); font-size: .95rem; }
.trust li::before { content: "✓"; color: var(--accent-dark); font-weight: 800; margin-right: .4rem; }

.card-stack { display: grid; gap: 1rem; }
.mini-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; box-shadow: var(--shadow);
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center;
}
.mini-card .ico { grid-row: 1 / span 2; font-size: 1.8rem; }
.mini-card strong { font-weight: 600; }
.mini-card small { color: var(--ink-soft); }
.mini-card:nth-child(1) { transform: rotate(-1.5deg) translateX(-8px); }
.mini-card:nth-child(2) { transform: rotate(1deg) translateX(14px); }
.mini-card:nth-child(3) { transform: rotate(-.5deg); }

@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head p:last-child { color: var(--ink-soft); font-size: 1.05rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }

.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; transition: box-shadow .2s, translate .2s;
}
.service:hover { box-shadow: var(--shadow); translate: 0 -2px; }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem;
}
.service p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

.note {
  margin-top: 2rem; padding: 1rem 1.25rem; border-left: 4px solid var(--accent);
  background: var(--accent-soft); border-radius: 8px; color: var(--ink-soft); font-size: .95rem;
}

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.steps li { position: relative; }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 1rem;
}
.steps p { color: var(--ink-soft); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Beispielpreise ---------- */
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .35rem; position: relative;
}
.price.featured { border-color: var(--accent); box-shadow: var(--shadow); }
.price-tag {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--accent-soft); padding: .25rem .6rem; border-radius: 999px; margin-bottom: .5rem;
}
.price h3 { margin: 0; }
.price-value { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--accent); margin: .1rem 0 .5rem; font-variant-numeric: tabular-nums; }
.price-desc { color: var(--ink-soft); font-size: .97rem; margin: 0 0 .75rem; flex: 1; }
.price-meta { list-style: none; padding: .85rem 0 0; margin: 0; border-top: 1px dashed var(--line); font-size: .88rem; color: var(--ink-soft); display: grid; gap: .3rem; }
.price-meta li::before { content: "·"; margin-right: .4rem; color: var(--accent); font-weight: 800; }
.price-footnote {
  margin-top: 2rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.25rem 1.5rem; background: var(--accent-soft); border-radius: var(--radius);
}
.price-footnote p { margin: 0; color: var(--ink-soft); font-size: .95rem; max-width: 70ch; }
@media (max-width: 800px) { .price-footnote { grid-template-columns: 1fr; } .price-footnote .btn { justify-content: center; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; }
.photo-placeholder {
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: linear-gradient(135deg, #cfe2e0, var(--accent-soft));
  display: grid; place-items: center; text-align: center; color: var(--ink-soft); font-weight: 600;
  border: 2px dashed #9fc4c1;
}
.photo-placeholder small { font-weight: 400; }
.checks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .5rem; }
.checks li { padding-left: 1.75rem; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 800; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } .about-visual { max-width: 320px; } }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--line); padding: .25rem 0; }
summary {
  cursor: pointer; font-weight: 600; padding: 1rem 2.5rem 1rem 0; list-style: none; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--accent-dark); font-weight: 400; transition: transform .2s;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--ink-soft); margin: 0 0 1rem; max-width: 65ch; }

/* ---------- Kontakt / Formular ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact-text p { color: var(--ink-soft); font-size: 1.05rem; }
.contact-links { display: grid; gap: .9rem; justify-items: start; margin-top: 1.5rem; }
.contact-line { text-decoration: none; font-weight: 500; }
.contact-line:hover { text-decoration: underline; }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
}
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-weight: 600; font-size: .92rem; }
.optional { font-weight: 400; color: var(--ink-soft); }
input, select, textarea {
  font: inherit; padding: .75rem .9rem; border: 1px solid #d1d5db; border-radius: 10px; width: 100%;
  background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
textarea { resize: vertical; min-height: 120px; }
.field.checkbox { grid-template-columns: auto 1fr; align-items: start; gap: .6rem; }
.field.checkbox input { width: 18px; height: 18px; margin-top: .25rem; }
.field.checkbox label { font-weight: 400; font-size: .85rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; }
.form-status { margin: .9rem 0 0; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #b91c1c; }
input.invalid, select.invalid, textarea.invalid { border-color: #dc2626; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

.area { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.area h3 { font-size: 1rem; margin-bottom: .25rem; }
.area p { font-size: .95rem; margin-bottom: .6rem; }
.area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.area-list li { font-size: .85rem; padding: .3rem .7rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; background: var(--bg-alt); font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--ink-soft); }
.footer-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45); z-index: 90; transition: scale .15s;
}
.wa-float:hover { scale: 1.06; background: var(--whatsapp-dark); }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.legal { padding: 3rem 0 4rem; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.25rem; }
.legal p, .legal li { color: var(--ink-soft); max-width: 72ch; }
.legal .back { display: inline-block; margin-bottom: 1.5rem; text-decoration: none; color: var(--accent-dark); font-weight: 600; }
.placeholder { background: #fff3cd; padding: 0 .25em; border-radius: 3px; }

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

/* ---------- Animations-Support ---------- */
.site-header { transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20,20,30,.08); }
.service-icon { will-change: transform; }
.mini-card { will-change: transform; }
