@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=DM+Sans:wght@400;500;600&display=swap');

/* ═══════════════════════════════════════════════════
   VARIABLES – schafschoki.de brand
═══════════════════════════════════════════════════ */
:root {
  --forest:      #2d6a4f;
  --forest-deep: #1f4f38;
  --forest-mid:  #3a7d5e;
  --forest-pale: #e8f5e9;
  --forest-mist: #f4faf6;
  --schoko:      #6b3a2a;
  --schoko-pale: #f5ede9;
  --sahne:       #faf9f6;
  --ink:         #1a1a1a;
  --ink-mid:     #333333;
  --ink-soft:    #666666;
  --border:      #e5e0d8;
  --stone:       #f0ebe3;
  --amber:       #d4a017;
  --amber-pale:  #fef3cd;
  --green-ok:    #27ae60;
  --green-pale:  #d4edda;
  --red:         #c0392b;
  --red-pale:    #fde8e8;

  --r:    10px;
  --r-lg: 16px;
  --sh:   0 2px 12px rgba(26,26,26,.07);
  --sh-lg:0 6px 28px rgba(26,26,26,.12);

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 28px;
  --space-lg: 48px;
  --space-xl: 72px;
  --touch:    44px;
}

/* ═══════════════════════════════════════════════════
   RESET
═══════════════════════════════════════════════════ */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; -webkit-tap-highlight-color:transparent; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  font-family:'DM Sans',sans-serif;
  font-size:16px; color:var(--ink);
  background:var(--sahne);
  line-height:1.7;
  overflow-x:hidden; max-width:100vw;
}
h1,h2,h3,h4 { font-family:'Fraunces',serif; line-height:1.2; color:var(--ink); }
a { color:var(--forest); text-decoration:none; }
a:hover { text-decoration:underline; }
img { max-width:100%; height:auto; display:block; }
ul { list-style:none; }
* { min-width:0; overflow-wrap:break-word; word-break:break-word; }

/* ═══════════════════════════════════════════════════
   NAV – MOBILE FIRST
═══════════════════════════════════════════════════ */
.nav {
  position:sticky; top:0; z-index:200;
  background:var(--ink);
  width:100%; border-bottom:2px solid var(--forest-deep);
}
.nav-inner {
  display:flex; align-items:center; justify-content:space-between;
  padding:0 var(--space-sm); height:56px;
  max-width:1200px; margin:0 auto;
}
.nav-logo {
  display:flex; align-items:center; gap:10px;
  text-decoration:none; flex-shrink:0;
  min-height:var(--touch);
}
.logo-mark {
  width:36px; height:36px; flex-shrink:0;
  background:var(--forest);
  border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  position:relative; overflow:hidden;
}
.logo-sheep {
  font-size:20px; line-height:1;
}
.logo-text {
  font-family:'Fraunces',serif;
  font-size:18px; font-weight:700;
  line-height:1; color:#fff;
}
.logo-text em { color:var(--forest-mid); font-style:normal; }

.nav-burger {
  display:flex; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer;
  padding:var(--space-xs);
  min-width:var(--touch); min-height:var(--touch);
  align-items:center; justify-content:center;
  border-radius:6px;
}
.nav-burger span {
  display:block; width:20px; height:2px;
  background:#fff; border-radius:2px; transition:all .2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity:0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

.nav-links {
  display:none; position:fixed;
  top:58px; left:0; right:0;
  background:var(--ink); border-bottom:2px solid var(--forest-deep);
  padding:var(--space-sm); z-index:199;
  flex-direction:column; gap:4px;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
  max-height:calc(100vh - 58px); overflow-y:auto;
}
.nav-links.open { display:flex; }
.nav-links a {
  display:flex; align-items:center;
  padding:12px var(--space-sm); border-radius:7px;
  font-size:15px; font-weight:500; color:rgba(255,255,255,.7);
  min-height:var(--touch); transition:all .15s;
}
.nav-links a:hover,.nav-links a.active {
  background:var(--forest-deep); color:#fff; text-decoration:none;
}
.nav-links .nav-cta {
  background:var(--forest); color:#fff !important;
  justify-content:center; margin-top:6px;
}
.nav-links .nav-cta:hover { background:var(--forest-mid) !important; }

@media(min-width:768px) {
  .nav-inner { height:64px; padding:0 var(--space-md); }
  .nav-burger { display:none; }
  .nav-links {
    display:flex !important; position:static;
    flex-direction:row; align-items:center;
    gap:2px; border:none; padding:0;
    background:transparent; box-shadow:none;
    max-height:none; overflow:visible;
  }
  .nav-links a { padding:7px 13px; font-size:14px; min-height:auto; }
  .nav-links .nav-cta { margin-top:0; margin-left:8px; padding:8px 18px; border-radius:8px; }
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  background:linear-gradient(160deg, var(--ink) 0%, #1a2e22 60%, var(--forest-deep) 100%);
  padding:var(--space-lg) var(--space-sm);
  position:relative; overflow:hidden;
}
.hero::before {
  content:'';
  position:absolute; top:-80px; right:-80px;
  width:320px; height:320px; border-radius:50%;
  background:var(--forest); opacity:.06;
}
.hero::after {
  content:''; position:absolute;
  bottom:-1px; left:-5%; right:-5%;
  height:44px; background:var(--sahne);
  clip-path:ellipse(55% 100% at 50% 100%);
}
.hero-eyebrow {
  display:inline-flex; align-items:center; gap:7px;
  background:rgba(255,255,255,.08); color:rgba(255,255,255,.85);
  padding:5px 13px; border-radius:40px; font-size:12px; font-weight:500;
  border:1px solid rgba(255,255,255,.15); margin-bottom:var(--space-sm);
}
.hero h1 {
  font-size:clamp(28px,7vw,52px); color:#fff;
  margin-bottom:var(--space-sm); font-weight:700;
}
.hero h1 em { color:var(--forest-mid); font-style:normal; }
.hero-sub {
  color:rgba(255,255,255,.72);
  font-size:clamp(15px,3.5vw,18px);
  margin-bottom:var(--space-md); max-width:520px;
}
.hero-actions { display:flex; flex-direction:column; gap:10px; }
.hero-badges {
  display:flex; flex-wrap:wrap; gap:8px;
  margin-top:var(--space-md); padding-bottom:var(--space-sm);
}
.hero-badge {
  display:inline-flex; align-items:center; gap:5px;
  background:rgba(255,255,255,.1); color:rgba(255,255,255,.85);
  padding:5px 12px; border-radius:40px; font-size:12px; font-weight:500;
  border:1px solid rgba(255,255,255,.15);
}
.hero-badge::before { content:'✓'; color:var(--forest-mid); font-weight:700; }

@media(min-width:768px) {
  .hero { padding:var(--space-xl) var(--space-md); }
  .hero::after { height:56px; }
  .hero-inner { display:grid; grid-template-columns:1fr 400px; gap:var(--space-xl); align-items:center; max-width:1200px; margin:0 auto; }
  .hero-actions { flex-direction:row; }
  .hero-badges { margin-top:0; padding-bottom:0; }
}

/* PAGE HERO (subpages) */
.page-hero {
  background:linear-gradient(150deg,var(--ink) 0%,#1a2e22 100%);
  padding:var(--space-lg) var(--space-sm);
  text-align:center; position:relative; overflow:hidden;
}
.page-hero::after {
  content:''; position:absolute; bottom:-1px; left:-5%; right:-5%;
  height:32px; background:var(--sahne);
  clip-path:ellipse(60% 100% at 50% 100%);
}
.page-hero h1 { color:#fff; font-size:clamp(22px,6vw,40px); margin-bottom:10px; }
.page-hero p { color:rgba(255,255,255,.7); font-size:clamp(14px,3.5vw,17px); }
@media(min-width:768px) { .page-hero { padding:52px var(--space-md); } }

/* ═══════════════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════════════ */
.breadcrumb {
  background:var(--stone); border-bottom:1px solid var(--border);
  padding:10px var(--space-sm); overflow-x:auto; white-space:nowrap;
}
.bc-inner { max-width:1200px; margin:0 auto; font-size:13px; color:var(--ink-soft); }
.bc-inner a { color:var(--ink-soft); }
.bc-inner a:hover { color:var(--forest); }

/* ═══════════════════════════════════════════════════
   ALLERGEN FILTER BAR
═══════════════════════════════════════════════════ */
.allergen-bar {
  background:var(--forest-mist); border-bottom:1px solid #c8e6c9;
  padding:10px var(--space-sm); overflow-x:auto;
  -webkit-overflow-scrolling:touch; white-space:nowrap;
  scrollbar-width:none;
}
.allergen-bar::-webkit-scrollbar { display:none; }
.allergen-bar-inner {
  max-width:1200px; margin:0 auto;
  display:inline-flex; gap:8px; min-width:max-content;
  align-items:center;
}
.allergen-bar span { font-size:12px; color:var(--ink-soft); margin-right:4px; font-weight:500; }
.ab-badge {
  display:inline-flex; align-items:center; gap:5px;
  padding:5px 13px; border-radius:40px; font-size:12px; font-weight:600;
  background:var(--forest-pale); color:var(--forest-deep);
  border:1px solid #c8e6c9; cursor:pointer; white-space:nowrap;
  min-height:32px; transition:all .15s;
}
.ab-badge:hover,.ab-badge.active {
  background:var(--forest); color:#fff; border-color:var(--forest);
}
.ab-badge::before { content:'✓'; }

/* ═══════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════ */
.section { padding:var(--space-lg) var(--space-sm); }
.section-tinted { background:var(--forest-mist); }
.section-stone { background:var(--stone); }
.section-dark { background:var(--ink); }
@media(min-width:768px) { .section { padding:var(--space-xl) var(--space-md); } }
.container { max-width:1200px; margin:0 auto; }

.section-head { text-align:center; max-width:620px; margin:0 auto var(--space-lg); }
.section-tag {
  display:inline-block; background:var(--forest-pale); color:var(--forest-deep);
  padding:4px 13px; border-radius:40px;
  font-size:11px; font-weight:600; letter-spacing:.06em;
  text-transform:uppercase; margin-bottom:12px;
}
.section-tag.schoko { background:var(--schoko-pale); color:var(--schoko); }
.section-head h2 { font-size:clamp(22px,5vw,34px); margin-bottom:10px; }
.section-head p { color:var(--ink-soft); font-size:15px; }

/* GRIDS */
.grid-3 { display:grid; grid-template-columns:1fr; gap:var(--space-sm); }
.grid-2 { display:grid; grid-template-columns:1fr; gap:var(--space-sm); }
@media(min-width:520px) { .grid-2 { grid-template-columns:1fr 1fr; } }
@media(min-width:640px) { .grid-3 { grid-template-columns:1fr 1fr; } }
@media(min-width:900px) { .grid-3 { grid-template-columns:repeat(3,1fr); } .grid-2 { gap:var(--space-md); } }

.with-sidebar { display:grid; grid-template-columns:1fr; gap:var(--space-md); }
@media(min-width:960px) {
  .with-sidebar { grid-template-columns:1fr 160px; align-items:start; }
  .sidebar-sticky { position:sticky; top:72px; }
}

/* ═══════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════ */
.card {
  background:var(--sahne); border:1px solid var(--border);
  border-radius:var(--r-lg); overflow:hidden;
  transition:box-shadow .22s,transform .22s;
}
.card:hover { box-shadow:var(--sh-lg); transform:translateY(-2px); }
.card-icon {
  height:130px; display:flex; align-items:center;
  justify-content:center; font-size:48px;
}
.card-body { padding:var(--space-sm); }
.card-body h3 { font-size:clamp(17px,4vw,20px); margin-bottom:7px; }
.card-body p { color:var(--ink-soft); font-size:14px; margin-bottom:14px; line-height:1.65; }

/* PRODUCT CARDS */
.product-card {
  background:var(--sahne); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:var(--space-sm);
  display:flex; flex-direction:column;
  transition:box-shadow .22s,transform .22s;
}
.product-card:hover { box-shadow:var(--sh-lg); transform:translateY(-2px); }
.product-card.featured { border-color:var(--amber); position:relative; }
.product-card.featured::before {
  content:'★ Empfehlung';
  position:absolute; top:-11px; left:18px;
  background:var(--amber); color:var(--ink);
  font-size:11px; font-weight:700;
  padding:3px 11px; border-radius:40px;
}
.pc-badge {
  position:absolute; top:-11px; left:18px;
  font-size:11px; font-weight:700;
  padding:3px 11px; border-radius:40px;
  background:var(--amber); color:var(--ink);
  font-family:'DM Sans',sans-serif; white-space:nowrap;
}
.pc-emoji { font-size:38px; text-align:center; margin-bottom:10px; }
.pc-type {
  display:inline-block; font-size:11px; font-weight:600;
  text-transform:uppercase; letter-spacing:.05em;
  padding:3px 9px; border-radius:4px;
  background:var(--forest-pale); color:var(--forest-deep);
  margin-bottom:7px; align-self:flex-start;
}
.pc-name { font-size:clamp(16px,4vw,19px); margin-bottom:10px; }
.pc-features { margin:10px 0 14px; }
.pc-features li {
  font-size:13px; color:var(--ink-soft);
  padding:5px 0; border-bottom:1px solid var(--stone);
  display:flex; gap:7px; align-items:flex-start;
}
.pc-features li::before { content:'✓'; color:var(--forest); font-weight:700; flex-shrink:0; }
.pc-features li:last-child { border-bottom:none; }
.pc-hint {
  background:var(--forest-pale); border-left:3px solid var(--forest);
  border-radius:6px; padding:10px 12px;
  font-size:13px; color:var(--ink-soft);
  margin-bottom:12px; line-height:1.55;
}
.btn-amazon {
  display:flex; align-items:center; justify-content:center; gap:8px;
  background:#ff9900; color:#111; border-radius:8px;
  padding:13px var(--space-sm); font-size:15px; font-weight:700;
  text-decoration:none; transition:all .2s; border:none; cursor:pointer;
  font-family:'DM Sans',sans-serif; width:100%; margin-top:auto;
  min-height:var(--touch);
}
.btn-amazon:hover { background:#e68900; text-decoration:none; color:#111; box-shadow:0 4px 14px rgba(255,153,0,.3); }
.affiliate-note { font-size:11px; color:var(--ink-soft); text-align:center; margin-top:6px; }

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 22px; border-radius:10px;
  font-family:'DM Sans',sans-serif; font-size:15px; font-weight:600;
  cursor:pointer; border:none; text-decoration:none;
  transition:all .2s; line-height:1; min-height:var(--touch);
  width:100%; text-align:center;
}
.btn:hover { text-decoration:none; }
.btn-forest { background:var(--forest); color:#fff; }
.btn-forest:hover { background:var(--forest-deep); }
.btn-ink { background:var(--ink); color:#fff; }
.btn-ink:hover { background:#333; }
.btn-outline { background:transparent; color:var(--ink); border:2px solid var(--border); }
.btn-outline:hover { border-color:var(--forest); color:var(--forest); }
.btn-ghost { background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background:rgba(255,255,255,.22); }
@media(min-width:480px) { .btn { width:auto; } .hero-actions .btn { min-width:190px; } }

/* ═══════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════ */
.faq-wrap { max-width:760px; margin:0 auto; }
.faq-item { border:1px solid var(--border); border-radius:var(--r); margin-bottom:7px; overflow:hidden; }
.faq-question {
  width:100%; background:none; border:none; cursor:pointer;
  padding:15px var(--space-sm); text-align:left;
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  font-family:'DM Sans',sans-serif; font-size:15px; font-weight:600;
  color:var(--ink); min-height:var(--touch); transition:background .15s;
}
.faq-question:hover { background:var(--stone); }
.faq-icon { font-size:18px; color:var(--forest); flex-shrink:0; transition:transform .25s; }
.faq-answer {
  max-height:0; overflow:hidden;
  transition:max-height .35s ease,padding .3s;
  font-size:15px; color:var(--ink-soft); line-height:1.75;
  padding:0 var(--space-sm);
}
.faq-item.open .faq-answer { max-height:600px; padding:0 var(--space-sm) 16px; }
.faq-item.open .faq-icon { transform:rotate(45deg); }

/* ═══════════════════════════════════════════════════
   TABLES
═══════════════════════════════════════════════════ */
.table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.data-table { width:100%; border-collapse:collapse; min-width:440px; font-size:14px; }
.data-table th {
  background:var(--ink); color:#fff;
  padding:11px 14px; text-align:left;
  font-family:'DM Sans',sans-serif; font-weight:600; font-size:12px;
  white-space:nowrap;
}
.data-table td { padding:10px 14px; border-bottom:1px solid var(--stone); vertical-align:middle; }
.data-table tr:last-child td { border-bottom:none; }
.data-table tr:nth-child(even) td { background:var(--stone); }
.badge { display:inline-block; padding:3px 9px; border-radius:40px; font-size:11px; font-weight:600; white-space:nowrap; }
.b-gf  { background:var(--forest-pale); color:var(--forest-deep); }
.b-lf  { background:#e3f2fd; color:#0d47a1; }
.b-nf  { background:#fff3e0; color:#e65100; }
.b-veg { background:#f3e5f5; color:#6a1b9a; }
.check { color:var(--forest); font-size:15px; }
.cross { color:var(--red); }

/* ═══════════════════════════════════════════════════
   INFO BOXES
═══════════════════════════════════════════════════ */
.info-box { border-radius:var(--r); padding:var(--space-sm); margin-bottom:var(--space-sm); }
.info-forest { background:var(--forest-pale); border-left:4px solid var(--forest); }
.info-amber  { background:var(--amber-pale); border-left:4px solid var(--amber); }
.info-schoko { background:var(--schoko-pale); border-left:4px solid var(--schoko); }
.info-red    { background:var(--red-pale);   border-left:4px solid var(--red); }

/* ═══════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════ */
.cta-banner {
  background:linear-gradient(140deg,var(--ink),var(--forest-deep));
  border-radius:var(--r-lg); padding:var(--space-lg) var(--space-sm);
  text-align:center;
}
.cta-banner h2 { color:#fff; font-size:clamp(20px,5vw,30px); margin-bottom:10px; }
.cta-banner p { color:rgba(255,255,255,.72); font-size:clamp(14px,3.5vw,16px); margin-bottom:var(--space-md); max-width:480px; margin-left:auto; margin-right:auto; }
.cta-actions { display:flex; flex-direction:column; gap:10px; align-items:center; }
@media(min-width:480px) { .cta-banner { padding:var(--space-xl) var(--space-lg); } .cta-actions { flex-direction:row; justify-content:center; } }

/* ═══════════════════════════════════════════════════
   ANCHOR NAV
═══════════════════════════════════════════════════ */
.anchor-nav {
  background:var(--stone); border-bottom:1px solid var(--border);
  padding:10px var(--space-sm); overflow-x:auto;
  -webkit-overflow-scrolling:touch; white-space:nowrap;
  scrollbar-width:none;
}
.anchor-nav::-webkit-scrollbar { display:none; }
.anchor-nav-inner { max-width:1200px; margin:0 auto; display:inline-flex; gap:6px; min-width:max-content; }
.anchor-nav a {
  display:inline-block; padding:6px 14px;
  background:var(--sahne); border:1px solid var(--border);
  border-radius:6px; font-size:13px; font-weight:500;
  color:var(--ink-mid); text-decoration:none;
  transition:all .15s; white-space:nowrap; min-height:32px; line-height:20px;
}
.anchor-nav a:hover { background:var(--forest-pale); border-color:var(--forest); color:var(--forest-deep); }

/* ═══════════════════════════════════════════════════
   SEASONAL COUNTDOWN BANNER
═══════════════════════════════════════════════════ */
.season-banner {
  background:linear-gradient(135deg,var(--schoko) 0%,#8b4a35 100%);
  padding:10px var(--space-sm); text-align:center;
}
.season-banner p { color:#fff; font-size:13px; font-weight:500; }
.season-banner strong { color:#ffd580; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
  background:var(--ink); color:rgba(255,255,255,.55);
  padding:var(--space-lg) var(--space-sm) var(--space-md);
}
.footer-disclaimer {
  max-width:1200px; margin:0 auto var(--space-md);
  background:rgba(255,255,255,.05); border-radius:8px;
  padding:13px var(--space-sm); font-size:11px; line-height:1.7; color:rgba(255,255,255,.38);
}
.footer-grid {
  max-width:1200px; margin:0 auto var(--space-lg);
  display:grid; grid-template-columns:1fr 1fr; gap:var(--space-md);
}
@media(min-width:768px) {
  .footer { padding:56px var(--space-md) var(--space-md); }
  .footer-grid { grid-template-columns:2fr 1fr 1fr 1fr; gap:44px; }
}
.footer-logo { display:flex; align-items:center; gap:9px; margin-bottom:12px; }
.footer-logo .logo-text { color:#fff; font-size:16px; }
.footer-brand p { font-size:13px; line-height:1.7; max-width:240px; }
.footer h4 {
  color:#fff; font-size:11px; font-weight:600;
  text-transform:uppercase; letter-spacing:.08em;
  margin-bottom:12px; font-family:'DM Sans',sans-serif;
}
.footer ul li { margin-bottom:5px; }
.footer ul li a {
  color:rgba(255,255,255,.45); font-size:13px;
  transition:color .18s; display:inline-block;
  min-height:28px; line-height:28px;
}
.footer ul li a:hover { color:#fff; text-decoration:none; }
.footer-bottom {
  max-width:1200px; margin:0 auto;
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:var(--space-sm);
  display:flex; flex-direction:column; gap:6px; font-size:12px;
}
@media(min-width:640px) { .footer-bottom { flex-direction:row; justify-content:space-between; align-items:center; } }

/* ═══════════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════════ */
.hidden { display:none !important; }
.text-center { text-align:center; }
.mt-sm { margin-top:var(--space-sm); }
.mt-md { margin-top:var(--space-md); }
.scroll-mt { scroll-margin-top:72px; }
p, li, td, h1, h2, h3, h4 { overflow-wrap:break-word; word-break:break-word; }

/* ── RELATED LINKS ─────────────────────────────────────── */
.related-links {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; padding: 0; margin: 0;
}
.related-links li a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--foam); border: 1px solid var(--border);
  border-radius: 40px; font-size: 14px; font-weight: 500;
  color: var(--ink-mid); text-decoration: none;
  transition: all .15s;
}
.related-links li a:hover {
  background: var(--water-pale); border-color: var(--water);
  color: var(--water-deep); text-decoration: none;
}
