/* ─────────────────────────────────────────────────────────────────────────────
   Schenkgenie — „Geschenkpapier, nicht Weihnachtsmann"
   Palette:  Seidenpapier #FBEFE9 · Himbeere #C22853 · Pflaume #331B33
             Messing #D9962E · Karte #FFFFFF
   Typo:     Bricolage Grotesque (Display) · Instrument Sans (Body)
   Signatur: Die Tool-Karte ist das Geschenk — Band, Schleife, „Ideen auspacken".
   ──────────────────────────────────────────────────────────────────────────── */

/* Self-hosted Variable Fonts — keine externen Requests, DSGVO-sauber */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/BricolageGrotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/InstrumentSans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --papier: #FBEFE9;
  --karte: #FFFFFF;
  --himbeere: #C22853;
  --himbeere-dunkel: #8F1B3D;
  --pflaume: #331B33;
  --pflaume-soft: #7A5E70;
  --messing: #D9962E;
  --linie: #EED9CE;
  --radius: 18px;
  --max: 44rem;
  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, sans-serif;
}

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

body {
  margin: 0;
  color: var(--pflaume);
  background: var(--papier);
  font: 17px/1.65 var(--font-body);
}

main { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem 4.5rem; }

h1, h2 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.3rem); font-weight: 800; margin: .4em 0 .3em; }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 700; margin-top: 2.4rem; }
a { color: var(--himbeere); }

/* Header / Footer */
.site-header, .site-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: var(--max); margin: 0 auto; padding: 1.1rem 1.25rem;
}
.site-header .brand {
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  text-decoration: none; color: var(--pflaume);
}
.site-header .brand::before { content: "🎁 "; }
.site-header nav a {
  margin-left: 1.1rem; text-decoration: none; font-weight: 600; font-size: .95rem;
  color: var(--pflaume);
}
.site-header nav a:hover { color: var(--himbeere); }
.site-footer { color: var(--pflaume-soft); font-size: .88rem; flex-wrap: wrap; }
.site-footer nav a { margin-right: 1rem; color: var(--pflaume-soft); }

/* Hero */
.hero { padding-top: 1.5rem; }
.eyebrow {
  font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--messing); margin: 0;
}
.hero h1 em {
  font-style: normal; color: var(--himbeere); position: relative; white-space: nowrap;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em;
  background: var(--messing); opacity: .35; border-radius: 2px; z-index: -1;
}
.hero-sub { font-size: 1.12rem; color: var(--pflaume-soft); max-width: 36rem; }

/* AEO Direct-Answer */
.direct-answer {
  font-size: 1.1rem; background: var(--karte);
  border-left: 4px solid var(--messing); padding: 1rem 1.2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 1px 4px rgba(51, 27, 51, .06);
}

/* ── Signatur: die Geschenk-Karte ──────────────────────────────────────────── */
.gift-wrap { position: relative; margin: 2.2rem 0 .6rem; }
.gift-ribbon {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  border-radius: var(--radius);
  overflow: hidden;
}
.gift-ribbon::before {              /* vertikales Band */
  content: ""; position: absolute; top: 0; bottom: 0; left: 2.6rem; width: 14px;
  background: linear-gradient(180deg, var(--himbeere), var(--himbeere-dunkel));
  opacity: .92;
}
.gift-bow {
  position: absolute; top: -1.05rem; left: 2.1rem; z-index: 3;
  font-size: 1.7rem; transform: rotate(-8deg);
  filter: drop-shadow(0 2px 3px rgba(51,27,51,.25));
}
.gift-card {
  position: relative; z-index: 1;
  background: var(--karte);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.6rem 5rem;   /* Platz fürs Band */
  box-shadow: 0 10px 30px rgba(194, 40, 83, .13), 0 2px 8px rgba(51,27,51,.08);
}
@media (max-width: 540px) {
  .gift-ribbon::before { left: 1.4rem; width: 10px; }
  .gift-bow { left: .95rem; font-size: 1.4rem; }
  .gift-card { padding: 1.4rem 1.2rem 1.4rem 3.2rem; }
}

.gift-card form { display: grid; gap: .95rem; }
.gift-card label { font-weight: 600; font-size: .93rem; display: block; margin-bottom: .3rem; }
.gift-card input, .gift-card select, .gift-card textarea {
  width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--linie);
  border-radius: 10px; font: inherit; background: #FFFDFC; color: var(--pflaume);
}
.gift-card input:focus-visible, .gift-card select:focus-visible,
.gift-card textarea:focus-visible, .gift-card button:focus-visible,
.chip:focus-visible, a:focus-visible {
  outline: 3px solid var(--messing); outline-offset: 2px;
}
.gift-card ::placeholder { color: #B9A6B2; }

.gift-card button[type="submit"], .buy-button {
  font-family: var(--font-display);
  background: var(--himbeere); color: #fff; border: 0; cursor: pointer;
  padding: .95rem 1.6rem; border-radius: 999px; font-size: 1.08rem; font-weight: 700;
  transition: transform .15s ease, background .15s ease;
}
.gift-card button[type="submit"]:hover { background: var(--himbeere-dunkel); transform: translateY(-1px); }
.gift-card button[type="submit"]:active { transform: scale(.98); }
.tool-cta { color: var(--pflaume-soft); font-size: .9rem; margin-top: .5rem; }

/* Ergebnis: Ideen wie ausgepackt */
.ideen-liste { display: grid; gap: .9rem; margin-top: 1.4rem; padding: 0; list-style: none; }
.idee {
  background: var(--karte); border: 1.5px solid var(--linie); border-radius: 14px;
  padding: 1rem 1.15rem; position: relative;
  animation: auspacken .45s ease backwards;
}
.idee:nth-child(n)  { animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes auspacken {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.idee h3 {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin: 0 0 .25rem;
}
.idee .warum { margin: 0 0 .5rem; color: var(--pflaume); }
.idee .meta { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.idee .preis {
  font-size: .85rem; font-weight: 600; color: var(--pflaume);
  background: var(--papier); border: 1px dashed var(--messing);
  padding: .15rem .6rem; border-radius: 999px;
}
.idee .such-link { font-size: .9rem; font-weight: 600; }
.tool-status { padding: 1rem 0; color: var(--pflaume-soft); }
.tool-status.fehler { color: var(--himbeere-dunkel); }

/* Anlass-Chips */
.chips-section { margin-top: 2.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.chip {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: .95rem;
  color: var(--pflaume); background: var(--karte);
  border: 1.5px solid var(--linie); border-radius: 999px; padding: .5rem 1rem;
  transition: transform .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { transform: translateY(-2px); border-color: var(--himbeere); color: var(--himbeere); }

/* Schritte */
.steps { padding-left: 1.2rem; display: grid; gap: .6rem; }
.steps li::marker { color: var(--himbeere); font-weight: 700; }

/* FAQ */
.faq details { border-bottom: 1.5px solid var(--linie); padding: .7rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq summary::marker { color: var(--messing); }

section { margin-top: 2rem; }
.backlink { margin-top: 2.5rem; }
