/*
 * Die Maße von Marsy Design — für alle drei Beispiel-Websites dieselben (Skill marsy-ci).
 * Farben, Schrift und Ton bringt jede Seite in ihrer eigenen stil.css mit; die Geometrie gehört uns:
 * Kasten 1260, ein Seitenrand, ein Abstandsraster, Kopf 66/78, Kapselknöpfe, feste Anruf-Leiste am Handy.
 */
@font-face { font-family: 'Bricolage Grotesque'; src: url('../fonts/BricolageGrotesque.woff2') format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --breite: 1260px;
  --rand: clamp(18px, 4vw, 40px);
  --block: clamp(40px, 4.5vw, 56px);
  --luft: clamp(16px, 2.2vw, 28px);
  --rund: 14px;
  --rund-knopf: 999px;
  --kopf: 66px;
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --kopf: 78px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--grund); color: var(--tinte); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--kopf) + 12px); }

/* Eine Kante, eine Hülle */
.wrap { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
section { padding-block: var(--block); }
.kopf + main > section:first-child, main > section:first-child { padding-top: calc(var(--block) / 2); } /* die Leiste bringt ihre Höhe schon mit */

/* Sprunglink */
.sprung { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 10px 16px; background: var(--tinte); color: var(--grund); border-radius: 8px; font-weight: 600; text-decoration: none; }
.sprung:focus { top: 16px; }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(30px, 7vw, 58px); }
h2 { font-size: clamp(28px, 4.2vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.015em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-stretch: 85%; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--akzent-tief, var(--akzent)); margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--gedaempft); max-width: 58ch; }
h1 + .lead, h2 + .lead { margin-top: 16px; }
p { max-width: 64ch; }
.stand { font-size: 14.5px; color: var(--gedaempft); line-height: 1.45; }
.kopfzeile { display: grid; gap: var(--luft); margin-bottom: calc(var(--luft) * 1.4); }
@media (min-width: 900px) { .kopfzeile--zwei { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; } }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: var(--rund-knopf); font-family: var(--display); font-weight: 700; font-size: 16px; white-space: nowrap; text-decoration: none; border: 1.5px solid transparent; transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.knopf--voll { background: var(--akzent); color: var(--akzent-text); }
.knopf--rand { border-color: var(--linie-stark); color: var(--tinte); }
.knopf--gross { min-height: 60px; padding: 0 28px; font-size: 18px; }
@media (hover: hover) and (pointer: fine) {
  .knopf:hover { transform: translateY(-1px); }
  .knopf--rand:hover { border-color: var(--tinte); }
}
.taten { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: calc(var(--luft) * 1.2); }

/* ---------- Kopf: Name links, Nummer rechts, sticky, Glas ---------- */
.kopf { position: sticky; top: 0; z-index: 50; height: var(--kopf); background: color-mix(in srgb, var(--grund) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.kopf.ist-gescrollt { border-bottom-color: var(--linie); }
.kopf .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.05; }
.marke .zeichen { width: 40px; height: 40px; flex: none; }
.marke b { display: block; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.marke small { display: block; margin-top: 3px; font-family: var(--display); font-weight: 500; font-stretch: 85%; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gedaempft); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 10px 12px; border-radius: var(--rund-knopf); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--gedaempft); white-space: nowrap; transition: color .2s var(--ease), background .2s var(--ease); }
.nav a[aria-current="page"], .nav a.aktuell { color: var(--tinte); }
.nav a[aria-current="page"]::after, .nav a.aktuell::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--akzent); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--tinte); background: var(--flaeche); } }
.nav .knopf { margin-left: 8px; min-height: 44px; padding: 0 18px; font-size: 15px; }
.nav a.knopf--voll { color: var(--akzent-text); } /* schlägt .nav a — sonst steht gedämpfte Schrift auf der Akzentfarbe */
.nav a.knopf--rand { color: var(--tinte); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linie-stark); place-items: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--tinte); box-shadow: 0 -6px 0 var(--tinte), 0 6px 0 var(--tinte); }

/* ---------- Karten, Raster, Listen ---------- */
.karte { padding: clamp(20px, 2.4vw, 28px); border-radius: var(--rund); border: 1px solid var(--linie); background: var(--flaeche); }
.raster { display: grid; gap: var(--luft); }
.raster--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.raster--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.raster--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.zweispalt { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: calc(var(--luft) * 1.6) calc(var(--luft) * 2.2); align-items: start; }
.spec { display: grid; border-top: 1px solid var(--linie); }
.spec > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; padding: 13px 0; border-bottom: 1px solid var(--linie); align-items: baseline; }
.spec dt { font-family: var(--display); font-weight: 600; font-size: 16.5px; }
.spec dd { color: var(--gedaempft); font-size: 15.5px; line-height: 1.5; }
.spec .preis { font-family: var(--display); font-weight: 700; font-size: 17px; white-space: nowrap; color: var(--tinte); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span, .chips button { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--rund-knopf); border: 1px solid var(--linie-stark); font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--tinte); }
.chips button[aria-pressed="true"] { background: var(--akzent); border-color: var(--akzent); color: var(--akzent-text); }

/* ---------- Formulare ---------- */
.formular { display: grid; gap: 14px; }
.feld { display: grid; gap: 6px; }
.feld span { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--gedaempft); }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--linie-stark); background: var(--grund); color: var(--tinte); }
.feld textarea { min-height: 120px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid var(--akzent); outline-offset: 0; border-color: transparent; }
.zeile-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vorschau { padding: 16px 18px; border-radius: var(--rund); background: var(--flaeche); border: 1px dashed var(--linie-stark); white-space: pre-wrap; font-size: 15px; line-height: 1.55; color: var(--gedaempft); }
.meldung { font-size: 14.5px; color: var(--gedaempft); min-height: 1.4em; }
.meldung.laut { color: var(--tinte); font-weight: 600; }

/* ---------- Öffnungszeiten und Status ---------- */
.status { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 15px; }
.status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--gedaempft); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gedaempft) 22%, transparent); }
.status.offen::before { background: #34c77b; box-shadow: 0 0 0 4px rgba(52, 199, 123, .22); }
.status.zu::before { background: #e0605a; box-shadow: 0 0 0 4px rgba(224, 96, 90, .22); }
.zeiten { list-style: none; display: grid; }
.zeiten li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--linie); font-size: 15.5px; }
.zeiten li.heute { font-weight: 700; color: var(--tinte); }
.zeiten li.ruhetag span:last-child { color: var(--gedaempft); }

/* ---------- Bewertungen ---------- */
.sterne { font-family: var(--display); font-weight: 700; letter-spacing: .04em; color: var(--akzent-tief, var(--akzent)); }
.zitat { display: grid; gap: 10px; }
.zitat p { font-size: 16px; line-height: 1.55; }
.zitat small { font-size: 13.5px; color: var(--gedaempft); }

/* ---------- Fuß ---------- */
.fuss { padding-block: var(--block); border-top: 1px solid var(--linie); font-size: 14.5px; color: var(--gedaempft); }
.fuss .wrap { display: grid; gap: 14px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fuss nav a { color: var(--tinte); text-underline-offset: 3px; }
.fuss .beispiel { padding-top: 14px; border-top: 1px dashed var(--linie-stark); }
.fuss .beispiel a { color: var(--tinte); font-weight: 600; }

/* ---------- Die Beispiel-Leiste: verkauft die Website, auf der man gerade steht ---------- */
.demo { position: fixed; right: 14px; bottom: 14px; z-index: 60; max-width: 330px; display: grid; gap: 8px; padding: 12px 14px 12px 16px; border-radius: 14px; background: #0B0B10; color: #F4F6F8; border: 1px solid rgba(216, 242, 75, .55); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); font-family: 'Inter', system-ui, sans-serif; font-size: 13.5px; line-height: 1.45; }
.demo b { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; color: #D8F24B; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.demo a { color: #fff; font-weight: 600; text-decoration: none; }
.demo .demo-zu { position: absolute; top: 6px; right: 8px; width: 28px; height: 28px; border-radius: 50%; color: #9AA0A6; font-size: 18px; line-height: 1; }
.demo .demo-taten { display: flex; flex-wrap: wrap; gap: 8px; }
.demo .demo-taten a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border-radius: 999px; background: #D8F24B; color: #0B0B10; font-size: 13px; }
.demo .demo-taten a.leise { background: transparent; border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.demo.weg { display: none; }

/* ---------- Einblenden in beide Richtungen ---------- */
.blende { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.blende.da { opacity: 1; transform: none; }

/* ---------- Handy ---------- */
.leiste { display: none; }
@media (max-width: 980px) {
  .raster--3, .raster--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zweispalt { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px var(--rand) 20px; background: var(--grund); border-bottom: 1px solid var(--linie); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav.offen { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 12px; font-size: 18px; }
  .nav .knopf { margin: 8px 0 0; }
  .burger { display: grid; }
  .kopf .tel-kopf { display: none; }
  .leiste { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px var(--rand) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--grund) 96%, transparent); border-top: 1px solid var(--linie); }
  .leiste .knopf { flex: 1; min-height: 52px; }
  body { padding-bottom: 84px; }
  .demo { left: 10px; right: 10px; bottom: 84px; max-width: none; padding: 10px 40px 10px 14px; gap: 6px; font-size: 13px; }
  .demo > span:not(.demo-taten) { display: none; } /* am Handy nur Titel und Knöpfe — der Satz steht im Fuß */
  .demo .demo-taten a { min-height: 32px; }
  .zeile-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .raster--2, .raster--3, .raster--4 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blende { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* Beispiel-Band: ganz oben auf jeder Seite — der Betrieb ist erfunden, die Fotos sind von Pexels */
.beispiel-band { background: #0B0B10; color: #E9EAEE; font-size: 13.5px; line-height: 1.45; }
.beispiel-band .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding-block: 9px; }
.beispiel-band b { color: #D8F24B; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.beispiel-band .lang { flex: 1 1 32ch; min-width: 0; }
.beispiel-band .kurz { display: none; flex: 1; }
@media (max-width: 640px) {
  .beispiel-band .lang { display: none; }
  .beispiel-band .kurz { display: block; }
  /* zwei Zeilen: Etikett + Kurzsatz, darunter der Link — sonst quetscht der Flex den Satz auf Wortbreite */
  .beispiel-band .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; padding-block: 8px; }
  .beispiel-band a { grid-column: 1 / -1; justify-self: start; }
}
.beispiel-band a { color: #fff; font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }

/* Fotos: Beispielbilder von Pexels (lizenzfrei), im echten Auftrag das Shooting beim Betrieb */
.fotos figure { margin: 0; border-radius: var(--rund); overflow: hidden; background: var(--flaeche); border: 1px solid var(--linie); }
.fotos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fotos figcaption { padding: 10px 14px; font-size: 13.5px; line-height: 1.45; color: var(--gedaempft); }
.fotos-quelle { margin-top: 10px; font-size: 13px; color: var(--gedaempft); }
