    /* 🌙 Dark Mode – automatische Anpassung bei dunklem Systemthema */
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f5;
    --muted: #bbb;
    --accent:#f6cd48;
    --glass-chrome-start: rgba(25,25,25,.65);
    --glass-chrome-end: rgba(35,35,35,.45);
    --glass-border: rgba(255,255,255,.1);
  }

  body {
    background: linear-gradient(180deg, #0f1117 0%, #1a1c22 100%);
    color: var(--text);
  }

  .panel {
    background: linear-gradient(180deg, rgba(40,40,40,.6), rgba(30,30,30,.4));
    border-color: rgba(255,255,255,.1);
    box-shadow: 0 10px 30px rgba(0,0,0,.6);
  }

  .text-input,
  .day-row .time-input,
  .day-row .time {
    background: #222;
    color: #f5f5f5;
    border-color: rgba(255,255,255,.2);
  }

  .text-input:focus,
  .day-row .time:focus {
    border-color: #f6cd48;
    box-shadow: 0 0 0 3px rgba(246,205,72,.30);
  }

  .btn.btn-basic {
    background: #f4c84a !important;
    color: #000 !important;
  }

  .btn.btn-green {
    background: #58c1a5 !important;
    color: #fff !important;
  }

  footer.chrome {
    background: linear-gradient(180deg, rgba(30,30,30,.6), rgba(20,20,20,.3));
    color: #ccc;
  }

  footer a:hover {
    color: var(--accent) !important;
  }
}

/* === Zusätzliche Mobile-Optimierung === */
@media (max-width: 480px) {
  body {
    padding: 0 12px;
    font-size: 16px;
  }

  .panel {
    padding: 22px 16px;
    border-radius: 18px;
  }

  h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  label {
    font-size: 15px;
  }

  /* === Buttons untereinander & voller Breite === */
  .btn {
    display: block;            /* Jeder Button eigene Zeile */
    width: 100%;               /* volle Breite */
    margin: 10px 0;            /* Abstand oben/unten */
    font-size: 16px;
    padding: 14px 20px;
  }

  /* Abstand zwischen Buttons entfernen (Überschreibt dein .btn + .btn spacing) */
  .btn + .btn {
    margin-left: 0;
  }

  /* === Fußzeile kompakter & zentriert === */
  footer.chrome {
    padding: 20px 8px;
    font-size: 14px;
  }

  footer .footer-links {
    flex-direction: column; /* untereinander */
    gap: 6px;
  }

  footer .divider {
    display: none; /* senkrechte Striche ausblenden */
  }
}

/* === Mobile Optimierung (Buttons untereinander & Fußzeile einspaltig) === */
@media (max-width: 480px) {

  body {
    padding: 0 12px;
    font-size: 16px;
  }

  .panel {
    padding: 22px 16px;
    border-radius: 18px;
  }

  h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  label {
    font-size: 15px;
  }



  /* === Buttons untereinander === */
  .btn {
    display: block !important;   /* nicht inline-flex nebeneinander */
    width: 100% !important;      /* volle Breite */
    margin: 10px 0 !important;   /* Abstand oben/unten */
    text-align: center;          /* Text mittig */
    justify-content: center;     /* zentriert auch Icons */
  }

  /* Entfernt Desktop-Abstand nach links */
  .btn + .btn {
    margin-left: 0 !important;
  }

  /* === Fußzeile optimieren === */
  footer.chrome {
    padding: 18px 10px;
    font-size: 14px;
  }

  footer .footer-links {
    flex-direction: column !important;  /* vertikal statt horizontal */
    align-items: center;
    gap: 6px;
  }

  footer .divider {
    display: none !important; /* trenner „|“ ausblenden */
  }
}

/* === Feinoptimierung für mobile Geräte (kleinere Typografie & kompaktere Inputs) === */
@media (max-width: 480px) {
  html, body {
    font-size: 14px;
    line-height: 1.45;
  }

  h1 {
    font-size: 19px;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  p,
  .helper-note {
    font-size: 13px;
    line-height: 1.4;
  }

  label {
    font-size: 13px;
    line-height: 1.35;
  }

  .btn {
    font-size: 14px;
    padding: 10px 18px;
    width: 100%;
  }

  /* Eingabefelder */
  .text-input {
    font-size: 12.5px;
    height: 36px;
    padding: 6px 10px;
    line-height: 1.4;
  }

  .text-input::placeholder {
    font-size: 12px;
    opacity: 0.75;
  }

  /* Textarea separat behandeln */
  textarea.text-input {
    min-height: 60px;          /* genug Platz für 2 Zeilen */
    padding: 8px 10px 9px;     /* gleichmäßiger vertikaler Abstand */
    font-size: 12.5px;
    line-height: 1.5;          /* Zeilen etwas lockerer */
  }

  textarea.text-input::placeholder {
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.75;
  }

  /* Farb-Pillen (Farbauswahl) */
  input[type="color"].chip {
    width: 55px;
    height: 24px;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  }

  .panel {
    padding: 16px 10px;
    border-radius: 12px;
  }

  .field {
    margin: 14px 0;
  }

  .char-help {
    font-size: 11px;
    line-height: 1.2;
  }
}

/* 📱 Handy: Adressfelder untereinander */
@media (max-width: 480px) {
  .address-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .address-grid .col-plz,
  .address-grid .col-ort,
  .address-grid .col-str,
  .address-grid .col-nr {
    grid-column: 1 / -1 !important; /* jede Box volle Breite */
  }
}
/* 📱 Nur Handy (<=480px): Öffnungszeiten kompakter & bündig */
@media (max-width: 480px) {

  /* eine Spalte & innen etwas Luft, damit nichts anstößt */
  .hours-collapsible .hours-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 2px;           /* verhindert rechten Überstand durch Schatten */
    max-width: 100%;
  }

  /* Tageszeile insgesamt schmaler */
  .hours-collapsible .day-row {
    padding: 8px 12px;        /* weniger Innenabstand */
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Abstand zwischen den Feldern kleiner + weniger Platz für den Swatch */
  .hours-collapsible .day-row .inputs {
    gap: 8px;
    padding-right: 44px;      /* vorher 64px */
  }

  /* Zeitfelder kleiner (Breite/Höhe/Schrift) */
  .hours-collapsible .day-row .time,
  .hours-collapsible .day-row .time-input {
    width: 72px;              /* vorher ~92px */
    height: 32px;             /* vorher 36px */
    padding: 4px 6px;
    font-size: 14px;
  }

  /* kleinerer Farbswatch rechts */
  .hours-collapsible .day-row .swatch-right {
    right: 6px;
    width: 36px;              /* vorher 44px */
    height: 24px;             /* vorher 28px */
  }

  /* Tageskürzel etwas schmaler */
  .hours-collapsible .day-row .day {
    width: 28px;              /* vorher 36px */
  }
}

/* ✏️ Fix: Farbpille ragt bei mehrzeiligen Texten (Textarea) nicht mehr in den Text */
.input-row textarea.text-input {
  padding-right: 70px !important;  /* mehr Abstand nach rechts */
  line-height: 1.5;
  resize: none;
  overflow: hidden;
  box-sizing: border-box;
}

/* 💡 Optional: Pille etwas kleiner auf Mobil, damit sie feiner wirkt */
@media (max-width: 480px) {
  .input-row .swatch {
    width: 36px;
    height: 24px;
    right: 8px;
  }

  .input-row textarea.text-input {
    padding-right: 60px !important;
  }
}




   /* Globale CSS-Variablen & Grundlayout */

/* :root = globale Ebene für Variablen, die überall im Dokument gelten */
:root{
  /* Farben */
  --accent: #2f6cf6;             /* Hauptakzentfarbe – z. B. für Links, Buttons, Hervorhebungen */
  --text: #1a1a1a;               /* Standard-Textfarbe */
  --muted: #555;                 /* Abgeschwächte Textfarbe, z. B. für Untertitel */

  /* Glas-Effekt-Farben (Header/Footer mit "Glassmorphism"-Stil) */
  --glass-chrome-start: rgba(255,255,255,.55); /* Heller Start des Glas-Verlaufs */
  --glass-chrome-end: rgba(255,255,255,.28);   /* Dunklerer Verlauf nach unten */
  --glass-border: rgba(255,255,255,.45);       /* Randfarbe (halbtransparent) */

  /* Einheitliche Höhen für Eingabeelemente */
  --text-h: 48px;   /* Höhe für Standard-Textfelder */
  --pill-h: 48px;   /* Höhe für runde Schaltflächen (Pill-Form) */
  --field-h: 36px;  /* Höhe für kleinere Felder, z. B. Öffnungszeiten */
}

.helper-note{
  margin: 6px 0 18px;
  color: #6b7280;          /* dezentes Grau */
  font-size: 14px;
  line-height: 1.4;
}

/* Grundlegende Seiteneinstellungen */
/* Sorgt dafür, dass Padding und Border in die Gesamtbreite eingerechnet werden */
* {
  box-sizing: border-box;
}

/* Basis-Layout für die gesamte Seite */
body {
  margin: 0; /* Kein Standardseitenrand */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; /* Moderne, lesbare Schriftfamilie */
  color: var(--text); /* Textfarbe aus Variable */

  /* Hintergrund: sanfter Verlauf + leichtes Licht von oben */
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.8) 0%, rgba(245,247,255,.9) 40%, transparent 80%), /* Heller radialer Verlauf von oben */
    linear-gradient(180deg, #f6f7fb 0%, #e9ecf5 100%); /* Vertikaler Verlauf für Tiefe */

  background-attachment: fixed; /* Hintergrund bleibt beim Scrollen fixiert */
  min-height: 100vh;            /* Seite mindestens so hoch wie der Viewport */
  display: flex;                /* Aktiviert Flexbox */
  flex-direction: column;       /* Inhalt wird vertikal gestapelt (Header → Main → Footer) */
  letter-spacing: .2px;         /* Minimale Laufweite für bessere Lesbarkeit */
}

/* Standardzustand für Links */
/* Links wie in den AGB */
a {
  color: var(--text);
  text-decoration: none;
}
a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Optional (für Fokus via Tastatur-Navigation, Barrierefreiheit) */
a:focus-visible {
  outline: 2px solid #000;      /* Schwarzer Fokusrahmen, sichtbar bei Tab-Navigation */
  outline-offset: 2px;
}

    /* Header/Footer */
    .chrome{
      position:relative; isolation:isolate;
      background:linear-gradient(180deg,var(--glass-chrome-start),var(--glass-chrome-end));
      -webkit-backdrop-filter:blur(18px) saturate(160%);
      backdrop-filter:blur(18px) saturate(160%);
    }
/* ===== HEADER als große Pille (wie Startseite) ===== */
header.chrome {
  position: sticky;
  top: 16px;
  z-index: 1000;
  overflow: visible !important;

  width: min(1280px, 100% - 48px);
  margin: 16px auto;
  border-radius: 999px;

  padding: 14px 40px;
  display: flex;
  align-items: center;

  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 18px 40px rgba(15,23,42,0.12);

  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.28));
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);

  transition: background .25s, box-shadow .25s, border-color .25s, padding .25s;
}

header.chrome.scrolled {
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
}
    /* ===== Logoschrift links im header ===== */
    .logo{
  display:flex;
  align-items:center;
  text-decoration:none;
}

.logo .pv-logo{
  height:32px;
  width:auto;
  display:block;
}

    .wrap{max-width:1100px; margin:0 auto; width:100%; padding:80px 20px}
    .panel{
      background:linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.12));
      -webkit-backdrop-filter:blur(18px) saturate(140%); backdrop-filter:blur(18px) saturate(140%);
      border:1px solid rgba(255,255,255,.35);
      border-radius:22px;
      box-shadow:0 18px 40px rgba(15,23,42,.10);
      padding:32px 26px;
    }

    .panel h1{margin:0 0 10px; font-size:28px}



/* Zeichenzähler unter Inputs */
.char-help{
  display:block;
  margin-top:6px;
  font-size:12px;
  color:#6b7280;
}

/* Upload-Hinweistext unter File-Inputs */
.file-help{
  display:block;
  margin-top:6px;
  font-size:12px;
  color:#6b7280;
}
.file-help.is-error{
  color:#b91c1c;
  font-weight:600;
}

/* BUTTONS – EINHEITLICHES DESIGN & VARIANTEN */
/* Basis-Stil für alle Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  border: none;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 600;
  color: var(--btn-fg, #fff);
  background: var(--btn-bg, linear-gradient(90deg, #64748b, #475569));
  box-shadow: var(--btn-shadow, 0 10px 24px rgba(71,85,105,.25));
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, filter .2s, text-decoration-color .2s;
}

.btn:hover {
  transform: translateY(-2px);
  filter: none;
  text-decoration: underline;
  text-decoration-color: var(--btn-underline, #fff);
  text-underline-offset: 4px;
}

/* ===========================================
   EINHEITLICHE BUTTONS – WIE AUF DER STARTSEITE
   =========================================== */

/* BUTTONS – EINHEITLICHES DESIGN & VARIANTEN */
/* Basis-Stil für alle Buttons – identisch zur Startseite */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 26px;        /* 👈 gleiche Höhe/Breite wie Startseite */
  border-radius: 9999px;     /* 👈 perfekte runde Pille */
  font-size: 16px;           /* 👈 gleiche Schriftgröße */
  font-weight: 600;

  border: none;
  color: var(--btn-fg, #fff);
  background: var(--btn-bg, linear-gradient(90deg, #64748b, #475569));
  box-shadow: var(--btn-shadow, 0 10px 24px rgba(71,85,105,.25));
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, filter .2s, text-decoration-color .2s;
}



/* ===========================================
   SMART (Gelber Button)
   =========================================== */
.btn.btn-basic {
  background: #f6cd48; !important; /* Logo-Gelb */
  color: #1a1a1a !important;      /* dunkle Schrift */
  box-shadow: 0 10px 24px rgba(244,200,74,0.35);
}

.btn.btn-basic:hover {
  box-shadow: 0 12px 26px rgba(244,200,74,0.45);
  text-decoration-color: #1a1a1a !important; /* auch beim Hover schwarz */
}

/* ===========================================
   PRO (Blauer Button)
   =========================================== */
.btn.btn-green {
  background: #22C55E !important; /* Logo-Blau */
  color: #fff !important;         /* weiße Schrift */
  box-shadow: 0 10px 24px rgba(55,118,171,0.25);
}

.btn.btn-green:hover {
  box-shadow: 0 12px 26px rgba(55,118,171,0.35);
}

/* Einheitliche Abstände zwischen Buttons */
.btn {
  margin: 0; /* entfernt alte ungleiche Abstände */
}

.btn + .btn {
  margin-left: 22px; /* gleichmäßiger Abstand zwischen Buttons */
}

@media (max-width: 640px) {
  .btn {
    width: 100%;
    margin-left: 0;
    margin-bottom: 10px;
  }
}

/* sanfter Schimmer-Effekt */
@keyframes promo-sheen{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}



  /* Grundeinstellungen für Zeilen, Abstände & Label-Grunddesign */
.field { margin: 22px 0; }
label { font-weight: 600; display: block; margin-bottom: 6px; }

/* Color-Inputs sollen die Pille voll ausfüllen – ohne inneres Mini-Swatch */
/* Gemeinsame Basis für ALLE Color-Inputs (groß & klein) */
input[type="color"].chip,
.swatch input[type="color"],
.swatch-right input[type="color"]{
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  border: none;
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 999px;   /* füllt die Pille, schön rund */
  cursor: pointer;
  overflow: hidden;       /* überschüssiges abschneiden */
}

/* WebKit (Chrome/Safari): Wrapper-Padding entfernen */
input[type="color"].chip::-webkit-color-swatch-wrapper,
.swatch input[type="color"]::-webkit-color-swatch-wrapper,
.swatch-right input[type="color"]::-webkit-color-swatch-wrapper{
  padding: 0;
}

/* Interner Farbfleck ohne Rahmen & mit Rundung */
input[type="color"].chip::-webkit-color-swatch,
.swatch input[type="color"]::-webkit-color-swatch,
.swatch-right input[type="color"]::-webkit-color-swatch{
  border: none;
  border-radius: 999px;
}

/* Firefox */
input[type="color"].chip::-moz-color-swatch,
.swatch input[type="color"]::-moz-color-swatch,
.swatch-right input[type="color"]::-moz-color-swatch{
  border: none;
  border-radius: 999px;
}

/* Sichtbarkeit & Größe der oberen Farb-Pillen (Header, Body, Footer) */
input[type="color"].chip {
  display: inline-block;
  width: 84px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  background: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
  overflow: hidden;
}

input[type="color"].chip:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

/* Standard Textfelder mit Farbwahl am Ende der Zeile */
.input-row{position:relative; max-width:760px}
.text-input{
  width:100%; height:var(--text-h);
  padding:12px 70px 12px 14px; border-radius:12px;
  border:1px solid rgba(0,0,0,.18); background:#fff;
  box-shadow:0 1px 0 rgba(255,255,255,.4), inset 0 1px 2px rgba(0,0,0,.03);
}
.swatch{
  position:absolute; right:8px; top:50%; transform:translateY(-50%);
  width:44px; height:28px; border-radius:999px; overflow:hidden;
  box-shadow:0 1px 0 rgba(255,255,255,.6), 0 6px 14px rgba(0,0,0,.10);
}
.swatch input[type="color"]{ appearance:none; border:none; width:100%; height:100%; cursor:pointer; background:transparent; }

/* Sonder Zeilen */
:root { --time-w: 92px; --corner: 16px; }

/* Öffnungszeiten */
.hours-grid{ display:grid; grid-template-columns:repeat(2,minmax(320px,1fr)); gap:14px 16px; }
.day-row{
  position:relative; display:flex; align-items:center; gap:14px;
  padding:10px 16px; border:1px solid rgba(0,0,0,.14);
  border-radius:var(--corner); background:#fff;
  box-shadow:0 1px 0 rgba(255,255,255,.45), 0 10px 22px rgba(15,23,42,.06);
}
.day-row .day{ width:36px; font-weight:700; }
.day-row .inputs{ display:flex; align-items:center; gap:10px; padding-right:64px; flex:1; }
.day-row .dash{opacity:.6; font-weight:600;}
.day-row .time{
  width:var(--time-w); height:var(--field-h); padding:6px 8px; text-align:center;
  border:1px solid rgba(0,0,0,.18); border-radius:10px; background:#fff;
}
.day-row .swatch-right{
  position:absolute; right:8px; top:50%; transform:translateY(-50%);
  width:44px; height:28px; border-radius:999px; overflow:hidden;
  box-shadow:0 1px 0 rgba(255,255,255,.6), 0 6px 14px rgba(0,0,0,.10);
}
.day-row .swatch-right input[type="color"]{ appearance:none; border:none; width:100%; height:100%; background:transparent; cursor:pointer; padding:0; }

@media (max-width:720px){ .hours-grid{grid-template-columns:1fr;} }

/* Summary soll wie ein Label aussehen */
.hours-summary {
  font-family: inherit;         /* gleiche Schrift wie der Rest */
  font-size: 16px;              /* gleiche Größe wie label */
  font-weight: 600;             /* fett wie label */
  color: var(--text);           /* gleiche Textfarbe */
  margin-bottom: 6px;           /* gleicher Abstand */
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hours-summary::-webkit-details-marker {
  display: none; /* entfernt das Standard-Dreieck */
}

.hours-summary .hint {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}

/* --- sanfter Hover/Fokus-Lift stabil, ohne Text-Zittern --- */
.input-row {
  position: relative;
  transition: transform .12s ease, filter .15s ease;
  will-change: transform;
}

/* Container leicht anheben (visueller Lift) */
.input-row:hover,
.input-row:focus-within {
  transform: translateY(-1px);             /* ggf. -2px, wenn du mehr willst */
}

/* Textfelder/textarea: KEIN transform mehr -> keine Reflows/Jitter */
.text-input{
  transition: box-shadow .18s ease, border-color .18s ease;
  /* transform: none;  // nicht nötig, nur zur Sicherheit */
}
.input-row:hover .text-input{
  box-shadow: 0 4px 12px rgba(0,0,0,.10), inset 0 1px 2px rgba(0,0,0,.03);
}
.input-row:focus-within .text-input{
  border-color: #f6cd48;
  box-shadow: 0 6px 16px rgba(246,205,72,.28);
}

/* Swatches: keine eigene Y-Verschiebung mehr – sie bewegen sich mit dem Container */
.swatch,
.swatch-right{
  transition: box-shadow .18s ease;
  transform: translateY(-50%);            /* immer echte Mitte */
}
.input-row:hover .swatch,
.input-row:focus-within .swatch,
.day-row:hover .swatch-right,
.day-row:focus-within .swatch-right {
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
}

/* Textarea: Placeholder im 1-Zeilen-Zustand mittig */
.textarea-auto{ line-height: calc(var(--text-h) - 24px); }
.textarea-auto::placeholder{ line-height: inherit; }
.textarea-auto:not(:placeholder-shown){ line-height: 1.5; }

/* Perfekt ausbalanciert für Textarea-Pille */
.input-row textarea + .swatch {
  top: calc(50% - 1px);
}

/* Öffnungszeiten – auch hier den Container heben, nicht die Inputs */
.day-row{
  position: relative;
  transition: transform .12s ease;
  will-change: transform;
}
.day-row:hover,
.day-row:focus-within{ transform: translateY(-1px); }

.day-row .time{
  transition: box-shadow .18s ease, border-color .18s ease; /* kein transform */
}
.day-row .time:hover{ box-shadow: 0 4px 12px rgba(0,0,0,.10); }
.day-row .time:focus{
  border-color: #f6cd48;
  box-shadow: 0 6px 16px rgba(246,205,72,.28);
  outline: none;
}

/* Weniger Bewegung für Nutzer mit reduzierter Bewegung */
@media (prefers-reduced-motion: reduce){
  .input-row, .day-row, .text-input, .swatch, .swatch-right, .day-row .time { transition: none; }
}

/* Adresse */
.address-grid{ display:grid; grid-template-columns:repeat(12,1fr); gap:14px; }
.address-grid .col-plz{grid-column:span 3;}
.address-grid .col-ort{grid-column:span 3;}
.address-grid .col-str{grid-column:span 3;}
.address-grid .col-nr{grid-column:span 3;}
.address-grid label{display:block; font-weight:600; margin-bottom:6px;}
@media (max-width:900px){
  .address-grid .col-plz{grid-column:span 6;}
  .address-grid .col-ort{grid-column:span 6;}
  .address-grid .col-str{grid-column:span 8;}
  .address-grid .col-nr{grid-column:span 4;}
}

.address-hint label {
  display: block;
  font-weight: 600;
  font-size: 16px;      /* gleiche Größe wie andere Labels */
  margin-bottom: 6px;   /* gleicher Abstand */
  color: var(--text);   /* gleiche Farbe */
}

.address-hint small {
  color: #6b7280;
  font-size: 14px;      /* etwas kleiner und dezent */
}

/* Datei-Upload-Feld */
.file-input{display:block; margin-top:8px}

/* Pflichtfeld-Optik */
.required{ color:#e11d48; font-weight:700; font-size:18px; vertical-align:middle; }
input[required]::placeholder{ color:#e11d48; opacity:1; }

/* Footer */
footer.chrome {
  margin-top: auto; text-align: center; padding: 14px 40px;
  /* border-top: 1px solid var(--glass-border); box-shadow: 0 -2px 18px rgba(15,23,42,.08); */
}
footer a { color: #000; margin: 0 8px; text-decoration: none; }
footer a:hover { color: #000; text-decoration: underline; text-underline-offset: 3px; }

        /* --- Footer-Layout-Optimierung (Ergänzung) --- */
footer.chrome {
  padding: 20px 16px; /* etwas mehr Luft */
  font-size: 15px;
}

footer .footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px; /* gleichmäßiger Abstand */
  align-items: center;
  justify-content: center;
}

footer .footer-links a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

footer .footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer .divider {
  opacity: 0.4;
}

/* Responsive Optimierung */
@media (max-width:640px) {
  footer .footer-links {
    flex-direction: column;
    gap: 6px;
  }
}

    /* --- Footer-Link-Feinschliff (fixiert blaues Hover-Problem) --- */
footer a,
footer .footer-links a {
  color: var(--text) !important;
  text-decoration: none !important;
}

footer a:hover,
footer .footer-links a:hover {
  color: var(--text) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

    .textarea-auto{
  resize: none;       /* User-Grabbel unten rechts ausschalten */
  overflow: hidden;   /* kein Scrollbalken, damit die Höhe wächst */
  min-height: var(--text-h);
}

    /* === Gleicher blauer Rahmen & Glow für das Haupt-Panel === */
.panel {
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.12));
  transition: border-color .25s ease, box-shadow .25s ease;
}

/* Hover- oder Fokus-Effekt: gleiche Stärke & Farbe wie Inputs */
.panel:hover,
.panel:focus-within {
  border-color: #f6cd48;
  box-shadow: 0 0 0 3px rgba(246,205,72,.22), 0 12px 28px rgba(15,23,42,.18);
}

/* rote Fehlermarkierung */
.time.is-error{
  border-color:#dc2626 !important;
  box-shadow:0 0 0 3px rgba(220,38,38,.12) !important;
}

    /* gleiche Optik wie die alten .time-Felder */
.day-row .time-input{
  width: var(--time-w);
  height: var(--field-h);
  padding: 6px 8px;
  text-align: center;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 10px;
  background: #fff;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.day-row .time-input:hover{ box-shadow: 0 4px 12px rgba(0,0,0,.10); }
.day-row .time-input:focus{
  border-color: #f6cd48;
  box-shadow: 0 6px 16px rgba(246,205,72,.28);
  outline: none;
}

/* Fehlerzustand (rot) */
.time-input.invalid{
  border-color:#dc2626 !important;
  box-shadow:0 0 0 3px rgba(220,38,38,.14) !important;
}

    /* entfernen von PDF */
.file-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.clear-file {
  position: relative;
  top: 3px;               /* vertikal zentriert */
  margin-right: 2px;     /* etwas mehr Abstand zum Datei-Button */
  background: #3776ab;
  border: none;
  border-radius: 6px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  vertical-align: middle; /* exakte Ausrichtung im Textfluss */
}

.clear-file:hover {
  background: #c53030;
  transform: scale(1.05);
}

    .skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 12px;
  padding: 8px 14px;
  background: #2f6cf6;
  color: #fff;
  border-radius: 6px;
  z-index: 9999;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.invalid {
  border: 2px solid #e11d48 !important;
  box-shadow: 0 0 0 3px rgba(225,17,72,.12);
  background-color: rgba(225,17,72,.04);
}

    :root { color-scheme: light dark; } /* bessere System-Controls in Dark/Light */

    .extra-summary {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  display: block;
  margin-bottom: 6px;
}
.extra-summary::-webkit-details-marker {
  display: none;
}
.extra-summary:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
    /* --- Erweiterungsbereich mit Pfeil --- */
.extra-summary {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  display: block;
  margin-bottom: 6px;
  user-select: none;
}

.extra-summary .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
  font-size: 14px;
  opacity: 0.75;
}

/* Dreht Pfeil, wenn geöffnet */
details[open] .extra-summary .arrow {
  transform: rotate(90deg);
  opacity: 1;
}
    /* Einheitlicher Pfeilindikator auch für Öffnungszeiten */
.hours-summary .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
  font-size: 14px;
  opacity: 0.75;
}

.hours-collapsible[open] .hours-summary .arrow {
  transform: rotate(90deg);
  opacity: 1;
}

    /* Footer-Links ausgegraut, beim Hover schwarz */
footer .footer-links a {
  color: #b9b9b9 !important;   /* hellgrau wie im Screenshot */
  text-decoration: none !important;
  transition: color 0.2s ease;
}

footer .footer-links a:hover {
  color: #000 !important;       /* beim Hover schwarz */
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* Trenner auch grau */
footer .footer-links .divider {
  color: #b9b9b9;
  opacity: 1;                   /* damit es genauso wirkt wie im Screenshot */
}

.payment-bar {
    width: 100%;
    display: flex;             /* NEU → saubere Ausrichtung */
    justify-content: center;   /* zentriert */
    align-items: center;       /* vertikal sauber */
    gap: 28px;                 /* statt margin */
    padding: 4px 0 2;
    margin: 0;
    background: transparent;
}

/* Basis */
.payment-bar img {
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Optische Balance */
.payment-bar img[alt="Google Pay"] { margin: 0 8px; }   /* war zu weit links */
.payment-bar img[alt="Visa"] { margin: 0 18px; }        /* wirkt kompakter – mehr Luft */
.payment-bar img[alt="Maestro"] { margin: 0 16px; }
.payment-bar img[alt="Apple Pay"] { margin: 0 22px; }   /* Apple Pay hat dicken Rand */
.payment-bar img[alt="PayPal"] { margin: 0 18px; }      /* breit – mehr Luft nötig */
.payment-bar img[alt="Klarna"] { margin: 0 12px; }      /* PNG hat viel Weißraum */

/* Feintuning */
.payment-bar img[alt="PayPal"] {
    height: 26px;
}

.payment-bar img[alt="Klarna"] {
    height: 40px;
}

.payment-bar img[alt="Maestro"] {
    height: 40px;
}

.payment-bar img[alt="Google Pay"] {
    height: 44px;
}

.payment-bar img[alt="Visa"] {
    height: 40px;
}

/* Apple Pay als Referenz */
.payment-bar img[alt="Apple Pay"] {
    height: 28px;
}

    /* Abstand Payment-Icons → Linie deutlich verkleinern */
.payment-bar {
  padding-bottom: 0 !important;
  margin-bottom: -10px !important;  /* zieht die Icons 10px näher an die Linie */
}

/* falls der Footer selbst noch oben Luft macht */
footer.chrome {
  margin-top: 0 !important;
  padding-top: 6px !important;      /* bisschen Luft, aber enger als vorher */
}
    /* 🔧 Feintuning: Footer-Höhe / Abstand nach oben */
footer.chrome {
  padding-top: 26px !important;   /* mehr Luft über den Payment-Icons */
}
    /* 📱 Mobile-Ansicht für Payment-Logos */
@media (max-width: 640px) {
  .payment-bar {
    flex-wrap: wrap;          /* Logos dürfen umbrechen */
    gap: 14px;                /* etwas enger als Desktop */
    padding-top: 10px;
    padding-bottom: 4px;
    margin-bottom: -4px;      /* weiter nah an die Linie */
  }

  .payment-bar img {
    height: 26px;             /* Basis kleiner */
  }

  /* Feintuning je Logo, relativ zu den 26px */
  .payment-bar img[alt="Google Pay"] { height: 30px; }
  .payment-bar img[alt="Visa"]       { height: 28px; }
  .payment-bar img[alt="Maestro"]    { height: 28px; }
  .payment-bar img[alt="Apple Pay"]  { height: 24px; }
  .payment-bar img[alt="PayPal"]     { height: 22px; }
  .payment-bar img[alt="Klarna"]     { height: 28px; }
}

    /* ===== Rechtliche Bestätigungen – schöne Checkbox-Box ===== */
.pv-legal{
  margin: 32px auto 24px;
  max-width: 720px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.90), rgba(244,246,252,.95));
  box-shadow: 0 18px 40px rgba(15,23,42,.10);
  border: 1px solid rgba(148,163,184,.25);
}

.pv-legal-title{
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
}

.pv-legal-text{
  margin: 0 0 14px;
  font-size: 14px;
  color: #4b5563;
}

/* Fehlermeldung oben in der Box */
.pv-legal-error{
  display: none;
  margin-bottom: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.pv-legal-error.visible{
  display: block;
}

/* Checkbox-Reihe */
.pv-check{
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  column-gap: 10px;
  row-gap: 4px;

  padding: 10px 10px;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;

  transition: background .2s ease, box-shadow .2s ease, transform .15s ease;
}

.pv-check:hover{
  background: rgba(15,23,42,.02);
  box-shadow: 0 6px 16px rgba(15,23,42,.08);
  transform: translateY(-1px);
}

/* echtes Checkbox-Element verstecken, aber erreichbar lassen */
.pv-check input[type="checkbox"]{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Fake-Checkbox */
.pv-check-box{
  width: 20px;
  height: 20px;
  border-radius: 8px;
  border: 2px solid #cbd5f5;
  background: #f9fafb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  transition: all .2s ease;
}

/* Häkchen */
.pv-check-box::after{
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: transparent;
  transition: background .18s ease, transform .18s ease;
  transform: scale(.6);
}

/* Label-Text */
.pv-check-label{
  font-size: 14px;
  color: #111827;
  line-height: 1.4;
}
.pv-check-label a{
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}
.pv-check-label a:hover{
  text-decoration: underline;
}

/* Zustand: angehakt */
.pv-check input:checked + .pv-check-box{
  border-color: #2563eb;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  box-shadow:
    0 4px 10px rgba(37,99,235,.45),
    inset 0 1px 0 rgba(255,255,255,.4);
}

.pv-check input:checked + .pv-check-box::after{
  background: #ffffff;
  transform: scale(.9);
}

/* Fokus (Tastatur) */
.pv-check input:focus-visible + .pv-check-box{
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Handy: kompakter */
@media (max-width:640px){
  .pv-legal{
    margin: 24px 12px;
    padding: 14px 14px;
  }
  .pv-legal-title{ font-size: 18px; }
  .pv-check-label{ font-size: 13px; }
}

    .legal-success {
  background: #e6f6e6;
  border: 1px solid #5cb85c;
  color: #2d6a2d;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}
    /* grüner Erfolgszustand für dieselbe Box */
.pv-legal-error.ok {
  background: #dcfce7;        /* hellgrün */
  border-color: #22c55e;      /* grüner Rand */
  color: #14532d;             /* dunkler Text */
}

    /* Legal-Box links ausrichten */
.pv-legal {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
}

.company-status-dot{
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:50%;
  margin-left:12px;
  background:#d4d4d8; /* neutral */
  vertical-align:middle;
}

.company-status-text{
  margin-left:6px;
  font-size:0.9rem;
  color:#6b7280;
}

/* Zustände */
.company-status-dot.is-pending{ background:#facc15; } /* gelb */
.company-status-dot.is-ok{      background:#22c55e; } /* grün */
.company-status-dot.is-taken{   background:#ef4444; } /* rot */
.company-status-dot.is-error{   background:#9ca3af; } /* grau */


    /* Progress-Füllung unter dem Inhalt */
.pv-progress-fill {
  position: absolute;
  inset: 0;                   /* füllt die Pille */
  border-radius: inherit;     /* exakt gleiche Rundung */
  background: linear-gradient(90deg, #f8f3c8, #e6dd96);
  width: 0%;                  /* Start: leer */
  opacity: 0.65;              /* dezent, nicht zu stark */
  transition: width 0.6s ease; /* fließend, weich */
  z-index: -1;                /* wichtig: hinter Logo & Inhalt! */
  pointer-events: none;       /* klickt nicht stören */
}

    /* Social Inputs – passende Optik zur bestehenden Input-Pille */
.social-input {
  position: relative;
}

.social-input input {
  padding-right: 48px !important; /* Platz für Icon */
}

/* Icon im Input-Feld rechts */
.social-icon-preview {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  opacity: .85;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

      .footer-copy {
  margin-top: 20px;
  font-size: 11.5px;
  color: rgba(0,0,0,0.55);
  text-align: center;
}

    .footer-copy {
  letter-spacing: 0.2px;
}

.header-actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  flex-wrap:wrap;
}
.header-actions a{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid transparent;
  text-decoration:none!important;
}
.header-actions a:hover{
  border-color:rgba(0,0,0,0.06);
  background:rgba(255,255,255,0.7);
}

    .headline-with-icon{
  display:flex;
  align-items:center;
  gap:14px;          /* Abstand zwischen Icon & Text */
}

.headline-with-icon img{
  width:54px;        /* Größe nach Geschmack */
  height:auto;
  opacity:0.95;      /* elegant */
}

.headline-with-icon h1{
  margin:0;
}

    /* Kapitel-Wrapper */
.vision-chapter{
  margin: 28px 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
}

/* Kopfzeile: Text links, 4 Punkte rechts */
.chapter-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Titel-Text */
.chapter-title{
  font-size: 18px;
  font-weight: 600;
}

/* 4-Punkte-Button wie das Menü-Icon */
.chapter-toggle{
  display: grid;
  grid-template-columns: repeat(2, 12px);
  grid-template-rows: repeat(2, 12px);
  gap: 3px;

  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;

  transition: transform 0.35s ease;
  transform-origin: center;
}

.chapter-toggle .dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
}

.chapter-toggle:focus-visible{
  outline: 3px solid #3776ab;
  outline-offset: 3px;
  border-radius: 14px;
}

/* Wie beim Menü: beim Öffnen drehen */
.vision-chapter.open .chapter-toggle{
  transform: rotate(90deg);
}

/* Panel mit Feldern */
.chapter-panel{
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.06);
  animation: chapterFade .25s ease;
}

/* kleines Fade-In beim Öffnen */
@keyframes chapterFade{
  from { opacity: 0; transform: translateY(-4px);}
  to   { opacity: 1; transform: translateY(0);}
}

/* Dark-Mode-Anpassung falls du global schon nutzt */
@media (prefers-color-scheme: dark){
  .vision-chapter{
    background: rgba(26,26,30,0.9);
  }
  .chapter-toggle .dot{
    background: #eee;
  }
}

    /* ===== Domain-Endung: Typo & Look wie restliches Formular ===== */

/* Überschrift – wie ein normales <label> */
.tld-label{
  margin: 16px 0 8px;
  font-size: 16px;          /* wie deine anderen Labels / Buttons */
  font-weight: 600;
  color: var(--text);
}

/* Helle, dezente Pille im Hintergrund */
.tld-select{
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(243,244,246,0.9); /* sehr helles Grau */
  box-shadow:
    0 1px 0 rgba(255,255,255,.9),
    0 8px 18px rgba(15,23,42,.05);
}

/* Buttons: gleiche Schriftgröße/-familie wie der Rest */
.tld-btn{
  min-width: 70px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;

  font-size: 16px;          /* 🔹 gleiche Größe wie .btn */
  font-weight: 600;         /* 🔹 gleiche Stärke */
  line-height: 1.2;
  color: #111827;

  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .08s ease;
}

/* dezenter Hover */
.tld-btn:hover{
  background: #e5e7eb;
  border-color: #d1d5db;
  box-shadow: 0 4px 10px rgba(15,23,42,.10);
}

/* aktiver Zustand: Premium-Grau, kein Blau */
.tld-btn.active{
  background: #e5e7eb;
  border-color: #cbd5e1;
  box-shadow:
    0 0 0 1px rgba(148,163,184,.7),
    0 8px 18px rgba(15,23,42,.16);
  transform: translateY(-1px);
}

/* Tastatur-Fokus */
.tld-btn:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px rgba(37,99,235,.45);
}

    .errorbox{
  margin-top:14px;
  padding:10px 12px;
  border-radius:12px;
  font-size:13px;
  display:none;
  border:1px solid #fecaca;
  background:#fee2e2;
  color:#b91c1c;
}
.errorbox.visible{display:block;}


/* ===== Kapitel (Kunde befüllt) – Hover/Focus Feedback ===== */
.vision-chapter{
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  will-change: transform;
}

/* Hover: sanfter Lift */
.vision-chapter:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(15,23,42,.10);
  border-color: rgba(47,108,246,.22);
}

/* Tastatur-Fokus (wenn ein Input/Btn im Kapitel aktiv ist) */
.vision-chapter:focus-within{
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(47,108,246,.14), 0 18px 44px rgba(15,23,42,.10);
  border-color: rgba(47,108,246,.35);
}

/* Optional: nur die Kopfzeile leicht highlighten (fühlt sich “Apple” an) */
.vision-chapter:hover .chapter-header{
  background: rgba(47,108,246,.04);
  border-radius: 14px;
}

/* 4-Punkte-Button bleibt gleich, bekommt aber auch Feedback */
.chapter-toggle{
  transition: transform .25s ease, background .18s ease, box-shadow .18s ease;
}
.chapter-toggle:hover{
  background: rgba(0,0,0,0.04);
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

@media (prefers-color-scheme: dark){
  .vision-chapter{
    border-color: rgba(255,255,255,0.08);
  }
  .vision-chapter:hover{
    box-shadow: 0 18px 44px rgba(0,0,0,.55);
    border-color: rgba(78,138,247,.35);
  }
  .vision-chapter:hover .chapter-header{
    background: rgba(78,138,247,.08);
  }
  .chapter-toggle:hover{
    background: rgba(255,255,255,0.06);
    box-shadow: 0 10px 24px rgba(0,0,0,.45);
  }
}

/* ============================
   FINAL FIX: KEIN BLAU MEHR
   (ganz ans ENDE der CSS-Datei)
   ============================ */

/* 1) Accent final festnageln */
:root{
  --accent: #f6cd48;
  --focus-ring: rgba(246,205,72,.32);
}

/* 2) Inputs: keine Browser-Outline, nur Gelb */
.text-input:focus,
.text-input:focus-visible,
.day-row .time:focus,
.day-row .time:focus-visible,
.day-row .time-input:focus,
.day-row .time-input:focus-visible{
  outline: none !important;
  border-color: #f6cd48 !important;
  box-shadow: 0 0 0 3px var(--focus-ring) !important;
}

/* falls du Focus über Container steuerst */
.input-row:focus-within .text-input{
  border-color:#f6cd48 !important;
  box-shadow: 0 0 0 3px var(--focus-ring) !important;
}

/* 3) Panel/Card: gelber Ring statt blau */
.panel:hover,
.panel:focus-within{
  border-color:#f6cd48 !important;
  box-shadow: 0 0 0 3px var(--focus-ring), 0 12px 28px rgba(15,23,42,.18) !important;
}

/* 4) Kapitel (Inhalte & Story etc.): alle blauen Hover/Focus-Rahmen -> Gelb */
.vision-chapter:hover{
  border-color: rgba(246,205,72,.35) !important;
}
.vision-chapter:focus-within{
  border-color: rgba(246,205,72,.50) !important;
  box-shadow: 0 0 0 3px rgba(246,205,72,.22), 0 18px 44px rgba(15,23,42,.10) !important;
}
.vision-chapter:hover .chapter-header{
  background: #f5f5f7!important;
}

/* 5) Domain-Endung Buttons: blauer Fokus -> gelb */
.tld-btn:focus-visible{
  outline: none !important;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px rgba(246,205,72,.45) !important;
}

/* 6) 4-Punkte Button Fokus: blau -> gelb */
.chapter-toggle:focus-visible{
  outline: 3px solid #f6cd48 !important;
  outline-offset: 3px;
}

/* 7) Skip-Link Fokus: blau -> gelb */
.skip-link:focus{
  background:#f6cd48 !important;
  color:#111 !important;
}

/* 8) Dark Mode: gelben Ring auch dort erzwingen */
@media (prefers-color-scheme: dark){
  :root{ --accent:#f6cd48; --focus-ring: rgba(246,205,72,.35); }

  .vision-chapter:hover{
    border-color: rgba(246,205,72,.35) !important;
  }
  .vision-chapter:focus-within{
    border-color: rgba(246,205,72,.55) !important;
    box-shadow: 0 0 0 3px rgba(246,205,72,.22), 0 18px 44px rgba(0,0,0,.55) !important;
  }
}

/* =========================
   📱 Header Mobile Redesign
   ========================= */
@media (max-width: 640px){

  header.chrome{
    top: 10px;                         /* weniger Luft oben */
    width: calc(100% - 24px);          /* schöner Rand */
    margin: 12px auto;
    padding: 12px 14px;                /* kompakter */
    border-radius: 22px;               /* statt mega-pill -> wirkt ruhiger */
    gap: 10px;
    flex-direction: column;            /* LOGO oben, Links unten */
    align-items: stretch;
  }

  /* Logo-Reihe */
  .logo{
    display:flex;
    align-items:center;
    justify-content:flex-start;
  }
  .logo .pv-logo{
    height: 28px;                      /* etwas kleiner */
  }

  /* Aktionen unter dem Logo als 2x2 Grid */
  .header-actions{
    margin-left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;    /* 2 Spalten */
    gap: 10px;
  }

  .header-actions a{
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.15;
    text-align: center;

    border-radius: 999px;             /* Chip/Pill */
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.70);
    box-shadow: 0 10px 24px rgba(15,23,42,.06);
    -webkit-tap-highlight-color: transparent;
  }

  .header-actions a:hover{
    background: rgba(255,255,255,0.85);
  }

  .header-actions a:active{
    transform: translateY(1px);
  }
}

/* Dark Mode Feinschliff für die Mobile-Chips */
@media (max-width: 640px) and (prefers-color-scheme: dark){
  .header-actions a{
    border-color: rgba(255,255,255,0.10);
    background: rgba(25,25,25,.55);
    box-shadow: 0 12px 26px rgba(0,0,0,.35);
  }
  .header-actions a:hover{
    background: rgba(35,35,35,.65);
  }
}
/* ===============================
   📱 MOBILE FIX: nichts ragt raus
   =============================== */
@media (max-width: 480px){

  /* 1) Horizontalen Overflow komplett killen */
  html, body{
    overflow-x: hidden;
  }

  /* Panel darf nicht breiter werden als Viewport */
  .wrap{ padding-left: 12px; padding-right: 12px; }
  .panel{ max-width: 100%; }

  /* ===========================
     Öffnungszeiten: day-row Fix
     =========================== */

  .hours-collapsible .hours-grid{
    max-width: 100%;
    padding: 0;                /* dein 0 2px kann ok sein – hier hard safe */
  }

  .hours-collapsible .day-row{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;          /* <- verhindert „Swatch schaut raus“ + Shadow-Overhang */
    padding-right: 12px;       /* <- absolute swatch-right braucht nicht so viel Reserve */
  }

  /* Inputs dürfen schrumpfen und umbrechen */
  .hours-collapsible .day-row .inputs{
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;           /* <- falls es eng wird, bricht sauber um */
    padding-right: 0;          /* <- wir lösen das absolute-rechts Problem anders */
    gap: 8px;
  }

  /* Zeitfelder flexibel statt harte Breite */
  .hours-collapsible .day-row .time,
  .hours-collapsible .day-row .time-input{
    width: clamp(64px, 22vw, 84px);
    height: 32px;
    font-size: 14px;
  }

  /* Swatch rechts: auf Mobile NICHT mehr absolut -> kein Rausragen */
  .hours-collapsible .day-row .swatch-right{
    position: static;
    transform: none;
    margin-left: auto;         /* schiebt es nach rechts */
    flex: 0 0 auto;
    width: 38px;
    height: 24px;
  }

  /* ===========================
     Upload-Zeilen: Info reinholen
     =========================== */

  /* Wenn du irgendwo eine Zeile mit Button + Dateiname + Info rechts hast */
  .file-row{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;           /* <- erlaubt Umbruch */
    max-width: 100%;
  }

  /* Browser-File-Control kann breit werden */
  input[type="file"].file-input{
    max-width: 100%;
  }

  /* „Max. …“ / Info-Text rechts -> unter die Zeile */
  .file-help,
  .char-help{
    max-width: 100%;
    word-break: break-word;
  }

  /* Falls du für „Max …“ ein eigenes Element hast, das rechts floated: */
  .file-meta,
  .file-max,
  .upload-max,
  .max-note{
    display: block;
    width: 100%;
    margin-left: 0 !important;
    text-align: left !important;
    font-size: 12.5px;
    color: #6b7280;
  }

  /* Clear-Button neben File: nicht rausschieben */
  .clear-file{
    flex: 0 0 auto;
  }
}

/* ==========================================
   📱 Öffnungszeiten – maximale Komprimierung
   ========================================== */
@media (max-width: 480px){

  /* Ganze Reihe enger */
  .hours-collapsible .day-row{
    width: calc(100% - 10px) !important;
    margin: 0 auto 8px !important;
    padding: 6px 8px !important;     /* weniger Innenabstand */
    gap: 6px !important;             /* globaler Reihen-Abstand */
  }

  /* TAG (Mo, Di, …) näher an Zeit */
  .hours-collapsible .day-row .day{
    width: 22px !important;
    font-size: 14px !important;
    margin-right: 2px !important;    /* war größer → jetzt enger */
  }

  /* Input-Wrapper enger */
  .hours-collapsible .day-row .inputs{
    gap: 4px !important;             /* Abstand Zeit – Dash – Zeit */
    padding-right: 0 !important;     /* kein Platz mehr für absolut */
  }

  /* Zeitfelder kleiner + enger */
  .hours-collapsible .day-row .time,
  .hours-collapsible .day-row .time-input{
    width: 60px !important;          /* schmaler */
    height: 28px !important;
    font-size: 13px !important;
    padding: 3px 4px !important;
    border-radius: 9px !important;
  }

  /* Dash enger */
  .hours-collapsible .day-row .dash{
    margin: 0 2px !important;
    font-size: 13px !important;
  }

  /* Farbfeld DIREKT an Zeit ran */
  .hours-collapsible .day-row .swatch-right{
    position: static !important;
    transform: none !important;
    margin-left: 4px !important;     /* minimal Abstand */
    width: 30px !important;          /* kleiner */
    height: 20px !important;
  }
}

@media (max-width: 480px){

  /* Notfall: greift egal wie die Struktur ist */
  details.hours-collapsible .day-row,
  .hours-collapsible .day-row,
  .day-row{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:6px !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  details.hours-collapsible .day-row .day,
  .hours-collapsible .day-row .day,
  .day-row .day{
    width:auto !important;
    margin:0 !important;
  }

  details.hours-collapsible .day-row .inputs,
  .hours-collapsible .day-row .inputs,
  .day-row .inputs{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    width:100% !important;
    padding-right:0 !important;
    min-width:0 !important;
  }

  details.hours-collapsible .day-row .swatch-right,
  .hours-collapsible .day-row .swatch-right,
  .day-row .swatch-right{
    position:static !important;
    transform:none !important;
    margin-left:auto !important;
    width:34px !important;
    height:22px !important;
    flex:0 0 auto !important;
    right:auto !important;
    top:auto !important;
  }

  details.hours-collapsible .day-row .time,
  details.hours-collapsible .day-row .time-input,
  .hours-collapsible .day-row .time,
  .hours-collapsible .day-row .time-input,
  .day-row .time,
  .day-row .time-input{
    width:72px !important;
    height:30px !important;
    font-size:13px !important;
    padding:3px 6px !important;
  }
}

@media (max-width: 480px){

  /* Notfall: greift egal wie die Struktur ist */
  details.hours-collapsible .day-row,
  .hours-collapsible .day-row,
  .day-row{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:6px !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  details.hours-collapsible .day-row .day,
  .hours-collapsible .day-row .day,
  .day-row .day{
    width:auto !important;
    margin:0 !important;
  }

  details.hours-collapsible .day-row .inputs,
  .hours-collapsible .day-row .inputs,
  .day-row .inputs{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    width:100% !important;
    padding-right:0 !important;
    min-width:0 !important;
  }

  details.hours-collapsible .day-row .swatch-right,
  .hours-collapsible .day-row .swatch-right,
  .day-row .swatch-right{
    position:static !important;
    transform:none !important;
    margin-left:auto !important;
    width:34px !important;
    height:22px !important;
    flex:0 0 auto !important;
    right:auto !important;
    top:auto !important;
  }

  details.hours-collapsible .day-row .time,
  details.hours-collapsible .day-row .time-input,
  .hours-collapsible .day-row .time,
  .hours-collapsible .day-row .time-input,
  .day-row .time,
  .day-row .time-input{
    width:72px !important;
    height:30px !important;
    font-size:13px !important;
    padding:3px 6px !important;
  }
}
/* ✅ Öffnungszeiten Mobile: Tag oben, Zeiten + Farbpille in einer Zeile */
@media (max-width: 900px){

  .day-row{
    display: grid !important;
    grid-template-columns: 1fr auto !important; /* links Inhalt, rechts Swatch */
    grid-template-rows: auto auto !important;   /* oben Tag, unten Zeiten */
    align-items: center !important;
    gap: 10px 12px !important;
  }

  .day-row .day{
    grid-column: 1 / -1 !important; /* ganze Breite oben */
    grid-row: 1 !important;
  }

  .day-row .inputs{
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: center !important;
    padding-right: 0 !important;  /* killt dein altes Reserve-Padding */
    min-width: 0 !important;
  }

  .day-row .swatch-right{
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: center !important;
    justify-self: end !important;

    /* 🔥 überschreibt alte absolute-Position-Regeln */
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;

    margin-left: 6px !important;
  }
}