/* Piazza Oliva – Café · Bar
   Farben und Schriften aus Logo und gedruckter Karte. */

@font-face {
  font-family: "Radon";
  src: url("../fonts/radon.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --papier: #f1eae0;
  --papier-tief: #e8dfd1;
  --papier-hell: #f8f4ee;
  --linie: #d5c9b5;
  --tinte: #2a2a1b;
  --tinte-weich: #57543f;
  --oliv-tief: #4c5120;
  --oliv-nacht: #363a14;
  --oliv: #8c8f3e;
  --oliv-zart: #c9c897;
  --braun: #98795a;
  --braun-tinte: #6f5439;
  --hell: #f4eee5;
  --hell-gedaempft: #d3d1ab;
  --fehler: #9b2c1f;
  --ok: #4c5120;

  --f-titel: "Radon", "Didot", "Bodoni 72", Georgia, serif;
  --f-text: "adelle-sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --rand: clamp(1rem, 4vw, 3rem);
  --breite: 74rem;
  --abschnitt: clamp(4.5rem, 10vw, 8rem);
  --radius: 2px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  accent-color: var(--oliv-tief);
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--f-text);
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  font-feature-settings: "lnum" 1;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

::selection { background: var(--oliv-tief); color: var(--hell); }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--oliv); }

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

h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--oliv-tief); color: var(--hell);
  padding: 0.75rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.zweig-maske {
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("../img/zweig-trenner.png") center / contain no-repeat;
  mask: url("../img/zweig-trenner.png") center / contain no-repeat;
}

/* ---------- Ornament: Wellenlinie wie auf der Karte ---------- */

.wave {
  display: block;
  flex: 1 1 0;
  min-width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.kartentitel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  color: var(--oliv);
}
.kartentitel > :is(h1, h2, h3) {
  font-family: var(--f-titel);
  color: var(--oliv-tief);
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
  line-height: 1;
  text-align: center;
  padding-top: 0.12em;
}

.titel {
  font-family: var(--f-titel);
  color: var(--oliv-tief);
  font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.8rem);
  line-height: 1.02;
}
.titel--hell { color: var(--hell); }

/* ---------- Knöpfe & Links ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 3.25rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--oliv-tief);
  border-radius: var(--radius);
  background: var(--oliv-tief);
  color: var(--hell);
  font: 600 1rem/1.2 var(--f-text);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.15s var(--ease);
  touch-action: manipulation;
}
.knopf:hover { background: var(--oliv-nacht); border-color: var(--oliv-nacht); }
.knopf:active { transform: translateY(1px); }
.knopf[disabled] { opacity: 0.6; cursor: progress; }
.knopf .icon { width: 1.2em; height: 1.2em; }
.knopf__info { font-weight: 400; opacity: 0.75; font-size: 0.875em; }

.knopf--hell { background: var(--hell); color: var(--oliv-nacht); border-color: var(--hell); }
.knopf--hell:hover { background: #fff; border-color: #fff; color: var(--oliv-nacht); }
.knopf--klein { min-height: 2.6rem; padding: 0.5rem 1.1rem; font-size: 0.9375rem; white-space: nowrap; }

.textlink {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-weight: 600; color: var(--oliv-tief);
  text-decoration: none;
  border-bottom: 1px solid var(--oliv-zart);
  padding-bottom: 0.15em;
  transition: border-color 0.2s var(--ease), gap 0.25s var(--ease);
}
.textlink:hover { border-color: var(--oliv-tief); gap: 0.7em; }

/* ---------- Banner (Urlaub / Hinweis) ---------- */

.banner { background: var(--braun-tinte); color: var(--hell); }
.banner--urlaub { background: var(--braun-tinte); }
.banner__inner {
  max-width: var(--breite); margin: 0 auto;
  padding: 0.75rem var(--rand);
  display: flex; gap: 0.75rem; align-items: flex-start; justify-content: center;
  font-size: 0.9375rem; line-height: 1.45;
}
.banner__icon { margin-top: 0.15em; }
.banner strong { font-weight: 600; }

/* ---------- Kopf ---------- */

.kopf {
  position: sticky; top: 0; z-index: 20;
  background: var(--papier);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.kopf.ist-gescrollt { border-bottom-color: var(--linie); }
.kopf__inner {
  max-width: var(--breite); margin: 0 auto;
  padding: 1.15rem var(--rand);
  display: flex; align-items: center; gap: 1.5rem;
}
.kopf__logo { flex: none; display: block; margin-top: 0.3rem; }
.kopf__logo img { height: 2.4rem; width: auto; }
.kopf__nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.kopf__nav ul { display: flex; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.kopf__nav a { text-decoration: none; font-size: 0.9375rem; font-weight: 400; color: var(--tinte); padding: 0.4rem 0; position: relative; }
.kopf__nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--oliv-tief); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.kopf__nav ul a:hover::after, .kopf__nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.kopf__nav ul a[aria-current="page"] { color: var(--oliv-tief); font-weight: 600; }
.kopf__tel { display: none; }
.kopf__toggle {
  display: none; margin-left: 0.25rem;
  width: 2.75rem; height: 2.75rem; padding: 0;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--linie); border-radius: var(--radius);
  color: var(--oliv-tief); cursor: pointer;
}
.kopf__toggle .icon { width: 1.4rem; height: 1.4rem; }
.kopf__toggle-zu { display: none; }

@media (max-width: 64rem) {
  .kopf__nav ul { gap: 1.1rem; }
  .kopf__nav a { font-size: 0.875rem; }
}

@media (max-width: 56rem) {
  .kopf__inner { gap: 0.75rem; padding-block: 0.7rem; }
  .kopf__logo img { height: 1.75rem; }
  .kopf__cta { margin-left: auto; }
  .kopf__toggle { display: inline-flex; }
  .js .kopf__nav {
    position: fixed; inset: var(--kopf-hoehe, 3.9rem) 0 auto 0;
    max-height: calc(100dvh - var(--kopf-hoehe, 3.9rem));
    overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--papier);
    border-bottom: 1px solid var(--linie);
    padding: 0.5rem var(--rand) 1.5rem;
    margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-0.5rem);
    transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
    box-shadow: 0 18px 30px -18px rgb(42 42 27 / 0.35);
  }
  .js .kopf.ist-offen .kopf__nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .js .kopf__nav ul { flex-direction: column; gap: 0; }
  .js .kopf__nav ul a { display: block; padding: 0.95rem 0; font-size: 1.125rem; border-bottom: 1px solid var(--linie); }
  .js .kopf__nav ul a::after { display: none; }
  .js .kopf__tel { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1.1rem 0 0; font-size: 1.0625rem; color: var(--oliv-tief); font-weight: 600; }
  .kopf.ist-offen .kopf__toggle-auf { display: none; }
  .kopf.ist-offen .kopf__toggle-zu { display: inline; }
  html:not(.js) .kopf__inner { flex-wrap: wrap; }
  html:not(.js) .kopf__toggle { display: none; }
  html:not(.js) .kopf__nav { width: 100%; order: 3; }
  html:not(.js) .kopf__nav ul { flex-wrap: wrap; }
}

@media (max-width: 30rem) {
  .nur-breit { display: none; }
  .kopf__cta { padding-inline: 0.9rem; text-transform: capitalize; }
}

/* ---------- Auftakt (Start): wie das Titelblatt der Karte ---------- */

.auftakt {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--papier) url("../img/oliven-muster.jpg") center / cover no-repeat;
}

.auftakt__inner {
  max-width: var(--breite); margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--rand) clamp(3rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.auftakt h1 { display: flex; flex-direction: column; font-family: var(--f-titel); line-height: 1; }
.auftakt__gross {
  font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.4rem);
  color: var(--oliv-tief);
}
.auftakt__klein {
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem);
  color: var(--braun);
  margin-top: 0.3em;
}
.auftakt__lead {
  margin-top: 1.4rem;
  max-width: 36ch;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--tinte-weich);
}
.auftakt .heute { margin-top: 1.6rem; }
.auftakt__knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 1.9rem; }
.auftakt__logo { width: 100%; max-width: 30rem; margin-inline: auto; }
.auftakt__logo img { width: 100%; }


.knopf--gross { min-height: 3.6rem; padding-inline: 2.25rem; font-size: 1.0625rem; }



@media (max-width: 52rem) {
  .auftakt__inner { grid-template-columns: 1fr; text-align: center; gap: 0.75rem; padding-top: 1.5rem; }
  .auftakt__logo { order: -1; }
  .auftakt__logo { max-width: min(16rem, 66vw); }
  .auftakt h1 { align-items: center; }
  .auftakt__lead { margin-inline: auto; }
  .auftakt .heute, .auftakt__knoepfe { justify-content: center; }
}
@media (max-width: 30rem) {
  .auftakt__knoepfe .knopf { width: 100%; }
}


/* Ein Moment beim Laden: Logo und Text treten ruhig hervor */
@media (prefers-reduced-motion: no-preference) {
  .auftakt__logo img { animation: logo-ein 1.4s var(--ease) both; }
  @keyframes logo-ein {
    from { opacity: 0; transform: scale(0.96) rotate(-3deg); filter: blur(6px); }
    to { opacity: 1; transform: none; filter: none; }
  }
  @keyframes text-ein {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- Laufband ---------- */

.laufband {
  background: var(--oliv-tief);
  color: var(--hell);
  overflow: hidden;
  padding: 0.85rem 0 0.7rem;
  border-block: 1px solid var(--oliv-nacht);
}
.laufband__spur { display: flex; width: max-content; }
.laufband p { display: flex; align-items: center; flex: none; }
.laufband span {
  font-family: var(--f-titel);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  line-height: 1;
  padding-inline: clamp(1.1rem, 2.5vw, 2rem);
  white-space: nowrap;
}
.laufband__zweig {
  flex: none;
  width: 1.15rem; height: 2.25rem;
  background: var(--oliv-zart);
  -webkit-mask: url("../img/zweig-trenner.png") center / contain no-repeat;
  mask: url("../img/zweig-trenner.png") center / contain no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .laufband__spur { animation: laufen 48s linear infinite; }
  .laufband:hover .laufband__spur { animation-play-state: paused; }
  @keyframes laufen { to { transform: translateX(-50%); } }
}

/* ---------- Tagesablauf ---------- */

.tag { padding: var(--abschnitt) var(--rand); background: var(--papier-hell); }
.tag__inner { max-width: var(--breite); margin: 0 auto; }
.tag__kopf { text-align: center; max-width: 40rem; margin: 0 auto; }
.tag__kopf p { margin-top: 1.25rem; color: var(--tinte-weich); font-size: 1.0625em; }
.tag__momente {
  list-style: none; margin: clamp(3rem, 7vw, 5rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
.moment { text-align: center; }
.moment:nth-child(2) { margin-top: clamp(0rem, 6vw, 5rem); }
.moment img {
  width: 100%; max-width: 17rem; height: clamp(9rem, 14vw, 12rem);
  object-fit: contain; object-position: center bottom;
  margin: 0 auto 1.5rem;
}
.moment h3 {
  font-family: var(--f-titel); color: var(--oliv-tief);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); line-height: 1;
  margin: 0.6rem 0 0.9rem;
}
.moment p:last-child { color: var(--tinte-weich); max-width: 30ch; margin-inline: auto; }

.tag__karte {
  margin: clamp(4rem, 9vw, 6.5rem) auto 0;
  max-width: 46rem;
  display: grid; grid-template-columns: 11rem 1fr; gap: 2.5rem; align-items: center;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
}
.tag__karte h3 { font-family: var(--f-titel); font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem); color: var(--oliv-tief); line-height: 1; }
.tag__karte p { margin: 0.75rem 0 1.4rem; color: var(--tinte-weich); }
.tag__cover {
  display: block; border-radius: var(--radius);
  box-shadow: 0 1px 2px rgb(42 42 27 / 0.12), 0 22px 40px -20px rgb(54 58 20 / 0.5);
  transform: rotate(-3deg);
  transition: transform 0.6s var(--ease);
}
.tag__cover img { border-radius: var(--radius); }
.tag__cover:hover { transform: rotate(0deg) translateY(-4px); }

@media (max-width: 52rem) {
  .tag__momente { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; }
  .moment:nth-child(2) { margin-top: 0; }
  .tag__karte { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .tag__cover { width: 9rem; }
}

/* Momente erscheinen beim Scrollen nacheinander (nur mit JS, sonst sofort sichtbar) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-zeigen] { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .js [data-zeigen].ist-wartend { opacity: 0; transform: translateY(28px); }
  .js .moment:nth-child(2) { transition-delay: 0.12s; }
  .js .moment:nth-child(3) { transition-delay: 0.24s; }
}

/* ---------- Heute-Zeile ---------- */

.heute {
  display: inline-flex; flex-wrap: wrap; align-items: baseline;
  gap: 0.35rem 0.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.heute strong { font-weight: 600; }
.heute__zusatz { color: var(--tinte-weich); }
.heute__zusatz span { white-space: nowrap; }
.heute__punkt {
  align-self: center;
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--braun);
}
.heute--offen .heute__punkt { background: var(--oliv); }
.heute--urlaub .heute__punkt, .heute--geschlossen .heute__punkt { background: var(--braun); }
.heute--ruhig { border: 0; padding: 0; background: none !important; }

/* ---------- Öffnungszeiten ---------- */

.zeiten {
  position: relative; isolation: isolate;
  background: var(--oliv);
  color: var(--hell);
  padding: var(--abschnitt) var(--rand);
}
.zeiten::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/zweige-oliv.jpg") center / cover;
}
.zeiten::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(54 58 20 / 0.42);
}
.zeiten .kartentitel { color: var(--oliv-zart); }
.zeiten .kartentitel > h2 { color: var(--hell); }
.zeiten__inner { max-width: 60rem; margin: 0 auto; }
.zeiten__tafeln {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.tafel h3 {
  font-family: var(--f-titel);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1;
  color: var(--hell);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--hell);
}
.tafel dl { margin: 0; }
.tafel dl > div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgb(244 238 229 / 0.28);
  font-variant-numeric: tabular-nums;
}
.tafel dt { font-weight: 400; display: flex; align-items: center; gap: 0.6rem; }
.tafel dd { margin: 0; text-align: right; }
.tafel .ist-zu dd { color: var(--hell); font-style: italic; }
.tafel .ist-heute { font-weight: 600; color: #fff; }
.tafel .ist-heute dt { font-weight: 600; }
.marke {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.15rem 0.45rem; border-radius: var(--radius);
  background: var(--hell); color: var(--oliv-nacht);
}
.sonderzeiten { margin-top: 2.5rem; padding: 1.25rem 1.5rem; background: rgb(54 58 20 / 0.45); border-radius: var(--radius); }
.sonderzeiten h3 { font-weight: 600; font-size: 1rem; }
.sonderzeiten ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }
.zeiten__adresse {
  margin-top: 2.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 0.9rem;
  color: var(--hell);
}
.zeiten__adresse .icon { color: var(--oliv-zart); }
.zeiten__adresse a { font-weight: 600; color: var(--hell); }

@media (max-width: 40rem) {
  .zeiten__tafeln { grid-template-columns: 1fr; }
}

/* ---------- Veranstaltungen (Start) ---------- */

.events {
  position: relative; isolation: isolate;
  background: var(--oliv-tief);
  color: var(--hell);
  padding: var(--abschnitt) var(--rand);
}
.events::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--oliv-tief) url("../img/oliven-muster-beige.jpg") center / cover no-repeat;
}
.events__inner {
  max-width: var(--breite); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 6rem); align-items: center;
}
.events__flyer {
  display: block; justify-self: center; width: 100%; max-width: 26rem;
  background: var(--papier-hell); padding: 0.6rem;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -28px rgb(30 32 10 / 0.7);
  transform: rotate(-1.5deg);
  transition: transform 0.6s var(--ease);
}
.events__flyer:hover { transform: rotate(0deg) translateY(-4px); }
.events__text { max-width: 34rem; }
.events .event { margin-top: 2rem; }
.event__datum {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.02em;
}
.event h3 {
  font-family: var(--f-titel);
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem);
  line-height: 1.05;
}
.event h3 + .event__datum, .eventkarte h2 + .event__datum { margin-top: 0.75rem; }
.events .event p:not(.event__datum) { margin-top: 1rem; color: var(--hell); font-weight: 300; font-size: 1.0625em; }
.event--klein { padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--hell) 30%, transparent); }
.event--klein h3 { font-size: 1.5rem; }
.events .knopf { margin-top: 2.25rem; }

@media (max-width: 52rem) {
  .events__inner { grid-template-columns: 1fr; }
  .events__flyer { max-width: 20rem; }
}

/* ---------- Reservieren ---------- */

.reservieren { padding: var(--abschnitt) var(--rand); }
.reservieren__inner { max-width: 50rem; margin: 0 auto; }
.reservieren__kopf { text-align: center; }
.reservieren__kopf > p { margin: 1.25rem auto 0; max-width: 46ch; color: var(--tinte-weich); }
.reservieren__kopf .heute { margin: 0 auto 1.25rem; }
.reservieren .formular { margin-top: clamp(2.25rem, 5vw, 3rem); }
.reservieren--seite { padding-top: clamp(2.5rem, 6vw, 4rem); }

/* ---------- Formulare ---------- */

.formular {
  background: var(--papier-hell);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}
.formular__raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.5rem; }
.feld { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.feld--breit { grid-column: 1 / -1; }
.feld label, .feld legend { font-weight: 600; font-size: 0.9375rem; color: var(--tinte); padding: 0; }
.feld__zusatz { font-weight: 400; color: var(--tinte-weich); }
.feld input:not([type="checkbox"], [type="radio"], [type="file"]), .feld select, .feld textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.7rem 0.9rem;
  font: inherit; font-size: max(16px, 1rem);
  color: var(--tinte);
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
}
.feld select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m1 1.5 6 6 6-6' fill='none' stroke='%234c5120' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem;
}
.feld textarea { resize: vertical; min-height: 6rem; line-height: 1.5; }
.feld input::placeholder, .feld textarea::placeholder { color: var(--tinte-weich); opacity: 0.85; }
.feld input:hover, .feld select:hover, .feld textarea:hover { border-color: var(--oliv-zart); }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible {
  outline: none; border-color: var(--oliv-tief);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--oliv) 30%, transparent);
}
.feld [aria-invalid="true"] { border-color: var(--fehler) !important; }
.feld__fehler { color: var(--fehler); font-size: 0.875rem; font-weight: 600; }
.feld__hinweis { font-size: 0.875rem; color: var(--braun-tinte); min-height: 0; }
.feld__hinweis:empty { display: none; }
.feld input[type="file"] { font: inherit; font-size: 0.9375rem; padding: 0.6rem 0; }
.feld input[type="file"]::file-selector-button {
  font: 600 0.9375rem var(--f-text); margin-right: 1rem;
  padding: 0.6rem 1rem; border: 1px solid var(--oliv-tief); border-radius: var(--radius);
  background: transparent; color: var(--oliv-tief); cursor: pointer;
}

.wahl { display: flex; border: 1px solid var(--linie); border-radius: var(--radius); background: #fff; overflow: hidden; }
.wahl label { flex: 1; position: relative; font-weight: 400; }
.wahl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wahl span {
  display: flex; align-items: center; justify-content: center; min-height: 3rem;
  padding: 0.5rem; font-size: 0.9375rem; text-align: center;
  border-left: 1px solid var(--linie);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.wahl label:first-child span { border-left: 0; }
.wahl input:checked + span { background: var(--oliv-tief); color: var(--hell); font-weight: 600; }
.wahl input:focus-visible + span { outline: 2px solid var(--oliv-tief); outline-offset: -4px; }

.feld--check label { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 400; font-size: 0.9375rem; color: var(--tinte-weich); line-height: 1.5; }
.feld--check input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; flex: none; }

.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.formular__ende { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.formular__info { font-size: 0.9375rem; color: var(--tinte-weich); }
.formular__info a { color: var(--oliv-tief); font-weight: 600; white-space: nowrap; }

@media (max-width: 40rem) {
  .formular__raster { grid-template-columns: 1fr; }
  .formular__ende .knopf { width: 100%; }
}

.meldung {
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2rem);
  margin-bottom: 1.5rem;
}
.meldung:focus { outline: none; }
.meldung--fehler { background: #f6e3dc; color: #5e1d14; border: 1px solid #e4b9ab; }
.meldung--fehler ul { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.meldung--fehler a { color: inherit; }
.meldung--ok { text-align: center; background: var(--papier-hell); border: 1px solid var(--linie); padding-block: clamp(2.5rem, 7vw, 4rem); }
.meldung--ok h2 { font-family: var(--f-titel); font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); color: var(--oliv-tief); margin-top: 1rem; }
.meldung--ok p { max-width: 44ch; margin: 1rem auto 0; color: var(--tinte-weich); }
.meldung--ok .knopf { margin-top: 1rem; }
.meldung__icon { width: 1.7rem; height: 3.3rem; margin: 0 auto; color: var(--oliv); }

/* ---------- Jobs-Band (Start) ---------- */

.jobs-band { background: var(--papier-tief); padding: clamp(3.5rem, 8vw, 5.5rem) var(--rand); }
.jobs-band__inner {
  max-width: var(--breite); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 2rem 4rem; align-items: center;
}
.jobs-band__liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--oliv-tief); }
.jobs-band__liste a {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 0.25rem;
  border-bottom: 1px solid var(--linie);
  text-decoration: none; font-size: 1.125rem; font-weight: 600; color: var(--oliv-tief);
  transition: background-color 0.3s var(--ease);
}
.jobs-band__liste a .icon { transition: transform 0.3s var(--ease); }
.jobs-band__liste a:hover { background: var(--papier-hell); }
.jobs-band__liste a:hover .icon { transform: translateX(4px); }
.jobs-band__liste small { font-weight: 400; color: var(--tinte-weich); font-size: 0.8em; }
.jobs-band__art { margin-left: auto; font-weight: 400; font-size: 0.9375rem; color: var(--braun-tinte); }

@media (max-width: 52rem) { .jobs-band__inner { grid-template-columns: 1fr; } }

/* ---------- Unterseiten ---------- */

.unterkopf {
  position: relative; isolation: isolate;
  background: var(--oliv-tief); color: var(--hell);
  padding: clamp(3rem, 8vw, 5.5rem) var(--rand) clamp(2.75rem, 7vw, 4.5rem);
  text-align: center; overflow: hidden;
}
.unterkopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--oliv-tief) url("../img/oliven-muster-beige.jpg") center / cover no-repeat;
}
.unterkopf__inner { max-width: 48rem; margin: 0 auto; }
.unterkopf h1 { font-family: var(--f-titel); font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); line-height: 1; }
.unterkopf p { margin: 1rem auto 0; max-width: 46ch; color: var(--hell-gedaempft); font-weight: 300; font-size: 1.125em; }

.fliesstext > * + * { margin-top: 1rem; }
.fliesstext ul { padding-left: 1.2rem; }
.fliesstext li + li { margin-top: 0.35rem; }

.rechtstext { padding: clamp(3rem, 7vw, 5rem) var(--rand) var(--abschnitt); }
.rechtstext__inner { max-width: 44rem; margin: 0 auto; overflow-wrap: anywhere; }
.rechtstext h2 { font-family: var(--f-titel); color: var(--oliv-tief); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); line-height: 1.1; margin-top: 3rem; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext h3 { font-weight: 600; font-size: 1.125rem; margin-top: 2rem; }
.rechtstext h4 { font-weight: 600; font-size: 1rem; margin-top: 1.5rem; }
.rechtstext p, .rechtstext li { color: var(--tinte-weich); }
.rechtstext a { color: var(--oliv-tief); }
.klein { font-size: 0.875rem; }
.weiter { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; justify-items: start; }

.eventliste, .stellen { padding: clamp(3rem, 7vw, 5rem) var(--rand) var(--abschnitt); }
.eventliste__inner { max-width: 62rem; margin: 0 auto; display: grid; gap: clamp(3rem, 7vw, 5rem); }
.eventkarte {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(1.75rem, 5vw, 4rem); align-items: start;
  padding-bottom: clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--linie);
}
.eventkarte:last-child { border-bottom: 0; padding-bottom: 0; }
.eventkarte__flyer {
  display: block; background: #fff; padding: 0.5rem; border: 1px solid var(--linie); border-radius: var(--radius);
  box-shadow: 0 20px 40px -26px rgb(54 58 20 / 0.5);
}
.eventkarte .event__datum { color: var(--braun-tinte); }
.eventkarte h2 { font-family: var(--f-titel); color: var(--oliv-tief); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.02; margin: 0; }
.eventkarte .event__datum { margin-bottom: 1.25rem; }
.eventkarte .fliesstext { color: var(--tinte-weich); }
.eventkarte__ort { display: flex; gap: 0.5rem; align-items: center; margin: 1.5rem 0; font-size: 0.9375rem; color: var(--tinte-weich); }
.eventkarte__ort .icon { color: var(--oliv); }
@media (max-width: 44rem) {
  .eventkarte { grid-template-columns: 1fr; }
  .eventkarte__flyer { max-width: 22rem; }
}

.leer { text-align: center; max-width: 34rem; margin: 0 auto; padding: 2rem 0; }
.leer__icon { width: 1.7rem; height: 3.3rem; margin: 0 auto 1rem; color: var(--oliv); }
.leer h2 { font-family: var(--f-titel); color: var(--oliv-tief); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); line-height: 1.05; }
.leer p { margin: 1rem 0 1.75rem; color: var(--tinte-weich); }

.stellen__inner { max-width: 50rem; margin: 0 auto; }
.stellen__liste { display: grid; gap: 0; margin-bottom: clamp(3.5rem, 8vw, 5rem); }
.stellen__liste .kartentitel { margin-bottom: 2rem; }
.stelle { padding: 1.75rem 0; border-top: 1px solid var(--linie); }
.stelle:last-child { border-bottom: 1px solid var(--linie); }
.stelle__kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; }
.stelle h3 { font-family: var(--f-titel); color: var(--oliv-tief); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem); line-height: 1.05; }
.stelle h3 span { font-family: var(--f-text); font-size: 0.45em; color: var(--tinte-weich); }
.stelle__art { font-weight: 600; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--braun-tinte); }
.stelle .fliesstext { margin-top: 1rem; color: var(--tinte-weich); }
.stelle .textlink { margin-top: 1.25rem; }
.bewerben .titel { text-align: center; margin-bottom: 2rem; }

/* ---------- Fuß ---------- */

.fuss { background: var(--oliv-nacht); color: var(--hell); }
.fuss__inner {
  max-width: var(--breite); margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--rand) clamp(2.5rem, 6vw, 4rem);
  display: grid; grid-template-columns: minmax(0, 4.4fr) repeat(3, minmax(0, 3fr));
  gap: 2.5rem clamp(1.5rem, 4vw, 3.5rem);
}
.fuss__marke > img { width: 100%; max-width: 11rem; }
.vsb {
  display: flex; align-items: center; gap: 0.9rem;
  margin-top: 1.75rem; padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--hell) 15%, transparent);
  color: var(--hell-gedaempft); text-decoration: none;
  font-size: 0.8125rem; line-height: 1.4;
}
.vsb img { width: auto; height: 2.6rem; flex: none; opacity: 0.85; transition: opacity 0.2s var(--ease); }
.vsb strong { font-weight: 400; color: var(--hell); }
.vsb:hover img { opacity: 1; }
.vsb:hover strong { text-decoration: underline; text-decoration-color: var(--oliv-zart); }
.fuss h2 {
  font-family: var(--f-titel); font-size: 1.5rem; line-height: 1;
  color: var(--hell); margin-bottom: 1.1rem;
}
.fuss address { font-style: normal; color: var(--hell-gedaempft); margin-bottom: 0.9rem; }
.fuss__spalte { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; font-size: 0.9375rem; }
.fuss__link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--hell); text-decoration: none; padding: 0.2rem 0;
  overflow-wrap: anywhere;
}
.fuss__link .icon { color: var(--oliv-zart); }
.fuss__link:hover { text-decoration: underline; text-decoration-color: var(--oliv-zart); }
.fuss__zeiten { margin: 0; width: 100%; max-width: 17rem; font-variant-numeric: tabular-nums; }
.fuss__zeiten div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; color: var(--hell-gedaempft); }
.fuss__zeiten dd { margin: 0; }
.fuss__zeiten .ist-heute { color: var(--hell); font-weight: 600; }
.fuss__leiste {
  max-width: var(--breite); margin: 0 auto;
  padding: 1.25rem var(--rand) calc(1.25rem + env(safe-area-inset-bottom));
  border-top: 1px solid color-mix(in srgb, var(--hell) 15%, transparent);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
  font-size: 0.875rem; color: var(--hell-gedaempft);
}
.fuss__leiste a { color: var(--hell); margin-left: 1.25rem; }
.fuss__leiste a:first-child { margin-left: 0; }

@media (max-width: 60rem) {
  .fuss__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 34rem) {
  .fuss__inner { grid-template-columns: 1fr; }
  .fuss__marke img { max-width: 9rem; }
}

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

@media print {
  .kopf, .fuss, .banner, .auftakt__knoepfe, .formular { display: none; }
  body { background: #fff; }
}
