/* ==========================================================================
   G&M Grabpflege
   ========================================================================== */

/* ---------- Schriften (lokal, keine externen Server) ---------- */
@font-face {
  font-family: "Marcellus";
  src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Marcellus";
  src: url("../fonts/marcellus-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Next";
  src: url("../fonts/atkinson-next-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Next";
  src: url("../fonts/atkinson-next-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Next";
  src: url("../fonts/atkinson-next-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Next";
  src: url("../fonts/atkinson-next-latin-ext-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Next";
  src: url("../fonts/atkinson-next-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

/* ---------- Farben und Maße ---------- */
:root {
  --cream: #f4f2ea;
  --cream-2: #ebe8dd;
  --ink: #1c2a23;
  --ink-2: #46534c;
  --forest: #1e3a2c;
  --forest-2: #2b4d3b;
  --forest-deep: #132a1f;
  --sage: #8da287;
  --sage-soft: #dde4d7;
  --sage-ink: #4b6648;
  --stone: #8c8880;
  --stone-soft: #e2ded5;
  --sand: #d8cbb2;
  --sand-soft: #eee7d8;
  --brass: #a2844a;
  --brass-ink: #765b29;
  --line: rgb(30 58 44 / 0.14);

  /* Jahreszeiten */
  --spring-bg: #e9f0e1;  --spring-accent: #5f8a4e;
  --summer-bg: #f5ecd6;  --summer-accent: #b78a2c;
  --autumn-bg: #f1e2d0;  --autumn-accent: #9a5a2a;
  --winter-bg: #e3e9ed;  --winter-accent: #57707f;

  --font-display: "Marcellus", "Optima", "Candara", "Palatino Linotype", Georgia, serif;
  --font-body: "Atkinson Next", "Atkinson Hyperlegible", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 1px 2px rgb(30 58 44 / 0.06), 0 10px 30px -12px rgb(30 58 44 / 0.18);
  --shadow-lift: 0 2px 4px rgb(30 58 44 / 0.06), 0 24px 48px -18px rgb(30 58 44 / 0.28);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 76px;
  --section-y: clamp(5rem, 9vw, 8.5rem);

  --stone-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .33 0 0 0 0 .3 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");

  color-scheme: light;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
html.reduce-motion { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 1.06rem + 0.25vw, 1.25rem);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

::selection { background: var(--sage); color: var(--forest-deep); }
html { scrollbar-color: var(--sage) var(--cream-2); accent-color: var(--forest); }
input, textarea { caret-color: var(--forest); }

:focus-visible {
  outline: 3px solid var(--brass-ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.site-footer :focus-visible,
.service-card--feature :focus-visible { outline-color: #e6d3a5; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--forest);
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin-bottom: 0.6em;
}
h3 {
  font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.75rem);
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.lead {
  font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.4rem);
  color: var(--ink-2);
  max-width: 40ch;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  background: var(--forest);
  color: var(--cream);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.5em; height: 1.5em; flex: none; fill: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font: 700 1.0625rem/1.2 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 140ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 1.35rem; height: 1.35rem; }

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.12) inset, 0 10px 24px -12px rgb(19 42 31 / 0.6);
}
.btn-secondary {
  background: transparent;
  color: var(--forest);
  border-color: rgb(30 58 44 / 0.35);
}
.btn-light {
  background: var(--cream);
  color: var(--forest);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--forest-2); }
  .btn-secondary:hover { border-color: var(--forest); background: rgb(30 58 44 / 0.05); }
  .btn-light:hover { background: #fff; }
}

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgb(244 242 234 / 0.97);
  transition: box-shadow 300ms ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgb(30 58 44 / 0.5); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--forest); }
.brand img { height: 42px; width: auto; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 0.5rem; }
.main-nav ul { list-style: none; display: flex; gap: 0.25rem; }
.main-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 0.85rem;
  color: var(--ink);
  font-size: 1.0625rem;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 200ms ease, color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .main-nav a:not(.btn):hover { background: rgb(30 58 44 / 0.07); color: var(--forest); }
}
.main-nav .btn { margin-left: 0.75rem; min-height: 3rem; padding: 0.6rem 1.2rem; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.5rem 1rem;
  border: 2px solid rgb(30 58 44 / 0.3);
  border-radius: var(--radius);
  background: transparent;
  color: var(--forest);
  font: 700 1.0625rem var(--font-body);
  cursor: pointer;
  touch-action: manipulation;
}
.nav-toggle .icon { width: 1.4rem; height: 1.4rem; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1240px) {
  .brand-name { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--cream);
    box-shadow: 0 1px 0 var(--line), 0 24px 40px -24px rgb(30 58 44 / 0.45);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
  }
  .main-nav ul { flex-direction: column; }
  .main-nav a:not(.btn) { min-height: 3.5rem; font-size: 1.2rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav .btn { margin: 0.5rem 0 0; min-height: 3.5rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 70% at 74% 58%, rgb(250 236 205 / 0.75), transparent 70%),
    radial-gradient(70% 60% at 10% 100%, rgb(221 228 215 / 0.9), transparent 70%),
    var(--cream);
}
.hero-stage {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-stage canvas {
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  transition: opacity 1400ms ease;
}
.hero-stage.is-ready canvas { opacity: 1; }

.hero-copy {
  padding-block: clamp(3rem, 8vh, 6rem);
  max-width: 38rem;
}
.hero h1 {
  font-size: clamp(3rem, 1.7rem + 5vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--forest);
}
.hero-slogan {
  margin: 1.1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem);
  line-height: 1.2;
  color: var(--sage-ink);
}
.hero-text {
  margin: 1.5rem 0 0;
  max-width: 30ch;
  color: var(--ink-2);
  font-size: clamp(1.2rem, 1.1rem + 0.35vw, 1.35rem);
}
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-rule {
  width: 72px;
  height: 2px;
  margin-top: 1.6rem;
  background: var(--brass);
  border-radius: 2px;
}

@media (max-width: 900px) {
  .hero { align-items: start; min-height: auto; }
  .hero-copy { padding-block: 2.5rem 0; max-width: none; }
  .hero-stage { inset: auto 0 0 0; height: clamp(300px, 70vw, 440px); }
  .hero-copy { padding-bottom: 3rem; }
  .has-webgl .hero-copy { padding-bottom: 0; }
  .has-webgl .hero::after {
    content: "";
    display: block;
    height: clamp(300px, 70vw, 440px);
  }
  .hero {
    background:
      radial-gradient(90% 40% at 50% 85%, rgb(250 236 205 / 0.85), transparent 70%),
      var(--cream);
  }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head p { color: var(--ink-2); font-size: clamp(1.2rem, 1.1rem + 0.3vw, 1.3rem); margin: 0; }

/* ---------- Über uns ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.about-copy p { max-width: 60ch; }

.about-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 4vw, 3.25rem);
  border-radius: var(--radius-lg);
  background: var(--sand-soft);
  box-shadow: inset 0 0 0 1px rgb(162 132 74 / 0.35);
}
.about-panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--stone-grain);
  opacity: 0.3;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.about-panel > * { position: relative; }
.about-leaf { width: 34px; height: auto; margin-bottom: 1.5rem; }
.about-close {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  line-height: 1.25;
  color: var(--forest);
  margin: 0 0 1.75rem;
  text-wrap: balance;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- Leistungen ---------- */
.services { background: linear-gradient(180deg, var(--cream) 0%, var(--sage-soft) 100%); }
.services-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  perspective: 1100px;
}
.services-grid > li { display: flex; }
.service-card {
  position: relative;
  flex: 1;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: #faf9f4;
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  transition: box-shadow 300ms ease;
  will-change: transform;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgb(162 132 74 / 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 300ms ease;
}
.service-card.is-tilting { box-shadow: var(--shadow-lift); }
.service-card.is-tilting::after { opacity: 1; }
.service-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--forest);
  box-shadow: inset 0 0 0 1px rgb(162 132 74 / 0.35);
}
.service-icon .icon { width: 2.1rem; height: 2.1rem; }
.service-card h3 { margin-bottom: 0.7rem; }
.service-card p { margin: 0; color: var(--ink-2); }

.service-card--feature {
  background: var(--forest);
  color: #e6ebe3;
}
.service-card--feature h3 { color: var(--cream); }
.service-card--feature p { color: #d3dccf; }
.service-card--feature .service-icon { background: rgb(244 242 234 / 0.1); color: #e6d3a5; box-shadow: inset 0 0 0 1px rgb(230 211 165 / 0.45); }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  min-height: 3rem;
  color: #f0e2bf;
  font-weight: 700;
  text-decoration: none;
}
.service-link .icon { width: 1.25rem; height: 1.25rem; transition: transform 200ms var(--ease-out); }
.service-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (hover: hover) and (pointer: fine) {
  .service-link:hover .icon { transform: translateY(3px); }
}

@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Pflege im Jahresverlauf ---------- */
.seasons {
  --s-bg: var(--spring-bg);
  --s-accent: var(--spring-accent);
  background: var(--s-bg);
  transition: background-color 1200ms ease;
}
.seasons[data-season="sommer"] { --s-bg: var(--summer-bg); --s-accent: var(--summer-accent); }
.seasons[data-season="herbst"] { --s-bg: var(--autumn-bg); --s-accent: var(--autumn-accent); }
.seasons[data-season="winter"] { --s-bg: var(--winter-bg); --s-accent: var(--winter-accent); }

.seasons-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.year-ring-wrap {
  position: sticky;
  top: calc(var(--header-h) + 3rem);
}
.year-ring { width: 100%; max-width: 440px; margin-inline: auto; overflow: visible; }
.year-ring .ring-track { fill: none; stroke: rgb(30 58 44 / 0.1); stroke-width: 18; }
.year-ring .ring-seg { fill: none; stroke-width: 18; stroke-linecap: round; opacity: 0.32; transition: opacity 600ms ease; }
.year-ring .ring-seg.is-active { opacity: 1; }
.year-ring .ring-label {
  font-family: var(--font-display);
  font-size: 19px;
  fill: var(--ink-2);
  transition: fill 400ms ease;
}
.year-ring .ring-label.is-active { fill: var(--forest); }
.year-ring .ring-pointer { transform-origin: 220px 220px; }
.year-ring .ring-center-title { font-family: var(--font-display); font-size: 40px; fill: var(--forest); }
.year-ring .ring-center-sub { font-family: var(--font-body); font-size: 17px; fill: var(--ink-2); }

.season-list { list-style: none; display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.season {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.55);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.7) inset, var(--shadow-soft);
}
.season-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.4rem; }
.season-icon {
  display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem;
  border-radius: 50%;
  color: #fff;
  flex: none;
}
.season-icon .icon { width: 1.7rem; height: 1.7rem; }
.season[data-season="fruehling"] .season-icon { background: var(--spring-accent); }
.season[data-season="sommer"] .season-icon { background: var(--summer-accent); }
.season[data-season="herbst"] .season-icon { background: var(--autumn-accent); }
.season[data-season="winter"] .season-icon { background: var(--winter-accent); }
.season h3 { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); }
.season-months { color: var(--ink-2); margin: 0 0 1.25rem; font-size: 1.05rem; }
.season ul { list-style: none; display: grid; gap: 0.65rem; }
.season li { position: relative; padding-left: 1.75rem; }
.season li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 0.6rem; height: 0.6rem;
  border-radius: 50% 0 50% 0;
  background: var(--brass);
  transform: rotate(-45deg);
}

.season-bar { display: none; }

@media (max-width: 900px) {
  .seasons-layout { grid-template-columns: 1fr; }
  .year-ring-wrap { display: none; }
  .season { min-height: 0; }
  .season-bar {
    position: sticky;
    top: calc(var(--header-h) + 0.5rem);
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-bottom: 1.25rem;
    padding: 6px;
    border-radius: 999px;
    background: rgb(244 242 234 / 0.94);
    box-shadow: 0 8px 20px -14px rgb(30 58 44 / 0.5), inset 0 0 0 1px var(--line);
  }
  .bar-seg {
    display: grid;
    place-items: center;
    min-height: 2.5rem;
    border-radius: 999px;
    font-size: 0.95rem;
    color: var(--ink-2);
    transition: background-color 500ms ease, color 500ms ease;
  }
  .bar-seg.is-active { color: #fff; font-weight: 700; }
  .bar-seg.is-active[data-bar="fruehling"] { background: #4f7a40; }
  .bar-seg.is-active[data-bar="sommer"] { background: #8f6a1c; }
  .bar-seg.is-active[data-bar="herbst"] { background: var(--autumn-accent); }
  .bar-seg.is-active[data-bar="winter"] { background: var(--winter-accent); }
}
@media (max-width: 380px) { .bar-seg { font-size: 0.85rem; } }

/* ---------- Warum ---------- */
.why { background: var(--sand-soft); overflow: hidden; }
.why::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--stone-grain);
  opacity: 0.22;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.why .container { position: relative; }
.why-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.why-item { padding: 0.5rem clamp(1.25rem, 2.5vw, 2.25rem) 0; border-left: 1px solid rgb(162 132 74 / 0.45); }
.why-item:first-child { border-left: 0; padding-left: 0; }
.why-item .icon { width: 2.75rem; height: 2.75rem; color: var(--brass-ink); margin-bottom: 1.25rem; }
.why-item h3 { margin-bottom: 0.6rem; }
.why-item p { margin: 0; color: var(--ink-2); }

@media (max-width: 1000px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.75rem; }
  .why-item:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; row-gap: 0; }
  .why-item, .why-item:nth-child(3) { border-left: 0; padding: 1.75rem 0; border-top: 1px solid rgb(162 132 74 / 0.45); }
  .why-item:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.contact-intro { font-size: clamp(1.25rem, 1.15rem + 0.35vw, 1.4rem); color: var(--ink-2); max-width: 34ch; }

.contact-list { list-style: none; display: grid; gap: 0.75rem; margin: 2rem 0; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: #faf9f4;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.15rem;
  transition: box-shadow 200ms ease, background-color 200ms ease;
}
a.contact-item { touch-action: manipulation; }
@media (hover: hover) and (pointer: fine) {
  a.contact-item:hover { box-shadow: inset 0 0 0 2px var(--forest); }
}
.contact-item .icon-wrap {
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--forest);
  flex: none;
}
.contact-item .icon { width: 1.6rem; height: 1.6rem; }
.contact-item small { display: block; font-size: 0.9rem; color: var(--ink-2); line-height: 1.3; }
.contact-item strong { font-weight: 700; overflow-wrap: anywhere; }
.is-placeholder { color: var(--brass-ink); }

/* Karte, Zwei-Klick */
.map-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--stone-soft);
  box-shadow: inset 0 0 0 1px var(--line);
}
.map-box::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--stone-grain);
  opacity: 0.3;
  mix-blend-mode: multiply;
}
.map-consent {
  position: relative;
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.9rem;
  padding: 1.5rem;
  text-align: center;
}
.map-consent .icon { width: 2.75rem; height: 2.75rem; color: var(--forest); }
.map-consent p { margin: 0; max-width: 36ch; font-size: 1rem; color: var(--ink-2); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link { display: inline-block; margin-top: 0.75rem; font-size: 1rem; }

/* Formular */
.form-card {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: #faf9f4;
  box-shadow: var(--shadow-soft);
}
.form-card h3 { margin-bottom: 0.4rem; }
.form-card > p { color: var(--ink-2); font-size: 1.05rem; }
.field { display: grid; gap: 0.45rem; margin-bottom: 1.25rem; }
.field label { font-weight: 700; font-size: 1.05rem; }
.field .optional { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.8rem 1rem;
  border: 2px solid #84817a;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: 400 1.125rem/1.4 var(--font-body);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgb(141 162 135 / 0.45);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a23b2a; }
.field-hint { font-size: 0.95rem; color: var(--ink-2); }
.field-error { display: none; align-items: center; gap: 0.4rem; font-size: 0.98rem; color: #962f20; font-weight: 700; }
.field-error.is-visible { display: flex; }
.field-error .icon { width: 1.2rem; height: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-privacy { font-size: 0.98rem; color: var(--ink-2); margin: 0.25rem 0 1.5rem; }
.form-card .btn { width: 100%; }
.form-card .btn[disabled] { opacity: 0.65; cursor: progress; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  display: none;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  font-size: 1.05rem;
}
.form-status.is-visible { display: flex; }
.form-status.is-success { background: var(--sage-soft); color: var(--forest-deep); }
.form-status.is-error { background: #f6e3dc; color: #7c2717; }
.form-status .icon { width: 1.6rem; height: 1.6rem; margin-top: 0.05rem; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Fußzeile ---------- */
.site-footer {
  background: var(--forest-deep);
  color: #cfd8cc;
  padding-block: 4rem 2.5rem;
  font-size: 1.05rem;
}
.site-footer a { color: #ecefe6; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.footer-logo { width: 150px; height: auto; margin-bottom: 1.25rem; }
.footer-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--cream); margin: 0 0 0.75rem; }
.footer-list { list-style: none; display: grid; gap: 0.35rem; }
.footer-list a { display: inline-flex; min-height: 2.75rem; align-items: center; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(236 239 230 / 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.98rem;
}
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgb(236 239 230 / 0.35);
  border-radius: 999px;
  background: transparent;
  color: #ecefe6;
  font: 400 0.98rem var(--font-body);
  cursor: pointer;
}
.motion-toggle[aria-pressed="true"] { background: rgb(236 239 230 / 0.12); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.legal { padding-block: clamp(3rem, 7vw, 5.5rem) var(--section-y); }
.legal .container { max-width: 52rem; }
.legal h1 { font-size: clamp(2.5rem, 1.8rem + 3vw, 3.75rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin: 2.5rem 0 0.75rem; }
.legal h3 { font-size: 1.3rem; margin: 1.75rem 0 0.5rem; }
.legal p, .legal li { max-width: 68ch; }
.legal ul { padding-left: 1.25rem; margin-bottom: 1em; }
.legal address { font-style: normal; margin-bottom: 1em; }
.placeholder {
  display: inline;
  padding: 0.05em 0.35em;
  border-radius: 6px;
  background: #f3e6c8;
  color: #6b4f17;
  font-weight: 700;
}
.legal-note {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--sand-soft);
  box-shadow: inset 0 0 0 1px rgb(162 132 74 / 0.4);
  font-size: 1.02rem;
}
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3rem; margin-bottom: 1rem; font-weight: 700; }
.back-link .icon { width: 1.2rem; height: 1.2rem; transform: rotate(180deg); }


/* ---------- Hero: drei Gräber, Infopunkte ---------- */
.hero .container { pointer-events: none; }
.hero-copy { pointer-events: auto; }
.grave-ui {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hotspots { position: absolute; inset: 0; }
.hotspot {
  position: absolute;
  left: 0; top: 0;
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  pointer-events: none;
  opacity: 0;
  transition: opacity 400ms ease;
  touch-action: manipulation;
}
.hotspot.is-visible { opacity: 1; pointer-events: auto; }
.hotspot::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: rgb(250 247 238 / 0.95);
  box-shadow: 0 0 0 2px var(--brass), 0 4px 14px -4px rgb(30 58 44 / 0.5);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.hotspot::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  background:
    linear-gradient(var(--forest), var(--forest)) center / 10px 2px no-repeat,
    linear-gradient(var(--forest), var(--forest)) center / 2px 10px no-repeat;
  transition: transform 200ms var(--ease-out);
}
.hotspot[aria-expanded="true"]::before { background: var(--forest); }
.hotspot[aria-expanded="true"]::after {
  transform: rotate(45deg);
  background:
    linear-gradient(var(--cream), var(--cream)) center / 10px 2px no-repeat,
    linear-gradient(var(--cream), var(--cream)) center / 2px 10px no-repeat;
}
.hotspot:active::before { transform: scale(0.9); }
@media (hover: hover) and (pointer: fine) {
  .hotspot:hover::before { transform: scale(1.12); }
}
/* ruhiges Atmen, damit die Punkte auffallen, ohne zu stören */
@media (prefers-reduced-motion: no-preference) {
  html:not(.reduce-motion) .hotspot.is-visible:not([aria-expanded="true"])::before {
    animation: hs-breathe 2.8s ease-in-out infinite;
  }
}
@keyframes hs-breathe {
  0%, 100% { box-shadow: 0 0 0 2px var(--brass), 0 0 0 0 rgb(162 132 74 / 0.45), 0 4px 14px -4px rgb(30 58 44 / 0.5); }
  50% { box-shadow: 0 0 0 2px var(--brass), 0 0 0 9px rgb(162 132 74 / 0), 0 4px 14px -4px rgb(30 58 44 / 0.5); }
}

.hs-pop {
  position: absolute;
  left: 0; top: 0;
  width: min(320px, calc(100vw - 2.5rem));
  padding: 1.25rem 1.35rem 1.1rem;
  border-radius: var(--radius-lg);
  background: #fbfaf5;
  box-shadow: var(--shadow-lift), inset 0 0 0 1px rgb(162 132 74 / 0.35);
  pointer-events: auto;
  z-index: 3;
}
.hs-pop:not([hidden]) { animation: pop-in 220ms var(--ease-out); }
@keyframes pop-in { from { opacity: 0; transform-origin: left center; scale: 0.96; } to { opacity: 1; scale: 1; } }
.hs-pop h3 { font-size: 1.45rem; margin: 0 2rem 0.4rem 0; }
.hs-pop p { font-size: 1.02rem; color: var(--ink-2); margin: 0 0 0.75rem; }
.hs-link { font-weight: 700; display: inline-flex; min-height: 2.75rem; align-items: center; }
.hs-close {
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.hs-close .icon { width: 1.3rem; height: 1.3rem; }
@media (hover: hover) and (pointer: fine) { .hs-close:hover { background: rgb(30 58 44 / 0.07); } }

.grave-panel {
  position: absolute;
  left: 50%;
  right: var(--gutter);
  bottom: clamp(1.25rem, 4vh, 2.5rem);
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  pointer-events: none;
}
.grave-caption {
  margin: 0;
  max-width: 34rem;
  text-align: center;
  font-size: 1.02rem;
  color: var(--ink-2);
  background: rgb(244 242 234 / 0.82);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}
.grave-caption strong { color: var(--forest); }
.grave-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgb(251 250 245 / 0.92);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px var(--line);
  pointer-events: auto;
}
.gs-tab, .gs-arrow {
  min-height: 2.9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 700 1rem var(--font-body);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 250ms ease, color 250ms ease, transform 140ms var(--ease-out);
}
.gs-tab { padding: 0 1.05rem; }
.gs-arrow { width: 2.9rem; display: grid; place-items: center; color: var(--forest); }
.gs-arrow .icon { width: 1.25rem; height: 1.25rem; }
.gs-tab[aria-pressed="true"] { background: var(--forest); color: var(--cream); }
.gs-tab:active, .gs-arrow:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .gs-tab[aria-pressed="false"]:hover, .gs-arrow:hover { background: rgb(30 58 44 / 0.08); }
}
@media (max-width: 900px) {
  .grave-ui { inset: auto 0 0 0; height: clamp(300px, 70vw, 440px); }
  .grave-panel { left: var(--gutter); bottom: 0.9rem; }
  .grave-caption { display: none; }
  .gs-tab { padding: 0 0.7rem; font-size: 0.95rem; }
  .hs-pop { left: var(--gutter); right: var(--gutter); top: auto; bottom: 5rem; width: auto; transform: none !important; }
}
@media (max-width: 400px) {
  .gs-arrow { display: none; }
}

/* ---------- Jahreszeiten anklickbar ---------- */
.ring-seg, .ring-label { cursor: pointer; }
.bar-seg { border: 0; background: transparent; font: inherit; cursor: pointer; touch-action: manipulation; }
.season:focus { outline: none; }
.season:focus-visible { outline: 3px solid var(--brass-ink); outline-offset: 4px; }

/* ---------- Pakete ---------- */
.pricing { background: linear-gradient(180deg, var(--cream) 0%, var(--stone-soft) 100%); }
.finder {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 1rem 2rem;
  align-items: center;
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.6);
  box-shadow: inset 0 0 0 1px var(--line);
}
.finder-title { font-size: 1.5rem; grid-row: span 2; max-width: 12ch; }
.finder-q p { margin: 0 0 0.6rem; font-weight: 700; font-size: 1.05rem; }
.finder-opts { display: flex; gap: 0.5rem; }
.chip {
  min-height: 3rem;
  min-width: 5.5rem;
  padding: 0 1.25rem;
  border: 2px solid rgb(30 58 44 / 0.3);
  border-radius: 999px;
  background: #fff;
  color: var(--forest);
  font: 700 1.05rem var(--font-body);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 140ms var(--ease-out);
}
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }
@media (hover: hover) and (pointer: fine) { .chip[aria-pressed="false"]:hover { border-color: var(--forest); } }
.finder-result { grid-column: 2 / -1; margin: 0; font-size: 1.1rem; min-height: 1.6em; }
.finder-result a { font-weight: 700; }

.plans {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: #faf9f4;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 400ms ease, transform 400ms var(--ease-out);
}
.plan h3 { font-size: clamp(1.7rem, 1.4rem + 0.8vw, 2.1rem); }
.plan-tag { color: var(--ink-2); margin: 0.35rem 0 1rem; }
.plan-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--forest);
  margin: 0 0 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgb(162 132 74 / 0.4);
}
.plan-includes { font-weight: 700; margin: 0 0 0.6rem; }
.plan-list { list-style: none; display: grid; gap: 0.6rem; margin-bottom: 1.75rem; }
.plan-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.plan-list .icon { width: 1.35rem; height: 1.35rem; margin-top: 0.15rem; color: var(--sage-ink); }
.plan-cta { margin-top: auto; width: 100%; white-space: normal; text-align: center; }
.plan--featured { background: var(--forest); color: #e6ebe3; }
.plan--featured h3, .plan--featured .plan-price { color: var(--cream); }
.plan--featured .plan-tag, .plan--featured .plan-includes { color: #d3dccf; }
.plan--featured .plan-price { border-color: rgb(230 211 165 / 0.45); }
.plan--featured .plan-list .icon { color: #e6d3a5; }
.plan--featured .is-placeholder { color: #f0e2bf; }
.plan--featured :focus-visible { outline-color: #e6d3a5; }
.plan.is-match { box-shadow: 0 0 0 3px var(--brass), var(--shadow-lift); transform: translateY(-4px); }

.compare { margin-top: 2rem; }
.compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0 1.25rem;
  border: 2px solid rgb(30 58 44 / 0.3);
  border-radius: var(--radius);
  background: transparent;
  color: var(--forest);
  font: 700 1.05rem var(--font-body);
  cursor: pointer;
}
.compare-toggle .icon { width: 1.2rem; height: 1.2rem; transform: rotate(90deg); transition: transform 250ms var(--ease-out); }
.compare-toggle[aria-expanded="true"] .icon { transform: rotate(-90deg); }
.compare-wrap { margin-top: 1rem; overflow-x: auto; border-radius: var(--radius-lg); background: #faf9f4; box-shadow: inset 0 0 0 1px var(--line); }
.compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 1.02rem; }
.compare th, .compare td { padding: 0.85rem 1rem; text-align: left; }
.compare thead th { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: var(--forest); border-bottom: 1px solid rgb(162 132 74 / 0.45); }
.compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 400; }
.compare td { font-weight: 700; color: var(--forest); }
.compare td.no { font-weight: 400; color: var(--ink-2); }

@media (max-width: 1000px) {
  .plans { grid-template-columns: 1fr; max-width: 34rem; }
  .finder { grid-template-columns: 1fr 1fr; }
  .finder-title { grid-column: 1 / -1; grid-row: auto; max-width: none; }
  .finder-result { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .finder { grid-template-columns: 1fr; }
}

/* Auswahlfeld im Formular */
.field select {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.8rem 1rem;
  border: 2px solid #84817a;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: 400 1.125rem/1.4 var(--font-body);
}
.field select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgb(141 162 135 / 0.45); }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
  .seasons { transition: background-color 400ms ease !important; }
}
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after {
  transition-duration: 1ms !important;
  animation-duration: 1ms !important;
}
html.reduce-motion .seasons { transition: background-color 400ms ease !important; }

/* ---------- Druck ---------- */
@media print {
  .site-header, .hero-stage, .map-box, .form-card, .motion-toggle { display: none !important; }
  body { background: #fff; }
}
