*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --navy: #192945;
  --navy-deep: #111d33;
  --gold: #8b6d36;
  --gold-dark: #6f5628;
  --gold-light: #c9a55e;
  --cream: #f6efe7;
  --paper: #fbf8f3;
  --ink: #192945;
  --muted: #566072;
  --on-navy: #e9e3d8;
  --on-navy-muted: #b7bfcc;
  --line: rgba(25, 41, 69, 0.16);
  --line-gold: rgba(201, 165, 94, 0.42);
}

body {
  background: var(--navy);
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 500; line-height: 1.16; font-variant-numeric: lining-nums; }
h2 { font-size: clamp(2rem, 6.4vw, 3.3rem); }
a { color: inherit; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.kicker { display: block; font-size: 14px; font-weight: 500; color: var(--gold-dark); margin-bottom: 12px; }
.on-navy .kicker { color: var(--gold-light); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 14px 32px; border: 0; border-radius: 3px; cursor: pointer;
  font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 500; line-height: 1.2;
  background: var(--gold); color: #fff; text-decoration: none; transition: background .2s;
}
.btn:hover { background: var(--gold-dark); }
.btn--light { background: var(--gold-light); color: var(--navy-deep); }
.btn--light:hover { background: #d8b873; }
.btn--ghost { min-height: 44px; padding: 8px 18px; font-size: 14px; background: transparent; color: var(--gold-light); box-shadow: inset 0 0 0 1px var(--line-gold); }
.btn--ghost:hover { background: rgba(201, 165, 94, 0.12); }

/* ── Gutscheinkarte ── */
.gutschein {
  --rx: 0deg; --ry: 0deg;
  position: relative; width: min(82vw, 360px); aspect-ratio: 1.6;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px 20px 14px; border-radius: 10px; overflow: hidden; color: var(--on-navy);
  background: radial-gradient(120% 95% at 0% 0%, #243a61 0%, #16243f 55%, #0e182b 100%);
  box-shadow: 0 28px 60px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(201, 165, 94, .6);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
  animation: schweben 6s ease-in-out infinite alternate;
}
.gutschein::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(201, 165, 94, .32); border-radius: 6px; pointer-events: none; }
.gutschein::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 236, 190, .26) 48%, rgba(255, 236, 190, .06) 55%, transparent 64%);
  background-size: 260% 100%; animation: glanz 5.5s ease-in-out infinite;
}
@keyframes schweben { from { translate: 0 0; } to { translate: 0 -8px; } }
@keyframes glanz { 0%, 30% { background-position: 120% 0; } 70%, 100% { background-position: -20% 0; } }

.gutschein__kopf { position: relative; display: flex; align-items: center; gap: 10px; }
.gutschein__label { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.gutschein__mitte { position: relative; display: flex; flex-direction: column; }
.gutschein__titel { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 7.4vw, 2rem); line-height: 1.1; color: #fff; }
.gutschein__slogan { font-family: 'Playfair Display', serif; font-style: italic; font-size: 15px; color: var(--gold-light); margin-top: 2px; }
.gutschein__fuss { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.gutschein__fuer { display: flex; flex-direction: column; min-width: 0; }
.gutschein__fuer small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-navy-muted); }
.gutschein__fuer b { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; font-size: clamp(1.15rem, 5.2vw, 1.4rem); line-height: 1.25; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .25s; }
.gutschein__fuer b.is-tippen { opacity: .55; }
.gutschein__preis { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 9vw, 2.5rem); line-height: 1; color: var(--gold-light); font-variant-numeric: lining-nums; }
.gutschein__klein { position: relative; font-size: 12px; line-height: 1.3; color: var(--on-navy-muted); margin-top: 6px; }
.gutschein__band {
  position: absolute; top: 20px; right: -44px; width: 168px; padding: 5px 0; z-index: 2;
  background: linear-gradient(90deg, #a8843f, #e6c983 50%, #a8843f); box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  transform: rotate(38deg); opacity: 0; translate: 30px -30px; transition: opacity .45s, translate .6s cubic-bezier(.2, .8, .2, 1);
  text-align: center;
}
.gutschein__band span::before { content: "Geschenk"; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--navy-deep); }
body[data-fuer="geschenk"] .gutschein__band { opacity: 1; translate: 0 0; }

.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); text-align: center; padding: 34px 22px 110px; font-size: 14px; }
.site-footer img { height: 26px; width: auto; margin: 0 auto 12px; max-width: 60vw; object-fit: contain; }
@media (min-width: 960px) { .wrap { padding: 0 32px; } .site-footer { padding-bottom: 40px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── Folgeseiten (checkout, gutschein, calendar, thanks) ── */
.seite { min-height: 100svh; color: #fff; background: radial-gradient(90% 60% at 50% 0%, #20335a 0%, var(--navy-deep) 70%); }
.seite__kopf { display: flex; justify-content: center; padding: 20px 22px 0; }
.seite__kopf img { height: 30px; width: auto; max-width: 52vw; object-fit: contain; }
.seite__inhalt { max-width: 560px; margin: 0 auto; padding: 26px 22px 40px; }
.seite__schritt { display: block; text-align: center; font-size: 14px; font-weight: 500; color: var(--gold-light); }
.seite h1 { text-align: center; font-size: clamp(2rem, 8vw, 2.6rem); margin-top: 6px; }
.seite__lead { text-align: center; color: var(--on-navy); margin-top: 8px; }
.seite__karte { display: flex; justify-content: center; margin: 26px 0 22px; }
.seite__fragen { margin-top: 22px; text-align: center; font-size: 14px; color: var(--on-navy-muted); }
.seite__fragen a { color: var(--gold-light); font-weight: 500; }
.seite__zurueck { display: block; margin-top: 14px; text-align: center; font-size: 14px; color: var(--on-navy-muted); }
.status { display: flex; justify-content: center; }
.status span { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; background: rgba(255,255,255,.08); color: var(--on-navy); box-shadow: inset 0 0 0 1px rgba(201,165,94,.35); }
.status[data-s="bezahlt"] span, .status[data-s="storniert"] span { background: rgba(201,165,94,.18); color: var(--gold-light); }
.aktionen { display: grid; gap: 10px; margin-top: 6px; }
.aktionen .btn { width: 100%; }
.aktionen .btn--ghost { min-height: 52px; font-size: 16px; }
.box { margin-top: 24px; padding: 18px 18px 16px; border-radius: 4px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(201,165,94,.28); }
.box h2, .box h3 { font-size: 1.2rem; }
.box ol, .box ul { margin: 10px 0 0 20px; color: var(--on-navy); font-size: 15px; }
.box li + li { margin-top: 6px; }
.box p { color: var(--on-navy); font-size: 15px; margin-top: 8px; }
.is-versteckt { display: none !important; }
.gutschein--gross { width: min(88vw, 440px); }
.gutschein__nr { font-variant-numeric: lining-nums; letter-spacing: .06em; }
.kalender-rahmen { margin-top: 22px; background: #fff; border-radius: 4px; padding: 6px; }
.kalender-rahmen iframe { display: block; width: 100%; min-height: 720px; border: 0; }

@media print {
  body, .seite { background: #fff !important; color: #111 !important; }
  .seite__kopf img { filter: none; }
  .aktionen, .seite__fragen, .seite__zurueck, .site-footer, .status, .box--nur-bildschirm { display: none !important; }
  .gutschein { animation: none !important; transform: none !important; box-shadow: none !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .gutschein::after { display: none; }
  .box { box-shadow: none; border: 1px solid #ccc; }
  .box ol, .box p, .seite__lead { color: #111 !important; }
}
