/* Skalen */
:root {
  --tex-leather: url("assets/tex/leder.jpg");
  --tex-rinde: url("assets/tex/rinde.jpg");
  --tex-fels: url("assets/tex/fels.jpg");
  --tex-ziegel: url("assets/tex/ziegel.jpg");
  --tex-teppich: url("assets/tex/teppich.jpg");
}
:root {
  --leather: #2a1a12;
  --brown: #4a2c1a;
  --orange: #d8792a;
  --amber: #f2b04a;
  --wine: #6e1423;
  --wine-deep: #4d0e19;
  --linen: #e6d8b8;
  --linen-dark: #cdb98f;
  --ink: #2b1c12;

  /* Texturen als SVG-Filter, komplett ohne Bilddateien */
  --tex-leather-proc: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='l' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='0.05' numOctaves='4' seed='7' result='n'/><feDiffuseLighting in='n' lighting-color='%23c9a070' surfaceScale='2.4'><feDistantLight azimuth='45' elevation='58'/></feDiffuseLighting></filter><rect width='100%25' height='100%25' filter='url(%23l)'/></svg>");
  --tex-weft: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='w' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='0.9 0.035' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.25  0 0 0 0 0.16  0 0 0 0 0.08  0 0 0 1.1 -0.42'/></filter><rect width='100%25' height='100%25' filter='url(%23w)'/></svg>");
  --tex-warp: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='w' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='0.035 0.9' numOctaves='2' seed='11'/><feColorMatrix values='0 0 0 0 0.25  0 0 0 0 0.16  0 0 0 0 0.08  0 0 0 1.1 -0.42'/></filter><rect width='100%25' height='100%25' filter='url(%23w)'/></svg>");
  --tex-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' seed='5'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");

  /* Stickerei-Bordüre (Rauten in Weinrot, Orange, Leinen) */
  --tex-stitch: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='36'><rect width='48' height='36' fill='%23e4d5b0'/><path d='M0 0h48v6H0zM0 30h48v6H0z' fill='%236e1423'/><path d='M0 6l12 12L0 30zM24 6l12 12-12 12-12-12zM48 6v24L36 18z' fill='%236e1423'/><path d='M24 10l8 8-8 8-8-8z' fill='%23d8792a'/><path d='M24 14l4 4-4 4-4-4z' fill='%23e4d5b0'/><path d='M6 15h4v6H6zM38 15h4v6h-4z' fill='%23d8792a'/></svg>");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--leather);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

/* ---------- Oberflächen ---------- */
.leather {
  color: var(--linen);
  background-color: #7a5236;
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0) 35%, rgba(0,0,0,.6) 100%),
    var(--tex-leather);
  background-blend-mode: normal, multiply;
  position: relative;
}
.canvas {
  color: var(--ink);
  background-color: var(--linen);
  background-image:
    radial-gradient(ellipse at 50% 40%, rgba(255,255,255,.25) 0%, rgba(90,50,10,.28) 100%),
    var(--tex-weft), var(--tex-warp), var(--tex-grain);
  position: relative;
}
.wine {
  color: var(--linen);
  background-color: var(--wine);
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0) 20%, rgba(0,0,0,.5) 100%),
    var(--tex-weft), var(--tex-warp), var(--tex-grain);
  position: relative;
}
/* gerissene Kanten zwischen den Flächen */
section { padding: 6rem 1.25rem; position: relative; }
section + section::before {
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 28px;
  background: inherit; background-size: inherit;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='28' preserveAspectRatio='none' viewBox='0 0 400 28'><path d='M0 14 L20 10 L38 16 L60 8 L84 15 L110 9 L132 17 L160 10 L186 16 L210 8 L236 14 L262 9 L288 17 L312 10 L340 15 L366 8 L400 14 V28 H0Z' fill='black'/></svg>") 0 0 / 400px 100% repeat-x;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='28' preserveAspectRatio='none' viewBox='0 0 400 28'><path d='M0 14 L20 10 L38 16 L60 8 L84 15 L110 9 L132 17 L160 10 L186 16 L210 8 L236 14 L262 9 L288 17 L312 10 L340 15 L366 8 L400 14 V28 H0Z' fill='black'/></svg>") 0 0 / 400px 100% repeat-x;
  z-index: 2; pointer-events: none;
}

.wrap { max-width: 1000px; margin: 0 auto; }
.wrap.narrow { max-width: 720px; }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-weight: 400; line-height: 1.1; }
h2 {
  font-family: "Pirata One", serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  color: var(--wine);
  margin-bottom: 1.5rem;
  letter-spacing: .02em;
}
h2.light { color: var(--amber); }
h3 { font-family: "Pirata One", serif; font-size: 1.8rem; letter-spacing: .02em; }
p { margin-bottom: 1.1rem; }
.lead { font-size: 1.4rem; font-style: italic; }
.kicker {
  font-variant: small-caps; letter-spacing: .25em; font-size: 1rem; font-weight: 600;
  color: #9a4a14; margin-bottom: .5rem;
}
.kicker.light { color: var(--orange); }
.note { font-style: italic; opacity: .85; }
.note.small { font-size: .95rem; margin-top: 2rem; }
.light { color: var(--linen); }
h2.light { color: var(--amber); }

/* ---------- Bordüre ---------- */
.stitch-border {
  position: absolute; left: 0; right: 0; height: 36px; z-index: 3;
  background: var(--tex-stitch) repeat-x 0 0 / auto 36px;
  box-shadow: 0 4px 10px rgba(0,0,0,.45);
}
.stitch-border::after { /* Gewebe über der Stickerei */
  content: ""; position: absolute; inset: 0;
  background: var(--tex-weft), var(--tex-warp); opacity: .55; mix-blend-mode: multiply;
}
.stitch-border.top { top: 0; }
.stitch-border.bottom { bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 8rem 1.25rem 7rem; overflow: hidden;
}
.hero > *:not(.stitch-border):not(.hero-photo) { position: relative; z-index: 2; }
.fire {
  position: absolute; left: 50%; top: 50%; width: min(120vw, 900px);
  transform: translate(-50%, -48%); opacity: .5; z-index: 1;
  animation: flicker 4s ease-in-out infinite;
}
@keyframes flicker { 0%,100% { opacity: .5; } 50% { opacity: .62; } 30% { opacity: .45; } }

.runes {
  font-family: "Noto Sans Runic", serif; font-size: clamp(1.3rem, 4vw, 2rem);
  letter-spacing: .5em; color: var(--orange); margin-bottom: 1rem;
  text-shadow: 0 0 18px rgba(216,121,42,.6);
}
.logo {
  font-family: "UnifrakturMaguntia", serif;
  font-size: clamp(3.6rem, 15vw, 9rem); line-height: 1;
  color: var(--linen);
  text-shadow: 0 2px 0 #000, 0 0 40px rgba(216,121,42,.35);
}
.logo.small { font-size: 2.6rem; }
.tagline { font-style: italic; font-size: clamp(1.3rem, 3.5vw, 1.9rem); margin: 1rem 0 .3rem; color: var(--amber); }
.where { font-variant: small-caps; letter-spacing: .18em; opacity: .85; margin-bottom: 2.5rem; }

.btn {
  display: inline-block; font-family: "Pirata One", serif; font-size: 1.8rem; letter-spacing: .06em;
  color: var(--linen); text-decoration: none; padding: .7rem 2.6rem;
  background-color: var(--wine);
  background-image: var(--tex-weft), var(--tex-warp);
  border: 3px solid var(--amber); outline: 2px solid var(--wine-deep); outline-offset: 3px;
  box-shadow: 0 6px 0 var(--wine-deep), 0 10px 24px rgba(0,0,0,.5);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--wine-deep), 0 8px 18px rgba(0,0,0,.5); filter: brightness(1.15); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--wine-deep); }
.small-note { margin-top: 1.4rem; font-size: 1rem; opacity: .8; letter-spacing: .08em; }
.small-note.dark { color: var(--ink); opacity: .7; }

/* ---------- Idee ---------- */
#idee p { font-size: 1.25rem; }
.ornament {
  height: 36px; margin-top: 3rem;
  background: var(--tex-stitch) repeat-x center / auto 36px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
          mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  box-shadow: 0 0 0 1px rgba(0,0,0,.2);
}

/* ---------- Ablauf ---------- */
.days { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.scroll {
  color: var(--ink);
  background-color: var(--linen);
  background-image: radial-gradient(ellipse at 50% 30%, rgba(255,255,255,.25), rgba(90,50,10,.35)),
    var(--tex-weft), var(--tex-warp), var(--tex-grain);
  padding: 2.2rem 2rem 2rem; border: 2px solid var(--linen-dark);
  box-shadow: 0 10px 30px rgba(0,0,0,.6), inset 0 0 40px rgba(90,50,10,.35);
  clip-path: polygon(0 1%, 8% 0, 20% 1.2%, 36% 0, 52% 1%, 70% 0, 86% 1.2%, 100% 0, 99.5% 30%, 100% 62%, 99.3% 100%, 88% 99%, 70% 100%, 52% 98.8%, 34% 100%, 16% 99%, 0 100%, .4% 60%);
}
.scroll h3 { color: var(--wine); border-bottom: 2px solid var(--orange); padding-bottom: .5rem; margin-bottom: 1.2rem; }
.rune { font-family: "Noto Sans Runic", serif; color: var(--orange); margin-right: .3rem; }
.scroll ul { list-style: none; }
.scroll li { padding: .5rem 0 .5rem 1.7rem; position: relative; border-bottom: 1px dotted rgba(43,28,18,.35); }
.scroll li:last-child { border: 0; }
.scroll li::before { content: "◆"; position: absolute; left: 0; color: var(--wine); font-size: .8rem; top: .85rem; }

/* ---------- Essen ---------- */
.two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.runelist { list-style: none; background: var(--leather); color: var(--linen);
  background-image: var(--tex-leather); background-blend-mode: multiply; background-color: #6b4630;
  padding: 2rem; box-shadow: 0 10px 28px rgba(0,0,0,.5); border: 3px solid var(--wine);
  outline: 2px solid var(--amber); outline-offset: -10px; }
.runelist li { padding: .6rem 0; font-size: 1.2rem; }
.runelist span { font-family: "Noto Sans Runic", serif; color: var(--orange); margin-right: .9rem; font-size: 1.5rem; }

/* ---------- Regeln ---------- */
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; margin-top: 2.5rem; text-align: center; }
.rule { padding: 2rem 1.5rem; border: 2px solid rgba(242,176,74,.55); background: rgba(0,0,0,.18); }
.bigrune { display: block; font-family: "Noto Sans Runic", serif; font-size: 4rem; color: var(--amber); line-height: 1; margin-bottom: .6rem; text-shadow: 0 0 20px rgba(242,176,74,.5); }
.rule h3 { color: var(--linen); margin-bottom: .5rem; }
.rule p { margin: 0; opacity: .92; }

/* ---------- Ticket ---------- */
.ticket {
  margin-top: 2.5rem; padding: 12px;
  background: var(--tex-stitch) repeat 0 0 / auto 36px, var(--wine);
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
}
.ticket-inner {
  text-align: center; padding: 2.5rem 1.5rem; color: var(--linen);
  background-color: #6b4630; background-image: var(--tex-leather); background-blend-mode: multiply;
  border: 3px solid var(--amber);
}
.ticket-name { font-variant: small-caps; letter-spacing: .2em; color: var(--orange); }
.price { font-family: "Pirata One", serif; font-size: 6rem; line-height: 1; color: var(--amber); margin: .2rem 0 1rem; text-shadow: 0 3px 0 #000; }
.price span { font-size: 3rem; }
.ticket ul { list-style: none; margin-bottom: 1.5rem; }
.ticket li { padding: .25rem 0; }
.ticket li::before { content: "ᛉ"; display: none; }
.spots { color: var(--amber); font-style: italic; margin-bottom: 1.5rem; }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid rgba(230,216,184,.3); padding: 1.1rem 0; }
summary { cursor: pointer; font-family: "Pirata One", serif; font-size: 1.6rem; color: var(--linen); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "ᛜ"; font-family: "Noto Sans Runic", serif; color: var(--orange); transition: transform .25s; }
details[open] summary::after { transform: rotate(90deg); }
details p { margin: .8rem 0 0; opacity: .92; }

/* ---------- Footer ---------- */
.foot { text-align: center; padding: 6rem 1.25rem 3rem; }
.foot nav { margin: 1.5rem 0; display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.foot a { color: var(--linen); text-decoration: none; border-bottom: 1px solid var(--orange); }
.foot a:hover { color: var(--amber); }
.copy { opacity: .6; font-size: .95rem; }

/* ---------- Toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: 2rem; transform: translate(-50%, 200%); z-index: 50;
  background: var(--wine); color: var(--linen); padding: .9rem 1.6rem; border: 2px solid var(--amber);
  font-size: 1.1rem; transition: transform .3s; max-width: 90vw; text-align: center;
}
#toast.show { transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .fire { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 720px) {
  body { font-size: 1.1rem; }
  section { padding: 4.5rem 1.1rem; }
  .two { grid-template-columns: 1fr; gap: 2rem; }
  .price { font-size: 5rem; }
}

/* ================= Rauer + echte Bilder ================= */
/* grobes Korn über der ganzen Seite */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: var(--tex-grain); mix-blend-mode: multiply; opacity: .35;
}
/* Tinten-Unebenheit an Schrift */
.logo, h2, .price, .band-line { filter: url(#rough); }

.hero-photo {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(216,121,42,.35), transparent 55%),
    linear-gradient(180deg, rgba(42,26,18,.85), rgba(42,26,18,.35) 40%, rgba(42,26,18,.9)),
    url("assets/birken.jpg") center / cover;
  filter: sepia(.55) contrast(1.1) saturate(1.2);
}

/* Abzüge mit Klebeband */
.print {
  position: relative; background: #efe4c8; padding: 12px 12px 34px;
  box-shadow: 0 12px 30px rgba(0,0,0,.55);
}
.print img { width: 100%; filter: sepia(.35) contrast(1.08) saturate(1.1); display: block; }
.tilt-l { transform: rotate(-2.2deg); }
.tilt-r { transform: rotate(2deg); }
.tape {
  position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(214,190,130,.75); box-shadow: 0 1px 3px rgba(0,0,0,.3);
  clip-path: polygon(0 10%, 4% 0, 8% 12%, 100% 0, 96% 50%, 100% 100%, 4% 90%, 0 100%, 3% 50%);
}
.stack { display: grid; gap: 2rem; }
.stack .print { max-width: 420px; justify-self: center; }

/* Wolf-Band */
.band {
  min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    linear-gradient(180deg, rgba(42,26,18,.7), rgba(42,26,18,.15) 45%, rgba(42,26,18,.8)),
    url("assets/wolf.jpg") center 40% / cover;
  background-attachment: scroll, fixed;
  filter: none;
}
.band-text { color: var(--linen); text-shadow: 0 2px 12px #000; }
.band-line { font-family: "UnifrakturMaguntia", serif; font-size: clamp(2.2rem, 7vw, 4.5rem); margin: 0; }
.band .runes { color: var(--amber); }

@media (max-width: 720px) {
  .band { background-attachment: scroll, scroll; }
  .tilt-l, .tilt-r { transform: rotate(0deg); }
}

/* ================= v2: echte Texturen ================= */
.leather {
  background-color: #5b3a22;
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0) 30%, rgba(0,0,0,.65) 100%),
    linear-gradient(rgba(25,12,6,.35), rgba(25,12,6,.35)),
    var(--tex-leather);
  background-size: auto, auto, 640px 640px;
  background-blend-mode: normal, normal, normal;
}
/* Ablauf: Eichenrinde */
#ablauf {
  background-color: #2a1a12;
  background-image:
    linear-gradient(rgba(30,16,8,.72), rgba(30,16,8,.72)),
    radial-gradient(ellipse at 50% 40%, rgba(0,0,0,0) 30%, rgba(0,0,0,.6) 100%),
    var(--tex-rinde);
  background-size: auto, auto, 720px 1440px;
}
/* Regeln: Wollteppich in Weinrot */
.wine {
  background-color: #7a1728;
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0) 20%, rgba(0,0,0,.55) 100%),
    var(--tex-teppich);
  background-size: auto, 520px 520px;
  background-blend-mode: normal, overlay;
}
/* FAQ + Footer: Steinmauer */
#faq {
  background-color: #241812;
  background-image:
    linear-gradient(rgba(25,12,6,.45), rgba(25,12,6,.45)),
    radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0) 30%, rgba(0,0,0,.6) 100%),
    var(--tex-fels);
  background-size: auto, auto, 620px 620px;
}
.ticket-inner, .runelist {
  background-color: #6b4630;
  background-image: linear-gradient(rgba(25,12,6,.3), rgba(25,12,6,.3)), var(--tex-leather);
  background-size: auto, 480px 480px; background-blend-mode: normal;
}
.hero-photo { filter: sepia(.55) contrast(1.1) saturate(1.2); }

/* Footer: rote Burgziegel */
.foot {
  background-color: #4a2018;
  background-image:
    linear-gradient(rgba(20,8,4,.6), rgba(20,8,4,.6)),
    radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0) 30%, rgba(0,0,0,.6) 100%),
    var(--tex-ziegel);
  background-size: auto, auto, 620px 620px;
}

.foot a, .foot .copy { text-shadow: 0 1px 4px #000; } .foot .copy { opacity: .85; }

/* Handy: Runen- und Ortszeile nicht umbrechen */
@media (max-width: 480px) {
  .runes { letter-spacing: .22em; font-size: 1.15rem; white-space: nowrap; }
  .where { letter-spacing: .06em; font-size: 1rem; }
}
.nw { white-space: nowrap; }
#toast { visibility: hidden; opacity: 0; transition: transform .3s, opacity .3s, visibility .3s; }
#toast.show { visibility: visible; opacity: 1; }

/* Logo im Hero */
.hero-logo {
  width: clamp(110px, 18vw, 170px); height: auto; margin-bottom: 1.2rem;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.6)) drop-shadow(0 0 30px rgba(216,121,42,.25));
}
