/* AndySauerwein.de – Design. Farben hier oben ändern. */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-bold.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-italic.woff") format("woff"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin.woff") format("woff"); font-weight: 100 900; font-display: swap; }

:root {
  --papier: #f3ece0;       /* Hintergrund, warmes Papier */
  --papier-dunkel: #e8dece;
  --tinte: #1f1a17;        /* Text */
  --tinte-leise: #5d544c;
  --rot: #c4362b;          /* Bühnenvorhang-Rot */
  --rot-dunkel: #9e2a21;
  --gelb: #f2b632;         /* Scheinwerfer */
  --linie: #d6cab6;
  --kopf: "Fraunces", Georgia, serif;
  --text: "Archivo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--papier); color: var(--tinte); font-family: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot); }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
h1, h2, h3 { font-family: var(--kopf); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(38px, 5.5vw, 64px); margin-bottom: 28px; }
.dachzeile { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--rot); margin: 0 0 14px; }
.dachzeile-hell { color: var(--gelb); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--text); transition: transform .15s ease, background .15s ease; }
.knopf:hover { transform: translateY(-1px); }
.knopf-rot { background: var(--rot); color: #fff; }
.knopf-rot:hover { background: var(--rot-dunkel); color: #fff; }
.knopf-gelb { background: var(--gelb); color: var(--tinte); }
.knopf-dunkel { background: var(--tinte); color: var(--papier); }
.knopf-hell { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.knopf-rand { background: transparent; color: var(--tinte); border-color: var(--tinte); }
.knoepfe { display: flex; gap: 12px; flex-wrap: wrap; }

/* Kopfzeile */
.kopf { position: sticky; top: 0; z-index: 10; background: rgba(243,236,224,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.marke { font-family: var(--kopf); font-weight: 800; font-size: 24px; color: var(--tinte); text-decoration: none; }
.menue { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.menue a:not(.knopf) { color: var(--tinte); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; }
.menue a:not(.knopf):hover { color: var(--rot); }
.menue .knopf { padding: 9px 18px; font-size: 15px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(64px, 10vw, 132px); line-height: .9; margin-bottom: 24px; }
.einleitung { font-family: var(--kopf); font-style: italic; font-weight: 500; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; color: var(--tinte-leise); max-width: 30ch; margin: 0 0 28px; }
.hero-bild { margin: 0; position: relative; max-width: 460px; justify-self: end; }
.hero-bild img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; box-shadow: 18px 18px 0 var(--rot); }
.hero-bild figcaption { font-size: 12px; color: var(--tinte-leise); margin-top: 28px; text-align: right; }
.naechster { display: grid; gap: 2px; background: #fff; border-left: 5px solid var(--gelb); padding: 16px 20px; margin-bottom: 24px; max-width: 460px; box-shadow: 0 2px 0 var(--linie); }
.naechster .klein-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--tinte-leise); font-weight: 700; }
.naechster strong { font-family: var(--kopf); font-size: 24px; line-height: 1.15; }
.naechster #nx-details { color: var(--tinte-leise); font-size: 15px; }
.naechster .knopf { justify-self: start; margin-top: 10px; padding: 9px 18px; font-size: 15px; }

/* Bänder */
.band { padding: 88px 0; }
.band-dunkel { background: var(--tinte); color: var(--papier); }
.band-papier { background: var(--papier-dunkel); }
.band-rot { background: var(--rot); color: #fff; }
.band-rot a:not(.knopf) { color: #fff; }

/* Programm */
.programm { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; }
.programm h2 { margin-bottom: 0; }
.programm-bild { margin: 36px 0 0; max-width: 420px; }
.programm-bild img { border-radius: 6px; box-shadow: 14px 14px 0 var(--gelb); }
.programm .unterzeile { display: block; font-style: italic; font-weight: 500; font-size: .45em; color: var(--gelb); margin-top: 12px; line-height: 1.2; }
.programm-text p { margin: 0 0 16px; color: #e9e0d2; }
.programm-text .knopf { margin-top: 8px; }
.stimmen { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid rgba(243,236,224,.2); padding-top: 40px; }
.stimmen blockquote { margin: 0; }
.stimmen p { font-family: var(--kopf); font-style: italic; font-weight: 500; font-size: 21px; line-height: 1.4; margin: 0 0 10px; }
.stimmen cite { font-style: normal; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--gelb); font-weight: 700; }

/* Termine */
.termine { padding-top: 88px; padding-bottom: 88px; }
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filter button { font: 600 15px var(--text); padding: 9px 16px; border-radius: 999px; border: 2px solid var(--tinte); background: transparent; color: var(--tinte); cursor: pointer; }
.filter button.aktiv { background: var(--tinte); color: var(--papier); }
.liste { list-style: none; margin: 0 0 24px; padding: 0; border-top: 2px solid var(--tinte); }
.termin { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--linie); }
.termin .datum { font-family: var(--kopf); font-weight: 800; font-size: 30px; line-height: 1; }
.termin .datum small { display: block; font-family: var(--text); font-weight: 600; font-size: 13px; color: var(--tinte-leise); margin-top: 4px; }
.termin .was { font-weight: 700; font-size: 19px; line-height: 1.25; }
.termin .wo { color: var(--tinte-leise); font-size: 15px; }
.termin .art { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; margin-bottom: 4px; }
.art-solo { background: var(--rot); color: #fff; }
.art-gtd { background: var(--gelb); color: var(--tinte); }
.termin .knopf { padding: 10px 20px; font-size: 15px; }
.termin .bald { font-size: 14px; color: var(--tinte-leise); font-weight: 600; }
.hinweis { padding: 20px 0; color: var(--tinte-leise); }
.fussnote { font-size: 15px; color: var(--tinte-leise); margin-top: 24px; }

/* Videos */
.video-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 20px; margin-bottom: 20px; }
.video-raster:empty, .reel-raster:empty { display: none; }
.reel-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 260px)); gap: 20px; margin-bottom: 16px; }
.video-karte { position: relative; background: var(--tinte); color: var(--papier); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; text-align: left; border: 0; padding: 0; cursor: pointer; font: inherit; }
.video-karte.yt { aspect-ratio: 16 / 9; }
.video-karte.ig { aspect-ratio: 9 / 16; }
.video-karte.yt, .video-karte.ig { background: radial-gradient(circle at 30% 20%, #3a302a, var(--tinte)); }
.video-karte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.video-karte .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: var(--rot); display: grid; place-items: center; }
.video-karte .play::after { content: ""; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.video-karte .titel { position: relative; padding: 14px 16px; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.video-karte .quelle { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(0,0,0,.6); padding: 3px 8px; border-radius: 4px; }
.video-karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-karte.mit-ersatz iframe { height: calc(100% - 40px); bottom: auto; }
/* nach Klick: Platz fürs Video im richtigen Seitenverhältnis + 40px für den Ersatz-Link */
.video-karte.yt.mit-ersatz { aspect-ratio: auto; height: 0; padding-bottom: calc(56.25% + 40px); }
.video-karte.ig.mit-ersatz { aspect-ratio: auto; height: 0; padding-bottom: calc(177.78% + 40px); }
.video-karte .ersatz { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; display: grid; place-items: center; font-size: 13px; color: var(--papier); background: var(--tinte); text-decoration: underline; }
.datenhinweis { font-size: 13px; color: var(--tinte-leise); margin: 0 0 20px; }

/* Über */
.ueber { padding-top: 88px; padding-bottom: 88px; }
.ueber-raster { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.ueber-bild { margin: 0; }
.ueber-bild img { border-radius: 6px; box-shadow: -18px 18px 0 var(--gelb); }
.ueber-text .buch { margin-top: 32px; }
.ueber-text p { margin: 0 0 16px; font-size: 18px; }
.buch { background: #fff; padding: 28px; border-radius: 8px; border-top: 6px solid var(--gelb); }
.buch h3 { font-size: 28px; margin-bottom: 12px; }
.buch p:not(.dachzeile) { color: var(--tinte-leise); margin: 0 0 20px; }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.kontakt h2 { margin-bottom: 16px; }
.kontakt p { font-size: 19px; margin: 0; max-width: 46ch; }
.kontakt-knoepfe { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* Fußzeile */
.fuss { background: var(--tinte); color: var(--papier); }
.fuss .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; font-size: 15px; }
.fuss nav { display: flex; gap: 4px; flex-wrap: wrap; }
.fuss a { color: var(--papier); padding: 8px 10px; }

/* Rechtstexte */
.rechtstext { max-width: 760px; padding-top: 56px; padding-bottom: 72px; }
.rechtstext h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 32px; }
.rechtstext h2 { font-family: var(--text); font-size: 19px; font-weight: 700; margin: 32px 0 8px; letter-spacing: 0; }
.rechtstext p { margin: 0 0 12px; }

/* Handy */
@media (max-width: 860px) {
  .menue a:not(.knopf) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; }
  .hero-bild { max-width: 300px; width: 100%; justify-self: center; }
  .programm, .stimmen, .ueber-raster, .kontakt { grid-template-columns: 1fr; }
  .band, .termine, .ueber { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .termin { grid-template-columns: 72px 1fr; gap: 6px 14px; }
  .termin .datum { font-size: 24px; grid-row: span 2; }
  .termin .aktion { grid-column: 2; }
  .hero-bild img { box-shadow: 10px 10px 0 var(--rot); }
  .video-raster { grid-template-columns: 1fr; }
  .reel-raster { grid-auto-flow: column; grid-auto-columns: 70%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .video-karte { scroll-snap-align: start; }
}

/* Fotostreifen */
.fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.fotos figure { margin: 0; }
.fotos img { border-radius: 6px; width: 100%; }
.fotos figcaption { font-size: 12px; color: #b9ae9f; margin-top: 24px; text-align: right; }
.fotos figure:first-child img { box-shadow: 14px 14px 0 var(--rot); }
.fotos figure:last-child img { box-shadow: -14px 14px 0 var(--gelb); }
@media (max-width: 560px) { .fotos { gap: 16px; } .fotos figure img { box-shadow: none !important; } }

/* Cringe */
.cringe { display: grid; gap: 48px; }
.cringe h2 { font-size: clamp(64px, 12vw, 150px); line-height: .9; margin-bottom: 0; letter-spacing: -0.02em; }
.cringe-wort { font-style: italic; color: var(--rot); font-weight: 800; }
.cringe-kopf { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px 64px; align-items: start; }
.cringe-kopf .dachzeile { grid-column: 1 / -1; margin-bottom: -8px; }
.cringe-text p { color: #e9e0d2; font-size: 18px; margin: 0 0 16px; max-width: 60ch; }
.cringe-text .cringe-lead { font-size: 21px; font-weight: 600; line-height: 1.5; color: var(--papier); }
.cringe-text .knopf { margin-top: 8px; }
@media (max-width: 860px) { .cringe-kopf { grid-template-columns: 1fr; } }
.meinungen { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; align-items: start; border-top: 1px solid rgba(243,236,224,.2); padding-top: 48px; }
.presse h3, .hass h3 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 28px; color: var(--gelb); }
.presse blockquote { margin: 0 0 28px; padding-left: 20px; border-left: 3px solid var(--gelb); }
.presse p { font-family: var(--kopf); font-style: italic; font-weight: 500; font-size: 21px; line-height: 1.4; margin: 0 0 8px; color: var(--papier); }
.presse cite { font-style: normal; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--gelb); font-weight: 700; }
.hass-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 860px) { .meinungen { grid-template-columns: 1fr; } }
.kommentar { margin: 0; background: #fff; color: var(--tinte); border-radius: 18px 18px 18px 4px; padding: 16px 18px; font-size: 17px; line-height: 1.4; position: relative; }
.kommentar:nth-child(3n+2) { transform: rotate(1deg); }
.kommentar:nth-child(3n) { transform: rotate(-1deg); }
.kommentar .wer { display: block; font-size: 13px; font-weight: 700; color: var(--tinte-leise); margin-bottom: 6px; }
.kommentar .herz { display: block; font-size: 12px; color: var(--tinte-leise); margin-top: 8px; }

/* ===== Andy-Einhorn (js/einhorn.js) ===== */
.einhorn { position: fixed; left: 0; bottom: max(90px, 22vh); z-index: 50; width: 160px; height: 160px; padding: 0; border: 0; background: none; cursor: pointer; transform: translateX(-200px); visibility: hidden; }
.einhorn.unterwegs { visibility: visible; animation: eh-lauf 9s linear forwards; }
.einhorn.unterwegs .eh-koerper, .einhorn.unterwegs .eh-kopf { animation: eh-hops .45s ease-in-out infinite alternate; }
.eh-koerper { position: absolute; left: 0; bottom: 0; width: 120px; height: 82px; }
.eh-kopf { position: absolute; left: 68px; bottom: 48px; width: 56px; transform-origin: 30% 100%; }
.eh-kopf img { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 2px rgba(0,0,0,.2)); }
.eh-blase { position: absolute; left: 100px; bottom: 150px; background: #fff; color: var(--tinte); font: 800 18px var(--kopf); padding: 8px 14px; border-radius: 16px 16px 16px 4px; border: 2px solid var(--tinte); white-space: nowrap; }
@keyframes eh-lauf { from { transform: translateX(-200px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes eh-hops { from { translate: 0 0; } to { translate: 0 -16px; } }
.einhorn.unterwegs .eh-kopf { animation-name: eh-nicken; }
@keyframes eh-nicken { from { translate: 0 0; rotate: -4deg; } to { translate: 0 -16px; rotate: 6deg; } }
@media (max-width: 560px) { .einhorn { transform: translateX(-200px) scale(.75); transform-origin: bottom left; } }

/* Mauszeiger als Einhorn-Horn (nur am Computer) */
@media (hover: hover) and (pointer: fine) {
  body { cursor: url("/assets/cursor-horn.png") 2 2, auto; }
  a, button, .knopf, [role="button"] { cursor: url("/assets/cursor-horn.png") 2 2, pointer; }
}

/* Geheimwort „cringe“: Einhorn-Regen (js/geheimwort.js) */
.eh-regen { position: fixed; inset: 0; z-index: 1000; pointer-events: none; overflow: hidden; }
.eh-regen-schrift { position: absolute; top: 38%; left: 50%; transform: translate(-50%, -50%); font: 900 clamp(64px, 14vw, 180px)/1 var(--kopf); color: var(--rot); text-shadow: 4px 4px 0 #fff, 8px 8px 0 #1f1a17; animation: eh-schrift 2.6s ease-out forwards; }
.eh-tropfen { position: absolute; top: -140px; font-size: calc(48px * var(--groesse, 1)); line-height: 1; animation: eh-fallen linear forwards; will-change: transform; }
.eh-andy { width: calc(80px * var(--groesse, 1)); height: auto; }
.eh-schrei { width: calc(48px * var(--groesse, 1)); height: auto; }
@keyframes eh-fallen {
  to { transform: translate(var(--wackel, 0), calc(100vh + 200px)) rotate(var(--dreh, 360deg)); }
}
@keyframes eh-schrift {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.3) rotate(-12deg); }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(1.1) rotate(-6deg); }
  70% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-6deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2) rotate(-6deg); }
}
