/* ============================================================
   Aga Gebäudereinigung und Gartenpflege – Stylesheet
   Farben stammen aus dem Logo: Grün, Hellgrün, Dunkelblau
   ============================================================ */
:root {
  --green: #1f6b2e;
  --green-dark: #154d21;
  --green-mid: #2e8b3e;
  --lime: #8cc63f;
  --navy: #0f2638;
  --navy-2: #173650;
  --sky: #3b9fd8;
  --ink: #1b2a24;
  --muted: #5b6b63;
  --line: #e1e8e3;
  --bg: #ffffff;
  --tint: #f3f8f2;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 38, 56, .08);
  --header-h: 72px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img, video { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--green-mid); margin-bottom: .6em; }
.eyebrow--light { color: var(--lime); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.btn svg { width: 1.25em; height: 1.25em; fill: currentColor; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.25rem; color: var(--green); }
.brand__text small { font-size: .74rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--navy); font-weight: 600; font-size: .93rem; padding: .5em .7em; border-radius: 8px; white-space: nowrap; }
.nav a:hover, .nav a.is-active { background: var(--tint); color: var(--green); }
.nav .nav__cta { background: var(--green); color: #fff; margin-left: 4px; }
.nav .nav__cta:hover { background: var(--green-dark); color: #fff; }
.header__phone { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header__phone svg { width: 20px; height: 20px; fill: var(--green); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background:
    radial-gradient(1200px 500px at 85% -10%, rgba(140,198,63,.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(59,159,216,.10), transparent 60%),
    linear-gradient(180deg, #fbfdfa, var(--tint)); padding: clamp(40px, 6vw, 90px) 0; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__logo img { width: 100%; max-width: 520px; height: auto; margin-inline: auto; filter: drop-shadow(0 18px 40px rgba(31,107,46,.18)); }
.hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 800; color: var(--green); }
.hero h1 span { display: block; color: var(--navy); font-weight: 700; font-size: .62em; margin-top: .2em; }
.lead { font-size: 1.12rem; color: #33443c; max-width: 58ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.hero__facts li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4em .95em; font-size: .9rem; color: var(--muted); }
.hero__facts b { color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #d6e1ea; }
.section--dark h2 { color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section__head p:last-child { color: var(--muted); }
.section__head--left { text-align: left; margin: 0 0 24px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.split--center { align-items: center; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe3d1; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card__icon { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, #e6f3e2, #d4ecd0); display: grid; place-items: center; margin-bottom: 16px; }
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; }
.tags span { background: var(--tint); color: var(--green-dark); border-radius: 999px; padding: .35em .9em; font-size: .88rem; font-weight: 600; }

/* ---------- Prices ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price { background: #fff; border-radius: var(--radius); padding: 24px 22px; border-top: 4px solid var(--lime); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price--wide { grid-column: span 2; }
.price h3 { font-size: 1.02rem; margin-bottom: .3em; }
.price__value { font-size: 2rem; font-weight: 800; color: var(--green); margin: .1em 0 .3em; line-height: 1.1; }
.price__value small { font-size: .5em; color: var(--muted); font-weight: 600; }
.price p:last-child { color: var(--muted); font-size: .93rem; margin: 0; }
.price--ask { border-top-color: var(--sky); }
.price--ask .price__value { font-size: 1.35rem; color: var(--navy); }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.note { border-radius: var(--radius); padding: 18px 22px; }
.note p { margin: .25em 0 0; font-size: .95rem; }
.note--green { background: #e3f1dc; color: #20462a; }
.note--warn { background: #fdf0ec; color: #6a2a1d; border-left: 4px solid #d9534f; }

/* ---------- Area ---------- */
.towns { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 14px; }
.towns li { position: relative; padding-left: 22px; font-weight: 600; color: var(--navy); }
.towns li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px #e7f4dc; }
.radius { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin: auto; }
.radius__ring { position: absolute; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; justify-content: center; }
.radius__ring span { position: absolute; top: -.8em; background: #fff; padding: 0 .5em; font-size: .78rem; font-weight: 700; color: var(--green-mid); }
.r3 { width: 100%; height: 100%; background: radial-gradient(circle, rgba(140,198,63,.10), rgba(140,198,63,.22)); border: 2px dashed var(--lime); }
.r2 { width: 58%; height: 58%; border: 2px dashed rgba(31,107,46,.35); }
.r1 { width: 16%; height: 16%; background: rgba(31,107,46,.15); }
.radius__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -88%); display: flex; flex-direction: column; align-items: center; }
.radius__pin svg { width: 40px; height: 40px; fill: var(--green); filter: drop-shadow(0 4px 6px rgba(0,0,0,.2)); }
.radius__pin b { background: var(--green); color: #fff; font-size: .8rem; padding: .15em .7em; border-radius: 999px; }
.radius i { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); font-style: normal; font-size: .8rem; color: var(--navy); background: #fff; border-radius: 6px; padding: .1em .5em; box-shadow: 0 2px 6px rgba(0,0,0,.08); }

/* ---------- Hours ---------- */
.hours { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.05); border-radius: var(--radius); overflow: hidden; }
.hours th, .hours td { padding: 18px 22px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
.hours th { font-weight: 600; color: #fff; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: #e8f0f5; font-weight: 700; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today { background: rgba(140,198,63,.16); }
.hours tr.is-today th::after { content: "heute"; margin-left: .6em; font-size: .7rem; background: var(--lime); color: var(--navy); padding: .1em .55em; border-radius: 999px; vertical-align: middle; }
.status { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; background: rgba(255,255,255,.08); border-radius: 999px; padding: .4em 1em; margin: 6px 0 0; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #e05d4f; }
.status.is-open::before { background: var(--lime); box-shadow: 0 0 0 4px rgba(140,198,63,.25); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.gallery__empty { grid-column: 1 / -1; text-align: center; color: var(--muted); background: var(--tint); border: 2px dashed #cfe3d1; border-radius: var(--radius); padding: 48px 20px; margin: 0; }
.g-item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: #e9efe9; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.g-item > img, .g-item > video { width: 100%; height: 100%; object-fit: cover; }
.g-item > img { cursor: zoom-in; transition: transform .4s; }
.g-item:hover > img { transform: scale(1.03); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-size: .9rem; font-weight: 600; pointer-events: none; }
.g-item--video figcaption { display: none; }

/* Vorher/Nachher-Regler */
.ba { position: relative; width: 100%; height: 100%; user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 8px rgba(0,0,0,.3); }
.ba__line::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--green); font-weight: 800; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.25); letter-spacing: 2px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__label { position: absolute; top: 10px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .25em .7em; border-radius: 999px; pointer-events: none; }
.ba__label--b { left: 10px; background: rgba(15,38,56,.8); color: #fff; }
.ba__label--a { right: 10px; background: var(--lime); color: var(--navy); }

.lightbox { position: fixed; inset: 0; background: rgba(8,18,26,.92); z-index: 200; display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox__content img, .lightbox__content video { max-width: 94vw; max-height: 88vh; border-radius: 8px; }
.lightbox__close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; }

/* ---------- About ---------- */
.team { margin: 0; }
.team img { border-radius: 20px; box-shadow: 0 24px 50px rgba(15,38,56,.18); width: 100%; height: auto; max-width: 520px; margin-inline: auto; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; font-weight: 600; color: var(--navy); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--green-mid); color: #fff; font-size: .8rem; display: grid; place-items: center; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 14px 36px 14px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--green); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-line { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); background: #fff; border-radius: 12px; padding: 12px 16px; margin-top: 12px; border: 1px solid var(--line); font-weight: 700; word-break: break-word; transition: border-color .15s; }
a.contact-line:hover { border-color: var(--green-mid); }
.contact-line small { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); }
.contact-line__icon { flex: 0 0 42px; height: 42px; border-radius: 50%; background: #e3f1dc; display: grid; place-items: center; color: var(--green); }
.contact-line__icon svg { width: 20px; height: 20px; fill: currentColor; }
.contact-line__icon--wa { background: var(--wa); color: #fff; }

.form { background: #fff; border-radius: 18px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); align-self: start; }
.form label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 14px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: .8em .9em; border: 1.5px solid #d3ddd6; border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); background: #fbfdfb; transition: border-color .15s, box-shadow .15s; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green-mid); box-shadow: 0 0 0 4px rgba(46,139,62,.15); background: #fff; }
.form .is-invalid { border-color: #d9534f; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .86rem; }
.form .check input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--green); }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.form__msg { margin: 14px 0 0; font-weight: 600; min-height: 1.2em; }
.form__msg.ok { color: var(--green); }
.form__msg.err { color: #c0392b; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #a9bccb; padding: 40px 0; font-size: .92rem; }
.footer strong { color: #fff; }
.footer a { color: #d6e7f2; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1.4fr auto; gap: 24px; align-items: start; }
.footer__seo { font-size: .8rem; opacity: .7; margin: 0; }
.footer__links { display: flex; gap: 16px; }

/* ---------- Floating WhatsApp / mobile bar ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37,211,102,.45); z-index: 60; transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.mobilebar { display: none; }

/* ============ Responsive ============ */
@media (max-width: 1180px) {
  .header__phone span { display: none; }
  .cards, .prices { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .burger { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); transform: translateY(-120%); transition: transform .25s ease; z-index: -1; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .nav__cta { margin: 12px 0 0; border-radius: 10px; text-align: center; border: 0; }
  .header__phone svg { width: 24px; height: 24px; }
  .hero__inner, .split, .footer__inner { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero__logo img { max-width: 340px; }
  .hero__actions, .hero__facts { justify-content: center; }
  .lead { margin-inline: auto; }
  .radius { max-width: 380px; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; padding-bottom: 64px; }
  .brand img { width: 38px; height: 38px; }
  .brand__text small { display: none; }
  .hero__logo img { max-width: 280px; }
  .hero__actions .btn { width: 100%; }
  .cards, .prices, .notes, .form__row { grid-template-columns: 1fr; }
  .price--wide { grid-column: auto; }
  .towns { grid-template-columns: repeat(2, 1fr); }
  .hours th, .hours td { padding: 14px 16px; font-size: .98rem; }
  .gallery { grid-template-columns: 1fr; }
  .wa-float { display: none; }
  .mobilebar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -6px 20px rgba(0,0,0,.12); padding-bottom: env(safe-area-inset-bottom); background: #fff; }
  .mobilebar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; color: #fff; font-weight: 800; text-decoration: none; font-size: 1.02rem; }
  .mobilebar svg { width: 22px; height: 22px; fill: currentColor; }
  .mobilebar__call { background: var(--green); }
  .mobilebar__wa { background: var(--wa); }
}

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