/* Schriften – lokal gehostet (DSGVO), Dateien im Ordner /fonts neben index.html */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('fonts/BricolageGrotesque.ttf') format('truetype-variations'),
       url('fonts/BricolageGrotesque.ttf') format('truetype');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/IBMPlexMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Die Seite nutzt IBM Plex Mono auch in 500 – Datei bitte ergänzen */
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/IBMPlexMono-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Grundlagen */
body {
  margin: 0;
  background: #F42902;
}
a { color: #140D0B; }
a:hover { color: #000000; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

html, body {
  scroll-behavior: smooth;
  overflow-x: clip;
}
[hidden] { display: none !important; }

/* Fester Button „Preis berechnen“ – nur auf dem Handy */
#mobileCta { display: none; }
@media (max-width: 720px) {
  #mobileCta { display: flex; transition: opacity .2s, transform .2s; }
  #mobileCta.aus { opacity: 0; transform: translateY(120%); pointer-events: none; }
  footer { padding-bottom: 84px; }
}

/* Aufklappbare Boxen (Zubehör & Leistungen, Rechenbeispiele) */
.aufklapp summary { transition: background .15s; }
.aufklapp summary:hover { background: #2A1E1B; }
.aufklapp summary:focus-visible { outline: 3px solid #83FD80; outline-offset: 2px; }
.aufklapp .chev { flex-shrink: 0; transition: transform .2s; }
.aufklapp[open] .chev { transform: rotate(180deg); }

/* Sticker im Qualitäts-Abschnitt: Schrift dreht sich langsam */
.sticker-text { transform-origin: 100px 100px; animation: sticker-drehen 28s linear infinite; }
@keyframes sticker-drehen { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sticker-text { animation: none; } }

/* Paket-Preis: auf dem Handy linksbündig statt rechts */
@media (max-width: 720px) {
  .preisblock { text-align: left !important; }
  .preisblock > span { justify-content: flex-start !important; }
}

/* REC-Punkt aus dem Logo (Mint) – blinkt langsam wie eine Aufnahme-Anzeige */
.rec-punkt { width: 12px; height: 12px; border-radius: 50%; background: #83FD80; box-shadow: 0 0 0 2px #140D0B; flex-shrink: 0; animation: rec-blinken 2s ease-in-out infinite; }
@keyframes rec-blinken { 0%, 60% { opacity: 1; } 80% { opacity: .25; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rec-punkt { animation: none; } }

/* FAQ: Mint-Punkte als Aufzählungszeichen */
.faq-punkt { width: 12px; height: 12px; border-radius: 50%; background: #83FD80; box-shadow: 0 0 0 2px #140D0B; flex-shrink: 0; margin-top: 10px; }

/* Rechtstexte (Mietbedingungen u. a.) */
.rechtstext { background: #FDFDFF; border-radius: 28px; padding: clamp(24px, 4vw, 56px); max-width: 920px; box-sizing: border-box; font-size: 16px; line-height: 1.6; }
.rechtstext h2 { font-size: 22px; letter-spacing: -0.01em; line-height: 1.25; margin: 40px 0 12px; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext ol, .rechtstext ul { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.rechtstext li > ol, .rechtstext li > ul { margin-top: 8px; }
.rechtstext p { margin: 0 0 12px; }
.rechtstext mark { background: #83FD80; color: #140D0B; padding: 0 3px; border-radius: 4px; }
.rechtstext .tabelle { overflow-x: auto; margin: 8px 0 12px; }
.rechtstext table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
.rechtstext th, .rechtstext td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid #DED8D5; }
.rechtstext th { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #4A403C; }
.rechtstext td.zahl { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* FAQ-Kategorien */
.faq-kategorie { margin: 0; font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #140D0B; }
/* FAQ-Kategorien auf- und zuklappbar (Fragen bleiben im HTML, also für Google und KI-Suche lesbar) */
.faq-gruppe { border-top: 1.5px solid #140D0B; }
.faq-gruppe:last-of-type { border-bottom: 1.5px solid #140D0B; }
.faq-gruppe > summary { display: flex; align-items: center; gap: 14px; padding: 22px 0; min-height: 44px; cursor: pointer; list-style: none; }
.faq-gruppe > summary .faq-kategorie { flex-grow: 1; font-size: 15px; }
.faq-gruppe > summary::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #83FD80; box-shadow: 0 0 0 2px #140D0B; flex-shrink: 0; }
.faq-anzahl { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.04em; color: #140D0B; opacity: .7; white-space: nowrap; }
.faq-gruppe > summary .chev { transition: transform .2s ease; flex-shrink: 0; }
.faq-gruppe[open] > summary .chev { transform: rotate(180deg); }
.faq-gruppe > summary:hover .faq-kategorie, .faq-gruppe > summary:focus-visible .faq-kategorie { text-decoration: underline; text-underline-offset: 4px; }
.faq-liste { display: flex; flex-direction: column; margin: 0 0 24px 26px; border-top: 1px solid #140D0B; }
.faq-liste > details:last-child { border-bottom: 0 !important; }
@media (max-width: 600px) { .faq-liste { margin-left: 0; } }

/* Anfrageformular: Kontakt, Adresse, Rechnungsadresse */
:root {
  --form-rand: #B8AEA9;
  --form-text: #140D0B;
  --form-text-leise: #3A312E;
  --form-fehler: #B01E00;
  --form-akzent: #F42902;
  --form-abstand: 12px;
}
.formblock { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: var(--form-abstand); }
.formblock-titel { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: var(--form-abstand); }
.formblock-hinweis { margin: 0; font-size: 13px; color: var(--form-text-leise); }
.formblock-optionen { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 24px; }
.feldraster { display: grid; gap: var(--form-abstand); grid-template-columns: 7rem minmax(0, 1fr); }
.feldraster--kontakt { grid-template-columns: minmax(0, 1fr); }
.feldraster--adresse .feld--strasse,
.feldraster--adresse .feld--land,
.feldraster--adresse .feld--voll { grid-column: 1 / -1; }
.feld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.feld > label { font-weight: 600; font-size: 14px; }
.feld-optional { font-weight: 400; color: var(--form-text-leise); }
.feld-fehler { margin: 0; font-size: 13px; font-weight: 600; color: var(--form-fehler); }
.eingabe { font: inherit; color: var(--form-text); padding: 10px 14px; border: 1.5px solid var(--form-rand); border-radius: 12px; min-height: 48px; width: 100%; box-sizing: border-box; background: #FFFFFF; }
.zusatz { flex: 1 1 100%; }
.zusatz > summary { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.zusatz[open] > summary { margin-bottom: 4px; }
.zusatz-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 600; cursor: pointer; }
.zusatz-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--form-akzent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (min-width: 640px) {
  .feldraster--kontakt { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feldraster--adresse { grid-template-columns: minmax(0, 2fr) 6.5rem minmax(0, 1.4fr) 10rem; }
  .feldraster--adresse .feld--strasse,
  .feldraster--adresse .feld--land { grid-column: auto; }
}

/* Kurze Seiten (Danke, 404): Footer sitzt am unteren Bildrand */
.seite-voll { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.seite-voll > main { flex: 1 0 auto; }

/* Cookiebot-Widget (Einstellungs-Symbol unten links): weiß mit schwarzem Symbol, damit es über dem dunklen Footer sichtbar bleibt */
#CookiebotWidget .CookiebotWidget-logo svg circle { fill: #FDFDFF !important; }
#CookiebotWidget .CookiebotWidget-logo svg path { fill: #140D0B !important; }
