/* sugarcurve.de — Stylesheet v3 (Editorial Refresh)
   Brand: dunkelgruen 0x2A7F62 (primary), gold 0xB48C3C (accent)
   System-Fonts: Georgia/Cambria fuer Headlines, Calibri/system-ui fuer Body.
   Keine externen CDN, kein Tracking, DSGVO-konform.
*/

:root {
  --primary: #2A7F62;
  --primary-dark: #1B5542;
  --primary-light: #4A957A;
  --primary-tint: #E8F5EE;
  --accent: #B48C3C;
  --accent-deep: #8B6A28;
  --accent-tint: #F4EAD3;

  --bg-cream: #FAF7F0;
  --bg-sand: #F2E4CB;
  --card: #FFFFFF;

  --text-dark: #1A212C;
  --text-body: #2A3B36;
  --text-muted: #707782;
  --divider: #E0DCD0;
  --warn: #C06030;
  --warn-tint: #FDF1EC;

  --placeholder-bg: #F5EEDD;
  --placeholder-border: #C9B99A;
  --placeholder-text: #8B6A28;

  --container-max: 1180px;
  --radius: 14px;
  --shadow-soft: 0 1px 3px rgba(27, 85, 66, 0.04), 0 8px 24px rgba(27, 85, 66, 0.04);

  --font-head: Georgia, Cambria, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ---------- Header ---------- */
.site-header {
  background: var(--bg-cream);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--divider); }
.site-header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.logo {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary-dark); }
.nav-cta {
  color: var(--primary-dark) !important;
  border: 1.5px solid var(--primary-dark);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.nav-cta:hover { background: var(--primary-dark); color: white !important; }

@media (max-width: 720px) {
  .main-nav { gap: 18px; font-size: 14px; }
  .main-nav .nav-link-extra { display: none; }
}

/* ---------- Sections ---------- */
section { padding: 100px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.kicker, .section-kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 16px;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; }
h1 {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.05;
  margin: 0 0 24px;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}
h3 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--text-dark);
}

p.lead {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0;
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

.hero-tags {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
}
.hero-tags .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.15s, transform 0.05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary-dark); color: white; }
.btn-primary:hover { background: var(--primary); color: white; }
.btn-outline {
  border: 1.5px solid var(--primary-dark);
  color: var(--primary-dark);
}
.btn-outline:hover { background: var(--primary-dark); color: white; }

.hero-visual { position: relative; }
.hero-visual svg {
  width: 100%;
  height: auto;
  max-width: 540px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 16px 40px rgba(27, 85, 66, 0.10));
}

/* ---------- Image placeholder ---------- */
.img-placeholder {
  background: var(--placeholder-bg);
  border: 2px dashed var(--placeholder-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  color: var(--placeholder-text);
  text-align: center;
}
.img-placeholder .ph-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.img-placeholder .ph-desc {
  font-size: 13px;
  font-style: italic;
  max-width: 320px;
  line-height: 1.4;
}

/* ---------- Editorial sections (no cards default) ---------- */
.editorial-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
}
@media (max-width: 900px) { .editorial-grid-3 { grid-template-columns: 1fr; gap: 32px; } }
.editorial-item {
  position: relative;
}
.editorial-item .num {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.editorial-item h3 { margin-bottom: 12px; }
.editorial-item p { color: var(--text-muted); margin: 0; line-height: 1.6; }
.editorial-item .accent-line {
  width: 32px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 18px;
}

/* ---------- Two-column do/dont ---------- */
.do-dont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
@media (max-width: 900px) { .do-dont { grid-template-columns: 1fr; gap: 32px; } }
.do-dont h3 { font-size: 26px; margin-bottom: 8px; }
.do-dont .sub { color: var(--text-muted); font-style: italic; font-size: 14px; margin-bottom: 20px; }
.do-dont ul { list-style: none; padding: 0; margin: 0; }
.do-dont ul li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 16px;
  color: var(--text-body);
}
.do-dont ul li:last-child { border-bottom: 0; }
.do-dont .marker {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  width: 22px;
}
.do-dont .do .marker { color: var(--accent); }
.do-dont .dont .marker { color: var(--warn); }
.do-dont .dont {
  background: var(--warn-tint);
  border-radius: var(--radius);
  padding: 32px;
}
.do-dont .dont ul li { border-color: rgba(192, 96, 48, 0.15); }

/* ---------- Big stat band ---------- */
.stat-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  position: relative;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--divider);
}
@media (max-width: 900px) { .stat-band { grid-template-columns: 1fr; gap: 40px; } }
.stat-band .stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
}
.stat-band .stat-num {
  font-family: var(--font-head);
  font-size: clamp(60px, 9vw, 110px);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.stat-band .stat-desc {
  color: var(--text-body);
  font-size: 16px;
  margin: 0 0 6px;
}
.stat-band .stat-source {
  font-size: 11px;
  font-style: italic;
  color: var(--text-muted);
}

/* ---------- Big editorial pull-quote ---------- */
.pull-quote {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.pull-quote blockquote {
  margin: 0;
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.4;
  color: var(--primary-dark);
}
.pull-quote blockquote::before, .pull-quote blockquote::after { color: var(--accent); }
.pull-quote blockquote::before { content: "„"; }
.pull-quote blockquote::after { content: "“"; }
.pull-quote cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  color: var(--text-muted);
  font-size: 14px;
}
.pull-quote cite strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* ---------- Sandy section background ---------- */
.bg-cream { background: var(--bg-cream); }
.bg-sand { background: var(--bg-sand); }
.bg-tint { background: var(--primary-tint); }
.bg-dark { background: var(--primary-dark); color: rgba(255,255,255,0.92); }
.bg-dark h2, .bg-dark h3 { color: white; }
.bg-dark p, .bg-dark p.lead { color: rgba(255,255,255,0.82); }
.bg-dark .kicker { color: var(--accent); }
.bg-dark .editorial-item .num { color: var(--accent); }
.bg-dark .editorial-item p { color: rgba(255,255,255,0.78); }
.bg-dark .editorial-item .accent-line { background: var(--accent); }

/* ---------- Audience minimal ---------- */
.audience-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 900px) { .audience-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .audience-row { grid-template-columns: 1fr; } }
.audience-item {
  border-top: 2px solid var(--accent);
  padding-top: 20px;
}
.audience-item .audience-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 6px;
}
.audience-item .audience-text {
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--text-dark);
  line-height: 1.4;
}

/* ---------- How-it-works (cleaner editorial) ---------- */
.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 56px;
  position: relative;
}
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } }
.how-step .num-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}
.how-step h3 { margin-bottom: 12px; }
.how-step p { color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq {
  margin-top: 40px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.faq details {
  border-bottom: 1px solid var(--divider);
}
.faq details:first-of-type { border-top: 1px solid var(--divider); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text-dark);
  font-size: 19px;
  position: relative;
  padding-right: 40px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.faq .faq-body {
  padding: 0 40px 28px 0;
  color: var(--text-body);
  line-height: 1.7;
}

/* ---------- Founder quote (with optional image placeholder) ---------- */
.founder-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}
/* Falls ein Founder-Foto vorhanden ist, zwei-spaltig */
.founder-block:has(.founder-photo) {
  grid-template-columns: 1fr 2fr;
  max-width: 980px;
}
@media (max-width: 700px) { .founder-block { grid-template-columns: 1fr; gap: 28px; } }
.founder-block .img-placeholder { aspect-ratio: 1 / 1; }
.founder-block blockquote {
  margin: 0;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--text-dark);
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}
.founder-block cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  color: var(--text-muted);
  font-size: 14px;
  padding-left: 24px;
}
.founder-block cite strong { color: var(--text-dark); font-weight: 600; }

/* ---------- Stay informed ---------- */
.stay-informed {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.stay-informed h3 {
  font-size: 32px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.stay-informed p { color: var(--text-muted); margin: 0 0 28px; }
.stay-informed .btn { padding: 16px 32px; }

/* ---------- Subpage hero ---------- */
.subpage-hero {
  padding: 80px 0 56px;
  background: var(--primary-dark);
  color: white;
}
.subpage-hero .kicker { color: var(--accent); }
.subpage-hero h1 { color: white; font-size: clamp(36px, 5vw, 56px); }
.subpage-hero p {
  color: rgba(255,255,255,0.85);
  max-width: 760px;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
}

/* ---------- Subpage prose ---------- */
.prose {
  max-width: 780px;
  margin: 0 auto;
}
.prose h2 { margin-top: 56px; font-size: 32px; }
.prose h3 { margin-top: 36px; font-size: 22px; }
.prose ul {
  padding-left: 0;
  list-style: none;
}
.prose ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-body);
  line-height: 1.7;
}
.prose ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
}
.prose p strong { color: var(--text-dark); }

.disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  padding: 18px 22px;
  background: var(--card);
  border-left: 3px solid var(--accent);
  margin: 28px 0;
  border-radius: 4px;
  font-style: italic;
}

/* ---------- CTA box ---------- */
.cta-box {
  background: var(--bg-sand);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  margin-top: 64px;
}
.cta-box h3 {
  margin-top: 0;
  color: var(--primary-dark);
  font-size: 26px;
}
.cta-box .cta-row { justify-content: center; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 72px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-grid a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}
.footer-grid a:hover { color: white; }
.footer-grid h4 {
  color: white;
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-body);
}
.footer-brand .logo { color: white; }
.footer-brand .logo-dot { background: var(--accent); }
.footer-brand p {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  max-width: 380px;
  margin-top: 14px;
  line-height: 1.5;
}
.copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Hero animation ---------- */
@keyframes barRise {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.hero-visual svg g rect {
  transform-origin: bottom;
  animation: barRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-visual svg g rect:nth-child(1) { animation-delay: 0.05s; }
.hero-visual svg g rect:nth-child(2) { animation-delay: 0.10s; }
.hero-visual svg g rect:nth-child(3) { animation-delay: 0.15s; }
.hero-visual svg g rect:nth-child(4) { animation-delay: 0.20s; }
.hero-visual svg g rect:nth-child(5) { animation-delay: 0.25s; }
.hero-visual svg g rect:nth-child(6) { animation-delay: 0.30s; }
.hero-visual svg g rect:nth-child(7) { animation-delay: 0.35s; }
.hero-visual svg g rect:nth-child(8) { animation-delay: 0.40s; }
.hero-visual svg g rect:nth-child(9) { animation-delay: 0.45s; }
.hero-visual svg g rect:nth-child(10) { animation-delay: 0.50s; }
.hero-visual svg g rect:nth-child(11) { animation-delay: 0.55s; }
.hero-visual svg g rect:nth-child(12) { animation-delay: 0.60s; }
.hero-visual svg g rect:nth-child(13) { animation-delay: 0.65s; }
.hero-visual svg g rect:nth-child(14) { animation-delay: 0.70s; }
.hero-visual svg g rect:nth-child(15) { animation-delay: 0.75s; }
.hero-visual svg g rect:nth-child(16) { animation-delay: 0.80s; }
@media (prefers-reduced-motion: reduce) {
  .hero-visual svg g rect { animation: none; }
}
 

/* ---------- Foto-Slots in Editorial-Grid (Variante A) ---------- */
.editorial-grid-3.with-photos {
  gap: 36px;
}
.editorial-grid-3.with-photos .editorial-item .photo-slot {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--placeholder-bg);
  margin-bottom: 24px;
}
.editorial-grid-3.with-photos .editorial-item .photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- How-it-works Banner-Bild ---------- */
.hiw-banner {
  margin-top: 48px;
  max-width: 760px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--placeholder-bg);
}
.hiw-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Volle Breite Stillleben-Banner ---------- */
.banner-photo {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--placeholder-bg);
  margin: 24px 0;
}
.banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Founder-Portrait ---------- */
.founder-photo {
  aspect-ratio: 1 / 1;
  max-width: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--placeholder-bg);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback: solange kein Bild geladen ist, dezenten Sandfarben-Block zeigen */
.editorial-grid-3.with-photos .editorial-item .photo-slot img:not([src*="foto"]),
.hiw-banner img:not([src*="foto"]),
.banner-photo img:not([src*="foto"]),
.founder-photo img:not([src*="foto"]) {
  display: none;
}
