@charset "UTF-8";
/* ==========================================================================
   Fliesen Stöcklin — Stylesheet
   Aufbau:  1 Tokens · 2 Reset · 3 Basis · 4 Layout · 5 Komponenten
            6 Seitenbereiche · 7 Utilities · 8 Print
   Farben, Abstände und Schriftgrößen werden ausschließlich über die
   Custom Properties in Abschnitt 1 gesteuert.
   ========================================================================== */

/* 1 · TOKENS ============================================================== */

:root {
  /* Markenfarbe aus dem Logo (#1C6330) mit abgeleiteter Skala */
  --green-950: #0b2a15;
  --green-900: #0f3a1c;
  --green-800: #154c25;
  --green-700: #1c6330;
  --green-600: #25793d;
  --green-500: #31934c;
  --green-100: #dceae0;
  --green-50: #f0f6f2;

  /* Warme Neutraltöne — Stein, Zement, Naturstein */
  --ink-900: #15181a;
  --ink-800: #242a27;
  --ink-700: #363d38;
  --ink-600: #4c534e;
  --ink-500: #6b726d;
  --ink-400: #949a95;
  --ink-300: #c3c8c3;
  --ink-200: #e0e3de;
  --ink-100: #eef0ea;
  --ink-50: #f7f8f4;
  --white: #fff;

  /* Sand / Ton als warmer Gegenpol zum Grün */
  --sand-100: #f5f0e7;
  --sand-200: #e9e0cf;
  --clay-600: #a95c38;

  /* Semantisch */
  --bg: var(--white);
  --bg-muted: var(--ink-50);
  --bg-brand: var(--green-700);
  --text: var(--ink-800);
  --text-muted: var(--ink-600);
  --text-onbrand: #fff;
  --border: var(--ink-200);
  --brand: var(--green-700);
  --brand-hover: var(--green-800);
  --focus: var(--green-600);

  /* Schrift — Systemschriften: kein externer Request, kein DSGVO-Problem,
     kein Layout-Sprung beim Laden. */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", serif;

  /* Fluide Typo-Skala (min 360px → max 1280px) */
  --step--2: clamp(0.76rem, 0.74rem + 0.1vw, 0.81rem);
  --step--1: clamp(0.86rem, 0.83rem + 0.16vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.18rem, 1.11rem + 0.34vw, 1.4rem);
  --step-2: clamp(1.42rem, 1.29rem + 0.62vw, 1.85rem);
  --step-3: clamp(1.7rem, 1.48rem + 1.05vw, 2.4rem);
  --step-4: clamp(2.05rem, 1.68rem + 1.75vw, 3.15rem);
  --step-5: clamp(2.4rem, 1.82rem + 2.75vw, 4.1rem);

  /* Abstände */
  --sp-3xs: 0.25rem;
  --sp-2xs: 0.5rem;
  --sp-xs: 0.75rem;
  --sp-s: 1rem;
  --sp-m: 1.5rem;
  --sp-l: 2rem;
  --sp-xl: 3rem;
  --sp-2xl: 4rem;
  --sp-3xl: 6rem;
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* Maße */
  --container: 78rem;
  --container-narrow: 46rem;
  --gutter: clamp(1.15rem, 0.7rem + 2vw, 2.5rem);

  --radius-s: 3px;
  --radius-m: 5px;
  --radius-l: 8px;

  --shadow-s: 0 1px 2px rgb(21 24 26 / 6%), 0 2px 6px rgb(21 24 26 / 5%);
  --shadow-m: 0 2px 4px rgb(21 24 26 / 5%), 0 8px 24px rgb(21 24 26 / 8%);
  --shadow-l: 0 4px 8px rgb(21 24 26 / 6%), 0 20px 48px rgb(21 24 26 / 12%);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: light;
}

/* 2 · RESET =============================================================== */

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  overflow-wrap: break-word;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 3 · BASIS =============================================================== */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}

h1 {
  font-size: var(--step-5);
}
h2 {
  font-size: var(--step-4);
}
h3 {
  font-size: var(--step-2);
}
h4 {
  font-size: var(--step-1);
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.15s var(--ease);
}

a:hover {
  color: var(--brand-hover);
}

strong {
  font-weight: 650;
  color: var(--ink-900);
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin-block: var(--sp-xl);
}

::selection {
  background: var(--green-700);
  color: #fff;
}

/* Skip-Link für Tastatur- und Screenreader-Nutzung */
.skip-link {
  position: absolute;
  left: var(--sp-s);
  top: -100px;
  z-index: 999;
  padding: 0.7rem 1.1rem;
  background: var(--green-700);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-m);
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: var(--sp-s);
  color: #fff;
}

/* 4 · LAYOUT ============================================================== */

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

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: calc(var(--section-y) * 0.62);
}

.section--muted {
  background: var(--bg-muted);
}

.section--sand {
  background: var(--sand-100);
}

.section--brand {
  background: var(--green-800);
  color: #e8f0ea;
}

.section--brand h2,
.section--brand h3 {
  color: #fff;
}

.grid {
  display: grid;
  gap: var(--sp-m);
}

@media (min-width: 46em) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64em) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 46em) and (max-width: 63.99em) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Zweispaltig: Text + Bild */
.split {
  display: grid;
  gap: clamp(var(--sp-l), 4vw, var(--sp-2xl));
  align-items: center;
}

@media (min-width: 56em) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--reverse > :first-child {
    order: 2;
  }
}

.stack > * + * {
  margin-top: var(--sp-s);
}

.stack--l > * + * {
  margin-top: var(--sp-m);
}

/* 5 · KOMPONENTEN ========================================================= */

/* -- Section-Kopf -- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: var(--sp-xs);
}

.eyebrow::before {
  content: "";
  width: 0.85rem;
  height: 0.98rem;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  flex: none;
}

.section--brand .eyebrow {
  color: var(--green-100);
}

.section-head {
  max-width: 46rem;
  margin-bottom: var(--sp-xl);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text-muted);
}

.section--brand .lead {
  color: #cfe0d5;
}

/* -- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85em 1.6em;
  border: 2px solid transparent;
  border-radius: var(--radius-m);
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1.2;
  transition:
    background-color 0.16s var(--ease),
    border-color 0.16s var(--ease),
    color 0.16s var(--ease),
    transform 0.16s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}

.btn--primary:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  border-color: var(--ink-300);
  color: var(--ink-800);
}

.btn--secondary:hover {
  border-color: var(--green-700);
  color: var(--green-800);
}

.btn--onbrand {
  background: #fff;
  border-color: #fff;
  color: var(--green-800);
}

.btn--onbrand:hover {
  background: var(--green-100);
  border-color: var(--green-100);
  color: var(--green-900);
}

.btn--ghost-onbrand {
  background: transparent;
  border-color: rgb(255 255 255 / 45%);
  color: #fff;
}

.btn--ghost-onbrand:hover {
  border-color: #fff;
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  margin-top: var(--sp-m);
}

/* Textlink mit Pfeil */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 650;
  font-size: var(--step--1);
  text-decoration: none;
}

.arrow-link::after {
  content: "→";
  transition: transform 0.18s var(--ease);
}

.arrow-link:hover::after {
  transform: translateX(3px);
}

/* -- Karten -- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition:
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.card:hover {
  border-color: var(--green-500);
  box-shadow: var(--shadow-m);
  transform: translateY(-2px);
}

.card__media {
  aspect-ratio: 4 / 3;
  background: var(--ink-100);
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.03);
}

.card__body {
  padding: var(--sp-m);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--sp-2xs);
}

.card__body h3 {
  font-size: var(--step-1);
}

.card__body p {
  color: var(--text-muted);
  font-size: var(--step--1);
  flex: 1;
}

.card__body .arrow-link {
  margin-top: var(--sp-2xs);
}

/* Ganze Karte klickbar, Link bleibt semantisch korrekt */
.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card--linked {
  position: relative;
}

/* -- Icon-Karte (ohne Bild) -- */
.feature {
  padding: var(--sp-m);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
}

.feature__icon {
  width: 2.6rem;
  height: 2.95rem;
  display: grid;
  place-items: center;
  background: var(--green-50);
  color: var(--green-700);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  margin-bottom: var(--sp-s);
  font-size: 1.1rem;
  font-weight: 700;
}

.feature h3 {
  font-size: var(--step-1);
  margin-bottom: var(--sp-3xs);
}

.feature p {
  color: var(--text-muted);
  font-size: var(--step--1);
}

/* -- Check-Liste -- */
.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.checklist li {
  position: relative;
  padding-left: 1.85rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.8rem;
  height: 0.92rem;
  background: var(--green-600);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.section--brand .checklist li::before {
  background: var(--green-100);
}

/* -- Kennzahlen -- */
.stats {
  display: grid;
  gap: var(--sp-m);
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.stat {
  text-align: center;
  padding: var(--sp-s);
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat__label {
  display: block;
  margin-top: var(--sp-2xs);
  font-size: var(--step--1);
  color: #bcd3c3;
  letter-spacing: 0.02em;
}

/* -- Bildrahmen / Platzhalter -- */
.figure {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--ink-100);
}

.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure figcaption {
  padding: var(--sp-2xs) var(--sp-xs);
  font-size: var(--step--2);
  color: var(--text-muted);
}

/* Platzhalter, solange keine Fotos vorliegen.
   Sobald ein <img> eingesetzt wird, ersetzt es diesen Block ersatzlos. */
.placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--sp-m);
  background:
    repeating-linear-gradient(
      45deg,
      var(--ink-100) 0 12px,
      var(--ink-50) 12px 24px
    );
  border: 1px dashed var(--ink-300);
  border-radius: var(--radius-l);
  color: var(--ink-500);
  font-size: var(--step--2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ratio-43 {
  aspect-ratio: 4 / 3;
}
.ratio-32 {
  aspect-ratio: 3 / 2;
}
.ratio-11 {
  aspect-ratio: 1 / 1;
}
.ratio-169 {
  aspect-ratio: 16 / 9;
}

/* -- Galerie -- */
.gallery {
  display: grid;
  gap: var(--sp-s);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}

.gallery > * {
  border-radius: var(--radius-m);
  overflow: hidden;
}

/* Hoch- und Querformate im Raster auf gleiche Hoehe bringen. Ohne das
   entstehen Luecken, sobald Fotos unterschiedlicher Ausrichtung gemischt
   werden. Der Beschnitt erfolgt mittig. */
.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--ink-100);
}

/* -- Öffnungszeiten -- */
.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
}

.hours th,
.hours td {
  padding: 0.6rem 0;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.hours th {
  font-weight: 600;
  color: var(--ink-800);
  padding-right: var(--sp-s);
}

.hours td {
  text-align: right;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.hours tr:last-child th,
.hours tr:last-child td {
  border-bottom: 0;
}

/* -- Kontaktdaten-Block -- */
.contact-list {
  display: grid;
  gap: var(--sp-s);
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: var(--sp-xs);
  align-items: flex-start;
}

.contact-list svg {
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  color: var(--green-700);
}

.contact-list a {
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* -- Panel -- */
.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: clamp(var(--sp-m), 3vw, var(--sp-xl));
}

.panel--brand {
  background: var(--green-50);
  border-color: var(--green-100);
}

/* -- Formular -- */
.form {
  display: grid;
  gap: var(--sp-m);
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-800);
}

.field .req {
  color: var(--clay-600);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-m);
  font-size: var(--step-0);
  transition:
    border-color 0.15s var(--ease),
    box-shadow 0.15s var(--ease);
}

.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: var(--ink-400);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgb(37 121 61 / 18%);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field__hint {
  font-size: var(--step--2);
  color: var(--text-muted);
}

.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.6rem;
}

.field--check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.35rem;
  accent-color: var(--green-700);
}

.field--check label {
  font-weight: 400;
  font-size: var(--step--1);
  color: var(--text-muted);
}

/* Honeypot — für Menschen unsichtbar, Bots füllen ihn aus */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  gap: var(--sp-m);
}

@media (min-width: 40em) {
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.notice {
  padding: var(--sp-s) var(--sp-m);
  border-radius: var(--radius-m);
  border-left: 4px solid;
  font-size: var(--step--1);
}

.notice--ok {
  background: var(--green-50);
  border-color: var(--green-600);
  color: var(--green-900);
}

.notice--error {
  background: #fdf1ec;
  border-color: var(--clay-600);
  color: #6f3620;
}

/* -- Breadcrumb -- */
.breadcrumb {
  font-size: var(--step--2);
  color: var(--text-muted);
  padding-block: var(--sp-s);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.4rem;
  color: var(--ink-400);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--brand);
  text-decoration: underline;
}

/* -- Prose (Markdown-Inhalte) -- */
.prose > * + * {
  margin-top: var(--sp-s);
}

.prose h2 {
  font-size: var(--step-3);
  margin-top: var(--sp-xl);
}

.prose h3 {
  font-size: var(--step-1);
  margin-top: var(--sp-l);
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose li + li {
  margin-top: 0.3rem;
}

.prose img {
  border-radius: var(--radius-l);
  margin-block: var(--sp-m);
}

.prose blockquote {
  border-left: 3px solid var(--green-600);
  padding-left: var(--sp-s);
  font-style: italic;
  color: var(--text-muted);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
}

.prose th,
.prose td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.prose dt {
  font-weight: 650;
  color: var(--ink-900);
  margin-top: var(--sp-s);
}

/* -- Bilderwechsler (Startseite) --
   Ohne JavaScript bleibt das erste Bild stehen; die Bedienknoepfe sind dann
   per hidden-Attribut ausgeblendet und werden erst vom Script eingeschaltet. */
.slider {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--ink-900);
  box-shadow: var(--shadow-l);
}

.slider__track {
  position: relative;
  aspect-ratio: 4 / 3;
  list-style: none;
  margin: 0;
  padding: 0;
}

.slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.slider__slide[data-active="true"] {
  opacity: 1;
}

.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(21 24 26 / 55%);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  transition: background-color 0.15s var(--ease);
}

.slider__nav:hover {
  background: rgb(21 24 26 / 80%);
}

.slider__nav--prev {
  left: 0.7rem;
}
.slider__nav--next {
  right: 0.7rem;
}

.slider__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem;
  background: linear-gradient(to top, rgb(21 24 26 / 60%), transparent);
}

.slider__dots {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.slider__dot {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 45%);
  transition: background-color 0.15s var(--ease), transform 0.15s var(--ease);
}

.slider__dot[aria-current="true"] {
  background: #fff;
  transform: scale(1.3);
}

.slider__play {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-left: 0.35rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 20%);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
}

.slider__play:hover {
  background: rgb(255 255 255 / 35%);
}

.slider :focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 30em) {
  .slider__nav {
    width: 2.2rem;
    height: 2.2rem;
  }
}

/* 6 · SEITENBEREICHE ====================================================== */

/* -- Topbar -- */
.topbar {
  background: var(--green-900);
  color: #cfe0d5;
  font-size: var(--step--2);
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2xs) var(--sp-m);
  min-height: 2.4rem;
  padding-block: 0.4rem;
}

.topbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.topbar a:hover {
  color: var(--green-100);
  text-decoration: underline;
}

.topbar__items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-s);
  list-style: none;
  padding: 0;
}

/* -- Header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-m);
  min-height: 4.5rem;
  padding-block: 0.6rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink-900);
  flex: none;
}

.logo img,
.logo svg {
  width: auto;
  height: 2.5rem;
  flex: none;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo__claim {
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--green-700);
  font-weight: 600;
}

/* -- Navigation -- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  background: transparent;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-m);
  font-size: var(--step--1);
  font-weight: 600;
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--ink-800);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  padding: 0;
}

.nav__link {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-m);
  color: var(--ink-700);
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.nav__link:hover {
  background: var(--green-50);
  color: var(--green-800);
}

.nav__link[aria-current="page"] {
  color: var(--green-800);
  background: var(--green-50);
}

.nav__cta {
  margin-left: 0.4rem;
}

/* Mobile Navigation */
@media (max-width: 63.99em) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(21rem, 84vw);
    padding: 5.5rem var(--sp-m) var(--sp-m);
    background: var(--white);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-l);
    transform: translateX(100%);
    /* visibility nimmt das geschlossene Menü aus der Tab-Reihenfolge –
       sonst landet der Tastaturfokus in einem unsichtbaren Panel. */
    visibility: hidden;
    transition:
      transform 0.28s var(--ease),
      visibility 0.28s var(--ease);
    overflow-y: auto;
  }

  .nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .nav__link {
    padding: 0.8rem 0.75rem;
    font-size: var(--step-0);
    border-bottom: 1px solid var(--ink-100);
    border-radius: 0;
  }

  .nav__cta {
    margin: var(--sp-s) 0 0;
    width: 100%;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgb(21 24 26 / 45%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
    z-index: 40;
  }

  .nav-backdrop[data-open="true"] {
    opacity: 1;
    visibility: visible;
  }
}

@media (min-width: 64em) {
  .nav-toggle,
  .nav-backdrop {
    display: none;
  }
}

/* -- Hero -- */
.hero {
  position: relative;
  background: var(--green-900);
  color: #e8f0ea;
  overflow: hidden;
  isolation: isolate;
}

/* Hexagon-Raster aus dem Logo als dezente Textur */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'><g fill='none' stroke='%23ffffff' stroke-width='1.1' stroke-opacity='0.09'><path d='M28 1 L54 16 L54 46 L28 61 L2 46 L2 16 Z'/><path d='M0 49 L26 64 L26 94 L0 109'/><path d='M56 49 L30 64 L30 94 L56 109'/></g></svg>");
  background-size: 56px 96px;
}

.hero__inner {
  display: grid;
  gap: var(--sp-xl);
  padding-block: clamp(3.5rem, 2rem + 7vw, 7rem);
  align-items: center;
}

@media (min-width: 58em) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero h1 {
  color: #fff;
  font-size: var(--step-5);
}

.hero__lead {
  font-size: var(--step-1);
  color: #c8dccf;
  margin-top: var(--sp-s);
  max-width: 34rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2xs);
  margin-bottom: var(--sp-m);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  background: rgb(255 255 255 / 7%);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #d8e7dd;
}

.hero__media {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
}

.hero__media .placeholder {
  background: repeating-linear-gradient(
    45deg,
    rgb(255 255 255 / 6%) 0 12px,
    rgb(255 255 255 / 2%) 12px 24px
  );
  border-color: rgb(255 255 255 / 20%);
  color: #a9c4b3;
}

/* -- Seitenkopf für Unterseiten -- */
.page-head {
  background: var(--green-50);
  border-bottom: 1px solid var(--green-100);
  padding-block: clamp(var(--sp-l), 4vw, var(--sp-2xl));
}

.page-head h1 {
  font-size: var(--step-4);
}

.page-head .lead {
  margin-top: var(--sp-s);
  max-width: 44rem;
}

/* -- CTA-Band -- */
.cta-band {
  background: var(--green-800);
  color: #dfeae3;
}

.cta-band__inner {
  display: grid;
  gap: var(--sp-m);
  align-items: center;
  padding-block: var(--sp-2xl);
}

@media (min-width: 52em) {
  .cta-band__inner {
    grid-template-columns: 1fr auto;
    gap: var(--sp-xl);
  }
}

.cta-band h2 {
  color: #fff;
  font-size: var(--step-3);
}

.cta-band p {
  margin-top: var(--sp-2xs);
  color: #bcd3c3;
}

/* -- Footer -- */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-300);
  font-size: var(--step--1);
  padding-block: var(--sp-2xl) var(--sp-m);
}

.site-footer h2 {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--sp-s);
}

.site-footer a {
  color: var(--ink-200);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: var(--sp-xl);
}

@media (min-width: 44em) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 68em) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: var(--sp-s);
}

.footer-logo img {
  height: 2.6rem;
  width: auto;
}

.footer-logo span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer .hours th {
  color: var(--ink-200);
  font-weight: 500;
}

.site-footer .hours td {
  color: var(--ink-400);
}

.site-footer .hours th,
.site-footer .hours td {
  border-color: rgb(255 255 255 / 10%);
  padding: 0.4rem 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2xs) var(--sp-m);
  justify-content: space-between;
  align-items: center;
  margin-top: var(--sp-xl);
  padding-top: var(--sp-m);
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: var(--step--2);
  color: var(--ink-500);
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-m);
}

/* Mobile Sticky-Anrufleiste */
.call-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--green-800);
  box-shadow: 0 -2px 12px rgb(0 0 0 / 18%);
}

.call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 0.5rem;
  color: #fff;
  font-size: var(--step--1);
  font-weight: 650;
  text-decoration: none;
}

.call-bar a + a {
  border-left: 1px solid rgb(255 255 255 / 18%);
}

.call-bar svg {
  width: 1.05rem;
  height: 1.05rem;
}

@media (min-width: 48em) {
  .call-bar {
    display: none;
  }
}

@media (max-width: 47.99em) {
  body {
    padding-bottom: 3.4rem;
  }
}

/* 7 · UTILITIES =========================================================== */

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

.text-center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.mt-m {
  margin-top: var(--sp-m);
}
.mt-l {
  margin-top: var(--sp-l);
}
.mb-0 {
  margin-bottom: 0;
}
.muted {
  color: var(--text-muted);
}
.nowrap {
  white-space: nowrap;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 8 · PRINT =============================================================== */

@media print {
  .site-header,
  .topbar,
  .call-bar,
  .cta-band,
  .nav-toggle,
  .nav-backdrop {
    display: none !important;
  }

  body {
    padding: 0;
    font-size: 11pt;
    color: #000;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }
}
