/* Google Fonts, lokal ausgeliefert (SIL Open Font License) */
@font-face {
  font-family: 'Quattrocento Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/s/schriften/quattrocento-sans-400-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Quattrocento Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/s/schriften/quattrocento-sans-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Quattrocento Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/s/schriften/quattrocento-sans-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Trirong';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/s/schriften/trirong-300.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Trirong';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/s/schriften/trirong-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Shop helmisanat. Farben und Schriften wie das bisherige Theme, Aufbau eigenständig. */
:root {
  --grund: #dedede;      /* Hintergrund */
  --text: #252525;
  --text-fliess: rgba(37, 37, 37, .75);
  --text-hell: #505655;
  --gruen: #2c332f;      /* Knöpfe, Fusszeile */
  --gruen-hell: #3f5147;
  --oliv: #716a56;       /* Akzent */
  --hell: #efecec;
  --weiss: #fff;
  --linie: rgba(37, 37, 37, .15);
  --breite: 1200px;
  --radius: 6px;
  --kopf-schrift: Trirong, Georgia, serif;
  --text-schrift: "Quattrocento Sans", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--grund); color: var(--text); font-family: var(--text-schrift);
  font-size: 16px; line-height: 1.8; letter-spacing: .04em; }
main p, main li { color: var(--text-fliess); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--kopf-schrift); font-weight: 300; line-height: 1.25; letter-spacing: .03em; margin: 0 0 .6em; }
h1 { font-size: clamp(30px, 4.2vw, 44px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.breit { max-width: var(--breite); margin: 0 auto; padding: 0 20px; }
.schmal { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.mitte { text-align: center; }
.abstand { padding-top: 56px; padding-bottom: 56px; }
.leise { color: var(--text-hell); }
.nur-leser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Balken oben */
.balken { background: var(--gruen); color: var(--hell); text-align: center; font-size: 15px; letter-spacing: .04em; padding: 7px 20px; }

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); background: var(--grund); position: sticky; top: 0; z-index: 10; }
.kopf .breit { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 78px; }
.marke { font-family: var(--kopf-schrift); font-weight: 300; font-size: 30px; letter-spacing: .08em;
  text-decoration: none; justify-self: center; }
.menue { display: flex; gap: 22px; flex-wrap: wrap; }
.menue a { text-decoration: none; font-size: 15px; }
.menue a:hover, .menue a.aktiv { text-decoration: underline; text-underline-offset: 4px; }
.kopf-rechts { justify-self: end; display: flex; gap: 14px; align-items: center; }
.korb { text-decoration: none; position: relative; display: inline-flex; padding: 6px; }
.korb svg { width: 26px; height: 26px; }
.korb-zahl { position: absolute; right: -4px; top: -2px; background: var(--gruen); color: var(--weiss); font-size: 12px;
  min-width: 19px; height: 19px; border-radius: 10px; display: none; align-items: center; justify-content: center; padding: 0 5px; }
.korb-zahl.an { display: inline-flex; }
.menue-knopf { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: inherit; }
.menue-knopf svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .kopf .breit { grid-template-columns: auto 1fr auto; }
  .menue-knopf { display: inline-flex; }
  .menue { display: none; position: absolute; left: 0; right: 0; top: 78px; background: var(--grund); flex-direction: column;
    gap: 0; border-bottom: 1px solid var(--linie); padding: 8px 20px 16px; }
  .menue.offen { display: flex; }
  .menue a { padding: 10px 0; font-size: 17px; }
  .marke { font-size: 26px; }
}

.unter { font-family: var(--kopf-schrift); font-weight: 300; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; color: var(--text) !important; }

/* Startbild */
.startbild { position: relative; }
.startbild img { width: 100%; max-height: 72vh; object-fit: cover; }

/* Knöpfe */
.knopf { display: inline-block; background: var(--gruen); color: var(--weiss); border: 0; border-radius: var(--radius);
  padding: 14px 30px; font: inherit; font-size: 16px; letter-spacing: .06em; text-decoration: none; cursor: pointer; }
.knopf:hover { background: var(--gruen-hell); }
.knopf.zweit { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.knopf.zweit:hover { box-shadow: inset 0 0 0 2px var(--text); }
.knopf.voll { width: 100%; text-align: center; }
.knopf:disabled { opacity: .5; cursor: default; }

/* Artikelraster */
.raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
@media (max-width: 990px) { .raster { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .raster { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } }
.karte { text-decoration: none; display: block; border: 1px solid rgba(37, 37, 37, .1); border-radius: var(--radius); overflow: hidden; }
.karte .bild { aspect-ratio: 1; background: var(--hell); overflow: hidden; }
.karte .bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.karte:hover .bild img { transform: scale(1.03); }
.karte .info { padding: 17px 14px 20px; }
.karte h3 { font-size: 18px; margin: 0 0 8px; line-height: 1.35; }
.karte:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.preis { font-size: 15px; letter-spacing: .05em; }

/* Kollektionen */
.kollektionen-titel { margin: 56px 0 24px; font-size: clamp(30px, 3.4vw, 44px); }
.kollektionen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 800px) { .kollektionen { grid-template-columns: 1fr; } }
.kollektion-karte { text-decoration: none; border: 1px solid var(--linie); border-radius: 4px; overflow: hidden; display: block; }
.kollektion-karte .bild { aspect-ratio: 3 / 2; overflow: hidden; background: var(--hell); }
.kollektion-karte .bild img { width: 100%; height: 100%; object-fit: cover; }
.kollektion-karte div.text { padding: 22px 20px 26px; }
.kollektion-karte h3 { margin: 0; font-size: 21px; }
.kollektion-karte:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.produkte-text { margin-top: 64px; }
.produkte-text.rte h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 0 0 32px; }

/* Artikelseite */
.artikel { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .artikel { grid-template-columns: 1fr; gap: 24px; } }
/* Artikel ohne Bild (z. B. Gutschein): eine Spalte, mittig wie im alten Shop */
.artikel.ohne-bild { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; text-align: center; }
.artikel.ohne-bild .wahl label { margin: 0 4px 8px; }
.artikel.ohne-bild .rte { text-align: left; }
.galerie .haupt { background: var(--hell); border-radius: 2px; overflow: hidden; }
.galerie .haupt img { width: 100%; }
.galerie .klein { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.galerie .klein button { border: 1px solid transparent; padding: 0; background: none; width: 76px; height: 76px; cursor: pointer; border-radius: 2px; overflow: hidden; }
.galerie .klein button.an { border-color: var(--text); }
.galerie .klein img { width: 100%; height: 100%; object-fit: cover; }
.artikel h1 { font-size: clamp(30px, 3.6vw, 44px); }
.marke-klein { font-size: 14px; letter-spacing: .08em; margin-bottom: 10px; color: var(--text-fliess); }
.feld-titel { font-size: 14px; margin: 0 0 8px; color: var(--text-fliess); }
.artikel .preis { font-size: 19px; margin-bottom: 22px; }
.wahl { border: 0; padding: 0; margin: 0 0 20px; }
.wahl legend { font-size: 14px; margin-bottom: 8px; }
.wahl label { display: inline-block; margin: 0 8px 8px 0; }
.wahl input { position: absolute; opacity: 0; }
.wahl span { display: inline-block; border: 1px solid var(--text); border-radius: 40px; padding: 8px 18px; font-size: 15px; cursor: pointer; }
.wahl input:checked + span { background: var(--text); color: var(--weiss); }
.wahl input:focus-visible + span { outline: 2px solid var(--oliv); outline-offset: 2px; }
.menge { display: inline-flex; border: 1px solid var(--text); border-radius: var(--radius); margin-bottom: 16px; }
.menge button { background: none; border: 0; width: 44px; font-size: 20px; cursor: pointer; color: inherit; }
.menge input { width: 54px; border: 0; background: transparent; text-align: center; font: inherit; }
.hinweis { font-size: 14px; color: var(--text-hell); margin-top: 14px; }
.text-inhalt { margin-top: 28px; }
.gemeldet { background: var(--gruen); color: var(--weiss); padding: 12px 16px; border-radius: var(--radius); margin-top: 14px; display: none; }
.gemeldet a { color: var(--weiss); }
.gemeldet.an { display: block; }

/* Text von Seiten und Blog */
.rte a { text-underline-offset: 3px; }
.rte ul, .rte ol { padding-left: 1.3em; }
.rte h2, .rte h3 { margin-top: 1.4em; }
.bild-text { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .bild-text { grid-template-columns: 1fr; gap: 24px; } }
/* Blog: neuester Beitrag über die ganze Breite, die anderen in zwei Spalten (wie im alten Shop) */
.beitraege { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 800px) { .beitraege { grid-template-columns: 1fr; } }
.beitrag-karte { text-decoration: none; display: block; border: 1px solid var(--linie); border-radius: 4px; overflow: hidden; }
.beitrag-karte .bild { aspect-ratio: 16 / 9; overflow: hidden; background: var(--hell); }
.beitrag-karte .bild img { width: 100%; height: 100%; object-fit: cover; }
.beitrag-karte .text { padding: 26px 30px 34px; }
.beitrag-karte h3 { margin: 0 0 10px; font-size: 26px; }
.beitrag-karte .leise { margin: 14px 0 0; }
.beitrag-karte.erster { grid-column: 1 / -1; }
.beitrag-karte.erster .bild { aspect-ratio: 2 / 1; }
.beitrag-karte.erster .text { text-align: center; max-width: 860px; margin: 0 auto; }
@media (max-width: 800px) { .beitrag-karte.erster .bild { aspect-ratio: 3 / 2; } .beitrag-karte .text { padding: 20px 20px 26px; } }
.datum { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-hell); }
.beitrag-bild { margin: 0 auto 36px; max-width: 1000px; }

/* Formulare */
.formular label { display: block; font-size: 14px; margin: 14px 0 6px; }
.formular input, .formular textarea, .formular select { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid rgba(37,37,37,.55);
  border-radius: var(--radius); background: var(--weiss); color: var(--text); }
.formular textarea { min-height: 140px; }
.formular .zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.formular .plz-ort { display: grid; grid-template-columns: 120px 1fr; gap: 14px; }
@media (max-width: 560px) { .formular .zwei { grid-template-columns: 1fr; gap: 0; } }
.fehler { background: #fbeceb; color: #8a2a1f; border: 1px solid #e6bfb9; padding: 12px 16px; border-radius: var(--radius); }
.ok { background: #eef3ee; border: 1px solid #c8d8c9; padding: 12px 16px; border-radius: var(--radius); }

/* Fuss */
main { flex: 1; }
.fuss { background: var(--gruen); color: var(--hell); margin-top: 72px; padding: 44px 0 30px; font-size: 14px; }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss .reihe { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px; }
.fuss .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.fuss .marke { font-size: 24px; justify-self: auto; }
.fuss .klein { margin-top: 26px; opacity: .75; }
.fuss .gemacht { margin-top: 8px; opacity: .75; }
.fuss .gemacht a { text-decoration: underline; text-underline-offset: 3px; }

/* Warenkorb, Bestellung, Status */
.unsichtbar { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.korb-raster { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
/* Handy: Zusammenfassung unter den Artikeln, läuft nicht mit. Unten eine schmale Leiste mit dem Total. */
@media (max-width: 900px) {
  .korb-raster { grid-template-columns: 1fr; gap: 0; }
  .korb-links { display: contents; }
  #hinweise { order: 1; } #zeilen { order: 2; } .korb-summe { order: 3; margin-top: 24px; } #bestellung { order: 4; }
}
#lieferung { scroll-margin-top: 100px; }
.korb-leiste { display: none; }
@media (max-width: 900px) {
  .korb-leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; background: var(--grund); border-top: 1px solid var(--linie);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: 12px;
    transition: transform .2s; }
  .korb-leiste.weg { transform: translateY(110%); }
  .korb-leiste .knopf { padding: 10px 18px; }
  body.mit-leiste .fuss { padding-bottom: 90px; }
}
.korb-zeile { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linie); }
.korb-bild { width: 96px; height: 96px; background: var(--hell); border-radius: 2px; overflow: hidden; }
.korb-bild img { width: 100%; height: 100%; object-fit: cover; }
.korb-titel { font-family: var(--kopf-schrift); font-weight: 300; font-size: 18px; text-decoration: none; line-height: 1.35; display: block; }
.korb-preis { white-space: nowrap; }
.klein-menge { margin: 0 12px 0 0; }
.klein-menge button { width: 36px; font-size: 18px; }
.klein-menge input { width: 40px; }
.entfernen { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; color: var(--text-fliess); }
.korb-summe { background: var(--hell); border-radius: var(--radius); padding: 22px; position: sticky; top: 100px; }
@media (max-width: 900px) { .korb-summe { position: static; } }
.zeile-s { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.zeile-s.total { border-top: 1px solid var(--linie); margin-top: 8px; padding-top: 12px; font-size: 18px; color: var(--text); }
.gutschein-zeile { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.gutschein-zeile .knopf { padding: 12px 20px; }
.haken { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.formular .haken input { width: 20px; height: 20px; margin-top: 4px; flex: none; }
.karte-flach { background: var(--hell); border-radius: var(--radius); padding: 18px 22px; margin: 20px 0; }
.formular .wahl label { display: inline-block; margin: 0 8px 8px 0; font-size: inherit; }
.zeile-s span:last-child { white-space: nowrap; }
