/* Printivo 3D Studio: Stylesheet
   Farben aus dem Logo: Waldgrün, Mint, Sonnengelb, Lachs */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-style: italic; font-display: swap; src: url("/assets/fonts/figtree-latin-700-italic.woff2") format("woff2"); }

:root {
  --gruen: #1E4632;
  --gruen-hover: #2C6247;
  --mint: #A8E0C8;
  --mint-nebel: #EEF7F2;
  --gelb: #F6D55C;
  --lachs: #F4A38A;
  --papier: #FFFFFF;
  --text: #1E4632;
  --text-2: #4B5F55;
  --linie: #D5E6DC;

  --schrift-titel: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --schrift-text: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --breite: 1120px;
  --rand: clamp(1.25rem, 4vw, 2.5rem);
  --abstand: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 1.125rem;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--schrift-titel);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-weight: 800; font-size: clamp(2.5rem, 4.5vw + 1rem, 4.4rem); }
h2 { font-weight: 700; font-size: clamp(1.75rem, 2.2vw + 1rem, 2.5rem); }
h3 { font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: none; }

a { color: var(--gruen); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--gruen-hover); }
:focus-visible { outline: 3px solid var(--gruen); outline-offset: 3px; border-radius: 4px; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprunglink { position: absolute; left: 1rem; top: -4rem; background: var(--gruen); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; z-index: 10; }
.sprunglink:focus { top: 1rem; color: #fff; }

/* Kopfbereich */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem 2rem; padding-top: 1rem; padding-bottom: 1rem; }
.marke { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--gruen); }
.marke svg { width: 38px; height: 38px; }
.marke-name { font-family: var(--schrift-text); font-style: italic; font-weight: 700; font-size: 1.6rem; line-height: 1; }
.marke-zusatz { font-size: 0.9rem; color: var(--text-2); font-weight: 600; margin-left: 0.15rem; }
.navi ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; }
.navi a { text-decoration: none; font-weight: 600; font-size: 1rem; }
.navi a:hover, .navi a[aria-current="page"] { text-decoration: underline; }

/* Knöpfe */
.knopf {
  display: inline-block;
  font-family: var(--schrift-text);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--gruen);
  line-height: 1.2;
}
.knopf-voll { background: var(--gruen); color: #fff; }
.knopf-voll:hover { background: var(--gruen-hover); border-color: var(--gruen-hover); color: #fff; }
.knopf-rand { background: transparent; color: var(--gruen); }
.knopf-rand:hover { background: var(--mint-nebel); }
.navi .knopf { padding: 0.5rem 1rem; font-size: 0.95rem; color: #fff; }
.navi .knopf:hover { text-decoration: none; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 1rem; }

/* Einstieg */
.einstieg .huelle { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.einstieg .lead { font-size: 1.25rem; color: var(--text-2); }
.einstieg .hinweis { font-size: 0.98rem; color: var(--text-2); margin: 0; }
.schichtkreis { width: 100%; max-width: 420px; justify-self: center; }
.schichtkreis .schicht { transform-box: fill-box; transform-origin: left center; animation: schicht 420ms cubic-bezier(.3,.7,.3,1) both; animation-delay: calc(var(--i) * 55ms + 150ms); }
@keyframes schicht { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .schichtkreis .schicht { animation: none; } }

/* Abschnitte */
.abschnitt { padding: var(--abstand) 0 0; }
.abschnitt-kopf { max-width: none; margin-bottom: 2.5rem; }
.abschnitt-kopf p { color: var(--text-2); }

/* Ablauf mit Nummern (echte Reihenfolge) */
.ablauf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem 2.5rem; counter-reset: schritt; }
.ablauf li { counter-increment: schritt; border-top: 3px solid var(--mint); padding-top: 1.1rem; }
.ablauf li::before { content: counter(schritt); display: block; font-family: var(--schrift-titel); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--lachs); margin-bottom: 0.6rem; }
.ablauf h3 { margin-bottom: 0.35em; }
.ablauf p { color: var(--text-2); margin: 0; }

/* Produkte */
.produkte { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2.5rem 2rem; }
.produkt h3 { margin: 1rem 0 0.3em; }
.produkt p { color: var(--text-2); margin-bottom: 0.6em; }
.produkt a { font-weight: 600; }
.produkt img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
/* Platzhalter bis echte Produktfotos da sind: Schichtstreifen in der Produktfarbe */
.foto-platzhalter {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  background:
    repeating-linear-gradient(to bottom, var(--farbe, var(--mint)) 0 9px, transparent 9px 12px),
    var(--mint-nebel);
  background-size: 100% 100%;
  -webkit-mask: radial-gradient(circle at 50% 58%, #000 38%, transparent 38.5%);
          mask: radial-gradient(circle at 50% 58%, #000 38%, transparent 38.5%);
}
.foto-rahmen { background: var(--mint-nebel); border-radius: 18px; }

/* Eigene Idee */
.idee-band { background: var(--mint-nebel); border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: end; }
.idee-band p { color: var(--text-2); margin-bottom: 0; }
.idee-band h2 { margin-bottom: 0.4em; }

/* Über uns */
.ueber { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1rem 4rem; }
.ueber p { color: var(--text-2); }

/* Unterseiten */
.seitenkopf { padding: clamp(3rem, 7vw, 5.5rem) 0 0; }
.seitenkopf .lead { font-size: 1.25rem; color: var(--text-2); }
.infoliste { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem 3rem; margin: 0; }
.infoliste dt { font-family: var(--schrift-titel); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.35rem; }
.infoliste dd { margin: 0; color: var(--text-2); }
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; }
.zweispaltig p { color: var(--text-2); }
.randnotiz { border-left: 3px solid var(--gelb); padding-left: 1.25rem; }

/* Rechtstexte */
.rechtstext { max-width: none; padding-bottom: var(--abstand); }
.rechtstext h2 { font-size: 1.45rem; margin-top: 2.2em; }
.rechtstext h3 { font-size: 1.1rem; margin-top: 1.6em; }
.rechtstext p, .rechtstext li { color: var(--text-2); }
.rechtstext address { font-style: normal; color: var(--text-2); margin-bottom: 1em; }

/* Fuss */
.fuss { background: var(--gruen); color: #fff; margin-top: var(--abstand); padding: 3.5rem 0 2.5rem; }
.fuss a { color: var(--mint); }
.fuss a:hover { color: #fff; }
.fuss :focus-visible { outline-color: var(--mint); }
.fuss-raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem 3rem; }
.fuss .marke-name { color: #fff; font-size: 1.8rem; }
.fuss p { color: #D6E8DE; font-size: 1rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; font-size: 1rem; }
.fuss li { margin-bottom: 0.45rem; }
.fuss h2 { font-size: 1.05rem; letter-spacing: 0; margin-bottom: 0.8rem; color: #fff; }
.fuss-unten { border-top: 1px solid rgba(255,255,255,0.18); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.92rem; color: #BFD6CA; }

@media (max-width: 820px) {
  .einstieg .huelle, .ueber, .zweispaltig, .idee-band, .fuss-raster { grid-template-columns: 1fr; }
  .schichtkreis { max-width: 210px; grid-row: 1; justify-self: start; }
  .idee-band { align-items: start; }
}
.idee-band-schmal { grid-template-columns: 1fr; align-items: start; }
.idee-band-schmal .knopf { justify-self: start; }
.produkt img { background: var(--mint-nebel); }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem 1.25rem; }
.galerie figure { margin: 0; }
.galerie img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.galerie figcaption { font-size: 0.95rem; color: var(--text-2); margin-top: 0.5rem; }
.fragen { padding-bottom: 0; }
.fragen h2 { margin-top: 0; }
.fragen h3 { margin-top: 1.6em; margin-bottom: 0.4em; }
.produkt img, .galerie img { height: auto; }
/* Rechtstexte und Fragen linksbündig zur Seitenkante ausrichten */
.huelle.rechtstext { max-width: var(--breite); }
.rechtstext > * { max-width: none; }
.fragen h2 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.1rem); }
.abschnitt:has(.fragen) { padding-top: clamp(2.5rem, 5vw, 4rem); }
.marke-logo { width: 56px; height: 56px; }
.marke .marke-zusatz { font-size: 0.95rem; margin-left: 0; }
.galerie { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.rechtstext ul { padding-left: 1.2rem; } .rechtstext li { margin-bottom: 0.35rem; } .rechtstext strong { color: var(--text); }

/* Kontaktformular (aus kontakt-inhalt.html übernommen) */
.kontakt { max-width: none; }
.kontakt p { line-height: 1.6; }
.kf { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.kf label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.kf input, .kf select, .kf textarea {
  width: 100%; box-sizing: border-box; font: inherit; color: inherit;
  padding: 0.65rem 0.75rem; border: 1px solid #9aa89f; border-radius: 6px; background: #fff;
}
.kf textarea { min-height: 9rem; resize: vertical; }
.kf input:focus, .kf select:focus, .kf textarea:focus,
.kf button:focus-visible { outline: 3px solid #1E4632; outline-offset: 2px; }
.kf-hinweis { font-size: 0.9rem; margin: 0.3rem 0 0; opacity: 0.8; }
.kf button {
  justify-self: start; font: inherit; font-weight: 600; cursor: pointer;
  padding: 0.7rem 1.4rem; border: 0; border-radius: 6px; background: #1E4632; color: #fff;
}
.kf button:hover { background: #163625; }
.kf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.produkte { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Produktdetails im bestehenden Printivo-Design */
.brotkrumen { font-size: .95rem; margin-bottom: 1.5rem; }
.detailbild img { width: 100%; height: auto; border-radius: 18px; }
.detailgalerie { max-width: 650px; }
.produkt h2 { margin-top: 1rem; font-size: 1.7rem; }
.zweispaltig > *, .ueber > * { min-width: 0; }
@media (max-width: 360px) { .infoliste { grid-template-columns: 1fr; } h1 { overflow-wrap: anywhere; } }
