/* ============================================================
   Modellspielwelt im Emmental — Stylesheet «Spielwiese» (Variante C)
   Verspielter Look: Pill-Header, runde Karten, Wellen, 3D-Buttons.
   Farben und Schriften = unverändertes Corporate Design.
   ============================================================ */

/* ---------- Webfonts (Original-Fonts der Wix-Seite) ---------- */

@font-face {
  font-family: "MSW Heavy";           /* Überschriften, Navigation */
  src: url("../fonts/msw-heavy.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "MSW Book";            /* grosse Lauftexte (Leads) */
  src: url("../fonts/msw-book.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "MSW Text";            /* Fliesstext klein */
  src: url("../fonts/msw-text.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "MSW Ticker";          /* Laufband kursiv */
  src: url("../fonts/msw-ticker-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --green: #2B9B35;
  --green-dark: #1e7326;     /* 3D-Kante der grünen Buttons */
  --light-green: #A5DD62;
  --brown: #8B4C17;
  --orange: #E59E57;
  --orange-dark: #c07f39;    /* 3D-Kante der orangen Buttons */
  --gray: #8C8C8C;
  --ink: #1b1b1b;
  --paper: #ffffff;
  --bg: #f4faec;             /* zarter grüner Seitengrund */

  --font-heavy: "MSW Heavy", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-book: "MSW Book", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-text: "MSW Text", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-ticker: "MSW Ticker", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --r: 22px;                 /* Standard-Eckenradius */
  --split-left: 30.6%;       /* Breite der farbigen Blöcke links (Unterseiten/Footer) */
  --content-pad: clamp(20px, 2.8vw, 55px);
  --shadow: 0 8px 24px rgba(43, 155, 53, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.site-footer :focus-visible, .gallery-nav:focus-visible, .lightbox :focus-visible,
.block :focus-visible, .features :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green); color: #fff;
  padding: 10px 18px; z-index: 200;
  font-family: var(--font-heavy); text-decoration: none;
}
.skip-link:focus { left: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }  /* height:auto — sonst gewinnt das height-Attribut gegen aspect-ratio */
a { color: var(--green); }

/* ---------- Typo-Bausteine ---------- */

.h-display {                 /* grosse weisse Blocküberschriften (Unterseiten) */
  font-family: var(--font-heavy);
  font-weight: 400;
  font-size: clamp(1.9rem, 2.3vw, 2.8rem);
  line-height: 1.12;
  color: #fff;
  hyphens: auto;
}

.lead {
  font-family: var(--font-book);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.55vw, 1.85rem);
  line-height: 1.4;
  color: var(--ink);
}

.lead.heavy { font-family: var(--font-heavy); }

.small { font-size: 17px; line-height: 1.5; }

/* ---------- Header: schwebende Pill ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px clamp(12px, 2vw, 28px) 6px;
  margin-bottom: clamp(16px, 2.2vw, 30px);
  background: linear-gradient(180deg, var(--bg) 70%, rgba(244, 250, 236, 0));
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--paper);
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(43, 155, 53, .16);
  padding: 10px clamp(20px, 2.8vw, 40px);
  max-width: 1280px;
  margin: 0 auto;
}

/* Logo gross und mit Luft */
.brand { display: flex; align-items: center; text-decoration: none; padding: 6px 0; }
.brand img { height: clamp(59px, 5.5vw, 81px); width: auto; }
.brand .brand-text { display: none; font-family: var(--font-heavy); color: var(--ink); font-size: 1.4rem; }
.brand.no-logo img { display: none; }
.brand.no-logo .brand-text { display: block; }

.main-nav ul { list-style: none; display: flex; gap: clamp(4px, .8vw, 12px); }

.main-nav a {
  font-family: var(--font-heavy);
  font-size: clamp(1rem, 1.05vw, 1.15rem);
  text-decoration: none;
  color: var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
}

.main-nav a:hover { background: var(--bg); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--light-green); }

.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 2.7rem; line-height: 1;
  padding: 2px 6px;
  cursor: pointer; color: var(--ink);
}

/* ---------- Laufband (nur Startseite) ---------- */

.announce {
  background: var(--orange);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  border-radius: 999px;
  /* gleiche Breite wie die Header-Pill: zentriert, max. 1280px */
  width: calc(100% - 2 * clamp(12px, 2vw, 28px));
  max-width: 1280px;
  margin: 10px auto 0;
  box-shadow: 0 4px 14px rgba(229, 158, 87, .35);
}

.announce .track {
  display: inline-block;
  font-family: var(--font-ticker);
  font-style: italic;
  font-size: clamp(1.05rem, 1.3vw, 1.4rem);
  animation: ticker 55s linear infinite;
}

.announce .track span { padding-right: 3.5em; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.announce:hover .track,
.announce:focus-within .track,
.announce.paused .track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .announce .track { animation: none; padding-left: 1em; }
}

/* ---------- Hero (Startseite, Variante C) ---------- */

.hero-c { padding: clamp(36px, 5vw, 72px) clamp(18px, 3vw, 40px) 0; }

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.hero-text h1 {
  font-family: var(--font-heavy);
  font-weight: 400;
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  line-height: 1.1;
}
.hero-text h1 .grn { color: var(--green); }

.hero-text .sub {
  font-family: var(--font-book);
  font-size: clamp(1.15rem, 1.45vw, 1.4rem);
  line-height: 1.45;
  margin: 18px 0 26px;
  max-width: 560px;
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-photo { position: relative; }
.hero-photo img {
  border-radius: var(--r);
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(43, 155, 53, .25);
}

.sticker {
  position: absolute; top: -18px; right: -8px;
  transform: rotate(6deg);
  background: var(--orange); color: #fff;
  font-family: var(--font-ticker); font-style: italic;
  font-size: 1.05rem;
  padding: 13px 20px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

.wave { display: block; width: 100%; height: 70px; margin-top: clamp(32px, 5vw, 60px); }

/* ---------- Buttons: rund mit 3D-Kante ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-heavy);
  font-size: 1.02rem;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 30px;
}

.btn.orange { background: var(--orange); box-shadow: 0 5px 0 var(--orange-dark); }
.btn.green  { background: var(--green);  box-shadow: 0 5px 0 var(--green-dark); }
.btn:active { transform: translateY(3px); }
.btn.orange:active { box-shadow: 0 2px 0 var(--orange-dark); }
.btn.green:active  { box-shadow: 0 2px 0 var(--green-dark); }
.btn .arrow { margin-left: .6em; }

/* ---------- Split-Sektionen (Unterseiten: farbiger Block links) ---------- */

.split {
  display: grid;
  grid-template-columns: var(--split-left) 1fr;
  align-items: stretch;
  background: var(--paper);
}

.split .block {
  padding: clamp(36px, 4.5vw, 90px) clamp(24px, 2.2vw, 44px) clamp(36px, 4.5vw, 90px) clamp(20px, 1.8vw, 36px);
  overflow-wrap: break-word;
  border-radius: 0 var(--r) var(--r) 0;
}

.split .block.green { background: var(--green); }
.split .block.light-green { background: var(--light-green); }
.split .block.light-green .h-display { color: var(--ink); }
.split .block.brown { background: var(--brown); }
.split .block.gray  { background: var(--gray); }

.split .content {
  padding: clamp(36px, 4.5vw, 90px) var(--content-pad);
  max-width: 860px;
}

.split .content > * + * { margin-top: 1.2em; }
.split .content p.small + p.small { margin-top: 1em; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split .block { padding: 34px 22px; border-radius: 0 0 var(--r) var(--r); }
}

/* ---------- Foto-Streifen (Startseite): runde Kacheln ---------- */

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 5.5vw, 80px) clamp(18px, 3vw, 40px) 0;
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
}

@media (max-width: 760px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Braunes Titelband (Altbestand, falls irgendwo genutzt) ---------- */

.band-title {
  background: var(--brown);
  padding: clamp(40px, 5vw, 90px) clamp(20px, 2.5vw, 48px);
}

.band-title h2 {
  font-family: var(--font-heavy);
  font-weight: 400;
  font-size: clamp(1.9rem, 2.3vw, 2.8rem);
  line-height: 1.12;
  color: #fff;
  max-width: 480px;
}

/* ---------- Features: weisse Karten auf Grün (Startseite) ---------- */

.features {
  background: var(--green);
  padding: clamp(44px, 6vw, 84px) clamp(18px, 3vw, 40px);
}

.features h2 {
  font-family: var(--font-heavy);
  font-weight: 400;
  color: #fff;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  max-width: 1180px;
  margin: 0 auto 30px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
  max-width: 1180px;
  margin: 0 auto;
  border-top: none;
}

.feature {
  display: block;
  background: var(--paper);
  border-radius: var(--r);
  padding: 26px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  border-bottom: none;
}

.feature:nth-child(odd) { border-right: none; }

.feature .icon { flex: none; width: 68px; margin-bottom: 14px; }
.feature .icon img, .feature .icon svg { width: 100%; height: auto; }

.feature h3 {
  font-family: var(--font-heavy);
  font-weight: 400;
  font-size: 1.22rem;
  margin-bottom: .5em;
}

.feature p { font-size: 15.5px; color: #2a2a2a; }

@media (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Panorama: runde Karte ---------- */

.panorama { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 5.5vw, 80px) clamp(18px, 3vw, 40px) 0; }
.panorama img {
  width: 100%;
  height: clamp(240px, 30vw, 520px);
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
}

/* ---------- Galerie (Impressionen, horizontaler Mosaik-Slider) ---------- */

.gallery-band {
  background: var(--green);
  padding: clamp(20px, 2.5vw, 40px) 0;
  position: relative;
}

.gallery-scroller {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.gallery-scroller::-webkit-scrollbar { display: none; }

.gallery-mosaic {
  display: grid;
  grid-auto-flow: column dense;
  grid-template-rows: repeat(2, clamp(150px, 21vw, 410px));
  gap: 10px;
  width: max-content;
  margin: 0 clamp(16px, 6.7vw, 130px);
}

.gallery-mosaic a { display: block; overflow: hidden; border-radius: 16px; }
.gallery-mosaic a.tall { grid-row: span 2; }
.gallery-mosaic a img {
  height: 100%;
  width: auto;
  object-fit: cover;
  transition: transform .25s ease;
}
.gallery-mosaic a:hover img { transform: scale(1.03); }
.gallery-mosaic a.tall img { width: clamp(220px, 32vw, 620px); }
.gallery-mosaic a:not(.tall) img { width: clamp(150px, 16vw, 315px); }

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 4px 0 var(--orange-dark), 0 8px 20px rgba(0, 0, 0, .25);
}
.gallery-nav:active { transform: translateY(calc(-50% + 3px)); box-shadow: 0 1px 0 var(--orange-dark); }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }

/* Lightbox */

.lightbox {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: 14px; }
.lightbox .close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; color: #fff;
  font-size: 2.4rem; cursor: pointer; line-height: 1;
  width: 52px; height: 52px;
}
.lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, .16); color: #fff;
  font-size: 1.9rem; line-height: 1; cursor: pointer;
}
.lightbox .lb-nav:hover { background: rgba(255, 255, 255, .3); }
.lightbox .lb-nav.prev { left: 14px; }
.lightbox .lb-nav.next { right: 14px; }
.lightbox .counter {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 15px; letter-spacing: .06em;
}
@media (max-width: 600px) {
  .lightbox { padding: 12px; }
  .lightbox .lb-nav.prev { left: 4px; }
  .lightbox .lb-nav.next { right: 4px; }
}

/* Social-Hinweis (Impressionen) */

.insta-note .social-badges { display: flex; gap: 12px; margin-bottom: 14px; }
.insta-note .ig-badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gray);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.insta-note .ig-badge:hover { background: #767676; }
.insta-note .ig-badge svg { width: 24px; height: 24px; fill: #fff; }

.insta-note p.note-italic {
  font-style: italic;
  font-size: 17px;
}

/* ---------- Preise ---------- */

.price-band {
  background: var(--light-green);
  padding: clamp(30px, 3.2vw, 62px) clamp(16px, 4vw, 77px);
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.1vw, 42px);
}

.price-card {
  background: #fff;
  border-radius: var(--r);
  padding: clamp(22px, 2.4vw, 42px) clamp(18px, 2vw, 34px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .10);
}

.price-card h3 {
  font-family: var(--font-heavy);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.5vw, 1.8rem);
  margin-bottom: .8em;
}

.price-card img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1.4em;
}

.price-card .price {
  font-family: var(--font-heavy);
  font-size: clamp(1.15rem, 1.3vw, 1.5rem);
  margin-bottom: .6em;
}

.price-card p.desc { font-size: 15.5px; }
.price-card p + p { margin-top: 14px; }

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

/* Öffnungszeiten: Tabelle links, Foto rechts */

.hours {
  display: grid;
  grid-template-columns: minmax(min-content, var(--split-left)) 1fr;
  background: var(--paper);
}

.hours .hours-inner {
  grid-column: 1 / 2;
  padding: clamp(36px, 4.5vw, 90px) clamp(20px, 2vw, 40px) clamp(36px, 4.5vw, 90px) clamp(16px, 1.6vw, 32px);
  min-width: 0;
}

.hours h2 {
  font-family: var(--font-heavy);
  font-weight: 400;
  font-size: clamp(1.9rem, 2.3vw, 2.8rem);
  color: var(--ink);
  margin-bottom: .9em;
}

.hours-table { width: 100%; border-collapse: collapse; }

.hours-table th, .hours-table td {
  font-size: 15.5px;
  font-weight: 400;
  text-align: left;
  padding: 16px 4px;
  border-top: 1.5px solid #1c1c1c;
  vertical-align: middle;
}

.hours-table td.zeit { text-align: right; white-space: nowrap; }

.hours-table tr.group th {
  font-family: var(--font-heavy);
  font-size: clamp(1.05rem, 1.2vw, 1.3rem);
  padding-top: 34px;
}

.hours-table tr:last-child td, .hours-table tr:last-child th { border-bottom: 1.5px solid #1c1c1c; }

.hours .hours-photo { min-height: 320px; }
.hours .hours-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r) 0 0 var(--r); }

@media (max-width: 860px) {
  .hours { grid-template-columns: 1fr; }
  .hours .hours-inner { padding: 34px 22px; }
  .hours .hours-photo img { border-radius: var(--r) var(--r) 0 0; }
}

@media (max-width: 520px) {
  .hours-table td.zeit { white-space: normal; }
  .hours-table th, .hours-table td { padding: 12px 2px; font-size: 15px; }
}

/* ---------- Kontakt & Anfahrt ---------- */

.address-lines { font-weight: 700; }

/* Info-Box (z.B. Eingang finden) */

.info-box {
  border: 2px solid var(--brown);
  border-left-width: 10px;
  border-radius: 16px;
  padding: 18px 22px;
  background: #faf6f1;
}
.info-box h3 {
  font-family: var(--font-heavy);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.25vw, 1.4rem);
  margin-bottom: .5em;
  color: var(--brown);
}
.info-box p { font-size: 15.5px; }

/* ---------- Formular-Sektion (alle Seiten) ---------- */

.form-section .content { max-width: 860px; }
.form-section.split .content { padding-top: clamp(28px, 3.2vw, 56px); padding-bottom: clamp(28px, 3.2vw, 56px); }

.form-title {
  font-family: var(--font-heavy);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.35vw, 1.6rem);
  line-height: 1.35;
  margin-bottom: 1.2em;
}

.contact-form .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(20px, 3vw, 56px);
  row-gap: 20px;
}

.contact-form .field.wide { grid-column: 1 / -1; }

.contact-form label {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #1c1c1c;
  background: transparent;
  font: inherit;
  font-size: 16px;
  padding: 6px 2px 8px;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%231c1c1c' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--green);
}

.contact-form textarea { min-height: 76px; resize: vertical; }

.contact-form .field .field-error {
  display: none;
  color: #c0392b;
  font-size: 13.5px;
  margin-top: 6px;
}
.contact-form .field.invalid .field-error { display: block; }
.contact-form .field.invalid input,
.contact-form .field.invalid select,
.contact-form .field.invalid textarea { border-bottom-color: #c0392b; }

.contact-form .field.consent {
  grid-column: 1 / -1;
  display: block;
}
.contact-form .field.consent label {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14.5px; line-height: 1.45; margin-bottom: 0;
  cursor: pointer;
}
.contact-form .field.consent input[type="checkbox"] {
  width: 19px; height: 19px; flex: 0 0 19px; margin-top: 2px;
  appearance: auto; -webkit-appearance: checkbox;
  accent-color: var(--green);
}
.contact-form .field.consent a { color: var(--green); }

.contact-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.contact-form button.btn { margin-top: 24px; min-width: 244px; }

.form-msg { margin-top: 18px; padding: 12px 14px; display: none; font-size: 15.5px; border-radius: 12px; }
.form-msg.ok { display: block; background: #e8f5e0; border-left: 4px solid var(--green); }
.form-msg.err { display: block; background: #fdecea; border-left: 4px solid #c0392b; }

/* ---------- Footer (Struktur wie bisher: brauner Kasten auf Grün) ---------- */

.site-footer { background: var(--green); margin-top: 0; }

.site-footer .panel {
  margin-left: var(--split-left);
  background: var(--brown);
  color: #fff;
  border-radius: var(--r) 0 0 0;
  padding: clamp(36px, 4vw, 80px) clamp(24px, 3vw, 60px);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(24px, 3vw, 60px);
}

.site-footer h4 {
  font-family: var(--font-heavy);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.35vw, 1.55rem);
  margin-bottom: 1.4em;
}

.site-footer p, .site-footer li { font-size: 15px; line-height: 1.5; }

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 7px; }

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

.site-footer .legal-links { margin-top: 26px; }

.social { margin-top: 18px; display: flex; gap: 12px; }
.social a {
  display: inline-flex;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  align-items: center;
  justify-content: center;
}
.social svg { width: 20px; height: 20px; fill: var(--brown); }

.copyright {
  background: var(--brown);
  color: #fff;
  margin-left: var(--split-left);
  padding: 0 clamp(24px, 3vw, 60px) 34px;
  font-size: 13.5px;
}

@media (max-width: 860px) {
  .site-footer .panel { margin-left: 0; grid-template-columns: 1fr; border-radius: var(--r) var(--r) 0 0; }
  .copyright { margin-left: 0; }
}

/* ---------- Rechtsseiten & 404 ---------- */

.prose {
  max-width: 800px;
  margin: clamp(24px, 4vw, 56px) auto;
  padding: clamp(28px, 4vw, 56px) clamp(22px, 3.5vw, 48px);
  background: var(--paper);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.prose h1 { font-family: var(--font-heavy); font-weight: 400; font-size: clamp(1.8rem, 2.2vw, 2.4rem); margin-bottom: .8em; }
.prose h2 { font-family: var(--font-heavy); font-weight: 400; font-size: clamp(1.2rem, 1.35vw, 1.5rem); margin: 1.6em 0 .5em; }
.prose p + p { margin-top: .8em; }

/* ---------- Mobile Navigation ---------- */

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% - 6px); left: clamp(12px, 2vw, 28px); right: clamp(12px, 2vw, 28px);
    background: var(--paper);
    border-radius: var(--r);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
    overflow: hidden;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .main-nav a { display: block; padding: 13px 24px; border-radius: 0; }
  .contact-form .grid { grid-template-columns: 1fr; row-gap: 18px; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .sticker { top: auto; bottom: -14px; right: 10px; }
}
