/* Vespa-Club Freiburg e.V. – Stylesheet
   Farben aus der Club-Plakette: Emaille-Rot, Ocker-Ring, dunkles Braun. */

@font-face {
  font-family: "Josefin Sans";
  src: url("../fonts/josefin-sans.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --red: #a8262b;
  --red-dark: #861d21;
  --red-tint: #f7e9e9;
  --ochre: #9b6512;
  --ochre-light: #e7b35a;
  --ink: #2b1f1a;
  --ink-soft: #6b5a50;
  --paper: #ffffff;
  --paper-2: #f4f2ef;
  --line: #e3ddd5;

  --font-head: "Josefin Sans", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.125rem;
  --step-1: 1.35rem;
  --step-2: 1.65rem;
  --step-3: clamp(1.9rem, 1.4rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.3rem, 1.6rem + 3vw, 3.6rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;

  --radius: 6px;
  --radius-lg: 14px;
  --wrap: 1180px;
  --measure: 72ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  font: 400 var(--step-0)/1.6 var(--font-body);
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--red-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; border-radius: 2px; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-4) 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
}
h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
h5, h6 { font-size: var(--step-0); }
p, ul, ol { margin: 0 0 1em; }
.text-center { text-align: center; }
.lead { font-size: var(--step-1); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: 1rem; color: #fff; }

/* Buttons --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 44px; padding: 0.55em 1.3em;
  font: 700 1rem/1.2 var(--font-head); letter-spacing: 0.02em;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: inset 0 0 0 2px var(--red), inset 0 0 0 4px rgba(255,255,255,.55); }
.btn-primary:hover { background: var(--red-dark); color: #fff; box-shadow: inset 0 0 0 2px var(--red-dark), inset 0 0 0 4px rgba(255,255,255,.55); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.link-more { font-weight: 600; text-decoration: none; }
.link-more::after { content: " ›"; }
.link-more:hover { text-decoration: underline; }

/* Kopf und Navigation ------------------------------------------------------------ */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; gap: var(--space-2); min-height: 80px; padding: 0.5rem 0; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: auto; height: 60px; }
.brand-name { font: 700 1.2rem/1.1 var(--font-head); }
.brand-name span { font-weight: 400; }
.brand:hover { color: var(--red); }

.nav-toggle {
  display: none; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 1rem;
  font: 700 1rem var(--font-head); color: var(--ink); background: none;
  border: 2px solid var(--ink); border-radius: 999px; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a {
  display: block; padding: 0.55rem 0.6rem; color: var(--ink); text-decoration: none;
  font: 600 1.02rem/1.2 var(--font-head);
}
.nav-list > li > a { border-bottom: 3px solid transparent; }
.nav-list > li > a:hover, .nav-list > li.is-active > a, .nav-list a[aria-current="page"] { color: var(--red); }
.nav-list > li.is-active > a { border-bottom-color: var(--red); }
.sub-toggle { display: none; }
.sub {
  list-style: none; margin: 0; padding: 0.5rem 0;
  position: absolute; top: 100%; left: 0; min-width: 16rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(43,31,26,.14);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.sub a { padding: 0.5rem 1rem; font-weight: 400; font-family: var(--font-body); }
.sub a:hover { background: var(--paper-2); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.nav-list > li:nth-last-child(-n+3) .sub { left: auto; right: 0; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 80px); overflow-y: auto;
    display: none; box-shadow: 0 16px 30px rgba(43,31,26,.12);
  }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; padding: 0.5rem 1.25rem 1.25rem; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a { flex: 1; padding: 0.85rem 0; border: 0; font-size: 1.15rem; }
  .sub-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--ink);
  }
  .sub-toggle span { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
  .sub-toggle[aria-expanded="true"] span { transform: rotate(-135deg); }
  .sub {
    position: static; width: 100%; min-width: 0; border: 0; box-shadow: none;
    padding: 0 0 0.75rem 0.75rem; display: none; opacity: 1; visibility: visible; transform: none;
  }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .sub a { padding: 0.6rem 0; }
}
@media (max-width: 520px) {
  .brand-name span { display: none; }
  .brand img { height: 50px; }
}

/* Seitenkopf ------------------------------------------------------------------ */
.page-band { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: var(--space-4) 0 var(--space-3); }
.page-band h1 { margin: 0; max-width: 24ch; }
.page-band h1::after { content: ""; display: block; width: 3.5rem; height: 5px; background: var(--red); margin-top: 0.9rem; border-radius: 3px; box-shadow: 1.2rem 0 0 -0px transparent; }
.page-sub { margin: 0.9rem 0 0; font-size: var(--step-1); color: var(--ink-soft); }
.breadcrumb ol { list-style: none; margin: 0 0 0.75rem; padding: 0; display: flex; flex-wrap: wrap; font-size: var(--step--1); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin: 0 0.5em; color: var(--ink-soft); }
.breadcrumb li:last-child::after { content: "/"; margin-left: 0.5em; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); }

/* Inhalt ------------------------------------------------------------------------ */
.content { padding: var(--space-4) 0 var(--space-5); }
.ce { margin-bottom: var(--space-4); }
.ce:last-child { margin-bottom: 0; }
.ce-header + .ce-header { margin-top: 0; }
.ce-header h2, .ce-header h3, .ce-header h4 { margin-bottom: 0.35em; }
.subheader { color: var(--ink-soft); font-size: var(--step-1); margin: 0 0 1em; }
.rte { max-width: var(--measure); overflow-wrap: break-word; }
.text-center .rte, .rte.text-center { margin-inline: auto; }
.rte > :last-child { margin-bottom: 0; }
.rte h2, .rte h3, .rte h4 { margin-top: 1.4em; }
.rte h2:first-child, .rte h3:first-child, .rte h4:first-child { margin-top: 0; }
.rte ul, .rte ol { padding-left: 1.3em; }
.rte li { margin-bottom: 0.3em; }
.rte li p { margin: 0; }
.rte .text-center { margin-inline: auto; }
.ce-header .text-center { margin-inline: auto; }
.bg-secondary, .bg-primary, .bg-light { padding: var(--space-3); border-radius: var(--radius-lg); background: var(--paper-2); }

/* Bilder */
.media { display: grid; gap: 0.75rem; margin: 0 0 var(--space-3); }
.media figure { margin: 0; }
.media img { width: 100%; border-radius: var(--radius); background: var(--paper-2); }
.media figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.4rem; font-style: italic; }
.media.cols-1 { max-width: 900px; }
.media.cols-2 { grid-template-columns: repeat(2, 1fr); }
.media.cols-3 { grid-template-columns: repeat(3, 1fr); }
.media.cols-4 { grid-template-columns: repeat(4, 1fr); }
.media.cols-5 { grid-template-columns: repeat(5, 1fr); }
.media.cols-6 { grid-template-columns: repeat(6, 1fr); }
.media > figure { display: flex; flex-direction: column; }
@media (max-width: 900px) {
  .media.cols-4, .media.cols-5, .media.cols-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .media.cols-3, .media.cols-4, .media.cols-5, .media.cols-6 { grid-template-columns: repeat(2, 1fr); }
}
a.lb { display: block; cursor: zoom-in; border-radius: var(--radius); }
a.lb:hover img { filter: brightness(.94); }

.textpic { display: grid; gap: var(--space-3) var(--space-4); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.textpic-right { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.textpic-right .textpic-media { order: 2; }
.textpic-center { align-items: center; }
.textpic .media { margin: 0; }
.textpic .media.cols-1 { max-width: none; }
@media (max-width: 760px) {
  .textpic, .textpic-right { grid-template-columns: 1fr; }
  .textpic-right .textpic-media { order: 0; }
}

.gallery { list-style: none; margin: 0 0 var(--space-2); padding: 0; display: grid; gap: 0.5rem; grid-template-columns: repeat(var(--cols, 4), 1fr); }
.gallery.cols-2 { --cols: 2; } .gallery.cols-3 { --cols: 3; } .gallery.cols-4 { --cols: 4; }
.gallery.cols-5 { --cols: 5; } .gallery.cols-6 { --cols: 6; }
.gallery li[hidden] { display: none; }
.gallery img { width: 100%; aspect-ratio: var(--ratio, 1.333); object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
@media (max-width: 900px) { .gallery { --cols: 3 !important; } }
@media (max-width: 560px) { .gallery { --cols: 2 !important; } }
.gallery-more { text-align: center; }

/* Raster aus TYPO3-Spalten */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-3) 1.5rem; }
.grid-col { grid-column: span var(--span, 12); min-width: 0; }
.grid-col > .ce { margin-bottom: var(--space-3); }
.grid-col > .ce:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .grid-col { grid-column: auto; }
}

/* Akkordeon */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary {
  list-style: none; cursor: pointer; padding: 1rem 2.5rem 1rem 0; position: relative;
  font: 700 var(--step-1)/1.3 var(--font-head); color: var(--ink);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: ""; position: absolute; right: 0.6rem; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.acc-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc-item summary:hover { color: var(--red); }
.acc-body { padding: 0 0 var(--space-3); }
.acc-body .textpic { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
@media (max-width: 760px) { .acc-body .textpic { grid-template-columns: 1fr; } }

/* Tabellen */
.table-wrap { overflow-x: auto; margin: 0 0 var(--space-2); border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
caption { text-align: left; padding: 0.6rem 0.8rem; font-weight: 600; }
th, td { padding: 0.55rem 0.8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--paper-2); font-family: var(--font-head); }
tbody tr:nth-child(even) { background: #faf9f7; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }

/* Karten (Vorstand) */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.card-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0; }
.card-img a.lb { border-radius: 0; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; }
.card-body h3 { font-size: var(--step-1); margin-bottom: 0.2em; }
.card-sub { color: var(--ink-soft); margin-bottom: 0.6em; }
.card-body .rte { font-size: 1rem; }

/* Downloads */
.downloads { list-style: none; padding: 0; margin: 0; max-width: var(--measure); }
.downloads a {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); margin-bottom: 0.5rem;
}
.downloads a:hover { border-color: var(--red); color: var(--red); }
.dl-name { font-weight: 600; }
.dl-name::before { content: "↓ "; color: var(--red); }
.dl-meta { color: var(--ink-soft); font-size: var(--step--1); white-space: nowrap; }

/* Video mit Einwilligung */
.video { max-width: 900px; }
.video-consent {
  width: 100%; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  background: var(--ink); color: #fff; border: 0; border-radius: var(--radius-lg); cursor: pointer;
  font: inherit; text-align: left; padding: 1.5rem;
}
.video-consent:hover { background: #3b2b24; }
.video-play { width: 64px; height: 64px; border-radius: 50%; background: var(--red); flex: none; position: relative; box-shadow: inset 0 0 0 3px rgba(255,255,255,.6); }
.video-play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-lg); }
.video-alt { font-size: var(--step--1); margin-top: 0.5rem; }

.texticon { text-align: center; }
.texticon-icon { display: inline-flex; width: 72px; height: 72px; padding: 16px; border-radius: 50%; background: var(--red); color: #fff; margin-bottom: 1rem; }

/* Unterseiten, Sitemap */
.subpages { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.subpages h2 { font-size: var(--step-1); }
.subpages ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.subpages a {
  display: block; padding: 0.9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); font-weight: 600; height: 100%;
}
.subpages a:hover { border-color: var(--red); color: var(--red); }
.subpages a::after { content: " ›"; color: var(--red); }
.sitemap ul { padding-left: 1.2em; }
.sitemap > ul { padding-left: 0; list-style: none; columns: 2 260px; }
.sitemap > ul > li { break-inside: avoid; margin-bottom: 0.8rem; font-weight: 600; }
.sitemap > ul > li li { font-weight: 400; }

/* Startseite ------------------------------------------------------------------------ */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-img, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img img { object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,31,26,.88) 0%, rgba(43,31,26,.6) 55%, rgba(43,31,26,.25) 100%); }
.hero-inner { position: relative; display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5) 0 calc(var(--space-5) + 3rem); }
.hero-badge { height: clamp(170px, 24vw, 280px); width: auto; flex: none; filter: drop-shadow(0 8px 24px rgba(0,0,0,.5)); }
.hero h1 { color: #fff; margin-bottom: 0.3em; }
.hero-sub { font-size: var(--step-1); max-width: 34ch; margin: 0; color: #f3ece6; }
@media (max-width: 640px) {
  .hero-inner { flex-direction: column; align-items: flex-start; gap: var(--space-3); padding-top: var(--space-4); }
  .hero-badge { height: 150px; }
}

.home-top { position: relative; z-index: 2; margin-top: -3.5rem; }
.plaque {
  background: var(--paper); border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(43,31,26,.18);
  padding: 6px; max-width: 760px;
}
.plaque-inner {
  border: 3px solid var(--red); border-radius: calc(var(--radius-lg) - 4px);
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px var(--ochre);
  padding: 1.4rem 1.6rem; display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1.5rem; align-items: center;
}
.plaque-inner > p { margin: 0; }
.plaque-label { font: 700 1rem var(--font-head); color: var(--red); grid-column: 1; }
.plaque-date { font: 700 var(--step-2)/1.15 var(--font-head); grid-column: 1; }
.plaque-title { grid-column: 1; color: var(--ink-soft); }
.plaque-inner > p:last-child { grid-column: 2; grid-row: 1 / span 3; }
@media (max-width: 600px) {
  .plaque-inner { grid-template-columns: 1fr; }
  .plaque-inner > p:last-child { grid-column: 1; grid-row: auto; margin-top: 0.8rem; }
}

.home-news { padding: var(--space-5) 0 var(--space-4); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: var(--space-3); }
.section-head h2 { margin: 0; }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.news-item { display: flex; flex-direction: column; }
.news-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 0.9rem; }
.news-body h3 { font-size: var(--step-1); margin-bottom: 0.4em; }
.news-body h3 a { color: var(--ink); text-decoration: none; }
.news-body h3 a:hover { color: var(--red); text-decoration: underline; }
.news-body p { color: var(--ink-soft); font-size: 1.02rem; }
.page-1 .content { padding-top: var(--space-3); border-top: 1px solid var(--line); }

/* Termine ---------------------------------------------------------------------------- */
.termin-list { list-style: none; margin: 0 0 var(--space-2); padding: 0; display: grid; gap: 0.8rem; }
.termin { border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: var(--radius); padding: 1rem 1.2rem; background: var(--paper); }
.termin p { margin: 0 0 0.35em; }
.termin p:last-child { margin: 0; }
.termin-date { font: 700 var(--step-1)/1.2 var(--font-head); }
.termin-links a { margin-right: 1rem; font-weight: 600; }
.termin-past { border-left-color: var(--line); color: var(--ink-soft); }
.termin-past .termin-date { font-size: 1.05rem; }
.termin-empty { padding: 1rem 1.2rem; background: var(--paper-2); border-radius: var(--radius); }
.termin-note { font-size: 1rem; color: var(--ink-soft); max-width: var(--measure); }
.termin-archive summary { cursor: pointer; font-weight: 600; color: var(--red); margin: 0.5rem 0; }

/* Formular ---------------------------------------------------------------------------- */
.form { max-width: 640px; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #b9aea5; border-radius: var(--radius); padding: 0.65rem 0.8rem; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ochre); outline: 3px solid rgba(155,101,18,.25); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--red); background: var(--red-tint); }
.field-error { color: var(--red); font-size: 0.98rem; margin: 0.35rem 0 0; font-weight: 600; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; }
.field-check input { width: 22px; height: 22px; margin-top: 0.2rem; accent-color: var(--red); }
.field-check label { font-weight: 400; margin: 0; }
.field-check .field-error { grid-column: 2; }
.req { color: var(--red); }
.opt { font-weight: 400; color: var(--ink-soft); }
.form-hint { font-size: var(--step--1); color: var(--ink-soft); }
.field-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.2rem; font-weight: 600; }
.form-status.ok { background: #eaf4ec; color: #1e5a2c; border: 1px solid #b8d8c0; }
.form-status.err { background: var(--red-tint); color: var(--red-dark); border: 1px solid #e3b7b8; }
.form button[disabled] { opacity: .6; cursor: progress; }

/* Fuß -------------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #eadfd7; margin-top: var(--space-4); }
.site-footer a { color: var(--ochre-light); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding: var(--space-5) 0 var(--space-4); }
.footer-col h2 { font-size: var(--step-1); color: #fff; margin-bottom: 0.8rem; }
.footer-col p { margin: 0 0 0.5em; font-size: 1.02rem; }
.footer-col .rte { font-size: 1.02rem; }
.footer-meta { border-top: 1px solid rgba(255,255,255,.14); font-size: var(--step--1); }
.footer-meta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1.5rem; padding: 1.1rem 0; }
.footer-meta p { margin: 0; }
.footer-meta ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; align-items: center; }
.social { display: inline-flex; align-items: center; gap: 0.4rem; }

/* Bildansicht ------------------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,14,11,.94);
  display: flex; align-items: center; justify-content: center; padding: 3.5rem 4rem;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); width: auto; height: auto; border-radius: 4px; }
.lightbox figcaption { color: #eadfd7; margin-top: 0.8rem; text-align: center; max-width: 60ch; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 1.4rem; left: 1.4rem; margin: 0; color: #cfc3b9; font-size: 0.95rem; }
@media (max-width: 640px) {
  .lightbox { padding: 3.5rem 0.5rem 4.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
}
body.no-scroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .lightbox, .skip, .subpages { display: none !important; }
  .page-band { background: none; border: 0; padding: 0; }
  a { color: inherit; }
}
