/* Die Rache des Rattenfängers – Website. Schriften liegen selbst gehostet in fonts.css (kein Google-Aufruf). */
:root {
  --bg: #0b1420;
  --bg2: #101c2b;
  --ink: #ece4d2;
  --muted: #b3ad9b;
  --line: rgba(209, 165, 78, .25);
  --gold: #d1a54e;
  --gold-soft: #f0d79c;
  --gold-grad: linear-gradient(180deg, #f1cf7f 0%, #d3a24a 55%, #b5852f 100%);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Josefin Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
a { color: var(--gold-soft); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; color: #f5ecd6; }
h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
h3 { font-size: 1.5rem; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.5rem .65rem; border-radius: 12px;
  font-family: var(--sans); font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-decoration: none; cursor: pointer; border: 0; }
.btn-gold { background: var(--gold-grad); color: #1d1508; box-shadow: 0 8px 22px rgba(209,165,78,.28), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-line { border: 1.5px solid var(--gold); color: var(--gold-soft); background: rgba(11,20,32,.35); }
@media (hover: hover) { .btn:hover { filter: brightness(1.08); } }
.icon { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Kopf */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 20; transition: background .3s; }
.site-head.solid, .site-head:focus-within { background: rgba(9,16,26,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #f5ecd6; }
.brand img { width: 44px; height: auto; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--gold-soft); }
.menu { display: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; color: var(--gold-soft); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] .panel { position: absolute; right: 0; top: 56px; width: 240px; background: #0d1826; border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; gap: 2px; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
  .menu .panel a { padding: .75rem .9rem; border-radius: 10px; color: var(--ink); text-decoration: none; }
  .menu .panel a.btn { margin-top: 6px; color: #1d1508; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding: 120px 0 0; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(img/hero-hoch.webp) center 70% / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,14,23,.78) 0%, rgba(8,14,23,.25) 30%, rgba(8,14,23,.45) 60%, var(--bg) 100%); }
@media (min-width: 761px) { .hero::before { background-image: url(img/hero-1200.webp); background-position: center; } }
@media (min-width: 1300px) { .hero::before { background-image: url(img/hero.webp); } }
.hero-inner { text-align: center; padding-bottom: 40px; }
.hero h1 { font-size: clamp(3rem, 10vw, 6.2rem); line-height: .95; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.hero .sub { font-family: var(--serif); font-size: clamp(1.4rem, 3.4vw, 2rem); color: #f0e6cc; margin: .2rem 0 0; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 14px 0 22px; }
.ornament::before, .ornament::after { content: ""; width: 90px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { transform: scaleX(-1); }
.ornament img { width: 54px; }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 3vw, 1.75rem); color: #f5ecd6; margin: 0 auto .4rem; max-width: 34ch; text-shadow: 0 2px 16px rgba(0,0,0,.7); }
.lead { max-width: 56ch; margin: 0 auto 26px; color: #e4dcc8; text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 44px auto 0; max-width: 900px; padding: 26px 0 10px; }
.fact { text-align: center; font-size: .95rem; line-height: 1.35; color: var(--ink); }
.fact svg { display: block; width: 34px; height: 34px; color: var(--gold); margin: 0 auto 10px; }
@media (max-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; } }

/* Geschichte */
.story { padding: 40px 0 70px; }
.parchment { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 10px; border-radius: 18px; overflow: hidden;
  background: #e7d8b5 url(img/skizze.webp) right center / auto 100% no-repeat; color: #2b2318; padding: 46px 48px; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.parchment::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #ecdfbf 0%, rgba(236,223,191,.95) 42%, rgba(236,223,191,0) 75%); }
.parchment > * { position: relative; }
.parchment h2 { color: #2b2318; }
.parchment p { margin: 0 0 1em; font-size: 1.02rem; }
.parchment .quote { font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.35; border-left: 3px solid #a07a30; padding-left: 14px; }
@media (max-width: 860px) {
  .parchment { grid-template-columns: 1fr; padding: 30px 22px 230px; background-size: 140% auto; background-position: center bottom; }
  .parchment::before { background: linear-gradient(180deg, #ecdfbf 0%, rgba(236,223,191,.96) 60%, rgba(236,223,191,0) 85%); }
}

/* Abschnitte */
section { scroll-margin-top: 80px; }
.sec { padding: 70px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.kicker { font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.cards { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card { background: linear-gradient(180deg, rgba(20,34,51,.95), rgba(13,23,36,.95)); border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; }
.card svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 12px; }
.card h3 { font-size: 1.55rem; margin-bottom: .3em; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .editions { grid-template-columns: 1fr; } }
.edition { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: rgba(16,28,43,.7); }
.edition ul { margin: .6rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.hameln { position: relative; padding: 90px 0; background: #0f1b2b url(img/skyline.webp) right center / cover no-repeat; }
.hameln::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,27,43,.97) 0%, rgba(15,27,43,.9) 45%, rgba(15,27,43,.3) 100%); }
.hameln .wrap { position: relative; }
.hameln .txt { max-width: 560px; }
.hameln p { color: #ddd5c2; }
@media (max-width: 760px) { .hameln::before { background: linear-gradient(180deg, rgba(15,27,43,.95), rgba(15,27,43,.8)); } }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; color: var(--gold); font-family: var(--sans); font-size: 1.6rem; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 18px; color: var(--muted); }
.final { text-align: center; padding: 70px 0 90px; }

/* Fuß */
.site-foot { border-top: 1px solid var(--line); padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); color: var(--muted); font-size: .9rem; }
.site-foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-foot a { color: var(--muted); }

/* Rechtstexte */
.legal { padding: 120px 0 60px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 7vw, 3.4rem); }
.legal h2 { font-size: 1.6rem; margin-top: 1.6em; }
.legal p, .legal li { color: #ddd5c2; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
