/* ==========================================================================
   KASBEK Outdoor – Lohr am Main
   Stylesheet, handgeschrieben, ohne Framework und ohne Build-Schritt.

   Gliederung
   01 Schriften
   02 Tokens
   03 Reset
   04 Basis & Typografie
   05 Layout-Primitives
   06 Komponenten
   07 Kopfbereich & Navigation
   08 Hero
   09 Sektionen der Landingpage
   10 Unterseiten
   11 Footer
   12 Bewegung & Utilities
   ========================================================================== */


/* == 01 Schriften ========================================================= */

/* Variable Fonts, lokal gehostet – keine Verbindung zu externen Servern. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  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: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 200 900;
  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;
}


/* == 02 Tokens ============================================================ */

:root {
  /* Farbwelt: Waldgrün, Anthrazit, Stein, Naturweiß, Erdton */
  --forest-900: #12241a;
  --forest-800: #182f21;
  --forest-700: #1f3d2b;
  --forest-500: #3a6b4d;
  --forest-300: #7fa88e;

  --anthrazit: #23262a;
  --anthrazit-600: #4a4f56;

  --stein-600: #5d5749;
  --stein-500: #6b6559;
  --stein-400: #8b8579;
  --stein-300: #c9c3b8;
  --stein-200: #ddd8cf;
  --stein-100: #ece9e2;

  --papier: #f7f5f0;
  --weiss: #fdfcfa;

  /* Akzent – bewusst sparsam eingesetzt */
  --lehm: #a85a2b;
  --lehm-hell: #c8763f;

  /* Schrift */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype",
    Palatino, Georgia, "Times New Roman", serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: clamp(1rem, 0.97rem + 0.15vw, 1.09rem);
  --fs-lg: clamp(1.1rem, 1.03rem + 0.34vw, 1.32rem);
  --fs-xl: clamp(1.3rem, 1.15rem + 0.7vw, 1.75rem);
  --fs-2xl: clamp(1.7rem, 1.4rem + 1.35vw, 2.6rem);
  --fs-3xl: clamp(2rem, 1.55rem + 2.2vw, 3.3rem);
  --fs-hero: clamp(2.35rem, 1.5rem + 3.5vw, 4.5rem);

  /* Raster & Abstände */
  --wrap: 78rem;
  --wrap-narrow: 46rem;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --space-section: clamp(4.5rem, 9vw, 8.5rem);

  /* Form */
  --radius: 3px;
  --border: 1px solid var(--stein-200);
  --shadow-soft: 0 1px 2px rgba(18, 36, 26, 0.04),
    0 12px 32px -18px rgba(18, 36, 26, 0.28);

  /* Bewegung */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 0.25s;
  --dur: 0.4s;
  --dur-slow: 0.7s;

  --header-h: 4.75rem;
}

@media (min-width: 60em) {
  :root {
    --header-h: 5.5rem;
  }
}


/* == 03 Reset ============================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}

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

img,
picture,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  background-color: var(--stein-100);
}

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
}


/* == 04 Basis & Typografie ================================================ */

body {
  margin: 0;
  background-color: var(--papier);
  color: var(--anthrazit);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Notbremse gegen seitliches Scrollen. Achtung: kaschiert zu breite
     Inhalte, statt sie zu beheben – deshalb zusätzlich overflow-wrap. */
  overflow-x: hidden;
  overflow-wrap: break-word;
}

/* Lange, unbrechbare Zeichenketten – vor allem ausgeschriebene URLs in den
   Rechtstexten – müssen umbrechen dürfen, sonst werden sie auf schmalen
   Displays vom overflow-x oben einfach abgeschnitten. */
.prose a[href^="http"],
.footer__contact a,
address a {
  overflow-wrap: anywhere;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-3xl);
}

h2 {
  font-size: var(--fs-2xl);
}

h3 {
  font-size: var(--fs-xl);
  line-height: 1.25;
}

h4 {
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

p {
  text-wrap: pretty;
}

strong {
  font-weight: 600;
}

/* Kleine Überschrift über der Hauptüberschrift */
.eyebrow {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--stein-500);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(247, 245, 240, 0.72);
}

.lead {
  max-width: 46ch;
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--stein-600);
}

.text-measure {
  max-width: 62ch;
}

.muted {
  color: var(--stein-500);
}

a:not([class]) {
  color: var(--forest-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color var(--dur-fast) var(--ease);
}

a:not([class]):hover {
  color: var(--lehm);
}

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

.on-dark :focus-visible,
.site-header.is-over-hero :focus-visible,
.nav-overlay :focus-visible {
  outline-color: var(--stein-200);
}

::selection {
  background-color: var(--forest-700);
  color: var(--papier);
}


/* == 05 Layout-Primitives ================================================= */

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

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

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

.section--tight {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.section--dark {
  background-color: var(--forest-900);
  color: var(--papier);
}

.section--stone {
  background-color: var(--stein-100);
}

.section__head {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__head p {
  margin-top: 1.25rem;
  color: var(--stein-600);
  font-size: var(--fs-lg);
  line-height: 1.6;
}

.section--dark .section__head p,
.section--dark .lead {
  color: rgba(247, 245, 240, 0.78);
}

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -110%);
  padding: 0.75rem 1.5rem;
  background-color: var(--forest-700);
  color: var(--papier);
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}


/* == 06 Komponenten ======================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background-color: var(--forest-700);
  color: var(--papier);
}

.btn--primary:hover {
  background-color: var(--forest-500);
}

.btn--outline {
  border-color: var(--stein-300);
  color: var(--forest-900);
}

.btn--outline:hover {
  border-color: var(--forest-700);
  background-color: rgba(31, 61, 43, 0.06);
}

.btn--light {
  background-color: var(--papier);
  color: var(--forest-900);
}

.btn--light:hover {
  background-color: var(--weiss);
}

.btn--ghost {
  border-color: rgba(247, 245, 240, 0.5);
  color: var(--papier);
}

.btn--ghost:hover {
  border-color: var(--papier);
  background-color: rgba(247, 245, 240, 0.14);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* --- Textlink mit Pfeil --- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--forest-700);
}

.link-arrow svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform var(--dur-fast) var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* --- Zitat --- */
.quote {
  margin-block: clamp(2rem, 4vw, 3rem);
  padding-left: clamp(1.25rem, 3vw, 2rem);
  border-left: 2px solid var(--lehm);
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--forest-900);
}

.quote p + p {
  margin-top: 0.65rem;
}

/* --- Merkmalliste --- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--stein-200);
  border-radius: 999px;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--stein-600);
  background-color: var(--weiss);
}

/* --- Aufzählung mit Haken --- */
.list-check {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--stein-600);
}

.list-check li {
  position: relative;
  padding-left: 1.6rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 0.7rem;
  height: 1px;
  background-color: var(--lehm);
}


/* == 07 Kopfbereich & Navigation ========================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background-color: var(--papier);
  border-bottom: 1px solid var(--stein-200);
  transition: background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

/* Über dem Hero transparent – wird per JS umgeschaltet */
.site-header.is-over-hero {
  background-color: transparent;
  border-bottom-color: transparent;
  color: var(--papier);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  white-space: nowrap;
}

/* Variante mit Bildlogo statt Schriftzug */
.brand--logo {
  align-items: center;
  gap: 0.75rem;
}

.brand__logo {
  display: block;
  width: auto;
  height: clamp(2.1rem, 4.4vw, 2.8rem);
  filter: brightness(1) invert(0);
  transition: filter var(--dur) var(--ease);
}

/* Über dem Hero steht das schwarze Logo auf dunklem Bild – dort invertiert */
.site-header.is-over-hero .brand__logo {
  filter: brightness(0) invert(1);
}

.brand__mark {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand__sub {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stein-500);
  transition: color var(--dur) var(--ease);
}

.site-header.is-over-hero .brand__sub {
  color: rgba(247, 245, 240, 0.75);
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link[aria-current="page"] {
  color: var(--lehm);
}

.site-header.is-over-hero .nav__link[aria-current="page"] {
  color: var(--papier);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__phone {
  display: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.header__phone:hover {
  color: var(--lehm);
}

.site-header.is-over-hero .header__phone:hover {
  color: var(--papier);
  opacity: 0.8;
}

/* Burger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.6rem;
  padding: 0.7rem 0.55rem;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}

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

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

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

/* Overlay-Menü für kleine Bildschirme */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  /* „safe center“ verhindert, dass bei niedrigen Fenstern oben abgeschnitten wird. */
  justify-content: center;
  justify-content: safe center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  background-color: var(--forest-900);
  color: var(--papier);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.5rem);
  /* visibility erst nach dem Ausblenden umschalten – beim Öffnen dagegen sofort,
     sonst ist der erste Menüpunkt für einen Moment nicht fokussierbar. */
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    visibility 0s linear var(--dur);
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    visibility 0s linear 0s;
}

.nav-overlay__list {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

.nav-overlay__link {
  display: block;
  padding-block: 0.55rem;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  line-height: 1.15;
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 245, 240, 0.12);
  transition: color var(--dur-fast) var(--ease);
}

.nav-overlay__link:hover {
  color: var(--forest-300);
}

.nav-overlay__meta {
  font-size: var(--fs-sm);
  line-height: 1.9;
  color: rgba(247, 245, 240, 0.72);
}

.nav-overlay__meta a {
  text-decoration: none;
}

.nav-overlay__meta a:hover {
  text-decoration: underline;
}

@media (min-width: 62em) {
  .nav {
    display: block;
  }

  .header__phone {
    display: inline-block;
  }

  .nav-toggle {
    display: none;
  }

  .nav-overlay {
    display: none;
  }
}


/* == 08 Hero ============================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding-top: var(--header-h);
  color: var(--papier);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--forest-900);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      rgba(9, 18, 13, 0.82) 0%,
      rgba(9, 18, 13, 0.5) 34%,
      rgba(9, 18, 13, 0.12) 62%,
      rgba(9, 18, 13, 0.42) 100%
    );
}

.hero__inner {
  width: 100%;
  padding-block: clamp(3.5rem, 9vh, 6.5rem);
}

.hero__content {
  max-width: 44rem;
}

.hero h1 {
  font-size: var(--fs-hero);
  letter-spacing: -0.022em;
}

.hero__lead {
  max-width: 34rem;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: rgba(247, 245, 240, 0.88);
}

.hero .btn-row {
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.hero__scroll {
  display: none;
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3.5rem, 9vh, 6.5rem);
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.7);
  text-decoration: none;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(
    to bottom,
    rgba(247, 245, 240, 0.7),
    rgba(247, 245, 240, 0)
  );
  animation: scroll-hint 2.6s var(--ease) infinite;
}

@keyframes scroll-hint {
  0%,
  100% {
    transform: scaleY(0.4);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
}

@media (min-width: 62em) {
  .hero__scroll {
    display: flex;
    writing-mode: vertical-rl;
  }
}


/* == 09 Sektionen der Landingpage ========================================= */

/* --- Über uns --- */
.about {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.about__media {
  position: relative;
  order: -1;
}

.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.about__badge {
  position: absolute;
  right: clamp(-1rem, -2vw, -0.5rem);
  bottom: clamp(1.25rem, 3vw, 2rem);
  max-width: 14rem;
  padding: 1.1rem 1.35rem;
  background-color: var(--forest-900);
  color: var(--papier);
  border-radius: var(--radius);
  font-size: var(--fs-xs);
  line-height: 1.55;
  box-shadow: var(--shadow-soft);
}

.about__badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.about__text .text-measure {
  margin-top: 1.5rem;
}

.about__text p + p {
  margin-top: 1.15rem;
}

@media (min-width: 55em) {
  .about {
    grid-template-columns: 5fr 6fr;
  }

  .about__media {
    order: 0;
  }
}

/* --- Sortiment --- */
/* Feste Stufen statt auto-fit: Vier Karten sollen nie als 3 + 1 umbrechen. */
.cards {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
}

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

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

.card {
  display: flex;
  flex-direction: column;
}

.card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--stein-100);
}

.card__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 18, 13, 0.35),
    rgba(9, 18, 13, 0) 45%
  );
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.card:hover .card__media img,
.card:focus-within .card__media img {
  transform: scale(1.045);
}

.card:hover .card__media::after,
.card:focus-within .card__media::after {
  opacity: 1;
}

.card__title {
  margin-top: 1.4rem;
  font-size: var(--fs-xl);
}

.card__text {
  margin-top: 0.7rem;
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--stein-600);
}

/* --- Marken --- */
.brands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 3rem);
  background-color: var(--stein-200);
  border: 1px solid var(--stein-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.brands li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6.5rem;
  padding: 1.25rem 1rem;
  background-color: var(--papier);
  transition: background-color var(--dur) var(--ease);
}

.brands li:hover {
  background-color: var(--weiss);
}

/* Die Logos liegen auf weißem Grund – multiply blendet ihn in den Papierton.
   Zurückhaltend in Graustufen, farbig erst beim Überfahren. */
.brands__logo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 3.1rem;
  mix-blend-mode: multiply;
  filter: grayscale(1);
  opacity: 0.68;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.brands li:hover .brands__logo {
  filter: grayscale(0);
  opacity: 1;
}

.brands__note {
  margin-top: 1.5rem;
  font-size: var(--fs-xs);
  color: var(--stein-500);
}

/* --- Warum wir? --- */
.tiles {
  display: grid;
  gap: 1px;
  background-color: rgba(247, 245, 240, 0.14);
  border: 1px solid rgba(247, 245, 240, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}

.tile {
  padding: clamp(2rem, 4vw, 3rem);
  background-color: var(--forest-900);
  transition: background-color var(--dur) var(--ease);
}

.tile:hover {
  background-color: var(--forest-800);
}

.tile__icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1.35rem;
  color: var(--forest-300);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
}

.tile p {
  margin-top: 0.8rem;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: rgba(247, 245, 240, 0.74);
}

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

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

/* --- Inspiration --- */
/* Eine Spalte auf schmalen Geräten: Die Zitate brauchen Platz in der Kachel. */
.gallery {
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  grid-template-columns: 1fr;
}

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

.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--stein-100);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 18, 13, 0.78) 0%,
    rgba(9, 18, 13, 0.28) 45%,
    rgba(9, 18, 13, 0) 75%
  );
  pointer-events: none;
}

.gallery__caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  color: var(--papier);
}

.gallery__place {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.75);
}

.gallery__quote {
  margin-top: 0.4rem;
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.3rem);
  line-height: 1.35;
  text-wrap: pretty;
}

/* Ab dieser Breite asymmetrisch: eine hohe Kachel links, ein breites Band unten.
   Jede Kachel bleibt breit genug, damit das Zitat nicht das Bild überdeckt. */
@media (min-width: 60em) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(13rem, auto);
  }

  .gallery__item {
    grid-column: span 2;
  }

  .gallery__item:nth-child(1) {
    grid-row: span 2;
  }

  /* Abschließendes Band: bewusst flach, damit es die Sektion schließt. */
  .gallery__item:nth-child(6) {
    grid-column: span 4;
    aspect-ratio: 21 / 9;
  }

  .gallery__item:nth-child(1) img,
  .gallery__item:nth-child(6) img {
    aspect-ratio: auto;
  }
}

/* --- Call to Action --- */
.cta {
  position: relative;
  isolation: isolate;
  color: var(--papier);
  text-align: center;
}

.cta__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--forest-900);
}

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

.cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(9, 18, 13, 0.62);
}

.cta__inner {
  max-width: 44rem;
  margin-inline: auto;
  padding-block: clamp(5rem, 11vw, 8.5rem);
}

.cta h2 {
  font-size: var(--fs-3xl);
}

.cta p {
  margin-top: 1.25rem;
  font-size: var(--fs-lg);
  color: rgba(247, 245, 240, 0.88);
}

.cta .btn-row {
  justify-content: center;
  margin-top: 2.25rem;
}


/* == 10 Unterseiten ======================================================= */

/* --- Kompakter Seitenkopf --- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(20rem, 46vh, 30rem);
  padding-top: var(--header-h);
  color: var(--papier);
  isolation: isolate;
}

.page-hero--plain {
  min-height: 0;
  padding-bottom: 0;
  background-color: var(--papier);
  color: var(--anthrazit);
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--forest-900);
}

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

.page-hero__inner {
  width: 100%;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

/* Das Hero-Foto bleibt unabgedunkelt in Originalhelligkeit. Damit die helle
   Schrift auf hellen Bildstellen lesbar bleibt, tragen die Texte einen
   weichen Schatten – der verdunkelt nur die Glyphen, nicht das Bild. */
.page-hero:not(.page-hero--plain) .page-hero__inner {
  text-shadow:
    0 1px 2px rgba(9, 18, 13, 0.75),
    0 1px 12px rgba(9, 18, 13, 0.7),
    0 0 28px rgba(9, 18, 13, 0.5);
}

/* Ohne Abdunklung braucht der Text die volle Deckkraft. */
.page-hero:not(.page-hero--plain) .breadcrumb,
.page-hero:not(.page-hero--plain) p {
  color: var(--papier);
}

.page-hero p {
  max-width: 40rem;
  margin-top: 1rem;
  color: rgba(247, 245, 240, 0.86);
  font-size: var(--fs-lg);
}

.page-hero--plain p {
  color: var(--stein-600);
}

.page-hero--plain .page-hero__inner {
  padding-block: clamp(3rem, 7vw, 5rem) 0;
}

/* --- Brotkrumen --- */
.breadcrumb {
  margin-bottom: 1rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.72);
}

.page-hero--plain .breadcrumb {
  color: var(--stein-500);
}

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

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  opacity: 0.6;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* --- Karte mit Zwei-Klick-Lösung --- */
.map {
  position: relative;
  overflow: hidden;
  border: var(--border);
  border-radius: var(--radius);
  background-color: var(--stein-100);
}

.map__consent {
  display: grid;
  place-items: center;
  gap: 1.25rem;
  aspect-ratio: 16 / 10;
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.map__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.map__consent-inner {
  position: relative;
  max-width: 34rem;
}

.map + .btn-row {
  margin-top: 1.5rem;
}

.map__consent h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.map__consent p {
  margin-top: 0.75rem;
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--stein-600);
}

.map__consent .btn {
  margin-top: 1.5rem;
}

.map iframe {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
}

/* Beschriftung des OSM-Markers. Die Karte ist auf den Marker zentriert,
   das Schild sitzt deshalb mittig über der Nadel. Erst sichtbar, wenn
   das Consent-Feld durch den iframe ersetzt wurde. */
.map__label {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  /* Die OSM-Nadel ist 40 px hoch und sitzt mit der Spitze auf der Mitte. */
  transform: translate(-50%, calc(-100% - 3rem));
  padding: 0.35em 0.7em;
  border-radius: var(--radius);
  background-color: rgba(247, 245, 240, 0.94);
  box-shadow: 0 1px 6px rgba(18, 36, 26, 0.28);
  color: var(--forest-900);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
}

.map iframe ~ .map__label {
  display: block;
}

@media (max-width: 34em) {
  .map__consent,
  .map iframe {
    aspect-ratio: 4 / 5;
  }
}

/* --- Info-Karten (Anfahrt) --- */
.info-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: 1fr;
}

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

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

.info-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background-color: var(--weiss);
  border: var(--border);
  border-radius: var(--radius);
}

.info-card__icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 1.1rem;
  color: var(--forest-500);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.info-card p {
  margin-top: 0.7rem;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--stein-600);
}

.info-card p + p {
  margin-top: 0.8rem;
}

/* --- Kontakt- und Öffnungszeiten-Block --- */
.facts {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

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

.facts h2 + .lead {
  margin-top: 1.25rem;
}

.facts .list-check + .btn-row {
  margin-top: 2rem;
}

.facts__box {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background-color: var(--weiss);
  border: var(--border);
  border-radius: var(--radius);
}

.facts__box h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: 0;
}

.facts__note {
  margin-top: 1.25rem;
  font-size: var(--fs-sm);
  color: var(--stein-500);
}

.facts__img {
  margin-top: 2rem;
  border-radius: var(--radius);
}

.hours {
  margin: 1.25rem 0 0;
  font-size: var(--fs-sm);
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--stein-200);
}

.hours div:last-child {
  border-bottom: 0;
}

.hours dt {
  color: var(--stein-600);
}

.hours dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}

/* --- Fließtext für Impressum & Datenschutz --- */
.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  font-size: var(--fs-xl);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 2rem;
  font-family: var(--font-sans);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: 0;
}

/* Vierte Ebene: ohne eigene Regel läge h4 optisch gleichauf mit h3. */
.prose h4 {
  margin-top: 1.75rem;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

.prose p,
.prose ul,
.prose address {
  margin-top: 1rem;
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--stein-600);
}

.prose address {
  font-style: normal;
}

.prose ul {
  padding-left: 1.1rem;
}

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

.prose a {
  color: var(--forest-700);
}

/* Platzhalter, die vor dem Livegang ersetzt werden müssen */
.ph {
  padding: 0.05em 0.35em;
  border-radius: 2px;
  background-color: rgba(168, 90, 43, 0.1);
  box-shadow: inset 0 0 0 1px rgba(168, 90, 43, 0.25);
  color: var(--lehm);
  font-family: ui-monospace, "SFMono-Regular", "Consolas", monospace;
  font-size: 0.85em;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.notice {
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  border-left: 2px solid var(--lehm);
  background-color: rgba(168, 90, 43, 0.06);
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--stein-600);
}


/* == 11 Footer ============================================================ */

.site-footer {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  background-color: var(--forest-900);
  color: var(--papier);
}

.footer__grid {
  display: grid;
  gap: clamp(2.25rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

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

@media (min-width: 66em) {
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  }
}

.footer__brand .brand {
  color: var(--papier);
}

.footer__brand .brand__sub {
  color: rgba(247, 245, 240, 0.6);
}

.footer__text {
  max-width: 26rem;
  margin-top: 1.1rem;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: rgba(247, 245, 240, 0.7);
}

.footer__title {
  margin-bottom: 1.1rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.55);
}

.footer__list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
}

.footer__list a {
  color: rgba(247, 245, 240, 0.86);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.footer__list a:hover {
  color: var(--papier);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.footer__contact {
  font-style: normal;
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: rgba(247, 245, 240, 0.86);
}

/* Gleiche Linkfarbe wie in der Footer-Navigation */
.footer__contact a {
  color: rgba(247, 245, 240, 0.86);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.footer__contact a:hover {
  color: var(--papier);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.footer__hours {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: rgba(247, 245, 240, 0.86);
}

.footer__hours dt {
  color: rgba(247, 245, 240, 0.6);
}

.footer__hours dd {
  margin: 0 0 0.6rem;
}

.socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.socials a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(247, 245, 240, 0.22);
  border-radius: 50%;
  color: rgba(247, 245, 240, 0.86);
  transition: background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.socials a:hover {
  background-color: rgba(247, 245, 240, 0.12);
  border-color: rgba(247, 245, 240, 0.5);
  color: var(--papier);
}

.socials svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(247, 245, 240, 0.14);
  font-size: var(--fs-xs);
  color: rgba(247, 245, 240, 0.6);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__legal a {
  color: rgba(247, 245, 240, 0.86);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.footer__legal a:hover {
  color: var(--papier);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

/* Tippziele auf Touch-Geräten.
   Inline-Links im Footer und in den Kontaktblöcken sind rund 19 px hoch,
   WCAG 2.2 (2.5.8) verlangt mindestens 24 px. Die Aufpolsterung greift nur
   bei groben Zeigern, damit die Maus-Optik unverändert bleibt. */
@media (pointer: coarse) {
  .footer__list a,
  .footer__legal a,
  .footer__contact a,
  .nav-overlay__meta a,
  .breadcrumb a {
    display: inline-block;
    padding-block: 0.35rem;
  }

  .footer__list {
    gap: 0.2rem;
  }

  .footer__legal {
    gap: 0.75rem 1.25rem;
  }
}


/* == 12 Bewegung & Utilities ============================================== */

/* Scroll-Reveal: greift nur, wenn JavaScript aktiv ist. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
}

.js [data-reveal][data-delay="1"].is-visible {
  transition-delay: 0.09s;
}

.js [data-reveal][data-delay="2"].is-visible {
  transition-delay: 0.18s;
}

.js [data-reveal][data-delay="3"].is-visible {
  transition-delay: 0.27s;
}

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

.nowrap {
  white-space: nowrap;
}

@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;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .nav-overlay,
  .hero__scroll,
  .socials,
  .cta {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
