/* Pfandflaschen-Imperium – Stylesheet (self-hosted, keine externen Ressourcen) */

:root {
  --bg: #f7f5ef;
  --bg-alt: #ecf2ec;
  --surface: #ffffff;
  --text: #17231d;
  --muted: #4a5a51;
  --border: #d5ddd6;
  --brand: #0f5a40;
  --brand-strong: #0b4431;
  --brand-contrast: #ffffff;
  --gold: #f2b33d;
  --gold-text: #8a5a00;
  --glass: #7fd1a8;
  --hero-from: #0f3d2e;
  --hero-to: #155c43;
  --hero-text: #f4f8f5;
  --shadow: 0 1px 2px rgb(15 61 46 / .06), 0 8px 24px rgb(15 61 46 / .08);
  --radius: 18px;
  --maxw: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1512;
    --bg-alt: #121c18;
    --surface: #17231e;
    --text: #e7efe9;
    --muted: #a9bbb0;
    --border: #2a3a32;
    --brand: #7fd1a8;
    --brand-strong: #a6e3c4;
    --brand-contrast: #0b1f17;
    --gold: #f5c25e;
    --gold-text: #f5c25e;
    --glass: #7fd1a8;
    --hero-from: #0a2219;
    --hero-to: #0f3d2e;
    --hero-text: #eef6f1;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-strong); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.5vw + .5rem, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 2.5vw + .8rem, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

.container { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -100px;
  background: var(--gold); color: #1a1200; padding: .6em 1em;
  border-radius: 8px; font-weight: 700; z-index: 100;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }

.brand { display: inline-flex; align-items: center; gap: .6em; text-decoration: none; color: var(--text); font-weight: 800; letter-spacing: -.01em; }
.brand:hover { color: var(--text); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-name { line-height: 1.1; }
.brand-name small { display: block; font-weight: 600; font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin: 0; padding: 0; }
.main-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .3em 0; }
.main-nav a:hover { color: var(--text); text-decoration: underline; }

@media (max-width: 760px) {
  .header-inner { padding-block: 10px; }
  .main-nav { width: 100%; overflow-x: auto; }
  .main-nav ul { flex-wrap: nowrap; gap: 1rem; padding-bottom: 4px; }
  .main-nav a { white-space: nowrap; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
.btn-gold { background: var(--gold); color: #1a1200; }
.btn-gold:hover { background: #ffc955; color: #1a1200; }
.btn-ghost { border-color: rgb(255 255 255 / .55); color: var(--hero-text); }
.btn-ghost:hover { background: rgb(255 255 255 / .1); color: var(--hero-text); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgb(242 179 61 / .22), transparent 60%),
    linear-gradient(160deg, var(--hero-from), var(--hero-to));
  color: var(--hero-text);
  padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 104px);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #1a1200; background: var(--gold); padding: .35em .8em; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero h1 span { color: var(--gold); }
.hero .lead { font-size: clamp(1.1rem, 1vw + .9rem, 1.3rem); max-width: 38ch; color: rgb(244 248 245 / .9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.hero-note { margin-top: 1.4rem; font-size: .9rem; color: rgb(244 248 245 / .75); }
.hero-art { justify-self: center; width: min(100%, 380px); }
.hero-art svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgb(0 0 0 / .3)); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { width: min(70%, 280px); order: -1; }
}

/* Sections */
section { scroll-margin-top: 80px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.kicker { display: block; color: var(--gold-text); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: .6rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card p { color: var(--muted); margin-bottom: 0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem;
  background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand);
}
.card .icon svg { width: 28px; height: 28px; }
.card .tag { margin-top: 1rem; font-size: .85rem; font-weight: 700; color: var(--gold-text); }

/* Zahlen */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 0; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.stat dt { color: var(--muted); font-weight: 600; font-size: .95rem; }
.stat dd { margin: 0; order: -1; }
.stat { display: flex; flex-direction: column; }
.stat .num { font-size: clamp(2rem, 2vw + 1.4rem, 2.8rem); font-weight: 800; color: var(--brand); letter-spacing: -.02em; line-height: 1.1; display: block; }
.stat .unit { font-size: .9rem; color: var(--muted); }
.fineprint { margin-top: 1.5rem; font-size: .85rem; color: var(--muted); }

/* Pfand-Tabelle */
.pfand-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .pfand-wrap { grid-template-columns: 1fr; } }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 420px; }
caption { text-align: left; padding: 18px 20px 4px; font-weight: 700; color: var(--muted); font-size: .9rem; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 700; }
tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
td.price { font-weight: 800; font-size: 1.25rem; color: var(--brand); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
thead th:last-child { text-align: right; }

.tipbox {
  background: var(--surface); border: 1px solid var(--border); border-left: 6px solid var(--gold);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.tipbox ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.tipbox li { margin-bottom: .5em; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.quote {
  margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between;
}
.quote blockquote { margin: 0 0 1.2rem; font-size: 1.08rem; }
.quote blockquote p::before { content: "„"; color: var(--gold-text); font-weight: 800; }
.quote blockquote p::after { content: "“"; color: var(--gold-text); font-weight: 800; }
.quote figcaption { font-weight: 700; }
.quote figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
.stars { color: var(--gold-text); letter-spacing: .1em; margin-bottom: .6rem; font-size: 1rem; }

/* Kontakt */
.contact {
  background: linear-gradient(160deg, var(--hero-from), var(--hero-to));
  color: var(--hero-text); border-radius: calc(var(--radius) + 6px);
  padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center;
}
.contact h2 { color: var(--hero-text); }
.contact p { color: rgb(244 248 245 / .88); }
.contact .mail { font-weight: 700; color: var(--gold); word-break: break-word; }
.contact .mail:hover { color: #ffd27a; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.footer-inner ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--text); }

/* Rechtstexte */
.legal { padding: clamp(40px, 6vw, 80px) 0; }
.legal .container { max-width: 780px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.legal h3 { margin-top: 1.4rem; }
.legal address { font-style: normal; }
.todo {
  display: inline; background: #ffe08a; color: #3a2a00; font-weight: 700;
  padding: .1em .4em; border-radius: 4px; border: 1px dashed #b07d00;
}
.notice {
  background: color-mix(in srgb, var(--gold) 18%, var(--surface)); border: 1px solid var(--gold);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 2rem;
}
.back { display: inline-block; margin-bottom: 1.5rem; font-weight: 700; }
