/* Servierfertig – gemeinsame Gestaltung für servierfertig.ch
   Idee: eine gedruckte Restaurant-Bestellkarte. Tannengrün, Papierweiss, ein roter Akzent wie ein Stempel.
   Schriften lokal (keine Anfragen an Google): Anton für Titel (Versalien), DM Sans für Text. Farben laut Style Guide. */
@font-face { font-family: "Anton"; src: url(fonts/anton.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Bitter"; src: url(fonts/bitter.woff) format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(fonts/dmsans.woff) format("woff"); font-weight: 100 1000; font-display: swap; }

:root { --gruen: #0e3527; --gruen-hell: #cfe6d3; --tinte: #0f1411; --leise: #56615a; --linie: #e3e8e4;
        --rot: #c9321a; --tomate: #f0482c; --weiss: #ffffff; --grund: #fbfaf5; }
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
body { margin: 0; font: 400 17px/1.6 "DM Sans", system-ui, sans-serif; color: var(--tinte); background: var(--grund); }
a { color: var(--gruen); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.02; margin: 0; color: var(--gruen); text-wrap: balance; }
h1, h2 { font-family: "Anton", Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .005em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: .5rem; }
h3 { font-family: "DM Sans", system-ui, sans-serif; font-weight: 700; font-size: 1.25rem; line-height: 1.25; }
p { margin: 0 0 1em; }
.rahmen { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }

.kopf { background: var(--gruen); color: #fff; }
.kopf .rahmen { display: flex; justify-content: space-between; align-items: center; min-height: 4rem; gap: 1rem; }
.marke { display: block; color: #fff; text-decoration: none; }
.marke img { display: block; height: 28px; width: auto; }
.kopf small { opacity: .8; font-size: .9rem; }

.held { background: var(--gruen); color: #fff; padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 7vw, 5rem); }
.held h1 { color: #fff; max-width: 16ch; }
.held p.unter { font-size: 1.2rem; max-width: 40ch; opacity: .92; margin: 1.1rem 0 1.8rem; }
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.4rem;
         border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; }
.knopf.hell { background: #fff; color: var(--gruen); }
.knopf.rand { border-color: currentColor; color: inherit; background: transparent; }
.knopf.voll { background: var(--gruen); color: #fff; }
.knopf.rot { background: var(--rot); color: #fff; }

.block { padding: clamp(3rem, 7vw, 5rem) 0; }

/* Paketkarte: Spalten wie auf einer Menükarte, getrennt durch Linien, nicht drei schwebende Kästen */
.pakete { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--weiss);
          border: 1px solid var(--linie); border-radius: 14px; overflow: hidden; margin-top: 2rem; }
.paket { padding: 2rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.paket + .paket { border-left: 1px solid var(--linie); }
.paket.empfohlen { background: var(--gruen-hell); position: relative; }
.paket.empfohlen::before { content: "Empfohlen"; position: absolute; top: 1rem; right: 1rem; font-size: .8rem; font-weight: 700;
                           color: var(--rot); border: 1.5px solid var(--rot); border-radius: 4px; padding: .05rem .45rem; transform: rotate(3deg); }
.preis { font: 800 2.6rem/1 "Bitter", serif; color: var(--tinte); }
.preis small { font: 500 1rem "DM Sans", sans-serif; color: var(--leise); }
.paket ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; flex: 1; align-content: start; }
.paket li { padding-left: 1.5rem; position: relative; }
.paket li::before { content: ""; position: absolute; left: 0; top: .55em; width: .75rem; height: .4rem;
                    border-left: 2px solid var(--gruen); border-bottom: 2px solid var(--gruen); transform: rotate(-45deg); }
@media (max-width: 820px) { .pakete { grid-template-columns: 1fr; } .paket + .paket { border-left: 0; border-top: 1px solid var(--linie); } }

.schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: s; margin-top: 2rem; }
.schritte div { counter-increment: s; }
.schritte div::before { content: counter(s); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
                        background: var(--gruen); color: #fff; font: 800 1.1rem "Bitter", serif; margin-bottom: .8rem; }
@media (max-width: 820px) { .schritte { grid-template-columns: 1fr; } }

.fragen details { border-top: 1px solid var(--linie); }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; padding: 1rem 0; font-weight: 700; }
.fragen p { color: var(--leise); max-width: 60ch; }

/* Formular */
form { display: grid; gap: 1.4rem; max-width: 42rem; }
fieldset { border: 1px solid var(--linie); border-radius: 12px; padding: 1.4rem; background: var(--weiss); display: grid; gap: 1rem; margin: 0; }
legend { font: 700 1.15rem "Bitter", serif; color: var(--gruen); padding: 0 .4rem; }
label { display: grid; gap: .35rem; font-weight: 600; }
label small, .hinweis { font-weight: 400; color: var(--leise); font-size: .92rem; }
input[type=text], input[type=email], input[type=tel], input[type=url], textarea, select {
  font: inherit; font-size: 16px; padding: .7rem .8rem; border: 1.5px solid var(--linie); border-radius: 8px; background: #fff; width: 100%; }
textarea { min-height: 6rem; resize: vertical; }
input[type=file] { font: inherit; font-size: .95rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; flex: none; accent-color: var(--gruen); }
.zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 600px) { .zwei { grid-template-columns: 1fr; } }
.fehler { color: var(--rot); font-weight: 600; }

.fuss { padding: 2.5rem 0; font-size: .9rem; color: var(--leise); border-top: 1px solid var(--linie); }
.fuss .rahmen { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }

/* Umschalter monatlich / jährlich auf bestellen.html */
.intervall { display: inline-flex; gap: .25rem; padding: .25rem; border-radius: 999px; background: #e7efe9; margin: 0 0 1.5rem; }
.intervall button { font: inherit; border: 0; background: transparent; padding: .5rem 1rem; border-radius: 999px; cursor: pointer; color: inherit; }
.intervall button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 600; }
.intervall button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
