/* Gartenmöbel-24 – neues Design (Entwurf in gartenmoebel24-design/), auf alle Shop-Seiten übertragen.
   Schriften liegen lokal in assets/fonts (keine Verbindung zu Google). */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/dm-sans.woff2) format('woff2'); }
@font-face { font-family: 'DM Serif Text'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/dm-serif-text.woff2) format('woff2'); }

:root {
  --forest: #293c2c;
  --forest-hell: #374f3b;
  --wood: #66503f;
  --sage: #eaf0e6;
  --cream: #f6f2ea;
  --ink: #262e25;
  --line: #dedfd5;
  --grau: #6b7067;
  --rot: #a3392b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #fffdf9; }
body { margin: 0; color: var(--ink); background: #fffdf9; font: 1rem/1.55 'DM Sans', Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #527144; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; background: #fff; padding: .6rem; z-index: 60; }
.skip:focus { top: 1rem; }

h1, h2 { font-family: 'DM Serif Text', Georgia, serif; font-weight: 400; line-height: 1.1; margin: 0 0 .6em; color: var(--forest); }
h1 { font-size: clamp(2rem, 3.2vw, 2.8rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.02em; }
h3 { color: var(--forest); }

/* ---------- Kopf ---------- */
.top { background: var(--forest); color: #fff; font-size: .875rem; }
.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; min-height: 38px; }
.top a + a { margin-left: 1.25rem; }
header { background: #fffdf9; position: relative; z-index: 40; }
.mast { display: grid; grid-template-columns: 1fr minmax(220px, 470px) 1fr; gap: 2rem; align-items: center; min-height: 92px; }
.logo { display: block; width: 300px; max-width: 100%; }
.logo img { width: 100%; height: auto; }
.suche { display: flex; border: 1px solid var(--line); background: #fff; border-radius: 6px; }
input, button, select, textarea { font: inherit; color: inherit; }
.suche input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .7rem .9rem; }
.suche button { border: 0; background: transparent; padding: .55rem .9rem; display: grid; place-items: center; cursor: pointer; }
.cart { position: relative; display: flex; align-items: center; gap: .65rem; justify-self: end; font-weight: 600; }
.cart b { position: absolute; left: 13px; top: -9px; min-width: 19px; padding: 0 5px; border-radius: 10px; background: var(--wood); color: #fff; font-size: .72rem; line-height: 19px; text-align: center; }
nav { border-block: 1px solid var(--line); }
.nav { display: flex; justify-content: space-between; gap: 1.5rem; font-size: .95rem; font-weight: 700; white-space: nowrap; }
.nav .punkt { position: relative; }
.nav .punkt > a { display: block; padding: .75rem 0; }
.nav ul { display: none; position: absolute; left: -1rem; top: 100%; z-index: 50; min-width: 250px; margin: 0; padding: .4rem 0; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 0 0 9px 9px; box-shadow: 0 12px 24px rgba(38,46,37,.12); font-weight: 500; }
.nav ul.ende { left: auto; right: -1rem; }
.nav .punkt:hover ul, .nav .punkt:focus-within ul { display: block; }
.nav ul a { display: block; padding: .45rem 1rem; }
.nav ul a:hover { background: var(--sage); text-decoration: none; }

/* ---------- Inhalt allgemein ---------- */
main { padding-top: 1.75rem; padding-bottom: 4rem; min-height: 50vh; }
.pfad { font-size: .85rem; color: var(--grau); margin: 0 0 1rem; }
.pfad a { text-decoration: underline; text-underline-offset: .2em; }
.box { margin-bottom: 2rem; }
.box a:not(.knopf):not(.button), .textseite a, .beschreibung a, .katbeschreibung a, .starttext a { color: var(--forest); text-decoration: underline; text-underline-offset: .2em; }
.eyebrow { margin: 0 0 .75rem; color: var(--wood); font-weight: 700; font-size: .875rem; letter-spacing: .09em; text-transform: uppercase; }
h2.trenner { margin: 2.5rem 0 1rem; }

.button, .knopf { display: inline-block; padding: .7rem 1.1rem; border: 1px solid var(--forest); border-radius: 5px; background: #fff; color: var(--forest);
  font-weight: 700; line-height: 1.3; cursor: pointer; text-decoration: none; }
.knopf:hover { background: var(--sage); text-decoration: none; }
.button, .knopf.orange { background: var(--forest); color: #fff; }
.button:hover, .knopf.orange:hover { background: var(--forest-hell); text-decoration: none; }
.fehler { background: #fbecea; border: 1px solid #e2b3ac; color: var(--rot); padding: .7rem 1rem; border-radius: 6px; }
.erfolg { background: var(--sage); border: 1px solid #b9cdb0; color: var(--forest); padding: .7rem 1rem; border-radius: 6px; }
.box_info { background: var(--sage); border: 1px solid #b9cdb0; padding: .7rem 1rem; border-radius: 6px; }
.hinweis { background: var(--cream); border: 1px solid var(--line); padding: .55rem .85rem; border-radius: 6px; }
.pflicht { color: var(--rot); }
.klein, small { font-size: .85rem; color: var(--grau); }
.rechts { text-align: right; }
.gruen { color: var(--forest); }

/* ---------- Startseite ---------- */
.hero, .guide { display: grid; grid-template-columns: 43% 57%; overflow: hidden; border-radius: 12px; background: var(--cream); }
.hero img, .guide img { width: 100%; height: 100%; object-fit: cover; }
.hero img { object-position: 57% center; }
.intro, .guide > div { padding: clamp(2rem, 4.1vw, 4rem); }
.hero h1 { font-size: clamp(3rem, 5.5vw, 5.35rem); letter-spacing: -.045em; line-height: 1.05; margin: 0; }
.guide h2 { font-size: clamp(2rem, 3.25vw, 3.15rem); line-height: 1.05; margin: 0; }
.intro > p:not(.eyebrow), .guide p:not(.eyebrow) { max-width: 36ch; margin: 1.2rem 0 1.5rem; }
.section { margin-block: 3.2rem 3.5rem; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section-title h2 { margin: 0; }
.section-title a { font-weight: 700; color: var(--forest); text-decoration: underline; text-underline-offset: .25em; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--sage); }
.card img { width: 100%; aspect-ratio: 1.6; object-fit: contain; background: #fff; }
.card h3 { font-size: 1.05rem; margin: .85rem 1rem; }
.guide { grid-template-columns: 53% 47%; background: var(--sage); }
.starttext { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); color: var(--grau); font-size: .95rem; }
.starttext h2 { font-size: 1.5rem; }

/* ---------- Artikel-Karten ---------- */
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.kachel { display: flex; flex-direction: column; gap: .3rem; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--sage); padding-bottom: .9rem; }
.kachel:hover { text-decoration: none; border-color: #c5cbbd; box-shadow: 0 6px 16px rgba(38,46,37,.08); }
.kachel .bild { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1.25; background: #fff; margin-bottom: .5rem; }
.kachel .bild img { max-height: 100%; width: auto; object-fit: contain; padding: .5rem; }
.kachel .titel { padding: 0 1rem; font-weight: 600; color: var(--forest); line-height: 1.35; }
.kachel:hover .titel { text-decoration: underline; text-underline-offset: .2em; }
.kachel .preise, .kachel .mwst, .kachel .nicht-da, .kachel .knapp { padding: 0 1rem; }
.kachel .preise { margin-top: auto; padding-top: .3rem; }
.kachel .nicht-da { font-size: .8rem; color: var(--rot); }
.kachel .knapp { font-size: .8rem; color: #b06a00; }
.badge { display: inline-block; padding: .15rem .5rem; border-radius: 4px; background: var(--wood); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.kachel .badge { position: absolute; left: .6rem; top: .6rem; }
.preis { font-weight: 700; font-size: 1.15rem; color: var(--forest); }
.alt { color: var(--grau); text-decoration: line-through; font-size: .9rem; }
.mwst { display: block; font-size: .78rem; color: var(--grau); }

/* ---------- Kategorie-Seite ---------- */
.mit-filter { display: grid; grid-template-columns: 230px 1fr; gap: 2rem; }
.filter { font-size: .9rem; }
.filter .h3 { margin: 1.2rem 0 .3rem; font-weight: 700; color: var(--forest); }
.filter .h3:first-child { margin-top: 0; }
.filter ul { list-style: none; margin: 0; padding: 0; }
.filter li a { display: block; padding: .15rem 0; color: var(--ink); }
.filter a.aktiv { font-weight: 700; color: var(--wood); }
.katbild { position: relative; margin-bottom: 1.2rem; overflow: hidden; border-radius: 12px; background: var(--cream); }
.katbild img { width: 100%; height: 220px; object-fit: cover; }
.katbild h1 { position: absolute; left: 0; bottom: 0; margin: 0; padding: 1rem 1.6rem; background: var(--cream); border-top-right-radius: 12px; }
.sortierung { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; color: var(--grau); font-size: .9rem; }
.sortierung select { padding: .4rem .6rem; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.blaettern { text-align: center; margin-top: 1.5rem; }
.blaettern a, .blaettern b { display: inline-block; min-width: 2.2rem; padding: .3rem .6rem; margin: 0 .15rem; border: 1px solid var(--line); border-radius: 5px; }
.blaettern b { background: var(--forest); color: #fff; border-color: var(--forest); }
.katbeschreibung { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--grau); font-size: .95rem; }
.katbeschreibung h1, .katbeschreibung h2 { font-size: 1.5rem; }

/* ---------- Artikelseite ---------- */
.artikel { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 2.5rem; }
.artikel .bilder #hauptbild { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.galerie { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.galerie img { width: 84px; height: 84px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.galerie img:hover { border-color: var(--forest); }
.kaufen h1 { font-size: 2rem; }
.preisfeld { padding: .4rem 0 1rem; border-bottom: 1px solid var(--line); }
.preisfeld .preis { font-size: 1.8rem; }
.preisfeld .mwst { font-size: .85rem; }
.preisfeld .mwst a { text-decoration: underline; }
.daten { list-style: none; padding: 0; margin: 1rem 0; line-height: 1.9; font-size: .95rem; }
.daten .ja { color: #3d6b2a; font-weight: 600; }
.daten .nein { color: var(--rot); font-weight: 600; }
.daten .knapp { color: #b06a00; font-weight: 600; }
.daten .ja::before, .daten .nein::before, .daten .knapp::before { content: "● "; }
.kaufzeile { padding: 1rem; background: var(--sage); border-radius: 9px; }
.kaufzeile label { font-weight: 600; }
.kaufzeile input { width: 70px; padding: .45rem; border: 1px solid var(--line); border-radius: 5px; }
.kaufzeile .knopf { margin-left: .6rem; }
.kaufzeile .hinweis { margin: .8rem 0 0; }
.benachrichtigung { padding: 1rem; background: var(--cream); border: 1px solid var(--line); border-radius: 9px; }
.benachrichtigung p { margin: 0 0 .7rem; }
.benachrichtigung .zeile { display: flex; gap: .5rem; flex-wrap: wrap; }
.benachrichtigung input[type=email] { flex: 1 1 14rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 5px; font: inherit; }
.benachrichtigung label.haken { font-size: .85rem; margin: .7rem 0 0; }
.kaufen > p a { color: var(--forest); text-decoration: underline; }
table.merkmale { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .9rem; }
table.merkmale th { text-align: left; padding: .4rem .8rem .4rem 0; width: 40%; color: var(--grau); font-weight: 500; }
table.merkmale td, table.merkmale th { border-bottom: 1px solid var(--line); }
.beschreibung table { max-width: 100%; }
.bald { display: inline-block; font-weight: 600; color: var(--wood); }
.preisfeld .bald { font-size: 1.3rem; }
.beschreibung h3 { font-size: 1.2rem; margin: 2rem 0 .6rem; }
.beschreibung table.fakten { width: 100%; max-width: 720px; border-collapse: collapse; font-size: .95rem; }
.beschreibung table.fakten th { text-align: left; font-weight: 500; color: var(--grau); width: 40%; padding: .45rem 1rem .45rem 0; vertical-align: top; }
.beschreibung table.fakten td { padding: .45rem 0; }
.beschreibung table.fakten th, .beschreibung table.fakten td { border-bottom: 1px solid var(--line); }
.beschreibung td { border-color: var(--line) !important; }
.beschreibung .art-besch-td1 { font-weight: 700; width: 175px; line-height: 2.5em; border-bottom: 1px solid var(--line); }
.beschreibung .art-besch-td2 { border-bottom: 1px solid var(--line); }
.beschreibung .art-table { border-collapse: collapse; }
.beschreibung .art-table-td { border: 1px solid var(--line); padding: .6rem; }

/* ---------- Warenkorb & Kasse ---------- */
.warenkorb { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.warenkorb th { background: var(--sage); text-align: left; padding: .6rem .7rem; font-size: .85rem; color: var(--forest); }
.warenkorb td { padding: .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.warenkorb .zahl { text-align: right; white-space: nowrap; }
.warenkorb .bild { width: 96px; }
.warenkorb .bild img { border-radius: 6px; background: #fff; }
.warenkorb td a { color: var(--forest); }
.warenkorb tfoot td { border: 0; text-align: right; padding: .25rem .7rem; }
.warenkorb tfoot .summe td { font-weight: 700; font-size: 1.15rem; color: var(--forest); border-top: 2px solid var(--line); padding-top: .6rem; }
form.menge { display: inline-flex; gap: .25rem; }
form.menge input { width: 64px; padding: .3rem; border: 1px solid var(--line); border-radius: 5px; }
form.menge button { border: 1px solid var(--line); background: #fff; border-radius: 5px; padding: 0 .5rem; cursor: pointer; }
.schritte { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0 0 1.2rem; }
.schritte li { flex: 1; padding: .7rem 1rem; background: var(--cream); border-radius: 6px; font-weight: 700; color: var(--grau); }
.schritte li.aktiv { background: var(--forest); color: #fff; }
.schritte a { text-decoration: underline; }
.spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.spalten.uebersicht { grid-template-columns: repeat(3, 1fr); }
.uebersicht h3 { font-size: 1rem; margin-bottom: .3rem; }
.uebersicht h3 a { font-size: .85rem; font-weight: 500; margin-left: .4rem; }
fieldset { border: 1px solid var(--line); border-radius: 9px; margin: 0 0 1.2rem; padding: 1rem 1.2rem; background: #fff; }
legend { font-weight: 700; color: var(--forest); padding: 0 .4rem; }
.feld { margin-bottom: .7rem; }
.feld label, label.block { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .2rem; }
.feld input, .feld select, .feld textarea, label.block textarea { width: 100%; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
label.haken { display: block; margin: .8rem 0; }
label.auswahl { display: flex; gap: .6rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
label.auswahl:last-of-type { border-bottom: 0; }
.kontaktbox { background: var(--cream); border-radius: 9px; padding: .4rem 1.4rem; align-self: start; }
.kontaktbox h2 { font-size: 1.4rem; margin-top: .8rem; }
.kontakt .spalten { grid-template-columns: 2fr 1fr; }
table.liste th { text-align: left; padding: .3rem 1rem .3rem 0; vertical-align: top; }

/* ---------- Übernommene Texte ---------- */
.textseite { max-width: 860px; }
.textseite h1, .textseite h2 { color: var(--forest); }
.textseite table { max-width: 100%; border-collapse: collapse; }
.seite-versand table td, .seite-versand table th { border: 1px solid var(--line); padding: .5rem .8rem; }
.textseite font { color: inherit !important; }
.landing .lp-pics { float: right; margin: 0 0 1rem 1.5rem; max-width: 45%; border-radius: 9px; }
.landing .remark { font-style: italic; color: var(--wood); }
.hinweis-widerruf { background: var(--sage); padding: .8rem 1rem; border-radius: 6px; }

/* ---------- Fuß ---------- */
footer { border-top: 1px solid var(--line); background: var(--cream); font-size: .9rem; }
.fuss-spalten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-top: 2rem; }
.fuss-spalten > div { display: flex; flex-direction: column; gap: .3rem; }
.fuss-titel { margin: 0 0 .3rem; font-weight: 700; color: var(--forest); }
.fuss-spalten span { color: var(--grau); }
footer a.widerrufen { font-weight: 700; color: var(--forest); }
.glossar { list-style: none; margin: 2rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); gap: .2rem 1rem; font-size: .8rem; }
.glossar a { color: var(--grau); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding-block: 1.1rem; margin-top: 1.2rem; border-top: 1px solid var(--line); color: var(--grau); font-size: .85rem; }
.foot a { text-decoration: underline; }
.foot .logo { width: 240px; text-decoration: none; }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1360px) {
  .nav { gap: 1rem; font-size: .9rem; }
}
/* 10 Menüpunkte passen erst ab ca. 1250 px: darunter wird das Menü zur wischbaren Leiste;
   Unterkategorien gibt es dann auf der Kategorie-Seite */
@media (max-width: 1250px) {
  .nav { overflow-x: auto; }
  .nav ul { display: none !important; }
}
@media (max-width: 950px) {
  .wrap { width: calc(100% - 48px); }
  .mast { gap: 1rem; }
  .cart span { display: none; }
  .artikel { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss-spalten { grid-template-columns: repeat(2, 1fr); }
  .glossar { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .top .wrap { justify-content: flex-end; }
  .top .wrap > span { display: none; }
  .mast { grid-template-columns: 1fr auto; gap: .5rem; padding-block: .6rem; }
  .mast .suche { grid-row: 2; grid-column: 1 / -1; }
  .logo { width: 250px; }
  .nav { gap: 1.2rem; }
  .hero, .guide { grid-template-columns: 1fr; }
  .hero img, .guide img { height: auto; aspect-ratio: 1.65; }
  .intro, .guide > div { padding: 1.65rem; }
  .guide img { order: 2; }
  .section-title { align-items: start; flex-direction: column; }
  .mit-filter, .spalten, .spalten.uebersicht, .kontakt .spalten { grid-template-columns: 1fr; }
  .filter { order: 2; }
  .raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .kachel .titel, .kachel .preise, .kachel .mwst, .kachel .nicht-da, .kachel .knapp { padding-inline: .7rem; }
  .katbild img { height: 160px; }
  .katbild h1 { font-size: 1.5rem; padding: .7rem 1rem; }
  .warenkorb .bild { display: none; }
  .warenkorb th, .warenkorb td { padding: .5rem .3rem; }
  .fuss-spalten, .glossar { grid-template-columns: 1fr 1fr; }
  .landing .lp-pics { float: none; margin: 0 0 1rem; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
