/* Zauberer Jonas Pan
   Farben: Papier, Tinte, Vorhangrot. Muster: das Karo vom Sakko.
   Schrift: Jost, passend zum Schriftzug im JP-Logo. */

/* Schriften liegen lokal im Ordner "schriften" (keine Verbindung zu Google).
   Jost und Instrument Serif stehen unter der SIL Open Font License. */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../schriften/jost.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(../schriften/instrument-serif-kursiv.woff2) format("woff2"); }

:root {
  --papier: #f5efe4;
  --papier-2: #ebe2d1;
  --weiss: #fffdf8;
  --tinte: #1c1815;
  --tinte-2: #50473f;
  --rot: #b8241b;
  --rot-dunkel: #8f1a13;
  --nacht: #15110f;
  --linie: rgba(28, 24, 21, .16);
  --schrift: "Jost", "Century Gothic", "Futura", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --breite: 1160px;
  --rand: clamp(20px, 5vw, 48px);
  --karo:
    linear-gradient(90deg, rgba(28, 24, 21, .5) 50%, transparent 50%),
    linear-gradient(rgba(28, 24, 21, .5) 50%, transparent 50%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
main { overflow-x: clip; }
/* Das JP-Logo liegt fest im Hintergrund der ganzen Seite und bleibt beim Scrollen stehen.
   Es scheint überall dort durch, wo ein Abschnitt keinen eigenen Hintergrund hat. */
body::before {
  content: ""; position: fixed; z-index: -1; pointer-events: none;
  right: -4vw; top: 50%; height: min(92vh, 900px); aspect-ratio: 468 / 524;
  transform: translateY(-46%) rotate(6deg);
  background: url(../bilder/logo-jp.png) center / contain no-repeat; opacity: .055;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--schrift); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
p { margin: 0 0 1em; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }

.rahmen { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tinte); color: var(--papier); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  font: 500 1rem/1 var(--schrift); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  padding: 18px 28px; border: 0; border-radius: 2px; background: var(--rot); color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.knopf:hover { background: var(--tinte); transform: rotate(-1.5deg); }
.knopf--klein { padding: 13px 18px; font-size: .875rem; }
.textlink { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-color: var(--rot); }
.textlink:hover { color: var(--rot); }

/* Logo als Bilddateien (schwarz und weiß), damit es auch beim direkten Öffnen der Datei erscheint */
.marke__logo, .auftakt__logo, .fuss__logo {
  display: block; background: url(../bilder/logo-jp.png) center / contain no-repeat;
}

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--papier); border-bottom: 1px solid transparent; transition: border-color .2s; }
.kopf.ist-gescrollt { border-color: var(--linie); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.marke { display: flex; align-items: flex-end; gap: 6px; text-decoration: none; }
.marke__logo { width: 44px; height: 49px; }
.marke__text { font-size: 1.1875rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; line-height: 1.05; padding-bottom: 1px; }
.marke__text small { display: block; font-size: .75rem; letter-spacing: .2em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.knopf) { text-decoration: none; font-size: 1rem; padding: 6px 0; background: linear-gradient(var(--rot), var(--rot)) left bottom / 0 1.5px no-repeat; transition: background-size .2s ease; }
.nav a:not(.knopf):hover { background-size: 100% 1.5px; }
.menueknopf { display: none; }

/* ---------- Auftakt: das Foto mit Logo wie auf der Visitenkarte ---------- */
.auftakt { padding: 14px 0 clamp(64px, 9vw, 120px); }
.auftakt__foto { position: relative; transform: rotate(-.8deg); }
.auftakt__foto::before {
  content: ""; position: absolute; inset: 9% -1.8% -6.5% 40%; transform: rotate(1.8deg); border-radius: 3px;
  background: var(--karo) var(--weiss); background-size: 14px 14px;
}
.auftakt__foto img { position: relative; width: 100%; aspect-ratio: 1.9 / 1; object-fit: cover; object-position: 50% 20%; border-radius: 3px; }
.auftakt__logo {
  position: absolute; right: 4.5%; top: 11%; width: 31%; aspect-ratio: 1000 / 655; color: #fff;
  background-image: url(../bilder/logo-voll-weiss.png);
}
.auftakt__text { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(56px, 6vw, 84px); }
.auftakt h1 { font-size: clamp(2.7rem, 6.6vw, 5.4rem); line-height: 1; letter-spacing: -.025em; }
.auftakt h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--rot); font-size: 1.1em; letter-spacing: 0; }
.auftakt__seite { padding: 6px 0 8px; }
.auftakt__seite > p:not(.ohne) { color: var(--tinte-2); margin-bottom: 22px; }
.ohne { font-size: 1.125rem; font-weight: 500; line-height: 1.2; margin: 0 0 18px; min-height: 7.6em; }
.ohne__wort, .dafuer b { display: inline-block; position: relative; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2.5em; line-height: 1.05; padding: 0 .06em; }
.ohne__wort { transition: opacity .25s ease, transform .25s ease; }
.ohne__wort::after { content: ""; position: absolute; left: -4px; right: -4px; top: 56%; height: 4px; background: var(--rot); transform: scaleX(0) rotate(-3deg); transform-origin: left; transition: transform .4s ease; }
.ohne__wort.ist-gestrichen::after { transform: scaleX(1) rotate(-3deg); }
.ohne__wort.ist-weg { opacity: 0; transform: translateY(10px) rotate(3deg); }
.ohne__wort.ist-weg::after { transition: none; }
.dafuer { display: block; margin-top: 10px; opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .9, .25, 1.3); }
.dafuer b { color: var(--rot); }
.dafuer.ist-da { opacity: 1; transform: none; }

/* Auftritt des Fotos beim Laden */
.js .auftakt__foto { animation: hereinfallen 1s cubic-bezier(.2, .9, .25, 1.12) both; }
.js .auftakt__logo { animation: logo-erscheint .9s ease .7s both; }
@keyframes hereinfallen { from { opacity: 0; transform: translateY(-36px) rotate(-5deg); } to { opacity: 1; transform: rotate(-.8deg); } }
@keyframes logo-erscheint { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- Bilder fliegen herein und wackeln beim Überfahren ---------- */
.flieg { transform: rotate(var(--dreh, 0deg)); }
.js .flieg { opacity: 0; transform: translateX(var(--von, -100px)) rotate(calc(var(--dreh, 0deg) * 5)); transition: opacity .6s ease, transform 1s cubic-bezier(.2, .9, .25, 1.15); }
.js .flieg.ist-da { opacity: 1; transform: rotate(var(--dreh, 0deg)); }
.flieg:hover > img, .pokale li:hover img { animation: wackeln .55s ease; }
@keyframes wackeln {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-2.2deg); }
  45% { transform: rotate(1.8deg); }
  70% { transform: rotate(-1deg); }
}

/* ---------- Angebot: drei Auftritte, bewusst ungleich gesetzt ---------- */
.angebot { padding: 0 0 clamp(64px, 9vw, 120px); }
.angebot h2 { margin-bottom: clamp(36px, 5vw, 64px); }
.akt { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.4vw, 32px); align-items: center; }
.akt + .akt { margin-top: 40px; }
.akt__bild img { width: 100%; object-fit: cover; border-radius: 3px; }
.akt__text h3 { font-size: clamp(2rem, 4.2vw, 3.3rem); margin-bottom: 14px; }
.akt__text p { color: var(--tinte-2); max-width: 27em; }
.akt__klein { font: italic 1.375rem/1.25 var(--serif); color: var(--tinte) !important; margin: 0; }

.akt--1 .akt__bild { grid-column: 1 / 8; }
.akt--1 .akt__bild img { aspect-ratio: 3 / 2; object-position: 60% 40%; }
.akt--1 .akt__text { grid-column: 8 / 13; }

.akt--2 .akt__bild { grid-column: 7 / 12; grid-row: 1; }
.akt--2 .akt__bild img { aspect-ratio: 4 / 3; object-position: 50% 20%; }
.akt--2 .akt__text { grid-column: 2 / 7; grid-row: 1; }
.akt--2 { margin-top: -28px !important; }

.akt--3 .akt__bild { grid-column: 2 / 6; position: relative; }
.akt--3 .akt__bild::before { content: ""; position: absolute; inset: 8% -7% -6% 10%; transform: rotate(4deg); border-radius: 3px; background: var(--karo) var(--weiss); background-size: 14px 14px; }
.akt--3 .akt__bild img { position: relative; aspect-ratio: 1 / 1; object-position: 22% 30%; }
.akt--3 .akt__text { grid-column: 7 / 13; }
.akt--3 { margin-top: 12px !important; }

.anlaesse { margin: clamp(56px, 8vw, 110px) 0 0; font-size: clamp(1.5rem, 3.1vw, 2.5rem); line-height: 1.22; letter-spacing: -.01em; max-width: 21em; }
.anlaesse em { font-family: var(--serif); font-style: italic; color: var(--rot); font-size: 1.08em; white-space: nowrap; }

/* ---------- Motto ---------- */
.motto { position: relative; isolation: isolate; background: var(--nacht); color: var(--papier); padding: clamp(88px, 13vw, 180px) 0; overflow: hidden; }
.motto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; z-index: -2; }
.motto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21, 17, 15, .9) 0%, rgba(21, 17, 15, .7) 45%, rgba(21, 17, 15, .15) 100%); }
.motto blockquote { margin: 0; font: italic clamp(2.2rem, 5.4vw, 4.4rem)/1.06 var(--serif); max-width: 12em; }

/* ---------- Stimmen: Zettel mit Karo-Kante ---------- */
.stimmen { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); }
.stimmen__kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(30px, 4vw, 48px); }
.bewertungen { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 0; padding: 0; list-style: none; }
.bewertungen a { display: block; text-decoration: none; }
.bewertungen b { display: block; font-weight: 500; font-size: 1.25rem; }
.bewertungen span { color: var(--rot); letter-spacing: .14em; margin-right: 8px; }
.bewertungen small { font-size: 1rem; color: var(--tinte-2); }
.bewertungen a:hover b { text-decoration: underline; text-decoration-color: var(--rot); text-underline-offset: 5px; }

/* Laufband mit den Stimmen; hält an, wenn man mit der Maus darauf zeigt */
.band { overflow: hidden; padding: 16px 0 36px; }
.band__satz { display: flex; align-items: flex-start; gap: 30px; }
.band__spur { display: flex; align-items: flex-start; gap: 30px; width: max-content; animation: band-laeuft 70s linear infinite; }
.band:hover .band__spur, .band:focus-within .band__spur { animation-play-state: paused; }
@keyframes band-laeuft { to { transform: translateX(calc(-50% - 15px)); } }
.zettel { flex: none; width: min(360px, 78vw); background: var(--weiss); padding: 38px 26px 22px; position: relative; box-shadow: 0 1px 0 var(--linie), 0 14px 30px -18px rgba(28, 24, 21, .35); transform: rotate(-1.2deg); }
.zettel:nth-child(2n) { transform: rotate(1deg); margin-top: 22px; }
.zettel:nth-child(3n) { transform: rotate(-.5deg); margin-top: 10px; }
.zettel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--karo) var(--weiss); background-size: 14px 14px; }
.zettel blockquote { margin: 0 0 16px; font: italic clamp(1.4rem, 2.1vw, 1.75rem)/1.2 var(--serif); }
.zettel blockquote::before { content: "„"; }
.zettel blockquote::after { content: "“"; }
.zettel figcaption { font-size: .9375rem; color: var(--tinte-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; }
.zettel figcaption span { color: var(--rot); }
@media (prefers-reduced-motion: reduce) { .band { overflow-x: auto; } }

/* ---------- Über mich, mit großem JP im Hintergrund ---------- */
.ueber { padding: clamp(64px, 9vw, 130px) 0; }
.ueber__raster { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.ueber__bild { position: relative; max-width: 400px; }
.ueber__bild::before { content: ""; position: absolute; inset: 7% 9% -5% -7%; transform: rotate(4.5deg); border-radius: 3px; background: var(--karo) var(--weiss); background-size: 14px 14px; }
.ueber__bild img { position: relative; aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: 66% 30%; border-radius: 3px; }
.ueber__text h2 { margin-bottom: 24px; }
.ueber__text p { color: var(--tinte-2); max-width: 33em; }
.preise { margin-top: 34px; padding-top: 26px; border-top: 1.5px solid var(--tinte); }
.preise h3 { font-size: .8125rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--rot); margin-bottom: 12px; }
.pokale { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 22px; }
.pokale li { transform-origin: 50% 100%; }
.pokale img { width: 74px; height: 74px; object-fit: contain; mix-blend-mode: multiply; transform-origin: 50% 100%; animation: pendeln 3.4s ease-in-out infinite alternate; }
.pokale li:nth-child(2) img { animation-duration: 2.8s; animation-delay: -.9s; }
.pokale li:nth-child(3) img { animation-duration: 3.9s; animation-delay: -1.7s; }
.pokale li:nth-child(4) img { animation-duration: 3.1s; animation-delay: -.4s; }
.pokale li:nth-child(5) img { animation-duration: 3.6s; animation-delay: -2.2s; }
/* Die Pokale purzeln nacheinander ins Bild und pendeln dann leicht */
.js .pokale li { opacity: 0; }
.js .pokale.ist-da li { animation: purzeln .8s cubic-bezier(.2, .9, .3, 1.35) both; }
.js .pokale.ist-da li:nth-child(2) { animation-delay: .12s; }
.js .pokale.ist-da li:nth-child(3) { animation-delay: .24s; }
.js .pokale.ist-da li:nth-child(4) { animation-delay: .36s; }
.js .pokale.ist-da li:nth-child(5) { animation-delay: .48s; }
@keyframes purzeln { from { opacity: 0; transform: translateY(-70px) rotate(-35deg) scale(.5); } to { opacity: 1; transform: none; } }
@keyframes pendeln { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }

/* ---------- Fragen: offen lesbar wie ein Interview ---------- */
.fragen { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 120px); }
.fragen__raster { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.fragen__liste { border-top: 1.5px solid var(--tinte); }
details { border-bottom: 1px solid var(--linie); }
summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font: italic clamp(1.5rem, 2.4vw, 1.9rem)/1.15 var(--serif); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.75rem/1 var(--schrift); color: var(--rot); transition: transform .25s ease; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
summary:hover { color: var(--rot); }
details p { color: var(--tinte-2); padding: 0 44px 22px 0; margin: 0; max-width: 36em; }

/* ---------- Kontakt: das Gegenlicht-Foto in voller Größe, daneben die Anfrage zum Durchklicken ---------- */
.kontakt { position: relative; isolation: isolate; background: #000; color: var(--papier); padding: clamp(56px, 7vw, 96px) 0; overflow: hidden; }
.kontakt__bild { position: absolute; z-index: -1; top: 0; left: max(-90px, calc(50% - 850px)); height: min(100%, 780px); width: auto; max-width: none; -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
.kontakt__raster { display: grid; grid-template-columns: 1fr minmax(0, 470px); gap: clamp(32px, 6vw, 80px); align-items: stretch; min-height: min(720px, 78vh); }
.kontakt__text { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; text-shadow: 0 1px 18px rgba(0, 0, 0, .9); }
.kontakt h2 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
.kontakt__unten p { max-width: 22em; margin-bottom: 18px; }
.kontakt__direkt { display: flex; flex-direction: column; gap: 2px; margin: 0 !important; }
.kontakt__direkt span { font-size: 1rem; color: rgba(245, 239, 228, .75); }
.kontakt__direkt a { font-size: clamp(1.375rem, 2.4vw, 1.75rem); text-decoration: none; width: fit-content; border-bottom: 1.5px solid var(--rot); color: var(--papier); }
.kontakt__direkt a:hover { color: #ff8f85; }

.formular { align-self: center; background: var(--weiss); color: var(--tinte); border-radius: 2px; padding: clamp(40px, 4.4vw, 56px) clamp(24px, 3.4vw, 44px) clamp(26px, 3.4vw, 40px); position: relative; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
/* Karo nur als schmale Kante oben, wie bei den Kundenstimmen */
.formular::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--karo) var(--weiss); background-size: 14px 14px; }
.formular__stand { display: none; gap: 8px; margin-bottom: 30px; }
.formular__stand span { flex: 1; height: 2px; background: var(--linie); transition: background .4s ease; }
.formular__stand span.ist-an { background: var(--rot); }
.schritt { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.schritt legend { padding: 0; margin-bottom: 24px; font: italic clamp(2rem, 3vw, 2.5rem)/1.08 var(--serif); }
.schritt .feld + .feld, .schritt .auswahl + .feld { margin-top: 20px; }
.formular__frage { font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--tinte-2); margin: 26px 0 10px; }
.auswahl { display: flex; flex-wrap: wrap; gap: 10px; }
.auswahl label { cursor: pointer; position: relative; }
.auswahl input { position: absolute; opacity: 0; inset: 0; }
.auswahl span { display: block; padding: 12px 18px; border: 1px solid var(--tinte); border-radius: 100px; background: transparent; transition: background .2s, color .2s, border-color .2s; }
.auswahl label:hover span { border-color: var(--rot); color: var(--rot); }
.auswahl input:checked + span { background: var(--tinte); border-color: var(--tinte); color: var(--papier); }
.auswahl input:focus-visible + span { outline: 3px solid var(--rot); outline-offset: 2px; }
.feld { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.feld--falle { position: absolute; left: -9999px; }
.feld label { font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--tinte-2); }
.feld small { font-weight: 400; letter-spacing: 0; text-transform: none; font-size: .9375rem; }
/* Felder als schlichte Linien */
.feld input:not([type=checkbox]), .feld textarea {
  font: inherit; font-size: 1.1875rem; color: inherit; width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--tinte); border-radius: 0; padding: 8px 0 9px; min-height: 46px;
}
.feld textarea { resize: vertical; min-height: 46px; }
.feld input:focus, .feld textarea:focus { outline: 0; border-bottom-color: var(--rot); box-shadow: 0 1px 0 var(--rot); }
.feld .ist-falsch { border-bottom-color: var(--rot); box-shadow: 0 1px 0 var(--rot); }
.zustimmung { flex-direction: row; align-items: flex-start; gap: 12px; margin-top: 22px; cursor: pointer; }
.zustimmung span { font-size: .9375rem; line-height: 1.45; color: var(--tinte-2); }
.zustimmung input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--rot); }
.zustimmung input.ist-falsch { outline: 2px solid var(--rot); outline-offset: 2px; }
.formular__fuss { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.formular__fuss .knopf { margin-left: auto; }
.formular__zurueck { background: none; border: 0; padding: 8px 0; font: inherit; font-weight: 500; cursor: pointer; color: inherit; }
.formular__meldung { margin: 14px 0 0; font-weight: 500; }
.formular__meldung:empty { display: none; }
.formular__meldung.ist-fehler { color: var(--rot-dunkel); }
.formular__dankegross { font: italic 2.6rem/1 var(--serif); color: var(--rot); margin-bottom: 12px; }
[hidden] { display: none !important; }

/* Mit JavaScript: immer nur eine Frage zeigen */
.ist-schrittweise .formular__stand { display: flex; }
.ist-schrittweise .schritt { margin-bottom: 26px; animation: schritt-rein .45s cubic-bezier(.2, .9, .25, 1.1); }
@keyframes schritt-rein { from { opacity: 0; transform: translateX(26px) rotate(1deg); } to { opacity: 1; transform: none; } }


/* ---------- Fuß mit großem Logo ---------- */
.fuss { background: var(--nacht); color: rgba(245, 239, 228, .75); border-top: 1px solid rgba(245, 239, 228, .15); padding: clamp(48px, 7vw, 80px) 0 36px; font-size: 1rem; text-align: center; }
.fuss__innen { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.fuss p { margin: 0; }
.fuss__logo { width: min(340px, 72vw); aspect-ratio: 1000 / 655; background-image: url(../bilder/logo-voll-weiss.png); opacity: .92; }
.fuss__links { display: flex; gap: 26px; }
.fuss a:hover { color: #fff; }

/* Rechtsseiten */
.recht { padding: clamp(48px, 8vw, 96px) 0; }
.recht .rahmen { max-width: 820px; }
.recht h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 32px; }
.recht h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.recht .hinweis { border: 1.5px dashed var(--rot); border-radius: 3px; padding: 16px 18px; background: var(--weiss); margin-bottom: 32px; }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 900px) {
  .nav { position: fixed; inset: 78px 0 auto 0; background: var(--papier); border-bottom: 1px solid var(--tinte); flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--rand) 24px; transform: translateY(-10px); opacity: 0; visibility: hidden; transition: transform .2s ease, opacity .2s ease, visibility .2s; }
  .nav.ist-offen { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.knopf) { padding: 16px 0; border-bottom: 1px solid var(--linie); font-size: 1.25rem; background: none; }
  .nav .knopf { margin-top: 20px; padding: 17px; font-size: 1rem; }
  .menueknopf { display: grid; gap: 7px; width: 48px; height: 48px; place-content: center; background: none; border: 0; cursor: pointer; }
  .menueknopf span:not(.sr) { width: 26px; height: 1.5px; background: var(--tinte); transition: transform .25s ease; }
  .menueknopf[aria-expanded=true] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
  .menueknopf[aria-expanded=true] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

  .auftakt__text, .ueber__raster, .kontakt__raster { grid-template-columns: 1fr; }
  .auftakt__text { gap: 0; margin-top: 44px; }
  .auftakt__seite { padding-top: 22px; }
  .ohne { min-height: 6.6em; margin-bottom: 14px; }
  .ohne__wort, .dafuer b { font-size: 2.1em; }

  .akt { display: block; margin-top: 0 !important; }
  .akt + .akt { margin-top: 56px !important; }
  .akt__bild { margin-bottom: 22px; max-width: 520px; }
  .akt--2 .akt__bild { margin-left: auto; width: 84%; }
  .akt--3 .akt__bild { width: 68%; }

  .fragen__raster { grid-template-columns: 1fr; }
  .ueber__bild { max-width: 300px; margin-left: 7%; }
  .kontakt__bild { position: static; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; margin-bottom: 8px; max-width: 100%; -webkit-mask-image: none; mask-image: none; }
  .kontakt { padding-top: 0; }
  .kontakt__raster { min-height: 0; }
  .kontakt__text { gap: 18px; text-shadow: none; }
  .motto::before { background: rgba(21, 17, 15, .72); }
}
@media (max-width: 620px) {
  body { font-size: 1.0625rem; }
  .auftakt__foto img { aspect-ratio: 4 / 5; object-position: 44% 30%; }
  .auftakt__foto::before { inset: 8% -3% -3% 12%; }
  /* Auf dem Handy nur das JP-Zeichen, der Schriftzug steht schon im Kopf */
  .auftakt__logo { width: 24%; aspect-ratio: 468 / 524; right: 5%; top: 5%; background-image: url(../bilder/logo-jp-weiss.png); }
  .formular { box-shadow: none; }
  .pokale { gap: 8px 12px; }
  .pokale img { width: 54px; height: 54px; }
  .anlaesse em { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .flieg { opacity: 1; transform: rotate(var(--dreh, 0deg)); }
}
.recht__stand { margin-top: 40px; color: var(--tinte-2); font-size: 1rem; }

/* ---------- Anfrage: Ortssuche, Kalender, Zusammenfassung ---------- */
.formular__hinweis { margin: 14px 0 0; font-size: .9375rem; line-height: 1.45; color: var(--tinte-2); }
.formular__auswahl { margin: -8px 0 18px; font-size: .9375rem; color: var(--rot); min-height: 1.4em; }
.formular__auswahl:empty { display: none; }

.ortsuche { position: relative; }
.ortsuche__liste { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 6px 0; list-style: none; background: var(--weiss); border: 1px solid var(--tinte); border-radius: 2px; box-shadow: 0 18px 30px -18px rgba(28, 24, 21, .45); max-height: 320px; overflow-y: auto; }
.ortsuche__liste li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 14px; cursor: pointer; }
.ortsuche__liste li b { font-weight: 500; }
.ortsuche__liste li span { font-size: .875rem; color: var(--tinte-2); white-space: nowrap; }
.ortsuche__liste li[aria-selected=true], .ortsuche__liste li:hover { background: var(--papier); }
.ortsuche__liste li[aria-selected=true] b { color: var(--rot); }

.kalender { user-select: none; }
.kalender__kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.kalender__monat { margin: 0; font: italic 1.5rem/1 var(--serif); }
.kalender__pfeil { width: 40px; height: 40px; border: 1px solid var(--tinte); border-radius: 50%; background: transparent; font: 400 1.4rem/1 var(--schrift); color: var(--tinte); cursor: pointer; transition: background .2s, color .2s; }
.kalender__pfeil:hover:not(:disabled) { background: var(--tinte); color: var(--papier); }
.kalender__pfeil:disabled { opacity: .25; cursor: default; }
.kalender__tage, .kalender__raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.kalender__tage span { text-align: center; font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--tinte-2); padding: 6px 0; }
.kalender__tag { aspect-ratio: 1; min-height: 38px; border: 0; border-radius: 50%; background: transparent; font: 400 1rem/1 var(--schrift); color: var(--tinte); cursor: pointer; transition: background .15s, color .15s; }
.kalender__tag.ist-wochenende { font-weight: 600; }
.kalender__tag.ist-heute { box-shadow: inset 0 0 0 1px var(--linie); }
.kalender__tag:hover:not(:disabled) { background: var(--papier-2); }
.kalender__tag:disabled { color: rgba(28, 24, 21, .25); cursor: default; }
.kalender__tag.ist-gewaehlt { background: var(--rot); color: #fff; }
.kalender__offen { margin-top: 16px; padding: 10px 18px; border: 1px solid var(--tinte); border-radius: 100px; background: transparent; font: inherit; font-size: 1rem; color: var(--tinte); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.kalender__offen:hover { border-color: var(--rot); color: var(--rot); }
.kalender__offen.ist-gewaehlt { background: var(--tinte); border-color: var(--tinte); color: var(--papier); }
.feld label.feld__frage { font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--tinte); }
@media (max-width: 620px) { body::before { height: 62vh; right: -26vw; } }
