/* Mein Werk Keramik — Gestaltung „Ton, Glasur, Garten“ (29.11.2026)
   Grundstimmung: tiefes Moosgrün, geöffnet durch helle Kalk- und Steinzeugflächen.
   Material: matter Ton (Knöpfe), warmer Karton (Passepartouts), sparsam gealterter Stahl (schmale Kanten).
   Einziges Zierelement: eine frei gezogene Tonlinie. Schriften: Newsreader + Source Sans 3. */
:root {
  --moos: #1f2b1e; --moos-2: #283727; --moos-3: #34472f;
  --kalk: #f1ebdf; --kalk-2: #e8dfcf; --steinzeug: #d9cdb8; --karton: #e7dcc7;
  --ton: #a8562f; --ton-hell: #bd6b42; --ton-dunkel: #86411f; --siena: #9b5530; --umbra: #4a3020;
  --tinte: #26211c; --tinte-leise: #6d6152; --creme: #f3ecdf; --creme-leise: #c9bea9;
  --linie-hell: rgba(38,33,28,.14); --linie-dunkel: rgba(243,236,223,.16);
  --serif: "Newsreader", Georgia, serif; --sans: "Source Sans 3", system-ui, sans-serif;
  --groesse: 19px;
}
* { box-sizing: border-box; }
html { font-size: var(--groesse); scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; font-family: var(--sans); font-weight: 400; line-height: 1.62; color: var(--creme); background: var(--moos); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.06; letter-spacing: -.01em; font-optical-sizing: auto; }
em, i { font-family: var(--serif); font-style: italic; }
p { margin: 0 0 1rem; }
.rahmen { width: min(1220px, 100% - 3rem); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--ton-hell); outline-offset: 3px; border-radius: 2px; }

/* ---------- Flächen: dunkles Moos und helle Kalkbänder ---------- */
.dunkel { background:
    radial-gradient(ellipse 70% 60% at 15% 0%, rgba(84,104,70,.28), transparent 70%),
    radial-gradient(ellipse 60% 50% at 95% 100%, rgba(120,70,40,.14), transparent 70%), var(--moos); color: var(--creme); }
.hell { background:
    radial-gradient(ellipse 80% 70% at 85% 0%, rgba(255,252,245,.65), transparent 70%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(205,190,160,.35), transparent 70%), var(--kalk); color: var(--tinte); }
.hell .leise, .hell .text-leise { color: var(--tinte-leise); }
.dunkel .leise { color: var(--creme-leise); }
.abschnitt { padding: clamp(4rem, 8vw, 6.5rem) 0; }

/* ---------- Tonlinie: frei gezogen, sparsam eingesetzt ---------- */
.tonlinie { display: block; width: 7.5rem; height: .8rem; background: var(--ton); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27160%27%20height%3D%2716%27%20viewBox%3D%270%200%20160%2016%27%3E%3Cpath%20d%3D%27M2%209.6C14%206.8%2024%205.9%2037%207.6c12%201.6%2019%204.2%2033%203.4%2013-.8%2021-4.6%2035-4.9%2015-.3%2026%203.1%2039%202.5%205-.2%209-1%2014-2.2%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%273.2%27%20stroke-linecap%3D%27round%27%2F%3E%3Cpath%20d%3D%27M40%208.3c9%201.4%2017%203.6%2029%203%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.2%27%20stroke-linecap%3D%27round%27%20opacity%3D%27.6%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27160%27%20height%3D%2716%27%20viewBox%3D%270%200%20160%2016%27%3E%3Cpath%20d%3D%27M2%209.6C14%206.8%2024%205.9%2037%207.6c12%201.6%2019%204.2%2033%203.4%2013-.8%2021-4.6%2035-4.9%2015-.3%2026%203.1%2039%202.5%205-.2%209-1%2014-2.2%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%273.2%27%20stroke-linecap%3D%27round%27%2F%3E%3Cpath%20d%3D%27M40%208.3c9%201.4%2017%203.6%2029%203%27%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-width%3D%271.2%27%20stroke-linecap%3D%27round%27%20opacity%3D%27.6%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; margin: 0 0 1.2rem; }
.dunkel .tonlinie { background: var(--ton-hell); }

/* ---------- Kopf ---------- */
.kopf { position: relative; z-index: 10; }
.kopf .rahmen { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 2.5rem; padding: 1.5rem 0; flex-wrap: wrap; }
.logo img { height: 3.1rem; width: auto; }
.menue { display: flex; align-items: center; gap: .3rem 2rem; flex-wrap: wrap; }
.menue a:not(.knopf) { text-decoration: none; font-size: 1.02rem; padding: .5rem 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s ease; }
.menue a:not(.knopf):hover, .menue a[aria-current] { background-size: 100% 1px; }
@media (max-width: 860px) {
  .kopf .rahmen { justify-content: center; padding: 1.2rem 0 .6rem; }
  .menue { justify-content: center; gap: .1rem 1.3rem; }
  .menue a:not(.knopf) { font-size: .98rem; padding: .55rem 0; }
  .logo img { height: 2.6rem; }
}

/* ---------- Knöpfe: matter Ton, weiche Kontur, dezente Kante ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.3rem; padding: .7rem 1.9rem;
  font: inherit; font-size: 1.02rem; font-weight: 600; letter-spacing: .005em; text-decoration: none; cursor: pointer;
  color: #fbf4ea; border: 1px solid var(--ton-dunkel); border-radius: 11px;
  background: linear-gradient(180deg, rgba(255,236,214,.14), rgba(255,236,214,0) 45%, rgba(60,20,5,.10)), var(--ton);
  box-shadow: inset 0 1px 0 rgba(255,230,205,.28), 0 1px 0 rgba(40,15,5,.25), 0 6px 14px -10px rgba(30,15,5,.7);
  transition: background-color .2s ease, box-shadow .2s ease; }
.knopf:hover { background-color: var(--ton-dunkel); }
.knopf:active { box-shadow: inset 0 2px 4px rgba(40,15,5,.35), 0 0 0 rgba(0,0,0,0); }
.knopf.ruhig { color: var(--tinte); border-color: #bfae8f; background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0) 50%), var(--steinzeug); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 1px 0 rgba(60,45,25,.18), 0 6px 14px -10px rgba(40,30,15,.5); }
.knopf.ruhig:hover { background-color: #cfc1a8; }
.knopf.klein { min-height: 2.75rem; padding: .45rem 1.25rem; font-size: .95rem; border-radius: 9px; }
.textlink { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: color .2s, background-size .2s; }
.textlink:hover { color: var(--ton-hell); }
.hell .textlink:hover { color: var(--ton-dunkel); }

/* ---------- Bilder: ohne Rahmen, mit Karton-Passepartout, oder mit schmaler Stahlkante ---------- */
.foto { margin: 0; }
.foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.foto.karton { background: var(--karton); padding: clamp(12px, 2vw, 22px); box-shadow: inset 0 0 0 1px rgba(80,60,35,.08), 0 1px 1px rgba(40,30,15,.12), 0 18px 34px -24px rgba(20,15,10,.65); }
.foto.karton img { box-shadow: 0 0 0 1px rgba(40,30,15,.12), inset 0 0 0 1px rgba(0,0,0,.05); border-radius: 0; }
.foto.stahl { padding: 6px; background:
    radial-gradient(ellipse 45% 35% at 22% 28%, rgba(150,78,40,.55), transparent 70%),
    radial-gradient(ellipse 50% 40% at 78% 72%, rgba(70,38,22,.6), transparent 70%),
    radial-gradient(ellipse 30% 25% at 60% 12%, rgba(170,96,52,.35), transparent 70%),
    linear-gradient(140deg, #4b2c1d, #6e3c22 45%, #3f2618); box-shadow: 0 1px 0 rgba(255,210,170,.08) inset, 0 18px 34px -22px rgba(10,8,5,.75); }
.foto.stahl.karton { padding: 6px; }
.foto.stahl.karton > .innen { background: var(--karton); padding: clamp(12px, 2vw, 22px); box-shadow: inset 0 1px 3px rgba(40,25,10,.25); height: 100%; }
.bildtext { margin-top: .9rem; font-size: .95rem; line-height: 1.45; }
.bildtext b { display: block; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.3rem; }
.dunkel .bildtext { color: var(--creme-leise); } .dunkel .bildtext b { color: var(--creme); }
.hell .bildtext { color: var(--tinte-leise); } .hell .bildtext b { color: var(--tinte); }

/* ---------- Fuß ---------- */
footer { background: #182317; color: var(--creme-leise); }
footer .rahmen { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.4rem; padding: 3.6rem 0 2.4rem; }
footer img { height: 2.8rem; width: auto; margin-bottom: 1rem; }
footer h3 { font-size: 1.3rem; margin-bottom: .5rem; color: var(--creme); }
footer p { margin: 0 0 .35rem; }
footer a { color: var(--creme); text-underline-offset: 4px; }
footer .klein { grid-column: 1 / -1; border-top: 1px solid var(--linie-dunkel); padding-top: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; color: var(--creme-leise); }
footer .klein a { margin-left: 1.2rem; }
@media (max-width: 800px) { footer .rahmen { grid-template-columns: 1fr; } footer .klein a { margin: 0 1.2rem 0 0; } }

/* ---------- Formularfelder, Flächen ---------- */
.feld label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: .4rem; }
.feld label small { font-weight: 400; color: var(--tinte-leise); margin-left: .4rem; }
.feld input, .feld textarea, .feld select { width: 100%; font: inherit; font-size: 1.05rem; color: var(--tinte); background: #fbf8f2; border: 1px solid #cdbfa6; border-radius: 10px; padding: .85rem 1rem; min-height: 3.3rem; box-shadow: inset 0 1px 2px rgba(60,40,20,.08); }
.feld textarea { min-height: 10rem; line-height: 1.5; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: 2px solid var(--ton); outline-offset: 1px; border-color: var(--ton); }
.flaeche { background: #f8f3ea; border: 1px solid #ddd0b8; border-radius: 16px; box-shadow: inset 0 1px 0 #fff, 0 16px 30px -24px rgba(40,30,15,.5); }

/* ---------- Großansicht ---------- */
dialog { border: 0; padding: 0; background: transparent; width: min(1100px, 100% - 2rem); max-height: 94vh; overflow: visible; }
dialog::backdrop { background: rgba(14,20,13,.9); }
dialog img { width: 100%; height: auto; max-height: 86vh; object-fit: contain; border-radius: 2px; }
dialog .bildtext { color: var(--creme-leise); text-align: center; }
dialog .bildtext b { color: var(--creme); }
.zu { position: absolute; top: -1.1rem; right: -1.1rem; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid #bfae8f; background: var(--steinzeug); color: var(--tinte); font-size: 1.5rem; line-height: 1; cursor: pointer; z-index: 5; box-shadow: 0 6px 14px -6px rgba(0,0,0,.6); }
.zu:hover { background: #cfc1a8; }
@media (max-width: 700px) { .zu { top: .6rem; right: .6rem; } }

/* ---------- Warenkorb (für später mit Preisen), Meldung ---------- */
.korb-knopf { display: none; }
.korb-knopf.voll { display: inline-flex; gap: .4rem; border: 1px solid currentColor; background: none; color: inherit; padding: .35rem .9rem; border-radius: 9px; font: inherit; cursor: pointer; }
.korb { position: fixed; top: 0; right: 0; height: 100%; width: min(460px, 100%); background: var(--kalk); color: var(--tinte); z-index: 80; transform: translateX(105%); transition: transform .4s ease; display: flex; flex-direction: column; }
.korb.offen { transform: none; }
.korb .kopfzeile { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--linie-hell); }
.korb .kopfzeile h2 { font-size: 2rem; } .korb .kopfzeile .zu { position: static; }
.korb .liste { flex: 1; overflow: auto; padding: 0 1.6rem; }
.posten { display: grid; grid-template-columns: 4.6rem 1fr auto; gap: 1.1rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--linie-hell); }
.posten .tafel { aspect-ratio: 4 / 5; overflow: hidden; } .posten .tafel img { width: 100%; height: 100%; object-fit: cover; }
.posten > span { white-space: nowrap; } .posten b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; display: block; }
.menge { display: inline-flex; align-items: center; border: 1px solid var(--linie-hell); border-radius: 9px; margin-top: .4rem; }
.menge button { width: 2.6rem; height: 2.6rem; border: 0; background: none; font-size: 1.15rem; cursor: pointer; }
.menge span { min-width: 1.8rem; text-align: center; }
.korb .ende { padding: 1.4rem 1.6rem 1.8rem; border-top: 1px solid var(--linie-hell); display: grid; gap: .9rem; }
.summe { display: flex; justify-content: space-between; align-items: baseline; } .summe b { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; }
.leer { color: var(--tinte-leise); padding: 2.6rem 0; } .klein { font-size: .88rem; }
.schleier { position: fixed; inset: 0; background: rgba(14,20,13,.5); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .3s; }
.schleier.offen { opacity: 1; pointer-events: auto; }
.meldung { position: fixed; left: 50%; bottom: 1.8rem; transform: translate(-50%, 220%); visibility: hidden; background: var(--tinte); color: var(--kalk); padding: .9rem 1.4rem; border-radius: 10px; z-index: 95; transition: transform .3s, visibility .3s; }
.meldung.da { transform: translate(-50%, 0); visibility: visible; }

.auf { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.auf.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } .auf { opacity: 1; transform: none; } }
