/* ==========================================================================
   Nahweb · Stylesheet der Hauptseiten
   Stil 1 «Warm und gefasst»: warmes Papier, Karten, Orange als Fläche.
   Die drei Beispiele hängen auf einer Tintenfläche (#17181B).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1 · Schriften — lokal, keine Verbindung zu fremden Servern
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Ersatz, in der Laufweite angeglichen, damit beim Laden nichts springt */
@font-face {
  font-family: "Titel-Ersatz";
  src: local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 200 800;
  size-adjust: 92%;
}

/* --------------------------------------------------------------------------
   2 · Farben — jede Farbe hat eine Aufgabe. Kontraste beim Token.
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Papier und Karten */
  --papier:        #F6F2EA; /* Seitengrund */
  --papier-tief:   #EDE6D8; /* Bänder: Preis, Kontakt */
  --karte:         #FFFFFF;
  --linie:         #E2D9C8;
  --linie-kraeftig:#CFC4B0;

  /* Tinte */
  --tinte:         #17181B; /* 15.9:1 auf Papier, 14.3:1 auf Band, 5.2:1 auf Orange */
  --tinte-weich:   #56524B; /* 6.9:1 auf Papier, 7.8:1 auf Weiss, 6.2:1 auf Band */
  --tinte-flaeche: #17181B; /* die Wand */
  --tinte-licht:   #26272B; /* Lichtschein über den Bildern */

  /* Orange — immer als Fläche */
  --orange:        #EC5A3A; /* Flächen mit Tinte darauf: 5.2:1 */
  --orange-tief:   #CB4221; /* gefüllte Knöpfe mit Weiss: 4.8:1 */
  --orange-zart:   #FBE7E0;

  /* auf der Wand */
  --auf-wand:      #F6F2EA; /* 15.9:1 auf der Wand */
  --auf-wand-weich:#CFC8BC; /* 10.7:1 auf der Wand */
  --rahmen-hell:   #EFE7DA; /* Rand um die Ausschnitte */

  /* Formular */
  --feld-rand:     #857E72; /* 4.0:1 auf Weiss (Grenze von Bedienelementen: 3:1) */
  --fehler:        #A42A12; /* 7.2:1 auf Weiss */

  /* Form (Feinschliff 5.10.2026: Karten 18 → 10 px, kleine Flächen 12 → 8 px; die weichen
     Schatten sind weg, die Karten haben ihre Linie, auf der Wand trägt der helle Rahmen) */
  --radius:        10px;
  --radius-klein:  8px;
  --schatten:      none;
  --schatten-wand: none;

  /* Schrift */
  --titel: "Bricolage Grotesque", "Titel-Ersatz", "Helvetica Neue", Arial, system-ui, sans-serif;
  --text:  "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rhythmus (Handy) */
  --abstand: 30px;
  --rinne: 16px;
  --leiste: 60px;
}

/* --------------------------------------------------------------------------
   3 · Grundlage
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Unter 960 px liegt unten die feste Leiste: Fokus und Sprünge nicht dahinter enden lassen */
@media (max-width: 959px) { html { scroll-padding-bottom: calc(var(--leiste) + 12px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 960px) { html { scroll-padding-bottom: 12px; } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a[href^="tel:"] { white-space: nowrap; }
strong { font-weight: 650; }
.symbol { width: 20px; height: 20px; flex: none; fill: currentColor; }
.ohne-umbruch { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; border-radius: 6px; }
.wand :focus-visible, .schaufenster :focus-visible, .fuss :focus-visible { outline-color: var(--auf-wand); }
.wir-flaeche :focus-visible { outline-color: var(--tinte); }

.nur-vorlesen {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.sprung {
  position: absolute; left: 12px; top: -80px; z-index: 50;
  padding: 12px 16px; border-radius: 6px;
  background: var(--tinte); color: var(--auf-wand); font-weight: 600; text-decoration: none;
}
.sprung:focus { top: 12px; }

.rahmen { width: min(1280px, 100% - 2 * var(--rinne)); margin-inline: auto; }

.titel {
  font-family: var(--titel);
  font-weight: 750;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.band { background: var(--papier-tief); }

/* --------------------------------------------------------------------------
   4 · Knöpfe
   -------------------------------------------------------------------------- */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  font-family: var(--text);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.knopf-orange { background: var(--orange-tief); color: #fff; }
.knopf-orange:hover { background: #B8391B; }
.knopf-tinte  { background: var(--tinte); color: var(--auf-wand); }
.knopf-tinte:hover { background: #2C2D31; }
.knopf-hell   { background: var(--auf-wand); color: var(--tinte); }
.knopf-hell:hover { background: #fff; }
/* Zwei Zeilen im Knopf: «Anrufen» und darunter die Nummer */
.knopf-zeilen { display: flex; flex-direction: column; align-items: flex-start; }
.knopf-zeilen > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .knopf:active { transform: translateY(1px); }
}

/* --------------------------------------------------------------------------
   5 · Etiketten «Beispiel: erfundenes Malergeschäft»
   -------------------------------------------------------------------------- */
.etikett {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--tinte);
}
.etikett strong { font-weight: 700; }
.etikett > span { min-width: 0; }

/* --------------------------------------------------------------------------
   6 · Kopfzeile
   -------------------------------------------------------------------------- */
.kopf { padding-top: 8px; }
.kopf-innen { display: flex; align-items: center; gap: 24px; min-height: 54px; }
.marke {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; text-decoration: none; min-width: 0;
}
.marke-zeichen {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--orange); color: var(--tinte);
  font-family: var(--titel); font-weight: 800; font-size: 22px;
}
.marke-text { display: flex; flex-direction: column; min-width: 0; }
.marke-name { font-family: var(--titel); font-weight: 800; font-size: 22px; line-height: 1.05; letter-spacing: -.01em; }
/* Die Namen gut sichtbar */
.marke-namen { margin-top: 2px; font-size: clamp(12px, 3.4vw, 14px); font-weight: 600; line-height: 1.3; color: var(--tinte); white-space: nowrap; }
.kopf-nav, .kopf-tel { display: none; }

/* --------------------------------------------------------------------------
   7 · Erster Bildschirm
   -------------------------------------------------------------------------- */
.held { padding-top: 12px; }
.held-text { padding-bottom: 22px; }
.held-titel {
  font-family: var(--titel);
  font-weight: 750;
  font-size: clamp(29px, 8.9vw, 36px);
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.held-ort { margin-top: 10px; font-size: 18.5px; line-height: 1.4; font-weight: 550; }
.held-satz { margin-top: 12px; font-size: 18px; line-height: 1.5; max-width: 34em; }
/* Marker: orange Fläche hinter dem Schlüsselsatz */
.marker {
  background: var(--orange);
  color: var(--tinte);
  padding: .09em .22em;
  margin-inline: -.22em; /* Fläche ragt links und rechts hinaus, der Text bleibt bündig mit dem Absatz */
  border-radius: 5px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  font-weight: 600;
}
.held-titel .marker { padding: 0 .12em; margin-inline: -.12em; border-radius: 6px; font-weight: inherit; }
.held-knopf { margin-top: 18px; }
.held-knopf .knopf { width: 100%; min-height: 56px; font-size: 18px; }

/* Schaufenster: die drei Beispiel-Websites, am Handy unter dem Knopf auf der Tinte */
.schaufenster {
  margin-inline: calc(var(--rinne) * -1);
  padding: 16px var(--rinne) 0;
  background: var(--tinte-flaeche);
  background-image: radial-gradient(130% 260px at 50% 0%, var(--tinte-licht), var(--tinte-flaeche) 100%);
  color: var(--auf-wand);
}
.schau-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.schau { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--auf-wand); border-radius: 8px; }
.schau-geraet {
  display: block;
  padding: 3px;
  border-radius: 8px;
  background: var(--rahmen-hell);
}
.schau-geraet img { width: 100%; border-radius: 6px; background: #fff; }
.schau-etikett { font-size: 12px; line-height: 1.3; color: var(--auf-wand-weich); hyphens: manual; }
.schau-etikett strong { color: var(--auf-wand); font-weight: 700; }

/* --------------------------------------------------------------------------
   8 · Die Wand mit den drei Beispielen
   -------------------------------------------------------------------------- */
.wand {
  background: var(--tinte-flaeche);
  color: var(--auf-wand);
  padding: 22px 0 32px;
}
/* Platz für die erste echte Referenz (im HTML auskommentiert, bis es sie gibt) */
.referenz {
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--tinte-licht);
  color: var(--auf-wand);
}
.wand-titel {
  font-family: var(--titel);
  font-weight: 750;
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.wand-satz { margin-top: 8px; font-size: 17px; line-height: 1.45; color: var(--auf-wand); max-width: 38em; }
/* Satz zu den Beispielfotos, eine Stufe ruhiger */
.wand-fotos { display: block; margin-top: 6px; font-size: 15px; line-height: 1.42; color: var(--auf-wand-weich); }

.werke { display: grid; gap: 26px; margin-top: 18px; }
.werk { display: flex; flex-direction: column; scroll-margin-top: 16px; }
.werk-bild { position: relative; display: flex; flex-direction: column; align-items: flex-start; }

/* Etikett als Reiter am oberen Rand des Rahmens */
.werk-bild .etikett {
  position: relative;
  z-index: 1;
  padding: 8px 14px 6px 12px;
  background: var(--rahmen-hell);
  border-radius: 8px 8px 0 0;
}
.geraet {
  display: block;
  color: inherit;
  text-decoration: none;
  width: 100%;
  padding: 6px;
  background: var(--rahmen-hell);
  border-radius: 0 14px 14px 14px;
}
.schirm {
  display: flex; flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: var(--schirm-grund, #fff);
}
.schirm img, .schirm picture { display: block; width: 100%; }

.werk-text { margin-top: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.werk-nutzen {
  font-family: var(--titel);
  font-weight: 650;
  font-size: 19px;
  line-height: 1.22;
  letter-spacing: -.008em;
  color: var(--auf-wand);
  text-wrap: pretty;
}
.werk-notiz { margin-top: -4px; font-size: 14.5px; line-height: 1.38; color: var(--auf-wand-weich); }
/* Preisschild unter dem Rahmen */
.werk-preis { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.werk-preis-zusatz { font-size: 15px; font-weight: 600; color: var(--auf-wand-weich); }
.preisschild {
  display: inline-flex; align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 4px;
  background: var(--orange);
  color: var(--tinte);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.werk-text .knopf { width: 100%; min-height: 48px; }
/* Handy und Tablet: Reservations-Ausschnitt nur bis unter die Uhrzeiten */
@media (max-width: 959px) {
  #b-landgasthof .schirm img { aspect-ratio: 780 / 612; object-fit: cover; object-position: top; }
}
.wand-schluss { margin-top: 26px; }
.wand-schluss .knopf { width: 100%; min-height: 56px; font-size: 18px; }
/* QR-Code «Mit dem Handy öffnen»: nur ab 960 px (app.js setzt ihn erst dort ein) */
.werk-qr { display: none; }

/* --------------------------------------------------------------------------
   9 · Preis und Ablauf (Band)
   -------------------------------------------------------------------------- */
.preis { padding: var(--abstand) 0; }
.pakete { display: grid; gap: 12px; margin-top: 16px; align-items: start; }
.paket {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 14px 16px 2px;
}
.paket-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.paket-name { font-family: var(--titel); font-weight: 750; font-size: 24px; line-height: 1.1; }
.paket-preis {
  padding: 6px 12px 5px;
  border-radius: 4px;
  background: var(--orange);
  font-family: var(--titel);
  font-weight: 750;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.paket-satz { margin-top: 6px; font-size: 15px; line-height: 1.42; }

.umfang { margin-top: 6px; border-top: 1px solid var(--linie); }
.umfang summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 4px 0;
  font-weight: 650; cursor: pointer; list-style: none;
}
.umfang summary::-webkit-details-marker { display: none; }
.umfang summary::after, .frage summary::after {
  content: "";
  flex: none;
  width: 30px; height: 30px;
  /* schlichtes Plus und Minus an derselben Stelle, ohne Kreis dahinter */
  background: no-repeat center / 16px 16px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%2317181B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.umfang[open] summary::after, .frage[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 7h12' stroke='%2317181B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.umfang-listen { display: grid; gap: 16px; padding: 4px 0 14px; }
.umfang-teil h4 { font-size: 15px; font-weight: 650; color: var(--tinte-weich); margin-bottom: 6px; }
.liste { display: grid; gap: 6px; font-size: 16px; line-height: 1.42; }
.liste li { position: relative; padding-left: 26px; }
.liste li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 18px; height: 18px;
  background: no-repeat center / 13px 13px;
}
.liste-drin li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.2 4 7.5 8.5 2.5' fill='none' stroke='%239A2F14' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.liste-nicht li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5h6' stroke='%2356524B' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.paket-wahl { margin-top: 10px; font-size: 15px; line-height: 1.42; font-weight: 600; text-wrap: pretty; }
.paket-wahl a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; }

/* Kosten: drei Zeilen «Inbegriffen», «Jedes Jahr», «Wenn Sie wollen» */
.kosten {
  margin-top: 10px;
  border-radius: var(--radius-klein);
  background: var(--karte);
  border: 1px solid var(--linie);
  font-size: 14.5px;
  line-height: 1.42;
  overflow: hidden;
}
.kosten-liste { margin: 0; }
.kosten-zeile { padding: 9px 13px; }
.kosten-zeile + .kosten-zeile { border-top: 1px solid var(--linie); }
/* Handy: Bezeichnung als Vorspann in derselben Zeile; Desktop: darüber */
.kosten dt { display: inline; margin-right: .45em; font-weight: 650; color: var(--tinte-weich); }
.kosten dd { display: inline; margin: 0; }
.kosten strong { font-weight: 700; }
.kosten-mwst { padding: 7px 13px; border-top: 1px solid var(--linie); background: var(--papier); font-size: 14px; color: var(--tinte-weich); }

/* Die vier Bedingungen: unter 960 px eine Liste mit Punkten, ab 960 px zwei Spalten zu je zwei Sätzen */
.fakten {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-klein);
  background: var(--orange);
  color: var(--tinte);
  font-weight: 650;
  font-size: 15px;
  font-stretch: 92%;
  line-height: 1.38;
}
.fakten > span { position: relative; padding-left: 13px; text-wrap: balance; }
.fakten > span::before {
  content: ""; position: absolute; left: 1px; top: .6em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--tinte);
}

/* So läuft es: eine Karte, drei Schritte, Fusszeile mit Ihrem Aufwand */
.ablauf {
  margin-top: 18px;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  overflow: hidden;
}
.ablauf-titel { padding: 12px 14px 0; font-family: var(--titel); font-weight: 750; font-size: 22px; line-height: 1.1; }
.schritte { display: grid; gap: 0; padding: 2px 14px 4px; }
.schritt {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 10px;
  align-items: start;
  padding: 9px 0;
  font-size: 15.5px;
  line-height: 1.42;
}
.schritt + .schritt { border-top: 1px solid var(--linie); }
.schritt strong { font-weight: 700; }
.schritt-nr {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange); color: var(--tinte);
  font-family: var(--titel); font-weight: 750; font-size: 16px;
}
.vorschau { display: none; align-items: center; gap: 12px; margin-top: 6px; }
@media (min-width: 600px) { .vorschau { display: flex; } }
.vorschau-geraet {
  flex: none;
  width: 54px;
  padding: 3px;
  border-radius: 6px;
  background: var(--tinte);
  box-shadow: var(--schatten);
}
.vorschau-geraet img { width: 100%; border-radius: 4px; }
.vorschau figcaption { display: flex; flex-direction: column; gap: 3px; }
.vorschau-titel { font-size: 15px; font-weight: 650; line-height: 1.3; }
.vorschau-etikett { font-size: 13px; line-height: 1.35; color: var(--tinte-weich); }
.vorschau-etikett strong { color: var(--tinte); font-weight: 700; }
.ablauf-schluss {
  padding: 10px 14px;
  background: var(--orange-zart);
  font-weight: 650;
  font-size: 15.5px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   10 · Wer wir sind — orange Fläche, zwei Karten
   -------------------------------------------------------------------------- */
.wir { padding-top: var(--abstand); }
.wir-flaeche {
  padding: 16px 14px 12px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--tinte);
}
.wir-satz { margin-top: 8px; font-size: 16px; line-height: 1.48; }
.wir-karten { margin-top: 14px; }
.wir-foto { margin-bottom: 12px; }
.wir-foto img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.wir:has(.wir-foto img) .monogramm { display: none; }
.personen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.person {
  display: flex; flex-direction: column; align-items: stretch; gap: 10px;
  background: var(--karte);
  border-radius: var(--radius);
  padding: 12px 10px 8px;
}
.person-kopf { display: flex; align-items: center; gap: 10px; min-width: 0; }
.monogramm {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--tinte); color: var(--auf-wand);
  font-family: var(--titel); font-weight: 750; font-size: 16px; letter-spacing: .02em;
}
.person-name { font-family: var(--titel); font-weight: 750; font-size: 17px; line-height: 1.12; min-width: 0; overflow-wrap: normal; hyphens: manual; }
.person-tel { min-height: 46px; padding: 8px 10px; font-size: 16px; font-variant-numeric: tabular-nums; border-radius: 8px; }
.person-wa { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: -2px 0 -4px; font-size: 15px; font-weight: 600; color: var(--tinte); }
.erreichbar { margin-top: 12px; font-size: 15.5px; line-height: 1.42; font-weight: 600; }
.adresse { margin-top: 6px; font-size: 15px; line-height: 1.45; }
.adresse a { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; font-weight: 600; }

/* --------------------------------------------------------------------------
   11 · Fragen
   -------------------------------------------------------------------------- */
.fragen { padding: var(--abstand) 0; }
.fragen-hilfe { display: none; }
.fragen-liste { display: grid; gap: 7px; margin-top: 14px; }
.frage {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius-klein);
}
.frage summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 10px 8px 14px;
  font-weight: 650;
  font-size: 16px;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.frage summary::-webkit-details-marker { display: none; }
.antwort { padding: 0 14px 14px; font-size: 15.5px; line-height: 1.48; }
.fn-ref { font-size: .7em; line-height: 0; }
.fn-ref a { display: inline-block; min-width: 24px; padding: 10px 4px; margin: -10px 0; text-align: center; font-weight: 700; }
.fussnote { margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: var(--tinte-weich); }
.fussnote a { display: inline-block; padding: 14px 0; margin: -14px 0; color: var(--tinte); }

/* --------------------------------------------------------------------------
   12 · Kontakt (Band)
   -------------------------------------------------------------------------- */
.kontakt { padding: var(--abstand) 0; }
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.kontakt-knoepfe { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 14px; }
.knopf-gross { min-height: 60px; font-size: 17px; justify-content: flex-start; text-align: left; padding: 8px 14px; gap: 10px; }
a.knopf-gross { white-space: normal; }
.zweite-tuer {
  margin-top: 8px;
  padding: 9px 13px;
  border-radius: var(--radius-klein);
  background: var(--papier);
  font-size: 15px; line-height: 1.45;
}
.formular-karte {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 17px 14px 10px;
  position: relative;
}
/* Orange Oberkante: 6 px, gerade Unterkante, folgt oben der Rundung der Karte (kein Keil an den Ecken) */
.formular-karte::before,
.neben-karte::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(var(--orange) 0 6px, transparent 6px);
  pointer-events: none;
}
.formular-titel { font-family: var(--titel); font-weight: 750; font-size: 22px; line-height: 1.15; }
.feld { margin-top: 9px; }
.feld label { display: block; font-weight: 650; font-size: 16px; margin-bottom: 3px; }
.freiwillig { font-weight: 400; color: var(--tinte-weich); }
.feld input, .feld textarea {
  display: block; width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--feld-rand);
  border-radius: 6px;
  background: #fff;
  color: var(--tinte);
  font: 17px/1.4 var(--text);
}
.feld textarea { min-height: 72px; resize: vertical; }
.feld input:focus-visible, .feld textarea:focus-visible { outline: 3px solid var(--tinte); outline-offset: 1px; border-color: var(--tinte); }
.feld input[aria-invalid="true"] { border-color: var(--fehler); border-width: 2px; }
.fehler { margin-top: 6px; color: var(--fehler); font-size: 15px; font-weight: 600; line-height: 1.35; }
/* Zusammenfassung über dem Knopf (vom Skript eingesetzt, role="alert"): leer ohne Höhe, sonst wie die Fehlertexte */
.formular-zusammenfassung { margin-top: 14px; color: var(--fehler); font-size: 15px; font-weight: 600; line-height: 1.35; }
.formular-zusammenfassung:empty { margin-top: 0; }
.knopf-senden { width: 100%; margin-top: 14px; min-height: 56px; font-size: 18px; }
.formular-hinweis { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--tinte-weich); }
.formular-hinweis a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; margin: -12px 0; color: var(--tinte); font-weight: 600; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.danke { outline: none; }
.danke-titel { font-family: var(--titel); font-weight: 750; font-size: 24px; line-height: 1.15; margin-bottom: 8px; text-wrap: balance; }
.danke a { font-weight: 650; }

/* --------------------------------------------------------------------------
   13 · Fuss
   -------------------------------------------------------------------------- */
.fuss {
  background: var(--tinte-flaeche);
  color: var(--auf-wand-weich);
  padding: 18px 0 calc(var(--leiste) + 22px + env(safe-area-inset-bottom, 0px));
  font-size: 15px;
  line-height: 1.5;
}
.fuss strong { color: var(--auf-wand); font-weight: 700; }
.fuss-adresse, .fuss-links { margin-top: 6px; }
.fuss a { color: var(--auf-wand); display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; }
.fuss-links { margin-top: 20px; }
.fuss-links a { min-width: 44px; }
/* Abstand statt Mittelpunkt zwischen Adresse, Nummer, E-Mail und den Links */
.fuss .trenner, .adresse .trenner { margin-left: .9em; }

/* --------------------------------------------------------------------------
   14 · Feste Leiste unten (Handy), 60 px
   -------------------------------------------------------------------------- */
.leiste {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  height: calc(var(--leiste) + env(safe-area-inset-bottom, 0px));
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px));
  background: rgba(246, 242, 234, .97);
  border-top: 1px solid var(--linie-kraeftig);
}
.leiste-knopf {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 8px;
  background: var(--tinte);
  color: var(--auf-wand);
  font-weight: 650; font-size: 17px;
  text-decoration: none;
}
.leiste-knopf .symbol { width: 21px; height: 21px; }

/* ==========================================================================
   Ab 600 px (Tablet): mehr Luft, Karten der Beispiele zweispaltig
   ========================================================================== */
@media (min-width: 600px) {
  :root { --rinne: 28px; --abstand: 64px; }
  .held-knopf .knopf, .wand-schluss .knopf { width: auto; padding-inline: 28px; }
  .schau-liste { gap: 18px; }
  .schau-etikett { font-size: 13.5px; }
  .werk-text .knopf { width: auto; }
  .umfang-listen { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
  .fakten { font-size: 16px; }
  .personen { gap: 12px; }
  .person { padding: 16px 16px 10px; }
  .feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (min-width: 600px) and (max-width: 959px) {
  .werk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
  .werk-text { margin-top: 38px; }
}

/* ==========================================================================
   Ab 960 px: Desktop — die Breite nutzen
   ========================================================================== */
@media (min-width: 960px) {
  :root { --rinne: 40px; --abstand: 96px; }
  body { font-size: 18px; }
  .leiste { display: none; }
  .fuss { padding-bottom: 32px; }

  /* Kopf */
  .kopf { padding-top: 18px; }
  .kopf-innen { min-height: 64px; }
  .marke-zeichen { width: 42px; height: 42px; font-size: 24px; }
  .marke-name { font-size: 25px; }
  .marke-namen { font-size: 15px; }
  .kopf-tel { margin-left: auto; }
  .kopf-nav a {
    display: inline-flex; align-items: center; min-height: 44px;
    padding: 0 12px; border-radius: 6px;
    font-size: 16px; font-weight: 550; text-decoration: none;
  }
  .kopf-nav a:hover { background: var(--papier-tief); }
  .kopf-tel {
    display: inline-flex; align-items: center; gap: 9px;
    min-height: 48px; padding: 0 18px; border-radius: 8px;
    background: var(--tinte); color: var(--auf-wand);
    font-weight: 650; font-size: 18px; text-decoration: none;
    font-variant-numeric: tabular-nums;
  }
  .kopf-tel:hover { background: #2C2D31; }

  /* Held: links Text, rechts das Schaufenster mit den drei Beispiel-Websites */
  .held { padding-top: 26px; }
  .held-raster {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: end;
  }
  .held-text { padding: 20px 0 56px; align-self: center; }
  .held-titel { font-size: clamp(40px, 3.7vw, 54px); line-height: 1.03; letter-spacing: -.025em; text-wrap: balance; }
  .held-ort { font-size: 22px; margin-top: 16px; }
  .held-satz { font-size: 21px; line-height: 1.5; margin-top: 20px; max-width: 27em; }
  .held-knopf { margin-top: 28px; }
  .held-knopf .knopf { min-height: 60px; font-size: 19px; padding-inline: 32px; }

  .schaufenster {
    margin: 0;
    padding: 30px 30px 34px;
    border-radius: 14px 14px 0 0;
    background-image: radial-gradient(120% 80% at 50% 0%, var(--tinte-licht), var(--tinte-flaeche) 75%);
  }
  .schau-liste { gap: 22px; }
  .schau { gap: 10px; }
  .schau-geraet { padding: 5px; border-radius: 12px; }
  .schau-geraet img { border-radius: 8px; }
  .schau-etikett { font-size: 14px; }

  /* Wand: direkt an das Schaufenster anschliessend */
  .wand { padding: 56px 0 80px; }
  .wand-kopf {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
  .wand-titel { font-size: 42px; }
  .wand-satz { margin-top: 0; font-size: 20px; line-height: 1.45; max-width: 30em; justify-self: end; }

  .werke {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    margin-top: 44px;
    align-items: stretch;
  }
  /* gemeinsame Oberkante, gleich hohe Rahmen (alle drei Ausschnitte rund 780 × 990) */
  .schirm { aspect-ratio: 780 / 992; }
  .geraet { padding: 8px; border-radius: 0 16px 16px 16px; }
  .schirm { border-radius: 12px; }
  .werk-bild .etikett { font-size: 14.5px; padding: 9px 16px 7px 14px; border-radius: 8px 8px 0 0; }
  .werk-text { flex: 1; margin-top: 20px; gap: 14px; }
  .werk-text .knopf { margin-top: auto; }
  .preisschild { font-size: 17px; min-height: 40px; }
  .werk-preis-zusatz { font-size: 16px; }
  .wand-fotos { margin-top: 8px; font-size: 17px; }
  .werk-nutzen { font-size: 22px; }
  .werk-notiz { font-size: 16px; }
  /* QR-Code: 29 Module + 4 Module Ruhezone je Seite = 37 × 3 px, damit jedes Modul ganze Pixel hat */
  .werk-qr { display: flex; align-items: center; gap: 16px; margin: 4px 0 0; }
  .werk-qr .qr { flex: none; width: 111px; height: 111px; border-radius: 4px; }
  .werk-qr figcaption { min-width: 0; font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--auf-wand-weich); }
  .wand-schluss { margin-top: 52px; display: flex; justify-content: center; }
  .wand-schluss .knopf { min-height: 60px; font-size: 19px; padding-inline: 34px; }

  /* Preis */
  .titel { font-size: 44px; }
  .pakete { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
  .paket { padding: 26px 30px 10px; }
  .paket-name { font-size: 30px; }
  .paket-preis { font-size: 34px; padding: 8px 16px 7px; }
  .paket-satz { font-size: 18px; margin-top: 14px; min-height: 4.35em; }
  .umfang { margin-top: 12px; }
  .umfang summary { min-height: 56px; font-size: 17px; }
  .liste { font-size: 16.5px; }
  .paket-wahl { margin-top: 16px; font-size: 17px; max-width: 62em; }
  .kosten { margin-top: 14px; font-size: 16.5px; border-radius: var(--radius); }
  .kosten-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kosten-zeile { padding: 18px 28px 20px; }
  .kosten-zeile + .kosten-zeile { border-top: 0; border-left: 1px solid var(--linie); }
  .kosten dt { display: block; margin-right: 0; }
  .kosten dd { display: block; margin-top: 4px; }
  .kosten-mwst { padding: 10px 28px; font-size: 15px; }
  .fakten { margin-top: 14px; padding: 18px 28px; font-size: 17.5px; border-radius: var(--radius); }
  /* vier Sätze in zwei Spalten; die linke so breit wie ihr längster Satz, damit die Paare beieinanderstehen */
  .fakten { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 3.2em; }
  .fakten > span { padding-left: 0; }
  .fakten > span::before { content: none; }

  .ablauf { margin-top: 48px; }
  .ablauf-titel { padding: 26px 30px 0; font-size: 30px; }
  .schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 14px 30px 26px; }
  .schritt { grid-template-columns: 38px 1fr; column-gap: 14px; padding: 6px 28px 6px 0; font-size: 17px; }
  .schritt + .schritt { border-top: 0; border-left: 1px solid var(--linie); padding-left: 28px; }
  .schritt:last-child { padding-right: 0; }
  .schritt-nr { width: 38px; height: 38px; font-size: 19px; }
  .vorschau { margin-top: 12px; gap: 14px; }
  .vorschau-geraet { width: 84px; }
  .ablauf-schluss { padding: 16px 30px; font-size: 19px; }

  /* Wer wir sind */
  .wir-flaeche {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
    padding: 48px 52px 46px;
    border-radius: 14px;
  }
  .wir-satz { margin-top: 18px; font-size: 19px; }
  /* Desktop: links Text, Erreichbarkeit und Adresse; rechts die zwei Karten (später mit Foto darüber) */
  .wir-flaeche { grid-template-rows: auto auto 1fr; row-gap: 0; }
  .wir-text { grid-column: 1; grid-row: 1; }
  .wir-karten { display: contents; }
  .personen { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .wir-foto { grid-column: 2; grid-row: 1; margin-bottom: 0; }
  .wir:has(.wir-foto img) .personen { grid-row: 2 / span 2; margin-top: 16px; }
  .erreichbar { grid-column: 1; grid-row: 2; }
  .adresse { grid-column: 1; grid-row: 3; }
  .personen { gap: 16px; }
  .person { padding: 22px 22px 14px; gap: 14px; }
  .monogramm { width: 46px; height: 46px; font-size: 17px; border-radius: 12px; }
  .person-name { font-size: clamp(19px, 1.45vw, 22px); }
  .person-tel { min-height: 54px; font-size: 19px; }
  .person-wa { font-size: 16px; min-height: 44px; }
  .erreichbar { margin-top: 20px; font-size: 18px; }
  .adresse { font-size: 17px; }

  /* Fragen */
  .fragen-raster {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 56px;
    align-items: start;
  }
  .fragen-hilfe {
    display: block;
    margin-top: 28px;
    padding: 20px 22px;
    border-radius: var(--radius);
    background: var(--papier-tief);
  }
  .fragen-hilfe-titel { font-family: var(--titel); font-weight: 750; font-size: 21px; line-height: 1.2; }
  .fragen-hilfe-wege { margin-top: 6px; font-size: 18px; font-weight: 650; }
  .fragen-hilfe-wege a { display: inline-flex; align-items: center; min-height: 44px; }
  .fragen-liste { margin-top: 0; gap: 10px; }
  .frage summary { min-height: 64px; font-size: 18px; padding: 12px 16px 12px 24px; grid-template-columns: minmax(0, 1fr) 32px; gap: 14px; }
  .antwort { padding: 0 24px 20px 24px; font-size: 17px; }

  /* Kontakt */
  .kontakt { padding: var(--abstand) 0; }
  .kontakt-raster {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }
  .kontakt-knoepfe { grid-template-columns: 1fr; margin-top: 28px; max-width: 420px; }
  .kontakt .knopf-zeilen { flex-direction: row; column-gap: .25em; }
  .kontakt .knopf-zeilen > span:first-child::after { content: ":"; }
  .knopf-gross { min-height: 64px; font-size: 19px; padding-inline: 22px; }
  .zweite-tuer { margin-top: 20px; max-width: 420px; font-size: 17px; padding: 18px 20px; border-radius: var(--radius); }
  .formular-karte { padding: 33px 30px 26px; }
  .formular-titel { font-size: 26px; }

  /* Fuss */
  .fuss-innen { display: grid; grid-template-columns: auto 1fr; gap: 4px 40px; align-items: baseline; }
  .fuss-firma { grid-column: 1; }
  .fuss-adresse { grid-column: 1; margin-top: 0; }
  .fuss-links { grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: center; margin: 0; }
}

@media (min-width: 960px) and (max-width: 1199px) {
  .schritt { padding-right: 20px; }
  .schritt + .schritt { padding-left: 20px; }
}
@media (min-width: 1200px) {
  .kopf-nav { display: flex; gap: 4px; margin-left: auto; }
  .kopf-tel { margin-left: 0; }
}
@media (min-width: 1280px) {
  .held-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; }
}

/* Sehr schmale Handys: Namenszeile darf umbrechen */
@media (max-width: 349px) {
  .marke-namen { white-space: normal; }
  .person-kopf { gap: 7px; }
}
@media (max-width: 359px) {
  .marke-zeichen { width: 34px; height: 34px; font-size: 20px; }
  .schau-etikett { font-size: 11.5px; }
  .person { padding-inline: 8px; }
  .person-name { font-size: 16px; }
  .monogramm { width: 34px; height: 34px; font-size: 14px; }
  .person-tel { font-size: 15px; padding-inline: 6px; }
}

/* Name und Betrieb nebeneinander, sobald zwei Felder Platz haben */
@media (min-width: 360px) and (max-width: 599px) {
  .feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .feld-paar input { padding-inline: 12px; }
}

/* Handy: Adresse auf eigene Zeile */
@media (max-width: 599px) {
  .adresse .trenner { display: none; }
  .adresse .umbruch-handy { display: block; }
}

/* --------------------------------------------------------------------------
   15 · Nebenseiten danke.html und 404.html: gleicher Kopf, gleicher Fuss, eine Karte
   -------------------------------------------------------------------------- */
body.ohne-leiste { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body.ohne-leiste > main { flex: 1 0 auto; }
.ohne-leiste .fuss { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
.neben { padding: 18px 0 var(--abstand); }
.neben-karte {
  max-width: 680px;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 21px 14px 12px;
  position: relative;
}
.neben-titel {
  font-family: var(--titel);
  font-weight: 750;
  font-size: clamp(27px, 8vw, 32px);
  line-height: 1.08;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.neben-satz { margin-top: 10px; font-size: 17px; line-height: 1.5; }
.neben-satz a { font-weight: 650; }
.neben-karte .kontakt-knoepfe { margin-top: 18px; }
.neben-zurueck { margin-top: 10px; }
.neben-zurueck a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.neben-titel + .neben-zurueck { margin-top: 18px; }
.neben-zurueck .knopf { width: 100%; min-height: 56px; font-size: 18px; }
.neben-zurueck + .kontakt-knoepfe { margin-top: 10px; }

@media (min-width: 600px) {
  .neben-zurueck .knopf { width: auto; }
}
@media (min-width: 960px) {
  .neben { padding: 56px 0 120px; }
  .neben-karte { padding: 45px 44px 30px; }
  .neben-titel { font-size: 44px; }
  .neben-satz { margin-top: 14px; font-size: 19px; }
  .neben-karte .kontakt-knoepfe { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; margin-top: 26px; }
  .neben-zurueck { margin-top: 16px; }
  .neben-titel + .neben-zurueck { margin-top: 26px; }
  .neben-zurueck .knopf { min-height: 60px; font-size: 19px; padding-inline: 32px; }
  .neben-zurueck + .kontakt-knoepfe { margin-top: 14px; }
}

/* Drucken: nur Inhalt */
@media print {
  .leiste, .sprung, .kopf-nav, .schaufenster { display: none !important; }
  .wand, .fuss, .wir-flaeche { background: none; color: #000; }
  .wand-satz, .werk-nutzen, .etikett-auf-wand { color: #000; }
}

/* Feinschliff-Nachtrag 6.10.2026: Bedingungen ab 1280 px über die ganze Breite, Umbruch erst unter 360 px erlaubt,
   «Beispiel:» bei schmalen Handys auf eigener Zeile, Fokusring des AGB-Links nicht in der orangen Fläche */
@media (min-width: 1280px) {
  .fakten { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px 2em; }
}
@media (max-width: 359px) {
  .fakten .ohne-umbruch { white-space: normal; }
}
@media (max-width: 420px) {
  .schau-etikett strong { display: block; }
}
.paket-wahl a { outline-offset: 0; }
