/* ===== Design Tokens (Flyer-Farben) ===== */
:root {
  --page-bg: #eae6df;    /* Hintergrund wie Flyer */
  --text:    #0f172a;    /* Haupt-Text */
  --muted:   #737373;    /* Sekundär-Text */
  --accent:  #c79a97;    /* Rosé-Akzent (Logo) */
  --link:    #e07a5f;    /* Terracotta Primary-Button */
  --link-2:  #d1664d;    /* Hover/Verlauf */

  --surface: #ffffff;    /* Karten / Header / Drawer */
  --panel:   #ffffff;
  --overlay: rgba(0,0,0,.35);

  --border: color-mix(in oklab, var(--text), transparent 88%);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(2,6,23,.08);
  --maxw: 1120px;
  --pad: clamp(16px, 2vw, 24px);
}

/* ===== Base ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font: 400 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--page-bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--text); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--surface), transparent 5%);
  border-bottom: 1px solid var(--border);
}
.navbar {
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; }
.brand img.logo {
  height: 72px; width: auto;
  border-radius: 6px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.25));
}
.nav a {
  padding: 8px 12px; border-radius: 10px; font-weight: 600; color: var(--text);
}
.nav a.active,
.nav a:hover {
  background: color-mix(in oklab, var(--accent), transparent 85%);
  text-decoration: none;
}

/* ===== Burger ===== */
.nav-toggle { background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle .bar { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--text); }

/* ===== Drawer + Overlay ===== */
.drawer-overlay { position: fixed; inset: 0; background: var(--overlay); backdrop-filter: blur(2px); z-index: 1000; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(88vw, 360px);
  background: var(--panel); box-shadow: -24px 0 48px rgba(0,0,0,.15);
  translate: 100% 0; transition: translate .25s ease; z-index: 1001; padding: 1rem;
}
.drawer.open { translate: 0 0; }
.no-scroll { overflow: hidden; }
.drawer-nav { display: flex; flex-direction: column; gap: .25rem; margin-top: 1rem; }
.drawer-nav a { display: block; padding: .875rem 0; border-bottom: 1px solid rgba(0,0,0,.08); text-decoration: none; color: var(--text); font-weight: 600; }
.drawer-nav a.active { color: var(--accent); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 62vh; display: grid; align-items: center; background-position: center; background-size: cover; border-bottom: 1px solid var(--border); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.1) 70%); }
.hero .inner { position: relative; z-index: 1; padding: 8vh 0; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Sections / Cards / Buttons ===== */
section { padding: 56px 0; }
.grid { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1.1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(2,6,23,.12); border-color: color-mix(in oklab, var(--accent), transparent 70%); }

.btn {
  display: inline-block; padding: 12px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--link), var(--link-2));
  color: #fff; font-weight: 700; letter-spacing: .2px;
  box-shadow: var(--shadow); transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: saturate(1.05); }
.btn.secondary { background: #fff; color: var(--accent); border: 1px solid var(--accent); }

/* ===== Lists / Prices ===== */
.list-prices { list-style: none; margin: 0; padding: 0; }
.list-prices li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 14px; border-bottom: 1px dashed var(--border);
  transition: background .15s ease, transform .15s ease;
}
.list-prices li:last-child { border-bottom: 0; }
.list-prices li:hover { background: color-mix(in oklab, var(--accent), transparent 92%); transform: translateX(2px); }

/* ===== Forms ===== */
form label { display: block; font-weight: 600; margin: 10px 0 6px; }
.input, .textarea, .select {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--border); background: transparent; color: var(--text);
}
.textarea { min-height: 112px; resize: vertical; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 700px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.radios { display: flex; gap: 14px; flex-wrap: wrap; }
.helper { font-size: 13px; color: var(--muted); }

/* ===== Footer ===== */
footer { padding: 40px 0; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }

/* ===== Utility / Layout ===== */
.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
html, body { height: 100%; }
body { min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
footer { margin-top: auto; }

/* ===== Leistungen: Akkordeon (einmal, sauber) ===== */
.services{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.services .service + .service { border-top: 1px solid var(--border); }

.services .service-header{
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  border: 0; background: transparent;
  display:flex; align-items:center; justify-content:space-between;
  width:100%;
  padding: 12px 16px;
  cursor:pointer; color: var(--text); font: inherit;
}
.services .service-header:hover{ background: color-mix(in oklab, var(--accent), transparent 92%); }
.services .service-tag{ color: var(--muted); font-weight:700; margin-left: 16px; }

.services .service-content{
  overflow:hidden; max-height:0; padding: 0 16px;
  background: var(--surface); color: var(--muted);
  transition: max-height .35s ease, padding .25s ease; will-change: max-height;
}
.services .service-content.open{ padding: 12px 16px 16px; }
