/* Bäckerei Konditorei, Luckauer Str. 17: Gestaltungsentwurf. Safran als Fläche, Türkis der Fliesen, Kraftpapier. */
@font-face { font-family: "Bricolage Grotesque"; src: url("assets/fonts/Bricolage-var-latin.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("assets/fonts/HankenGrotesk-var-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --teal-950: #061f22;
  --teal-900: #08292c;
  --teal-800: #0c3b3f;
  --teal-700: #115056;
  --gold: #f0b13a;
  --gold-hell: #ffd26a;
  --pist: #c6e070;
  --glut: #ff9d7a;
  --kraft: #c59a62;
  --tinte: #1b110a;
  --mehl: #f6efdf;
  --kopf-h: 60px;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--teal-950); color: var(--mehl); font-family: var(--text); font-size: 1.0625rem; line-height: 1.55; }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: 0.95; margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal-950); outline-offset: 2px; box-shadow: 0 0 0 6px var(--gold-hell); border-radius: 4px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--gold); color: var(--tinte); padding: 10px 14px; z-index: 50; font-weight: 700; }
.skip:focus { top: 8px; }
.rahmen { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 30; height: var(--kopf-h); display: flex; align-items: center; gap: 28px; padding: 0 clamp(16px, 3vw, 40px); background: var(--tinte); border-bottom: 3px solid var(--teal-700); }
.marke { text-decoration: none; margin-right: auto; }
.marke-name { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--gold-hell); }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; padding: 8px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--gold); }
.tel-knopf { text-decoration: none; background: var(--gold); color: var(--tinte); padding: 9px 16px; border-radius: 5px; font-weight: 500; white-space: nowrap; box-shadow: 0 3px 0 #a96f10; }
.tel-knopf b { font-family: var(--display); font-weight: 800; margin-left: 4px; }
.tel-knopf:active { transform: translateY(2px); box-shadow: 0 1px 0 #a96f10; }

.knopf { display: inline-block; text-decoration: none; padding: 14px 24px; border-radius: 5px; font-weight: 600; font-size: 1.1rem; line-height: 1.2; text-align: center; border: 2px solid transparent; }
.knopf b { font-family: var(--display); font-weight: 800; margin-left: 4px; }
.knopf:active { transform: translateY(2px); }
.knopf-tinte { background: var(--tinte); color: var(--gold-hell); box-shadow: 0 4px 0 rgba(27, 17, 10, 0.35); }
.knopf-linie { border-color: var(--tinte); color: var(--tinte); }
.knopf-linie:hover { background: var(--tinte); color: var(--gold-hell); }
.knopf-gold { background: var(--gold); color: var(--tinte); box-shadow: 0 4px 0 #a96f10; }
.knopf-hell { border-color: var(--mehl); color: var(--mehl); }
.knopf-hell:hover { background: var(--mehl); color: var(--tinte); }
.aktionen { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Auftritt ---------- */
.auftritt { display: flex; flex-direction: column; min-height: calc(100svh - var(--kopf-h)); }
.auftritt-oben { flex: 1; background: var(--gold); color: var(--tinte); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: clamp(28px, 5vh, 64px) clamp(20px, 4vw, 64px); }
.auftritt-name h1 { font-size: clamp(3.4rem, 9vw, 9rem); letter-spacing: -0.045em; line-height: 0.88; }
.adresse { margin-top: clamp(16px, 3vh, 30px); font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.9vw, 1.7rem); line-height: 1.25; letter-spacing: -0.01em; }
.auftritt-name .aktionen { margin-top: clamp(18px, 3.4vh, 36px); }

.schild { display: grid; justify-items: center; gap: 6px; padding: 26px 30px 22px; background: #f7f7f1; color: #12274a; border: 6px solid #12274a; outline: 3px solid #f7f7f1; outline-offset: -13px; border-radius: 12px; box-shadow: 0 0 0 3px var(--tinte), 0 16px 0 -2px rgba(27, 17, 10, 0.3); font-family: var(--display); transform: rotate(-1.5deg); }
.schild-bezirk { font-size: 1.05rem; font-weight: 600; }
.schild-name { font-size: clamp(2.2rem, 3.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; white-space: nowrap; }
.schild-plz { font-size: 1.25rem; font-weight: 600; }

.fliesen { height: 30px; background-color: var(--teal-800); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Crect width='60' height='30' fill='%230c3b3f'/%3E%3Cpath d='M15 3l12 12-12 12L3 15z' fill='%23f0b13a'/%3E%3Cpath d='M45 3l12 12-12 12-12-12z' fill='%23d9cfb4'/%3E%3Ccircle cx='15' cy='15' r='4' fill='%230c3b3f'/%3E%3Ccircle cx='45' cy='15' r='4' fill='%231f8a8a'/%3E%3C/svg%3E"); background-size: 60px 30px; }

.jetzt { background: var(--teal-950); display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(24px, 4.5vh, 52px) clamp(20px, 4vw, 64px) clamp(26px, 4.5vh, 52px); }
.jetzt-kopf { font-family: var(--display); font-weight: 800; font-size: clamp(2.3rem, 5.6vw, 5.4rem); line-height: 0.95; letter-spacing: -0.035em; color: var(--gold-hell); }
.jetzt[data-zustand="offen"] .jetzt-kopf { color: var(--pist); }
.jetzt[data-zustand="zu"] .jetzt-kopf { color: var(--glut); }
.jetzt-fuss { margin-top: 14px; font-size: clamp(1.1rem, 1.7vw, 1.5rem); font-weight: 500; max-width: 38ch; }

.tag { position: relative; padding-top: 46px; }
.tag-leiste { position: relative; height: 26px; background: rgba(246, 239, 223, 0.16); border-radius: 13px; }
.tag-offen { position: absolute; top: 0; bottom: 0; left: 20.833%; width: 64.584%; background: var(--gold); border-radius: 13px; }
.tag-jetzt { position: absolute; top: -12px; width: 6px; height: 50px; margin-left: -3px; background: var(--mehl); border-radius: 3px; box-shadow: 0 0 0 3px var(--teal-950); transition: left 0.6s ease; }
.tag-jetzt::before { content: "jetzt " attr(data-uhr); position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-weight: 700; font-size: 0.95rem; background: var(--mehl); color: var(--tinte); padding: 2px 8px; border-radius: 4px; }
.tag-skala { position: relative; height: 28px; margin-top: 10px; font-size: 0.95rem; color: #b8cfcc; }
.tag-skala span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.tag-skala span:first-child { transform: none; }
.tag-skala span:last-child { transform: translateX(-100%); }
.tag-skala .zeit { color: var(--gold-hell); font-weight: 700; }

/* ---------- Hinkommen ---------- */
.hinkommen { background-color: var(--teal-700); padding: clamp(56px, 8vw, 110px) 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='2'%3E%3Cpath d='M0 1h120M0 31h120M1 1v30M61 31v29'/%3E%3C/g%3E%3C/svg%3E"); }
.hinkommen-raster { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.hinkommen h2 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); max-width: 12ch; color: var(--gold-hell); }
.hinkommen-text { margin-top: 20px; font-size: 1.15rem; max-width: 44ch; }
.woche { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.woche li { border: 2px solid var(--mehl); border-radius: 6px 6px 24px 24px; padding: 12px 6px 14px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.woche b { font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.woche span { font-size: 0.8rem; line-height: 1.2; font-weight: 600; }
.woche li.heute { background: var(--gold); border-color: var(--gold); color: var(--tinte); }
.weg-text { max-width: 40ch; font-size: 1.08rem; }
.weg .aktionen { margin-top: 24px; }

/* ---------- Angebot (Aushang aus Kraftpapier) ---------- */
.angebot { background: repeating-linear-gradient(97deg, rgba(90, 55, 20, 0.07) 0 2px, transparent 2px 9px), var(--kraft); color: var(--tinte); padding: clamp(56px, 8vw, 110px) 0; }
.angebot h2 { font-size: clamp(2.2rem, 4.8vw, 4.2rem); max-width: 14ch; }
.aushang-hinweis { margin-top: 20px; display: inline-block; padding: 9px 22px; background: #e9d9a2; font-size: 0.98rem; transform: rotate(-0.8deg); clip-path: polygon(0 4%, 2% 0, 4% 4%, 6% 0, 100% 0, 98.5% 25%, 100% 50%, 98.5% 75%, 100% 100%, 6% 100%, 4% 96%, 2% 100%, 0 96%, 1.5% 75%, 0 50%, 1.5% 25%); box-shadow: 0 5px 0 rgba(0, 0, 0, 0.25); }
.aushang { list-style: none; margin: 38px 0 0; padding: 0; max-width: 900px; }
.aushang li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0 10px; border-bottom: 3px dotted rgba(27, 17, 10, 0.5); }
.aushang b { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4.6vw, 4rem); letter-spacing: -0.03em; line-height: 1; }
.aushang span { margin-left: auto; text-align: right; font-weight: 500; font-size: 1.08rem; }
.aushang-fuss { margin-top: 28px; max-width: 58ch; font-size: 0.98rem; }

/* ---------- Anfrage ---------- */
.anfrage { background: var(--teal-900); padding: clamp(56px, 8vw, 110px) 0; }
.anfrage-raster { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.anfrage h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); max-width: 11ch; color: var(--gold-hell); }
.anfrage-kopf p { margin-top: 20px; font-size: 1.12rem; max-width: 38ch; }
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; padding: 30px 30px 26px 56px; position: relative; color: var(--tinte); background: linear-gradient(90deg, transparent 38px, rgba(200, 60, 40, 0.55) 38px 40px, transparent 40px), #f7f0e1; box-shadow: 0 22px 34px rgba(0, 0, 0, 0.4); transform: rotate(0.4deg); }
.formular::before { content: ""; position: absolute; left: 12px; top: 26px; bottom: 26px; width: 12px; background: radial-gradient(circle at 50% 50%, #8a6236 0 5px, transparent 5.5px) 0 0 / 12px 44px repeat-y; }
.feld { display: grid; gap: 4px; }
.feld-breit { grid-column: 1 / -1; }
.feld label { font-weight: 700; font-size: 0.95rem; }
.feld input, .feld textarea { font: inherit; color: var(--tinte); background: transparent; border: 0; border-bottom: 2px solid var(--tinte); padding: 8px 2px; border-radius: 0; width: 100%; }
.feld textarea { background: repeating-linear-gradient(transparent 0 27px, rgba(27, 17, 10, 0.3) 27px 28px); line-height: 28px; padding: 0 4px; border-bottom: 0; resize: vertical; min-height: 170px; }
.formular :focus-visible { box-shadow: 0 0 0 4px var(--gold); outline: 2px solid var(--tinte); }
.formular-knoepfe { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.demo-hinweis { grid-column: 1 / -1; font-size: 0.88rem; font-weight: 600; }

/* ---------- Fuß ---------- */
.fuss { background: var(--tinte); padding: 44px 0 56px; border-top: 6px solid var(--gold); color: #d6cdbd; font-size: 0.95rem; }
.fuss-raster { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 24px 48px; align-items: start; }
.fuss-name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--gold-hell); margin-bottom: 6px; }
.fuss a { color: var(--gold-hell); text-underline-offset: 3px; }

/* ---------- schmal ---------- */
@media (max-width: 900px) {
  :root { --kopf-h: 56px; }
  .nav { display: none; }
  .marke-name { font-size: 1.2rem; }
  .tel-text { display: none; }
  .rahmen { width: min(1200px, 100% - 32px); }
  .auftritt { min-height: 0; }
  .auftritt-oben { grid-template-columns: 1fr; padding: 22px 18px 20px; }
  .auftritt-name h1 { font-size: clamp(3.1rem, 15.5vw, 5rem); }
  .adresse { font-size: 1.08rem; margin-top: 14px; }
  .schild { display: none; }
  .auftritt-name .aktionen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .auftritt-name .knopf { padding: 13px 8px; font-size: 1rem; }
  .auftritt-name .knopf b { display: block; margin: 2px 0 0; }
  .knopf { padding: 12px 18px; font-size: 1.02rem; }
  .jetzt { grid-template-columns: 1fr; gap: 6px; padding: 20px 18px 26px; }
  .jetzt-kopf { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .jetzt-fuss { font-size: 1.05rem; margin-top: 8px; }
  .tag { padding-top: 40px; }
  .hinkommen-raster, .anfrage-raster, .fuss-raster { grid-template-columns: 1fr; }
  .woche { gap: 4px; }
  .woche span { display: none; }
  .woche li { padding: 10px 2px; border-radius: 5px 5px 14px 14px; }
  .aushang li { flex-direction: column; gap: 2px; align-items: flex-start; }
  .aushang span { margin-left: 0; text-align: left; }
  .formular { grid-template-columns: 1fr; padding: 24px 18px 22px 46px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tag-jetzt { transition: none; }
}
