/* ───────── Fonts (selbst gehostet, keine Verbindung zu Google) ───────── */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/nunito-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 900; font-display: swap; src: url('fonts/nunito-latin-900-normal.woff2') format('woff2'); }

/* ───────── Design tokens: "Weich" style, Honig-Variante 3 "Schiefer" ───────── */
:root {
  /* Colours */
  --bg: #FFFAF0;        /* Hintergrund */
  --surface: #F9C74F;   /* Honig · Fläche */
  --surface2: #F7A35C;  /* Orange · Sonne */
  --primary: #3F5560;   /* Schiefer · Buttons */
  --ink: #2B3035;       /* Anthrazit · Text */
  --muted: #5E666B;     /* Nebentext */
  --white: #FFFFFF;
  --on-dark-muted: #E4E1DA;

  /* Type */
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Nunito', system-ui, sans-serif;
  --h-weight: 900;
  --h-spacing: -0.01em;
  --h1-size: 64px;

  /* Shape */
  --bw: 1.5px;          /* border width */
  --r-card: 28px;
  --r-big: 32px;
  --r-btn: 999px;
  --r-input: 14px;
  --r-pill: 999px;
  --r-icon: 50%;        /* icon tiles */
  --r-num: 50%;         /* step numbers, logo mark, toggle knob */

  /* Soft shadows */
  --sh-card: 0 12px 32px rgba(28, 27, 26, 0.10);
  --sh-big: 0 18px 48px rgba(28, 27, 26, 0.16);
  --sh-btn: 0 6px 16px rgba(28, 27, 26, 0.18);
  --sh-sm: 0 4px 12px rgba(28, 27, 26, 0.16);
  --sh-contact: 0 20px 48px rgba(28, 27, 26, 0.22);

  color-scheme: light;
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
}
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

/* Headings that follow the style */
.hd { font-weight: var(--h-weight); letter-spacing: var(--h-spacing); }
.section-title { font-size: 44px; }

/* ───────── Buttons ───────── */
.btn {
  display: flex; align-items: center;
  border-radius: var(--r-btn); border: var(--bw) solid var(--ink);
  font-weight: 700; box-shadow: var(--sh-btn);
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }

/* ───────── Navigation ───────── */
.nav {
  height: 76px; padding: 0 48px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: var(--bw) solid var(--ink); background: var(--white);
}
.brand { display: flex; align-items: center; }
.brand picture { display: block; }
.brand-logo { display: block; height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 16px; font-weight: 500; }
.nav-cta { height: 46px; padding: 0 22px; box-shadow: var(--sh-sm); }

/* ───────── Hero ───────── */
.hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 7fr 5fr; gap: 56px;
  padding: 72px 48px; align-items: center; background: var(--surface); border-bottom: var(--bw) solid var(--ink);
}
.sun { position: absolute; display: block; border-radius: 50%; background: var(--surface2); }
.sun-hero { right: 70px; bottom: -230px; width: 460px; height: 460px; }
.hero-copy { position: relative; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.badge {
  align-self: flex-start; padding: 6px 14px; border: var(--bw) solid var(--ink); border-radius: var(--r-pill);
  background: var(--white); font-size: 14px; font-weight: 700;
}
.hero h1 {
  font-size: min(var(--h1-size), 11vw); font-weight: var(--h-weight); letter-spacing: var(--h-spacing); line-height: 1;
}
.hero-lede { font-size: 19px; line-height: 1.55; max-width: 580px; }
.hero-actions { display: flex; gap: 14px; padding-top: 4px; flex-wrap: wrap; }

.editor {
  position: relative; border: var(--bw) solid var(--ink); border-radius: var(--r-card); background: var(--white);
  box-shadow: var(--sh-big); display: flex; flex-direction: column; padding: 20px; gap: 14px; min-width: 0;
}
.editor-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.editor-head strong { font-size: 15px; }
.chip {
  padding: 3px 10px; border: var(--bw) solid var(--ink); border-radius: var(--r-pill); background: var(--surface);
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); }
.field input {
  width: 100%; height: 42px; padding: 0 12px; border-radius: var(--r-input); border: var(--bw) solid var(--ink);
  font: 15px var(--font-body); background: var(--bg); color: var(--ink);
}
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.toggle-row > span:first-child { font-size: 14px; }
.toggle {
  flex: none; width: 48px; height: 28px; border-radius: var(--r-pill); border: var(--bw) solid var(--ink);
  background: var(--primary); display: flex; justify-content: flex-end; padding: 2px;
}
.toggle i {
  width: 20px; height: 20px; border-radius: var(--r-num); background: var(--white); border: var(--bw) solid var(--ink); display: block;
}
.save {
  height: 44px; border-radius: var(--r-input); background: var(--ink); color: var(--white); border: none;
  font: 700 15px var(--font-body); cursor: pointer;
}

/* ───────── Leistungen ───────── */
.section { padding: 72px 48px; display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; flex-direction: column; gap: 10px; }
.eyebrow { font-size: 15px; font-weight: 700; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  border: var(--bw) solid var(--ink); border-radius: var(--r-card); background: var(--white); box-shadow: var(--sh-card);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.icon {
  width: 52px; height: 52px; border-radius: var(--r-icon); border: var(--bw) solid var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.icon-honey { background: var(--surface); }
.icon-orange { background: var(--surface2); }
.card h3 { font-size: 24px; font-weight: 800; }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ───────── Preise ───────── */
.pricing {
  padding: 72px 48px; background: var(--white);
  border-top: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink);
}
.price-box {
  position: relative; overflow: hidden; border: var(--bw) solid var(--ink); border-radius: var(--r-big);
  background: var(--surface); box-shadow: var(--sh-big); padding: 52px 56px; display: grid;
  grid-template-columns: 7fr 5fr; gap: 48px; align-items: center;
}
.sun-price { right: 60px; top: 50%; width: 380px; height: 380px; margin-top: -190px; }
.price-copy { position: relative; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.price-copy > span { font-size: 15px; font-weight: 700; }
.price-copy h2 { line-height: 1.05; }
.price-copy p { font-size: 18px; line-height: 1.55; max-width: 560px; }
.price-copy .btn { align-self: flex-start; margin-top: 4px; }
.price-tag {
  position: relative; justify-self: center; border: var(--bw) solid var(--ink); border-radius: var(--r-card);
  background: var(--white); box-shadow: var(--sh-card); padding: 32px 44px; display: flex; flex-direction: column;
  align-items: center; gap: 4px;
}
.price-tag .small { font-size: 18px; font-weight: 700; color: var(--muted); }
.price-tag .big {
  font-family: var(--font-display); font-size: 72px; font-weight: 900; letter-spacing: -0.02em; line-height: 1; white-space: nowrap;
}

/* ───────── Ablauf ───────── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.num {
  width: 56px; height: 56px; border-radius: var(--r-num); border: var(--bw) solid var(--ink); box-shadow: var(--sh-sm);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: 22px;
}
.num-honey { background: var(--surface); }
.num-orange { background: var(--surface2); }
.num-slate { background: var(--primary); color: var(--white); }
.step h3 { font-size: 21px; font-weight: 800; }
.step p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ───────── Selbst ist der Verein ───────── */
.self {
  padding: 72px 48px; display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center;
  background: var(--surface2); border-top: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink);
}
.panel {
  border: var(--bw) solid var(--ink); border-radius: var(--r-card); background: var(--white); box-shadow: var(--sh-big);
  display: flex; flex-direction: column; overflow: hidden; min-width: 0;
}
.panel-head {
  padding: 14px 18px; border-bottom: var(--bw) solid var(--ink); display: flex; justify-content: space-between;
  align-items: center; gap: 10px;
}
.panel-head strong { font-size: 15px; }
.panel-new {
  padding: 4px 10px; border-radius: var(--r-input); background: var(--primary); color: var(--white);
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.row {
  padding: 12px 18px; border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between;
  align-items: center; gap: 10px; font-size: 14px;
}
.row:last-child { border-bottom: 0; }
.status {
  padding: 2px 8px; border: var(--bw) solid var(--ink); border-radius: var(--r-pill); font-size: 12px; font-weight: 700;
  white-space: nowrap;
}
.status-on { background: var(--surface); }
.status-draft { background: var(--white); }
.self-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.self-copy h2 { line-height: 1.05; }
.self-copy > p { font-size: 18px; line-height: 1.55; }
.ticks { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; font-weight: 500; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks svg { flex: none; }

/* ───────── Kontakt ───────── */
.contact-section { padding: 72px 48px; }
.contact {
  border: var(--bw) solid var(--ink); border-radius: var(--r-big); background: var(--ink); color: var(--white);
  box-shadow: var(--sh-contact); padding: 44px; display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start;
}
.contact-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.contact-copy h2 { font-size: 48px; line-height: 1; }
.contact-copy p { font-size: 17px; line-height: 1.55; color: var(--on-dark-muted); }
.contact-lines { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; font-size: 16px; }
.contact-lines a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.cf { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cf.wide { grid-column: span 2; }
.cf label { font-size: 14px; color: var(--on-dark-muted); }
.cf input, .cf textarea {
  width: 100%; border-radius: var(--r-input); border: 2px solid var(--white); background: var(--white); color: var(--ink);
  font: 15px var(--font-body);
}
.cf input { height: 46px; padding: 0 12px; }
.cf textarea { padding: 10px 12px; resize: none; }
.send {
  grid-column: span 2; justify-self: start; height: 52px; padding: 0 28px; border-radius: var(--r-btn);
  background: var(--surface); color: var(--ink); border: 2px solid var(--white); font: 700 16px var(--font-body); cursor: pointer;
}
.send:disabled { opacity: 0.65; cursor: progress; }
.hp { display: none !important; }
.form-note { grid-column: span 2; font-size: 14px; line-height: 1.5; color: var(--on-dark-muted); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-note:empty { display: none; }
.form-note.is-success { color: var(--surface); font-weight: 700; }
.form-note.is-error { color: var(--surface2); font-weight: 700; }
.contact :focus-visible { outline-color: var(--surface); }

/* ───────── Rechtliche Seiten (Impressum, Datenschutz) ───────── */
.legal { padding: 72px 48px; max-width: 860px; display: flex; flex-direction: column; gap: 14px; }
.legal h1 { font-size: 52px; font-weight: var(--h-weight); letter-spacing: var(--h-spacing); line-height: 1.05; padding-bottom: 8px; }
.legal h2 { font-size: 24px; font-weight: 800; padding-top: 18px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; }
.legal ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .stand { font-size: 14px; color: var(--muted); padding-top: 12px; }

/* ───────── Footer ───────── */
.footer {
  padding: 28px 48px; border-top: var(--bw) solid var(--ink); background: var(--white); display: flex;
  justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 15px;
}
.footer-brand { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-logo { display: block; height: 28px; width: auto; flex: none; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: underline; }

/* ───────── Narrow screens ───────── */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { gap: 18px; }
  .nav-links a:not(.btn) { display: none; }
  .hero, .self, .price-box, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero, .section, .pricing, .self, .contact-section, .legal { padding: 48px 24px; }
  .hero { gap: 40px; }
  .sun-hero, .sun-price { right: -120px; }
  .price-box { padding: 36px 28px; gap: 32px; }
  .contact { padding: 32px 24px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { padding: 24px; }
}
@media (max-width: 560px) {
  .section-title { font-size: 34px; }
  .contact-copy h2 { font-size: 38px; }
  .legal h1 { font-size: 40px; }
  .price-tag { padding: 24px 28px; }
  .price-tag .big { font-size: 52px; }
  .steps, .contact-form { grid-template-columns: minmax(0, 1fr); }
  .cf.wide, .send, .form-note { grid-column: auto; }
  .brand-logo { height: 32px; }
}
