/* Schulze-Renzel / MSR Maschinenvermietung – Stylesheet
   Gestaltungsidee: "Hoch hinaus, direkt vom Hof". Farben aus dem MSR-Logo (Blau) und der Warnfarbe der Arbeitsbühnen (Signalgelb).
   Überschriften kursiv und fett wie der Logo-Schriftzug, schräge Kanten als wiederkehrendes Motiv.
   Mobile-first. Keine externen Ressourcen. Tokens oben, danach Basis, Rahmen, Startseite, Komponenten. */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-italic.woff2") format("woff2");
  font-weight: 600 900; font-style: italic; font-display: swap;
}

:root {
  color-scheme: light;
  --blue: #0470b8;          /* MSR-Blau, aus dem Logo */
  --blue-dark: #035592;
  --blue-soft: #e9f3fc;
  --sky: #d6ebfa;
  --amber: #f2a900;         /* Signalgelb der Arbeitsbühnen */
  --amber-dark: #c98a00;
  --amber-soft: #fff4d6;
  --ink: #14202e;
  --ink-soft: #4a5666;
  --bg: #ffffff;
  --surface: #f3f7fa;
  --line: #d9e1e8;
  --ok: #2f8a3c;
  --error: #b3261e;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --s-1: .5rem; --s-2: .75rem; --s-3: 1rem; --s-4: 1.5rem; --s-5: 2.5rem; --s-6: 4rem; --s-7: 6rem;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(20 32 46 / .06), 0 8px 24px rgb(20 32 46 / .08);
  --shadow-lift: 0 22px 50px rgb(4 60 110 / .2);
  --slant: 3.5vw;
  --wrap: 74rem;
  --gutter: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { hyphens: auto; overflow-wrap: break-word; margin: 0 0 var(--s-3); text-wrap: balance; }
h1, h2 { font-style: italic; font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 var(--s-3); text-wrap: pretty; }
ul { margin: 0 0 var(--s-3); padding-left: 1.2rem; }
.icon { flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s-2); top: -4rem; background: var(--ink); color: var(--bg); padding: var(--s-2) var(--s-3); z-index: 100; border-radius: 8px; }
.skip:focus { top: var(--s-2); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--s-6); }
.section--tint { background: var(--surface); }
.section-head { max-width: 46rem; margin-bottom: var(--s-5); }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem;
  padding: .7rem 1.5rem; border-radius: 999px; font: inherit; font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 2px solid var(--blue); background: var(--blue); color: #fff; cursor: pointer;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn--amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-dark); border-color: var(--amber-dark); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { background: var(--blue-soft); color: var(--blue-dark); }
.btn--light { background: transparent; color: #fff; border-color: #fff; }
.btn--light:hover { background: rgb(255 255 255 / .14); color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }

/* ---------- Rahmen: Servicezeile, Kopfleiste, Menü ---------- */
.topbar { display: none; background: var(--blue); color: #fff; font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-block: .45rem; }
.topbar p { margin: 0; font-weight: 600; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--s-4); }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.topbar a:hover { color: var(--amber); }
@media (min-width: 48rem) { .topbar { display: block; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .97); border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px rgb(20 32 46 / .05); }
.header-inner { display: flex; align-items: center; gap: .5rem; min-height: 4.25rem; }
.brand { margin-right: auto; display: block; line-height: 0; }
.brand img { height: 2.4rem; width: auto; }
.header-btn { display: none; }
.header-call {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--amber); color: var(--ink); text-decoration: none;
}
.header-call:hover { background: var(--amber-dark); color: var(--ink); }

.menu summary {
  list-style: none; cursor: pointer; position: relative; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .35rem .85rem;
  border: 2px solid var(--line); border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--ink); background: var(--bg);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: ""; width: 1rem; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.menu[open] summary { border-color: var(--blue); color: var(--blue); }
.menu[open] summary::before { box-shadow: none; transform: rotate(45deg); }
.menu[open] summary::after { content: ""; position: absolute; width: 1rem; height: 2px; background: currentColor; transform: rotate(-45deg); left: .85rem; }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 4px solid var(--amber); box-shadow: 0 18px 30px rgb(20 32 46 / .14); padding: var(--s-2) var(--gutter) var(--s-4); }
.menu ul { list-style: none; margin: 0 auto; padding: 0; max-width: var(--wrap); display: grid; grid-template-columns: 1fr 1fr; gap: .25rem var(--s-3); }
.menu a { display: block; padding: .85rem .5rem; font-weight: 700; font-style: italic; font-size: 1.05rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.menu a[aria-current="page"] { color: var(--blue); border-bottom: 3px solid var(--amber); }
.menu-wide { grid-column: 1 / -1; }
.menu .menu-wide a { display: flex; align-items: center; gap: .5rem; font-style: normal; color: var(--blue); }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .1rem; }
.nav a { position: relative; display: block; padding: 1.45rem .75rem; font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 1rem; height: 4px; background: var(--amber);
  transform: skewX(-20deg) scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav a:hover { color: var(--blue); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: skewX(-20deg) scaleX(1); }
.nav a[aria-current="page"] { color: var(--blue); }

@media (min-width: 64rem) {
  .brand img { height: 3.1rem; }
  .nav { display: block; }
  .header-btn { display: inline-flex; margin-left: var(--s-2); }
  .header-call, .menu { display: none; }
}

/* ---------- Startseite: Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--sky) 0%, var(--blue-soft) 55%, #fff 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  padding-bottom: var(--slant);
}
.hero-grid { display: grid; gap: var(--s-5); padding-block: var(--s-5) var(--s-5); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); line-height: 1.02; margin-bottom: var(--s-4); }
.hero h1 span { display: block; }
.hero .lead { color: var(--ink); opacity: .85; }
.hero-more { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); }
.hero-more a { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); font-size: .92rem; line-height: 1.3; }
.hero-more img { width: 3.25rem; height: 3.25rem; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); }
.hero-more strong { display: block; color: var(--blue); }
.hero-more a:hover strong { text-decoration: underline; }

.hero-collage { position: relative; width: 100%; max-width: 36rem; aspect-ratio: 1 / 1; margin-inline: auto; }
.hero-collage figure { margin: 0; position: absolute; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-lift); background: var(--sky); }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; }
.c1 { right: 0; top: 0; width: 60%; height: 94%; }
.c2 { left: 0; bottom: 0; width: 58%; aspect-ratio: 4 / 3; border: 6px solid #fff; }
.c3 { left: 4%; top: 4%; width: 36%; aspect-ratio: 1; border: 6px solid #fff; }
.hero-badge {
  position: absolute; right: -.25rem; bottom: 4%; width: 7.25rem; aspect-ratio: 1; border-radius: 50%;
  background: var(--amber); color: var(--ink); text-decoration: none; display: grid; place-content: center; text-align: center;
  transform: rotate(-10deg); box-shadow: var(--shadow-lift); line-height: 1.1; border: 4px solid #fff;
}
.hero-badge strong { font-size: 1.5rem; font-style: italic; font-weight: 900; }
.hero-badge span { font-size: .75rem; font-weight: 700; }
.hero-badge:hover { color: var(--ink); background: var(--amber-dark); }
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: var(--s-6); padding-block: var(--s-5) var(--s-5); }
  .hero-badge { width: 8.5rem; right: -1.5rem; }
  .hero-badge strong { font-size: 1.8rem; }
}

/* ---------- Startseite: Höhenskala der Arbeitsbühnen ---------- */
.lift { background: linear-gradient(180deg, #fff 0%, var(--blue-soft) 100%); padding-block: var(--s-5) 0; }
.lift .section-head { margin-bottom: var(--s-4); }
.lift-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.lift-list a {
  display: grid; grid-template-columns: 5.4rem 1fr; grid-template-areas: "m info" "m bar"; align-items: center; gap: .3rem .75rem;
  padding: .7rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink);
}
.lift-list a:hover { border-color: var(--blue); }
.lift-m { grid-area: m; font-style: italic; font-weight: 900; font-size: 1.2rem; color: var(--blue); white-space: nowrap; }
.lift-info { grid-area: info; display: flex; flex-wrap: wrap; gap: 0 .6rem; align-items: baseline; font-size: .85rem; color: var(--ink-soft); }
.lift-info strong { color: var(--ink); font-size: .95rem; }
.lift-price { font-weight: 700; color: var(--ink); }
.lift-boom { grid-area: bar; position: relative; height: 8px; width: calc(var(--h) * 100% - 12px); background: var(--blue); border-radius: 4px; }
.lift-boom::before { content: ""; position: absolute; right: -12px; top: 50%; width: 16px; height: 14px; transform: translateY(-50%); background: var(--amber); border-radius: 3px; }
.lift-scale { display: none; }
.lift-ground { height: 2.5rem; margin-top: var(--s-5); background: linear-gradient(180deg, #8fbf6a 0 10px, #7aa95a 10px); clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%); }

@media (min-width: 52rem) {
  .lift-chart { --H: 20rem; --info: 6.25rem; position: relative; padding-left: 3rem; }
  .lift-scale { display: block; position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; pointer-events: none; }
  .lift-scale li { position: absolute; left: 0; right: 0; bottom: calc(var(--info) + var(--m) * var(--H)); border-top: 1px dashed rgb(4 112 184 / .3); }
  .lift-scale span { position: absolute; left: 0; top: -.75rem; font-size: .78rem; font-weight: 700; color: var(--blue); }
  .lift-list { grid-template-columns: repeat(9, 1fr); gap: .4rem; height: calc(var(--H) + var(--info) + 2.5rem); align-items: end; position: relative; }
  .lift-list::after { content: ""; position: absolute; left: -.5rem; right: -.5rem; bottom: calc(var(--info) - 6px); height: 6px; border-radius: 3px; background: var(--ink); opacity: .75; }
  .lift-list a {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%;
    padding: 0; background: transparent; border: 0; border-radius: 14px; text-align: center;
  }
  .lift-list a:hover { background: rgb(255 255 255 / .7); }
  .lift-m { font-size: 1.1rem; margin-bottom: .55rem; }
  .lift-boom { width: 10px; height: calc(var(--h) * var(--H)); border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--blue), var(--blue-dark)); }
  .lift-boom::before { right: auto; left: 50%; top: -14px; width: 34px; height: 16px; transform: translateX(-50%); border-radius: 3px 3px 7px 7px; }
  .lift-boom::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 46px; height: 14px; transform: translateX(-50%); background: var(--blue-dark); border-radius: 7px 7px 2px 2px; }
  .lift-list a:hover .lift-boom, .lift-list a:focus-visible .lift-boom { background: var(--amber); }
  .lift-info { height: var(--info); flex-direction: column; flex-wrap: nowrap; align-items: center; gap: .1rem; padding: 1rem .2rem 0; font-size: .78rem; line-height: 1.3; }
  .lift-info strong { font-size: .85rem; }
  .lift-price { margin-top: .2rem; }
  @media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
      .lift-boom { animation: boom-up linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
      @keyframes boom-up { from { clip-path: inset(100% -24px 0 -24px); } to { clip-path: inset(-24px -24px 0 -24px); } }
    }
  }
}

/* ---------- Versprechen mit Symbolen ---------- */
.promises { display: grid; gap: var(--s-4) var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); list-style: none; margin: 0; padding: 0; }
.promises li { display: grid; grid-template-columns: 3.25rem 1fr; column-gap: var(--s-3); align-items: start; }
.promise-icon { grid-row: span 2; width: 3.25rem; height: 3.25rem; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; transform: skewX(-8deg); }
.promise-icon svg { transform: skewX(8deg); }
.promises strong { display: block; font-size: 1.05rem; }
.promises span:last-child { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Fotobühnen (Planwagen, Reiterhof) ---------- */
.stage { padding-block: var(--s-6); }
.stage-grid { display: grid; }
.stage-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 24px; }
.stage-card { position: relative; background: #fff; border-radius: 20px; padding: var(--s-4); margin: -3.5rem var(--s-2) 0; box-shadow: var(--shadow-lift); border-top: 6px solid var(--amber); }
.stage-card h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.seats { list-style: none; padding: 0; margin: 0 0 var(--s-3); display: flex; gap: var(--s-2); }
.seats li { border: 2px solid var(--blue-soft); border-radius: 14px; padding: .4rem .9rem; text-align: center; line-height: 1.1; }
.seats strong { display: block; font-size: 1.8rem; font-style: italic; font-weight: 900; color: var(--blue); }
.seats span { font-size: .75rem; color: var(--ink-soft); font-weight: 600; }
.mini-facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-4); margin: 0 0 var(--s-3); }
.mini-facts dt { font-size: .8rem; color: var(--ink-soft); }
.mini-facts dd { margin: 0; font-weight: 800; font-style: italic; font-size: 1.15rem; color: var(--blue); }
@media (min-width: 56rem) {
  .stage-grid { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .stage-media { grid-column: 1 / 9; grid-row: 1; }
  .stage-card { grid-column: 8 / 13; grid-row: 1; margin: 0; padding: var(--s-5); }
  .stage--flip .stage-media { grid-column: 5 / 13; }
  .stage--flip .stage-card { grid-column: 1 / 6; }
}

/* ---------- Highlight-Band (Neuzugang) ---------- */
.spotlight {
  background: var(--blue); color: #fff;
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  padding-block: calc(var(--s-6) + var(--slant));
}
.spotlight h2 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
.spotlight p { color: rgb(255 255 255 / .9); }
.spotlight a:not(.btn) { color: #fff; }
.spotlight-grid { display: grid; gap: var(--s-5); align-items: center; }
.tag-new { display: inline-block; background: var(--amber); color: var(--ink); font-weight: 800; font-size: .85rem; padding: .3rem .9rem; border-radius: 999px; margin-bottom: var(--s-3); }
.spot-facts { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); margin: var(--s-4) 0; }
.spot-facts dt { font-size: .8rem; color: rgb(255 255 255 / .8); }
.spot-facts dd { margin: 0; font-size: 1.7rem; font-style: italic; font-weight: 900; }
.spotlight-media { position: relative; }
.spotlight-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; border: 6px solid rgb(255 255 255 / .25); }
@media (min-width: 56rem) { .spotlight-grid { grid-template-columns: 7fr 5fr; gap: var(--s-6); } }

/* ---------- Anruf-Band ---------- */
.call { background: linear-gradient(180deg, var(--blue-soft), var(--sky)); clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); padding-block: calc(var(--s-6) + var(--slant)) var(--s-6); margin-top: var(--s-4); }
.call-inner { display: grid; gap: var(--s-4); align-items: center; }
.call h2 { margin-bottom: var(--s-2); }
.call p { color: var(--ink-soft); margin: 0; max-width: 34rem; }
.call-actions { display: grid; gap: var(--s-2); justify-items: start; }
.call-number { display: inline-flex; align-items: center; gap: .75rem; font-size: clamp(1.9rem, 6vw, 3.2rem); font-style: italic; font-weight: 900; color: var(--blue); text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.call-number .icon { width: 1em; height: 1em; padding: .15em; background: var(--amber); color: var(--ink); border-radius: 50%; }
.call-number:hover { color: var(--blue-dark); }
.call-mail { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
@media (min-width: 56rem) { .call-inner { grid-template-columns: 1fr auto; } }

/* ---------- Seitenköpfe ---------- */
.page-head { background: linear-gradient(180deg, var(--sky), var(--blue-soft)); padding-block: var(--s-5); }
.page-head h1 { margin-bottom: var(--s-2); }
.page-head p { color: var(--ink-soft); max-width: 44rem; margin: 0; font-size: 1.1rem; }
.page-head--img { padding-block: var(--s-4) 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%); padding-bottom: var(--slant); }
.page-head-grid { display: grid; gap: var(--s-4); align-items: center; }
.page-head-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lift); }
@media (min-width: 56rem) {
  .page-head--img { padding-block: var(--s-5) calc(var(--s-5) + var(--slant)); }
  .page-head-grid { grid-template-columns: 1.1fr 1fr; gap: var(--s-6); }
  .page-head-media img { aspect-ratio: 4 / 3; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); border-radius: 0 22px 22px 0; }
}
.crumbs { font-size: .85rem; margin-bottom: var(--s-3); color: var(--ink-soft); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: .4rem; }
.crumbs a { color: var(--ink-soft); }

/* ---------- Karten ---------- */
.grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: var(--blue); box-shadow: var(--shadow-lift); }
.card .media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.card-badge {
  position: absolute; left: .75rem; bottom: .75rem; z-index: 1; background: var(--amber); color: var(--ink);
  font-style: italic; font-weight: 900; font-size: 1.05rem; padding: .2rem .7rem; border-radius: 8px; transform: skewX(-8deg); box-shadow: var(--shadow);
}
.card-body { display: flex; flex-direction: column; gap: .25rem; padding: var(--s-3); flex: 1; }
.card h3 { margin: 0; font-size: 1.1rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .kind { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.facts { display: flex; flex-wrap: wrap; gap: .35rem .5rem; margin: var(--s-2) 0 0; padding: 0; list-style: none; }
.facts li { font-size: .78rem; font-weight: 600; background: var(--blue-soft); color: var(--blue-dark); border-radius: 6px; padding: .15rem .5rem; }
.price { margin-top: auto; padding-top: var(--s-3); display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.price strong { font-size: 1.6rem; font-weight: 900; font-style: italic; color: var(--ink); }
.price span { font-size: .8rem; color: var(--ink-soft); }

@media (max-width: 39.99rem) {
  .grid--swipe { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s-2); margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--s-3); scroll-padding-inline: var(--gutter); }
  .grid--swipe > .card { flex: 0 0 80%; scroll-snap-align: start; }
}

.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0 0 var(--s-5); padding: 0; }
.chips a {
  display: inline-flex; gap: .5rem; align-items: center; min-height: 2.75rem; padding: .4rem 1.1rem; border-radius: 999px;
  border: 2px solid var(--line); text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--ink); background: var(--bg);
}
.chips a:hover { border-color: var(--blue); color: var(--blue); }
.chips small { font-weight: 800; color: var(--blue); }

.category + .category { margin-top: var(--s-6); }
.category-head { max-width: 46rem; margin-bottom: var(--s-4); }
.category-head h2 { margin-bottom: var(--s-1); }
.category-head p { color: var(--ink-soft); margin: 0; }

.split { display: grid; gap: var(--s-5); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
@media (min-width: 52rem) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.cols { display: grid; gap: var(--s-5); }
@media (min-width: 52rem) { .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Detailseite ---------- */
.detail { display: grid; gap: var(--s-5); }
@media (min-width: 60rem) { .detail { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } .aside { grid-column: 2; grid-row: 1; position: sticky; top: 6rem; } .detail .main { grid-column: 1; grid-row: 1; } }
.gallery { display: grid; gap: var(--s-2); grid-template-columns: repeat(2, 1fr); }
.gallery a { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery a:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
@media (min-width: 40rem) { .gallery { grid-template-columns: repeat(3, 1fr); } }
details.more { margin-top: var(--s-2); }
details.more summary { cursor: pointer; font-weight: 700; color: var(--blue); padding: var(--s-2) 0; }
.gallery--pairs { grid-template-columns: repeat(2, 1fr); }  /* Blogbeiträge: auch am Desktop zweispaltig (steht nach der 3-Spalten-Regel) */
.gallery--rest { margin-top: var(--s-2); }
.gallery--rest a:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); }
.box + .box { margin-top: var(--s-3); }
.box--price { background: var(--amber-soft); border: 0; border-top: 6px solid var(--amber); }
.big-price { display: block; font-size: 2.8rem; font-weight: 900; font-style: italic; line-height: 1.05; }
.big-price + small { display: block; color: var(--ink-soft); margin-bottom: var(--s-3); }
.keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: var(--s-2); margin: 0 0 var(--s-4); }
.keyfacts div { background: var(--blue-soft); border-radius: 12px; padding: var(--s-2) var(--s-3); }
.keyfacts dt { font-size: .8rem; font-weight: 600; color: var(--blue-dark); }
.keyfacts dd { margin: 0; font-weight: 900; font-style: italic; font-size: 1.2rem; }
.checks { list-style: none; padding: 0; margin: 0 0 var(--s-3); }
.checks li { position: relative; padding: .35rem 0 .35rem 1.8rem; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: .1rem; top: .8rem; width: .9rem; height: .5rem; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg) scale(.9); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .55rem .5rem; border-bottom: 1px solid var(--line); }
th { font-size: .8rem; color: var(--ink-soft); }
td:not(:first-child), th:not(:first-child) { text-align: right; white-space: nowrap; }
caption { text-align: left; font-weight: 700; padding-bottom: var(--s-2); }
.note { font-size: .92rem; color: var(--ink-soft); }
.pager { display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-5); }

/* ---------- Planwagen ---------- */
.wagon { display: grid; gap: var(--s-4); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.wagon + .wagon { margin-top: var(--s-5); }
.wagon .gallery { padding: var(--s-3); }
.wagon-body { padding: var(--s-4); }
.wagon-body h3 { font-size: 1.6rem; font-style: italic; font-weight: 800; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; background: var(--amber-soft); border: 1px solid var(--amber); margin-right: .35rem; margin-bottom: .5rem; }
@media (min-width: 60rem) { .wagon { grid-template-columns: 6fr 5fr; } .wagon .gallery { padding: var(--s-4) 0 var(--s-4) var(--s-4); align-content: start; } }
.compare th:first-child, .compare td:first-child { font-weight: 700; }

/* ---------- Reiterhof ---------- */
.facility { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.facility li { background: var(--bg); border: 1px solid var(--line); border-left: 6px solid var(--blue); border-radius: 12px; padding: var(--s-3); }
.facility strong { display: block; font-style: italic; font-size: 1.1rem; }
.facility span { color: var(--ink-soft); font-size: .92rem; }
.swipe-hint { margin: 0 0 var(--s-2); font-size: .9rem; color: var(--ink-soft); }
.masonry { display: flex; gap: var(--s-2); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-2); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.masonry a { flex: 0 0 82%; scroll-snap-align: start; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--surface); position: relative; }
.masonry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 40rem) { .masonry a { flex-basis: 46%; } .swipe-hint--cards { display: none; } }
@media (min-width: 60rem) {
  .swipe-hint { display: none; }
  .masonry { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .masonry a { flex: none; }
}

/* ---------- Zeitleiste, Zitate, Aktuelles, Kontakt, Text ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.25rem; border-left: 3px solid var(--amber); }
.timeline li { position: relative; padding: 0 0 var(--s-4) var(--s-3); }
.timeline li::before { content: ""; position: absolute; left: -1.7rem; top: .45rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--amber); }
.timeline strong { display: block; color: var(--blue); font-style: italic; font-size: 1.15rem; }

.quotes { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); margin: 0; padding: 0; list-style: none; }
.quotes blockquote { margin: 0; height: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); font-size: 1.05rem; }
.quotes blockquote::before { content: "\201C"; display: block; font-size: 3.5rem; font-weight: 800; line-height: 1; height: 1.6rem; margin-bottom: .75rem; color: var(--amber); }
.quotes p { margin: 0; }

.contact-cards { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.contact-card { display: grid; grid-template-columns: 3rem 1fr; column-gap: var(--s-3); align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); text-decoration: none; color: var(--ink); }
a.contact-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lift); }
.contact-card .promise-icon { grid-row: span 2; width: 3rem; height: 3rem; }
.contact-card small { display: block; font-weight: 600; font-size: .85rem; color: var(--blue); }
.contact-card strong { font-size: 1.2rem; overflow-wrap: anywhere; font-style: italic; }

/* Anfrageformular: weiße Karte auf getöntem Grund, Felder mindestens 16px (kein Zoom auf dem iPhone) */
.contact-layout { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 60rem) { .contact-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.contact-aside .prose h2 { margin-top: 0; }
.contact-aside .prose + .prose { margin-top: var(--s-5); }
.form { background: var(--bg); border-top: 6px solid var(--amber); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s-4) clamp(1rem, 4vw, 2.5rem) var(--s-5); scroll-margin-top: 6rem; }
.form h2 { margin-bottom: var(--s-1); }
.form-intro { color: var(--ink-soft); }
.form-grid { display: grid; gap: var(--s-3) var(--s-4); margin-block: var(--s-4); }
@media (min-width: 40rem) { .form-grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field { margin: 0; display: grid; gap: .35rem; align-content: start; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  min-height: 3rem; padding: .65rem .85rem; border: 2px solid var(--line); border-radius: 10px;
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.5; }
.field select { appearance: none; padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230470b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.2rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b4c3d1; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--blue); outline: 3px solid var(--amber); outline-offset: 1px; border-radius: 10px; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--error); }
.field ::placeholder { color: #7a8594; }
.field--check { display: flex; align-items: flex-start; gap: .75rem; background: var(--blue-soft); border-radius: 10px; padding: .85rem 1rem; }
.field--check input { width: 1.4rem; height: 1.4rem; min-height: 0; margin: .1rem 0 0; padding: 0; flex: none; accent-color: var(--blue); cursor: pointer; }
.field--check label { font-weight: 600; cursor: pointer; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .note { margin-bottom: var(--s-4); }
.form button[type=submit] { min-height: 3.5rem; padding-inline: 2.2rem; font-size: 1.05rem; }
.form button[type=submit]:disabled { opacity: .7; cursor: progress; }
@media (max-width: 39.99rem) { .form button[type=submit] { width: 100%; } }
.form-status { margin: var(--s-3) 0 0; padding: var(--s-3); border-radius: 10px; font-weight: 600; display: grid; justify-items: start; gap: var(--s-2); }
.form-status[hidden] { display: none; }
.form-status--error { background: #fdecea; color: var(--error); border-left: 5px solid var(--error); }
.form-status .btn { font-weight: 700; white-space: nowrap; }

.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: var(--s-5); }
.prose h3 { font-size: 1.05rem; margin-top: var(--s-4); }
.prose--legal { font-size: .98rem; }
.prose--legal h2 { font-style: normal; font-size: 1.25rem; letter-spacing: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 6px solid var(--amber); color: var(--ink-soft); padding-block: var(--s-6) var(--s-4); }
.site-footer a { color: var(--blue-dark); }
.site-footer h2 { font-size: 1rem; font-style: normal; letter-spacing: 0; color: var(--ink); margin-bottom: var(--s-2); }
.footer-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: .15rem 0; }
.footer-brand img { width: 13rem; height: auto; margin-bottom: var(--s-3); }
.legal { border-top: 1px solid var(--line); margin-top: var(--s-5); padding-top: var(--s-3); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); }
.legal ul { list-style: none; display: flex; gap: var(--s-3); margin: 0; padding: 0; }

/* ---------- Nach oben ---------- */
.to-top { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40;
  width: 3rem; height: 3rem; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: var(--shadow-lift); text-decoration: none;
  display: grid; place-items: center; font-size: 0; }
.to-top:hover { background: var(--blue-dark); color: #fff; }
.to-top::before { content: ""; width: .75rem; height: .75rem; border-left: 3px solid currentColor; border-top: 3px solid currentColor; transform: translateY(.18rem) rotate(45deg); }
@supports (animation-timeline: scroll()) {
  .to-top { opacity: 0; visibility: hidden; animation: to-top-in linear both; animation-timeline: scroll(root); animation-range: 300px 500px; }
  @keyframes to-top-in { to { opacity: 1; visibility: visible; } }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Bildansicht ---------- */
dialog.lb { border: 0; padding: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: transparent; color: var(--ink); }
dialog.lb::backdrop { background: rgb(255 255 255 / .98); }
dialog.lb figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-2); padding: 4rem 1rem 3.5rem; }
dialog.lb img { max-width: 100%; max-height: calc(100dvh - 9rem); width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: var(--shadow); background: var(--surface); }
dialog.lb figcaption { font-weight: 600; text-align: center; }
.lb-count { position: absolute; left: 0; right: 0; bottom: 1rem; text-align: center; margin: 0; font-size: .85rem; color: var(--ink-soft); pointer-events: none; }
dialog.lb button { position: absolute; width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; padding: 0 0 .2rem; }
dialog.lb button:hover { border-color: var(--blue); color: var(--blue); }
dialog.lb button[hidden] { display: none; }
.lb-close { top: .75rem; right: .75rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: .5rem; }
.lb-next { right: .5rem; }
body:has(dialog.lb[open]) { overflow: hidden; }
body:has(dialog.lb[open]) .to-top { display: none; }

@media print { .topbar, .site-header, .site-footer, .btn-row, .to-top, .call { display: none; } .section { padding-block: 1rem; } .hero, .spotlight, .page-head--img { clip-path: none; } }

/* ---------- Blog ---------- */
.grid--posts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.post-card time { font-size: .85rem; font-weight: 700; color: var(--blue); }
.post-card h2 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; }
.post-card .kind { margin-top: .35rem; }
.post-more { margin-top: auto; padding-top: var(--s-3); font-weight: 700; color: var(--blue); }
.post-card:hover .post-more { text-decoration: underline; }
.page-head time { font-weight: 700; }
.post .links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); list-style: none; padding: 0; margin-top: var(--s-4); font-weight: 600; }
.post-nav { display: grid; gap: var(--s-3); margin-top: var(--s-6); max-width: 46rem; }
.post-nav a { display: block; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 700; }
.post-nav a:hover { border-color: var(--blue); }
.post-nav span { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.post-nav .post-nav-all { text-align: center; color: var(--blue); }
@media (min-width: 40rem) {
  .post-nav { grid-template-columns: 1fr 1fr; }
  .post-nav .post-nav-newer { grid-column: 2; text-align: right; }
  .post-nav .post-nav-all { grid-column: 1 / -1; }
}
