/* ReinGlanz-Service: ruhiges, übersichtliches Design
   Keine externen Schriften/Dienste: keine Datenübertragung an Dritte, kein Cookie-Banner nötig. */

:root {
  --green-900: #024D27;
  --green-800: #0B5E2E;
  --green-700: #33911E;
  --green-500: #5BBF1E;
  --lime: #B0F53A;
  --accent-text: #2A7518;

  --bg: #FAFBF7;
  --surface: #FFFFFF;
  --soft: #F1F6EA;
  --soft-2: #E7F1DC;
  --text: #1E2B22;
  --muted: #56655A;
  --line: #E2E9DC;
  --amber: #E9B949;
  --amber-soft: #FBF1D6;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(2, 77, 39, .04), 0 10px 30px rgba(2, 77, 39, .07);
  --container: 1120px;
  --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: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }

h1, h2, h3 { color: var(--green-900); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--green-900); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 251, 247, .88);
  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: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-900); flex-shrink: 0; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-weight: 750; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-name span { font-weight: 450; color: var(--green-700); }

.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--text); padding: 8px 12px; border-radius: 10px; font-size: .97rem; }
.nav a:hover { background: var(--soft); color: var(--green-900); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav + .header-actions { margin-left: 8px; }
.header-actions:only-of-type { margin-left: auto; }

.lang { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 3px; border: 1px solid var(--line); }
.lang button {
  border: 0; background: transparent; font: inherit; font-size: .85rem; font-weight: 600;
  color: var(--muted); padding: 5px 11px; min-height: 36px; min-width: 40px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--green-900); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface);
  border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; color: var(--green-900);
}

@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 10px 20px 18px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1.05rem; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 420px) {
  .brand-name span { display: none; }
  .lang button { padding: 5px 9px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--green-900); color: #fff; }
.btn-primary:hover { background: var(--green-800); color: #fff; }
.btn-ghost { background: transparent; color: var(--green-900); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green-700); color: var(--green-900); }
.btn-small { padding: 8px 16px; font-size: .92rem; }
@media (max-width: 960px) { .header-actions .btn-small { display: none; } }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 112px) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .lead { max-width: 34em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { color: var(--green-700); flex-shrink: 0; }
/* Foto als Banner über die ganze Breite */
.hero {
  position: relative; overflow: hidden; background: var(--green-900); color: #fff;
  min-height: min(82vh, 720px); display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(1, 40, 20, .88) 0%, rgba(1, 50, 25, .65) 50%, rgba(1, 50, 25, .3) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { grid-template-columns: 1fr; }
.hero-text { max-width: 640px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--lime); }
.hero .lead { color: rgba(255, 255, 255, .88); }
.hero .trust { color: rgba(255, 255, 255, .85); }
.hero .trust svg { color: var(--lime); }
.hero .btn-primary { background: var(--lime); color: var(--green-900); }
.hero .btn-primary:hover { background: #C6FA6E; color: var(--green-900); }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; }
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(1, 40, 20, .8), rgba(1, 40, 20, .7)); }
}

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: 0 1px 2px rgba(2, 77, 39, .03);
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; font-size: .99rem; }
.icon {
  width: 52px; height: 52px; border-radius: 16px; background: var(--soft-2); color: var(--green-900);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }

/* ---------- Care plan ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex-shrink: 0; margin-top: 4px; color: var(--surface); background: var(--green-700); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }
.care-visual {
  background: var(--surface); border-radius: 28px; padding: 32px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.care-visual h3 { margin-bottom: 18px; }
.rhythm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rhythm div { background: var(--soft); border-radius: 14px; padding: 14px 8px; text-align: center; font-size: .9rem; color: var(--muted); }
.rhythm div strong { display: block; color: var(--green-900); font-size: 1.4rem; line-height: 1.2; }
.rhythm div.on { background: var(--green-900); color: #d9eecd; }
.rhythm div.on strong { color: #fff; }
.care-visual p { margin: 18px 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- Hedge calendar ---------- */
.law-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
@media (max-width: 760px) { .law-grid { grid-template-columns: 1fr; } }
.law { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.law .period { display: inline-block; font-weight: 700; color: var(--green-900); font-size: 1.15rem; margin-bottom: 8px; }
.law p { color: var(--muted); margin: 0; }
.law .tag { display: inline-block; font-size: .78rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.tag-green { background: var(--soft-2); color: var(--green-900); }
.tag-amber { background: var(--amber-soft); color: #7A5A0B; }

.calendar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.months span {
  text-align: center; padding: 12px 0; border-radius: 10px; font-weight: 650; font-size: .9rem;
  position: relative;
}
.months .ok { background: var(--green-700); color: #fff; }
.months .limit { background: var(--amber-soft); color: #7A5A0B; }
.months .now { outline: 3px solid var(--green-900); outline-offset: 2px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: .92rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.status-now {
  margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: var(--soft); color: var(--green-900); font-weight: 600;
}
.status-now:empty { display: none; }
.note { margin-top: 20px; font-size: .95rem; color: var(--muted); }
@media (max-width: 480px) { .months { gap: 3px; } .months span { font-size: .8rem; padding: 10px 0; } .calendar { padding: 16px; } }

.hedge-example { margin-top: 48px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--lime); color: var(--green-900); font-weight: 750; margin-bottom: 16px;
}
.step p { color: var(--muted); margin: 0; }

/* ---------- Vorher / Nachher ---------- */
.ba {
  position: relative; aspect-ratio: 3 / 4; max-width: 460px; width: 100%; margin-left: auto;
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--soft);
  user-select: none; -webkit-user-select: none;
}
@media (max-width: 860px) { .ba { margin: 0 auto; } }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-label {
  position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; font-size: .85rem; font-weight: 650;
  background: rgba(255,255,255,.92); color: var(--green-900); pointer-events: none;
}
.ba-label-before { left: 14px; }
.ba-label-after { right: 14px; background: var(--green-900); color: #fff; }
.ba-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: #fff; pointer-events: none; box-shadow: 0 0 8px rgba(0,0,0,.25);
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border-radius: 50%; background: #fff; color: var(--green-900);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100vh; cursor: ew-resize; }
.ba-range::-moz-range-thumb { width: 56px; height: 100vh; border: 0; cursor: ew-resize; }
.ba:focus-within .ba-knob { outline: 3px solid var(--lime); outline-offset: 2px; }

/* ---------- Galerie ---------- */
.gallery-head { margin-top: clamp(64px, 8vw, 96px); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo:hover img { transform: scale(1.03); }
.photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px;
  color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.35;
  background: linear-gradient(transparent, rgba(2, 40, 20, .78));
}
.photo-link { display: block; color: #fff; text-decoration: none; }
.photo-link .photo-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px;
  color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.35;
  background: linear-gradient(transparent, rgba(2, 40, 20, .78));
}
.photo-more {
  position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--green-900); font-size: .78rem; font-weight: 650;
}
.photo-link:hover img { transform: scale(1.03); }
@media (max-width: 480px) { .photo-link .photo-caption { font-size: .82rem; padding: 28px 10px 10px; } .photo-more { font-size: .7rem; top: 8px; right: 8px; } }
@media (max-width: 480px) { .photo figcaption { font-size: .82rem; padding: 28px 10px 10px; } }
@media (prefers-reduced-motion: reduce) { .photo img, .photo:hover img { transition: none; transform: none; } }
.social-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }

/* ---------- Bewertungen ---------- */
.stars { color: #E2A51B; letter-spacing: 2px; }
.rating { color: var(--muted); font-weight: 600; margin: 0; }
.rating .stars { font-size: 1.25rem; vertical-align: -1px; margin-right: 6px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.review {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
}
.review p { margin: 0; color: var(--text); flex: 1; }
.review footer { font-weight: 650; color: var(--green-900); font-size: .95rem; }
.reviews-cta { text-align: center; margin-top: 32px; }
.review-note { font-size: .85rem; color: var(--muted); max-width: 560px; margin: 16px auto 0; }

/* ---------- Area ---------- */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } }
.radius-art { max-width: 380px; margin: 0 auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.direct { display: grid; gap: 12px; }
.direct a {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
  transition: border-color .2s;
}
.direct a:hover { border-color: var(--green-700); color: var(--text); }
.direct small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.3; }
.direct strong { font-weight: 600; word-break: break-word; }
.direct .icon { margin: 0; width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.direct .icon svg { width: 22px; height: 22px; }

form.contact {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .93rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); background: #fff; box-shadow: 0 0 0 4px rgba(91, 191, 30, .15); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-hint { font-size: .88rem; color: var(--muted); margin: 4px 0 20px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 550; }
.form-status:empty { display: none; }
.form-status.ok { background: var(--soft-2); color: var(--green-900); }
.form-status.err { background: #FDECEA; color: #8A1C12; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #CFE3C6; padding: 56px 0 28px; font-size: .97rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-name span { color: var(--lime); }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer address { font-style: normal; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.socials a:hover { background: rgba(255,255,255,.2); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .9rem; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom nav a, .site-footer address a { display: inline-block; padding: 8px 0; }
.site-footer address { line-height: 1.5; }

/* ---------- WhatsApp floating ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%; background: var(--green-900); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(2,77,39,.3);
}
.wa-float:hover { background: var(--green-800); color: #fff; }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Legal pages ---------- */
.legal { padding: 48px 0 88px; }
.legal .container { max-width: 820px; }
.legal h1 { margin-bottom: 28px; }
.legal h2 { font-size: 1.45rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal address { font-style: normal; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal-note { background: var(--amber-soft); color: #5E4608; padding: 14px 18px; border-radius: 12px; margin-bottom: 28px; }
.legal-note:empty { display: none; }
.back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; margin-bottom: 20px; font-weight: 600; }

/* ---------- Sanftes Einblenden ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
