/* Benny's Kaffeemaschinen – Website (2026). Schriften lokal: Bitter (Überschriften), Atkinson Hyperlegible (Text), beide OFL. */
@font-face { font-family: "Bitter"; src: url("fonts/bitter-var.woff") format("woff"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --espresso: #2b1a12;   /* Text, dunkle Flächen */
  --bohne: #5a3825;      /* Links, Nebentext auf hell */
  --crema: #d9a25b;      /* Akzent auf dunkel, Anhänger */
  --crema-hell: #f3dcb6;
  --schaum: #fffdf9;     /* Grund */
  --stein: #efe8de;      /* ruhige Flächen */
  --linie: #ddd2c4;
  --rebe: #4f6b4a;       /* „frei“, Bestätigung */
  --rot: #a3402c;
  --grau: #6f5f53;
  --kopf: "Bitter", Rockwell, "Roboto Slab", Georgia, serif;
  --text: "Atkinson", "Segoe UI", system-ui, -apple-system, sans-serif;
  --breite: 1120px;
  --r: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--schaum); color: var(--espresso); font: 1.0625rem/1.6 var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bohne); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--espresso); }
:focus-visible { outline: 3px solid var(--crema); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--kopf); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: 66ch; }
.wrap { width: min(100% - 40px, var(--breite)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--espresso); color: #fff; padding: 8px 12px; z-index: 99; }

/* ------------------------------------------------------------ Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(255, 253, 249, .94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--linie); }
.kopf .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--espresso); }
.marke img { height: 48px; width: auto; }
.marke span { font-family: var(--kopf); font-weight: 700; font-size: 1.1rem; line-height: 1.1; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--espresso); font-weight: 700; font-size: .98rem; }
.nav a:hover, .nav a[aria-current] { color: var(--bohne); text-decoration: underline; }
.nav a.knopf, .nav a.knopf:hover { color: var(--schaum); text-decoration: none; }
.nav a.knopf[aria-current] { background: var(--bohne); border-color: var(--bohne); }
.menue { display: none; margin-left: auto; }
.menue summary { list-style: none; cursor: pointer; font-weight: 700; padding: 8px 12px; border: 1.5px solid var(--espresso); border-radius: var(--r); }
.menue summary::-webkit-details-marker { display: none; }
.menue[open] .menue-liste { display: flex; }
.menue-liste { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; background: var(--schaum); border-bottom: 1px solid var(--linie); padding: 8px 20px 18px; }
.menue-liste a { padding: 12px 0; border-bottom: 1px solid var(--stein); text-decoration: none; color: var(--espresso); font-weight: 700; font-size: 1.1rem; }
@media (max-width: 860px) { .nav { display: none; } .menue { display: block; } .marke span { display: none; } }

/* ------------------------------------------------------------ Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 1.05rem/1 var(--text); padding: .95em 1.4em; border-radius: var(--r); border: 2px solid var(--espresso); background: var(--espresso); color: var(--schaum); text-decoration: none; cursor: pointer; }
.knopf:hover { background: var(--bohne); border-color: var(--bohne); color: var(--schaum); }
.knopf.hell { background: transparent; color: var(--espresso); }
.knopf.hell:hover { background: var(--stein); color: var(--espresso); }
.knopf.crema { background: var(--crema); border-color: var(--crema); color: var(--espresso); }
.knopf.crema:hover { background: var(--crema-hell); border-color: var(--crema-hell); }
.knopf.klein { padding: .7em 1.05em; font-size: .95rem; }
.knopf svg { width: 1.1em; height: 1.1em; flex: none; }
.knopf[disabled] { opacity: .55; cursor: wait; }

/* ------------------------------------------------------------ Start */
.start { padding: clamp(36px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.start .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.start .ort { font-weight: 700; color: var(--bohne); margin-bottom: 14px; }
.start p.lead { font-size: 1.22rem; color: var(--grau); max-width: 34ch; }
.start .aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.marken { margin-top: 28px; color: var(--grau); font-size: .98rem; }
.marken b { color: var(--espresso); }
@media (max-width: 820px) { .start .wrap { grid-template-columns: 1fr; } }

/* Der Anhänger: wie das Auftragsetikett, das an jeder Maschine in der Werkstatt hängt */
.anhaenger-halter { display: flex; justify-content: center; padding-top: 34px; }
.anhaenger { position: relative; width: min(100%, 330px); background: var(--crema); color: var(--espresso); padding: 64px 28px 28px;
  clip-path: polygon(22% 0, 78% 0, 100% 15%, 100% 100%, 0 100%, 0 15%); transform: rotate(-3deg); transform-origin: 50% 0;
  box-shadow: inset 0 0 0 2px rgba(43, 26, 18, .12); }
.anhaenger::before { content: ""; position: absolute; top: 18px; left: 50%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%;
  background: var(--schaum); box-shadow: 0 0 0 5px #c48b45; }
.anhaenger-schnur { position: absolute; top: -34px; left: 50%; width: 2px; height: 66px; background: var(--espresso); transform: translateX(-1px) rotate(-3deg); transform-origin: 50% 100%; }
.anhaenger .klein { font-size: .95rem; font-weight: 700; margin: 0 0 6px; }
.anhaenger .kw { font: 800 clamp(3.4rem, 9vw, 4.6rem)/0.95 var(--kopf); letter-spacing: -.03em; margin: 0; }
.anhaenger .zeitraum { font: 600 1.25rem/1.3 var(--kopf); margin: 6px 0 4px; }
.anhaenger .platz { font-size: .98rem; margin: 0 0 20px; }
.anhaenger .knopf { width: 100%; }
.anhaenger .linie { border-top: 2px dashed rgba(43, 26, 18, .35); margin: 22px -8px 14px; }
.anhaenger .anh-fuss { font-size: .9rem; margin: 0; }
.anhaenger.lade .kw, .anhaenger.lade .zeitraum { color: rgba(43, 26, 18, .35); }
@media (prefers-reduced-motion: no-preference) {
  .anhaenger { animation: schwingen 2.4s cubic-bezier(.3, .6, .3, 1) .2s both; }
  @keyframes schwingen { 0% { transform: rotate(9deg); } 35% { transform: rotate(-6deg); } 65% { transform: rotate(-1.5deg); } 100% { transform: rotate(-3deg); } }
}

/* ------------------------------------------------------------ Abschnitte */
.abschnitt { padding: clamp(56px, 8vw, 104px) 0; }
.abschnitt.stein { background: var(--stein); }
.abschnitt.dunkel { background: var(--espresso); color: var(--schaum); }
.abschnitt.dunkel a { color: var(--crema-hell); }
.abschnitt .einleitung { max-width: 60ch; color: var(--grau); font-size: 1.12rem; margin-bottom: 40px; }
.abschnitt.dunkel .einleitung { color: #d9cbbd; }

/* Ablauf – echte Reihenfolge, deshalb nummeriert */
.ablauf { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 2px solid var(--espresso); }
.ablauf li { counter-increment: s; padding: 26px 28px 8px 0; position: relative; }
.ablauf li + li { padding-left: 28px; border-left: 1px solid var(--linie); }
.ablauf li::before { content: counter(s); display: block; font: 800 3.2rem/1 var(--kopf); color: var(--crema); margin-bottom: 12px; -webkit-text-stroke: 1px var(--bohne); }
.ablauf p { color: var(--grau); }
@media (max-width: 760px) { .ablauf { grid-template-columns: 1fr; } .ablauf li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--linie); } }

/* Leistungen */
.leistungen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.leistungen ul { padding-left: 1.1em; margin: 0; color: var(--grau); }
.leistungen li { margin-bottom: .35em; }
@media (max-width: 860px) { .leistungen { grid-template-columns: 1fr; gap: 28px; } }

/* Preistafel */
.tafel { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.preise { list-style: none; margin: 0; padding: 0; }
.preise li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(255, 253, 249, .14); }
.preise .was { font: 700 1.3rem/1.2 var(--kopf); }
.preise .punkte { border-bottom: 2px dotted rgba(217, 162, 91, .55); transform: translateY(-5px); }
.preise .preis { font: 800 1.55rem/1 var(--kopf); color: var(--crema); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.preise .info { grid-column: 1 / -1; color: #d9cbbd; font-size: .98rem; margin-top: -4px; }
.gratis h3 { color: var(--crema); }
.gratis ul { list-style: none; padding: 0; margin: 0 0 24px; }
.gratis li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid rgba(255, 253, 249, .1); }
.gratis li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 16px; height: 9px; border-left: 3px solid var(--crema); border-bottom: 3px solid var(--crema); transform: rotate(-45deg); }
.gratis .klein { color: #c9b9a9; font-size: .95rem; }
@media (max-width: 860px) { .tafel { grid-template-columns: 1fr; } }

/* Abgabe */
.abgabe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.adresse { font: 700 1.5rem/1.3 var(--kopf); margin: 0 0 18px; }
.bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bilder figure { margin: 0; }
.bilder img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); background: var(--stein); border: 1px solid var(--linie); }
.bilder figcaption { font-size: .9rem; color: var(--grau); margin-top: 8px; }
.hinweis { border-left: 4px solid var(--crema); background: var(--schaum); padding: 14px 18px; margin: 22px 0; max-width: 60ch; }
.abschnitt.stein .hinweis { background: var(--schaum); }
@media (max-width: 860px) { .abgabe { grid-template-columns: 1fr; } }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--espresso); }
.kontakt > a, .kontakt > div { padding: 22px 22px 22px 0; text-decoration: none; color: var(--espresso); }
.kontakt > * + * { padding-left: 22px; border-left: 1px solid var(--linie); }
.kontakt .art { display: block; color: var(--grau); font-size: .95rem; margin-bottom: 4px; }
.kontakt .wert { font: 700 1.2rem/1.3 var(--kopf); overflow-wrap: anywhere; }
.kontakt .wert.mail { font-size: 1rem; }
.kontakt a:hover .wert { text-decoration: underline; }
@media (max-width: 900px) { .kontakt { grid-template-columns: 1fr 1fr; } .kontakt > *:nth-child(3) { padding-left: 0; border-left: 0; } .kontakt > *:nth-child(n+3) { border-top: 1px solid var(--linie); } }
@media (max-width: 520px) { .kontakt { grid-template-columns: 1fr; } .kontakt > * + * { padding-left: 0; border-left: 0; border-top: 1px solid var(--linie); } }

/* Fuß */
.fuss { background: var(--espresso); color: #d9cbbd; padding: 44px 0 34px; font-size: .95rem; }
.fuss .wrap { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: flex-end; justify-content: space-between; }
.fuss a { color: var(--crema-hell); }
.fuss blockquote { margin: 0; font: italic 400 1.1rem/1.5 var(--text); color: var(--schaum); max-width: 48ch; }
.fuss nav { display: flex; gap: 20px; }

/* ------------------------------------------------------------ Textseiten (Impressum, Datenschutz) */
.text-seite { padding: clamp(40px, 7vw, 80px) 0; }
.text-seite .wrap { max-width: 760px; }
.text-seite h2 { font-size: 1.45rem; margin-top: 1.8em; }
.text-seite h3 { font-size: 1.12rem; margin-top: 1.4em; }
.text-seite ul { padding-left: 1.2em; }
.text-seite .stand { color: var(--grau); }

/* ------------------------------------------------------------ Buchung */
.buchung { padding: clamp(32px, 6vw, 64px) 0 clamp(56px, 8vw, 96px); }
.buchung .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.buchung .seite-lead { color: var(--grau); font-size: 1.15rem; max-width: 56ch; }
.buchung aside { position: sticky; top: 96px; }
.buchung aside .anhaenger { transform: rotate(2deg); animation: none; width: 100%; padding-top: 58px; }
.buchung aside .anhaenger .kw { font-size: 2.6rem; }
@media (max-width: 900px) { .buchung .wrap { grid-template-columns: 1fr; } .buchung aside { display: none; } }
fieldset { border: 0; border-top: 2px solid var(--espresso); margin: 0 0 34px; padding: 20px 0 0; min-width: 0; }
legend { font: 700 1.35rem/1.2 var(--kopf); padding: 0 12px 0 0; display: flex; align-items: center; gap: 12px; }
legend .nr { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--crema); font-size: 1.05rem; }
.feld { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.feld small { font-weight: 400; color: var(--grau); }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; align-items: end; }
.felder .ganz { grid-column: 1 / -1; }
@media (max-width: 560px) { .felder { grid-template-columns: 1fr; } }
input[type=text], input[type=tel], input[type=email], textarea { font: inherit; color: inherit; background: #fff; border: 1.5px solid #cdbfae; border-radius: var(--r); padding: 12px 13px; width: 100%; }
input:focus, textarea:focus { outline: 3px solid rgba(217, 162, 91, .45); outline-offset: 0; border-color: var(--bohne); }
textarea { min-height: 110px; resize: vertical; }
[aria-invalid=true] { border-color: var(--rot) !important; }
.wahl { display: grid; gap: 10px; }
.wahl.wochen { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); }
.option { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--linie); border-radius: var(--r); padding: 14px 16px; background: #fff; cursor: pointer; }
.option input { width: 19px; height: 19px; margin: 3px 0 0; accent-color: var(--espresso); flex: none; }
.option .name { font-weight: 700; display: block; }
.option .beschr { color: var(--grau); font-size: .93rem; display: block; }
.option .preis { margin-left: auto; font: 700 1.1rem/1.3 var(--kopf); white-space: nowrap; }
.option:has(input:checked) { border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); background: #fffaf2; }
.option:has(input:disabled) { opacity: .5; cursor: not-allowed; background: var(--stein); }
.option .kw { font: 800 1.35rem/1.1 var(--kopf); display: block; }
.marke-frei { display: inline-block; margin-top: 6px; font-size: .85rem; font-weight: 700; color: var(--rebe); }
.marke-frei.wenig { color: #8a5a12; }
.marke-frei.voll { color: var(--grau); }
.pflicht { color: var(--grau); font-size: .95rem; }
.zustimmung { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; margin-bottom: 20px; }
.zustimmung input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--espresso); flex: none; }
.meldung { border-radius: var(--r); padding: 14px 18px; margin: 0 0 22px; font-weight: 700; }
.meldung.fehler { background: #fbe9e4; color: var(--rot); border: 1px solid #efc3b8; }
.meldung.info { background: var(--stein); color: var(--espresso); border: 1px solid var(--linie); font-weight: 400; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.erfolg { max-width: 640px; }
.erfolg .anhaenger { margin: 46px auto 34px; transform: rotate(-2deg); }
.erfolg .anhaenger .kw { font-size: clamp(2.4rem, 8vw, 3.2rem); letter-spacing: 0; }
.erfolg dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 24px; }
.erfolg dt { color: var(--grau); }
.erfolg dd { margin: 0; font-weight: 700; }
.versteckt { display: none !important; }
