/* Die Schriften (fonts.css) bindet das Layout als eigene Datei mit
   Versionsanhang ein, nicht mehr per @import: /fonts/ wird ein Jahr lang
   unveraenderlich zwischengespeichert, eine geaenderte fonts.css ohne ?v=
   kam bei wiederkehrenden Besuchern nie an. */

/* ============================================================
   THEME — der einzige Ort zum Umfaerben.
   Fuer ein neues Theme nur diesen Block ersetzen; im ganzen
   Stylesheet steht danach kein fester Farbwert mehr.

   Die -rgb-Varianten halten dieselbe Farbe als Zahlentripel,
   damit auch halbtransparente Flaechen (rgba) ueber das Theme
   laufen und nicht hart kodiert werden muessen.
   ============================================================ */
  :root{
    /* Grundfarben als RGB-Tripel */
    --bg-rgb:      248, 249, 251;   /* Seitenhintergrund */
    --surface-rgb: 255, 255, 255;   /* Karten, Panels */
    --ink-rgb:      30,  41,  59;   /* Fliesstext, Ueberschriften */
    --muted-rgb:    84,  98, 120;   /* Sekundaertext (vorher 100,116,139: auf hellen Flaechen unter 4,5:1) */
    --accent-rgb:   59, 130, 246;   /* Akzent (Buttons, Links, Icons) */
    --accent-deep-rgb: 37,  99, 235;/* Akzent dunkler (Hover, Eyebrow) */
    --success-rgb:  22, 163,  74;   /* "geoeffnet", positive Hinweise */
    --warn-rgb:    217, 119,   6;   /* Warnhinweise im Admin */
    --danger-rgb:  220,  38,  38;   /* Fehler, Loeschen */
    --wa-rgb:       var(--accent-rgb);   /* WhatsApp-Knopf folgt dem Seiten-Akzent statt grellem Marken-Gruen */

    /* Abgeleitete Flaechenfarben */
    --bg:          rgb(var(--bg-rgb));
    --bg-2:        rgb(241, 245, 249);
    --surface:     rgb(var(--surface-rgb));
    --surface-alt: rgb(248, 250, 252);
    --ink:         rgb(var(--ink-rgb));
    --ink-soft:    rgb(51, 65, 85);
    --muted:       rgb(var(--muted-rgb));
    --accent:      rgb(var(--accent-rgb));
    --accent-deep: rgb(var(--accent-deep-rgb));
    --accent-soft: rgb(147, 197, 253);
    --success:     rgb(var(--success-rgb));
    --success-bg:  rgba(var(--success-rgb), .10);
    --success-deep:rgb(21, 128,  61);
    --warn:        rgb(var(--warn-rgb));
    --warn-bg:     rgba(var(--warn-rgb), .10);
    --warn-deep:   rgb(146,  64,  14);
    --danger:      rgb(var(--danger-rgb));
    --danger-bg:   rgba(var(--danger-rgb), .10);
    --danger-deep: rgb(153,  27,  27);
    --wa:          rgb(var(--wa-rgb));
    --overlay:     rgba(0, 0, 0, .5);
    --stage:       rgb(0, 0, 0);        /* neutraler Hintergrund im Bild-Zuschnitt */

    /* Linien, Schatten, Overlays */
    --line:        rgba(var(--ink-rgb), .14);
    --line-soft:   rgba(var(--ink-rgb), .08);
    --shadow:      0 18px 50px -20px rgba(var(--ink-rgb), .28);
    --shadow-card: 0 10px 30px -18px rgba(var(--ink-rgb), .25);
    --shadow-hover:0 22px 44px -22px rgba(var(--ink-rgb), .35);
    --nav-bg:      rgba(var(--bg-rgb), .85);
    --on-accent:   rgb(255, 255, 255);   /* Text auf Akzentflaechen */

    /* Typografie — pro Theme austauschbar */
    --font-sans:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: var(--font-sans);
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html{scroll-behavior:smooth}
  body{
    font-family:var(--font-sans);
    color:var(--ink);
    background:var(--bg);
    line-height:1.7;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3{font-family:var(--font-display);font-weight:700;line-height:1.15;letter-spacing:-.01em;}
  a{color:inherit;text-decoration:none}
  .wrap{max-width:1120px;margin:0 auto;padding:0 24px}
  /* Icon-Grundgroesse. Ohne sie skalieren die SVGs auf ihre Box hoch. */
  .lu{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0}
  .eyebrow{
    font-family:var(--font-sans);text-transform:uppercase;letter-spacing:.32em;
    font-size:.72rem;font-weight:700;color:var(--accent-deep);
    display:flex;align-items:center;gap:.7em;justify-content:center;
  }
  .eyebrow::before,.eyebrow::after{content:"";height:1px;width:34px;background:var(--line)}
  .sec-title{font-size:clamp(2rem,4.4vw,3.1rem);text-align:center;margin:.35em 0 .2em}
  .sec-sub{text-align:center;color:var(--muted);max-width:620px;margin:0 auto 2.6rem;font-size:1.05rem}
  section{padding:88px 0}

  /* NAV */
  header.nav{
    position:sticky;top:0;z-index:50;
    background:var(--nav-bg);
    backdrop-filter:blur(12px);
    border-bottom:1px solid var(--line-soft);
  }
  .nav-inner{display:flex;align-items:center;justify-content:space-between;height:74px}
  .brand{display:flex;flex-direction:column;line-height:1}
  .brand .name{font-family:var(--font-display);font-size:1.9rem;color:var(--accent-deep)}
  .brand .sub{font-size:.7rem;letter-spacing:.34em;text-transform:uppercase;color:var(--muted);margin-top:2px;padding-left:3px}
  .brand-logo{max-height:46px;width:auto;display:block}
  .nav-links{display:flex;gap:30px;align-items:center}
  .nav-links a{font-size:.9rem;font-weight:600;color:var(--ink);transition:color .2s;position:relative}
  .nav-links a::after{content:"";position:absolute;left:0;bottom:-6px;height:2px;width:0;background:var(--accent);transition:width .25s}
  .nav-links a:hover{color:var(--accent-deep)}
  .nav-links a:hover::after{width:100%}
  .btn{
    display:inline-flex;align-items:center;gap:.55em;
    padding:.75em 1.5em;border-radius:999px;font-weight:700;font-size:.9rem;
    transition:transform .2s,box-shadow .2s,background .2s;cursor:pointer;border:none;
  }
  .btn-wa{background:var(--wa);color:var(--surface);box-shadow:0 10px 24px -10px rgba(var(--wa-rgb),.7)}
  .btn-wa:hover{transform:translateY(-2px);box-shadow:0 16px 30px -12px rgba(var(--wa-rgb),.8)}
  .btn-accent{background:linear-gradient(135deg,var(--accent),var(--accent-deep));color:var(--on-accent);box-shadow:0 12px 26px -12px rgba(var(--accent-rgb),.6)}
  .btn-accent:hover{transform:translateY(-2px)}
  .btn-ghost{background:transparent;border:1.5px solid var(--accent);color:var(--accent-deep)}
  .btn-ghost:hover{background:var(--surface-alt)}
  .nav .btn-wa{padding:.6em 1.15em}
  .burger{display:none;background:none;border:none;cursor:pointer;flex-direction:column;gap:5px;padding:14px 9px;margin-right:-9px}
  .burger span{width:26px;height:2px;background:var(--ink);border-radius:2px;transition:.3s}

  /* HERO */
  .hero{
    position:relative;text-align:center;
    padding:96px 0 104px;
    background:
      radial-gradient(1100px 460px at 50% -8%, var(--surface-alt), transparent 62%),
      repeating-linear-gradient(90deg, rgba(var(--accent-rgb),.05) 0 26px, transparent 26px 52px),
      linear-gradient(180deg,var(--bg),var(--bg-2));
    overflow:hidden;
  }
  .badge-rating{
    display:inline-flex;align-items:center;gap:.5em;background:var(--surface);
    padding:.5em 1.1em;border-radius:999px;box-shadow:var(--shadow);
    font-weight:700;font-size:.86rem;margin-bottom:26px;border:1px solid var(--line)
  }
  .stars{color:var(--accent);letter-spacing:1px}
  .hero h1{margin-top:6px}
  .hero .name{
    font-family:var(--font-display);
    /* Untergrenze klein genug, damit auch lange Namen auf schmalen Handys passen. */
    font-size:clamp(2rem,9vw,6.6rem);color:var(--accent-deep);line-height:1;
    display:block;max-width:100%;
    overflow-wrap:anywhere;word-break:break-word;hyphens:auto;
  }
  .hero .kicker{display:block;font-size:clamp(1.1rem,2.4vw,1.5rem);letter-spacing:.42em;text-transform:uppercase;color:var(--accent);font-family:var(--font-sans);font-weight:700;margin-bottom:.2em}
  .hero .tag{font-family:var(--font-display);font-style:italic;font-size:clamp(1.25rem,2.8vw,1.7rem);color:var(--ink);margin:22px auto 6px;max-width:560px}
  .hero .cta{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-top:34px}
  .hero-strip{display:flex;gap:34px;justify-content:center;flex-wrap:wrap;margin-top:46px;color:var(--muted);font-size:.9rem;font-weight:600}
  .hero-strip span{display:inline-flex;align-items:center;gap:.5em}
  .hero-strip .lu{width:18px;height:18px}

  /* HERO IMAGE placeholder */
  .hero-photo-wrap{max-width:760px;margin:52px auto 0}
  .photo-ph{
    position:relative;border-radius:22px;overflow:hidden;border:1px solid var(--line);
    background:linear-gradient(135deg,var(--surface-alt),var(--surface-alt));
    box-shadow:var(--shadow);
    display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;
    color:var(--accent-deep);text-align:center;padding:24px;
  }
  .photo-ph .ph-icon,.photo-ph .lu{width:46px;height:46px;opacity:.8}
  .photo-ph .ph-label{font-weight:700;font-size:.95rem}
  .photo-ph .ph-hint{font-size:.8rem;color:var(--muted);max-width:340px}
  .hero-photo-wrap .photo-ph{aspect-ratio:16/9}

  /* HERO COVER — Video/Foto vollflaechig als Hintergrund, Text hell darueber.
     (Nahe am alten „LAIDBACK ZAC“-Design.) */
  .hero--cover{
    min-height:clamp(560px, 92vh, 900px);
    display:flex;align-items:center;justify-content:center;
    padding:120px 0;background:var(--stage);
  }
  .hero--cover .hero-media{position:absolute;inset:0;z-index:0;overflow:hidden}
  .hero--cover .hero-media-el{
    width:100%;height:100%;object-fit:cover;object-position:center;display:block;
  }
  .hero--cover .hero-media-overlay{
    position:absolute;inset:0;
    /* Unten dunkler, damit Text und Buttons tragen; oben leichter fuer Bildwirkung. */
    background:
      linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.45) 42%, rgba(0,0,0,.78) 100%),
      radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(0,0,0,.35) 100%);
  }
  .hero--cover .wrap{position:relative;z-index:1}
  /* Text auf dem Medium immer hell, unabhaengig vom Theme. */
  .hero--cover .name{color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.45)}
  .hero--cover .kicker{color:rgba(255,255,255,.92)}
  .hero--cover .tag{color:rgba(255,255,255,.92);text-shadow:0 1px 14px rgba(0,0,0,.4)}
  .hero--cover .hero-strip{color:rgba(255,255,255,.85)}
  .hero--cover .btn-ghost{color:#fff;border-color:rgba(255,255,255,.55)}
  .hero--cover .btn-ghost:hover{background:rgba(255,255,255,.12);border-color:#fff}

  /* ABOUT */
  .about{background:var(--bg)}
  .about-grid{display:grid;grid-template-columns:1fr;gap:34px;align-items:start}
  .about-text p{margin-bottom:1.1em;font-size:1.06rem}
  .about-text .lead{font-family:var(--font-display);font-size:1.5rem;font-style:italic;color:var(--accent-deep);line-height:1.4;margin-bottom:1.1em}
  .about-photo .photo-ph{aspect-ratio:4/5;height:100%}
  .sign{font-family:var(--font-display);font-size:2.1rem;color:var(--accent-deep);margin-top:.2em}

  /* SERVICES / PRICES */
  .services{background:linear-gradient(180deg,var(--bg-2),var(--bg))}
  .price-card{
    position:relative;background:var(--surface);border-radius:20px;padding:44px 40px 40px;
    box-shadow:var(--shadow);border:1px solid var(--line);
  }
  .price-card::before,.price-card::after{
    content:"";position:absolute;width:52px;height:52px;
    border:2px solid var(--accent);opacity:.55;
  }
  .price-card::before{top:14px;left:14px;border-right:0;border-bottom:0;border-radius:8px 0 0 0}
  .price-card::after{bottom:14px;right:14px;border-left:0;border-top:0;border-radius:0 0 8px 0}
  .price-grid{display:grid;grid-template-columns:1fr;gap:32px}
  .price-block h3{display:flex;align-items:center;gap:.5em;font-size:1.35rem;color:var(--accent-deep);margin-bottom:.15em;overflow-wrap:anywhere}
  .price-block h3 .lu{width:20px;height:20px}
  .price-block .note{font-size:.85rem;color:var(--muted);font-style:italic;margin-bottom:16px}
  .price-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px dotted rgba(var(--muted-rgb),.35)}
  .price-row:last-child{border-bottom:none}
  .price-row .lbl{font-weight:500}
  .price-row .val{font-weight:700;color:var(--ink);white-space:nowrap}
  .price-block.full{grid-column:1/-1}
  .price-block.full .inner-2{display:grid;grid-template-columns:1fr;gap:6px}
  .addons{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-top:6px;padding-top:26px;border-top:1px solid var(--line)}
  .addon-chip{background:var(--surface-alt);border:1px solid rgba(var(--accent-rgb),.35);border-radius:999px;padding:.5em 1.1em;font-size:.9rem;font-weight:600;color:var(--accent-deep)}
  .price-foot{text-align:center;color:var(--muted);font-size:.86rem;margin-top:22px;font-style:italic}

  /* SERVICE-CARDS (iceman): eigene Cards, Details klappen per Tap auf.
     Mobile-first: eine Spalte; am Desktop (weiter unten) mehrspaltig. */
  .svc-cat{display:flex;align-items:center;gap:.5em;font-size:1.15rem;color:var(--accent-deep);
    margin:30px 0 14px;overflow-wrap:anywhere}
  .svc-cat .lu{width:19px;height:19px}
  /* Mobile-first: horizontaler Swipe-Slider mit Snap. Die Karten liegen in einer
     Reihe, man wischt seitlich; die naechste Karte „lugt" rechts hervor. Ab 561px
     (weiter unten) wird daraus wieder ein Grid. */
  .svc-grid{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;
    /* volle Viewport-Breite nutzen, auch ueber das .wrap-Padding hinaus, damit
       die Karten bis zum Rand scrollen koennen. */
    margin:0 -24px;padding:4px 24px 14px;scroll-padding-left:24px}
  .svc-grid::-webkit-scrollbar{display:none}
  .svc-card{position:relative;background:var(--surface);border:1px solid var(--line);
    border-radius:18px;box-shadow:var(--shadow);overflow:hidden;
    transition:border-color .25s ease,box-shadow .25s ease;
    /* im Slider: feste Breite, die naechste Karte peekt (82% der Viewport-Spalte). */
    flex:0 0 82%;scroll-snap-align:start;align-self:flex-start}
  .svc-card[open]{border-color:rgba(var(--accent-rgb),.5);box-shadow:0 10px 34px rgba(var(--accent-rgb),.14)}
  /* summary: der klickbare Kopf. list-style weg (kein Default-Dreieck). */
  .svc-head{display:flex;gap:14px;align-items:flex-start;padding:18px 48px 18px 18px;cursor:pointer;
    list-style:none;-webkit-tap-highlight-color:transparent}
  .svc-head::-webkit-details-marker{display:none}
  .svc-head:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:18px}
  .svc-ic{flex:0 0 auto;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;
    background:rgba(var(--accent-rgb),.12);color:var(--accent-deep)}
  .svc-ic .lu{width:22px;height:22px}
  .svc-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:5px}
  .svc-title{font-family:var(--font-display);font-size:1.18rem;line-height:1.2;color:var(--ink)}
  .svc-lead{font-size:.92rem;color:var(--muted);line-height:1.45}
  .svc-card[open] .svc-lead{display:none}
  .svc-foot{display:flex;align-items:center;gap:10px;margin-top:3px}
  .svc-price{font-weight:700;color:var(--accent-deep);font-size:.92rem;white-space:nowrap}
  .svc-more{font-size:.82rem;font-weight:600;color:var(--muted)}
  .svc-card[open] .svc-more{color:var(--accent-deep)}
  /* Aufklapp-Knopf: runder Chevron oben rechts — klare Affordance. */
  .svc-chev{position:absolute;top:16px;right:14px;width:30px;height:30px;border-radius:50%;
    display:grid;place-items:center;background:rgba(var(--accent-rgb),.12);color:var(--accent-deep);
    font-size:.9rem;line-height:1;transition:transform .3s cubic-bezier(.22,.61,.36,1),background .25s ease}
  .svc-card[open] .svc-chev{transform:rotate(180deg);background:rgba(var(--accent-rgb),.22)}
  .svc-body{padding:2px 18px 20px 74px;animation:svc-open .32s cubic-bezier(.22,.61,.36,1)}
  .svc-body p{margin:0;color:var(--ink);line-height:1.6;font-size:.96rem}
  @@keyframes svc-open{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}

  /* Card mit Hintergrundfoto (Slot service-<id>): Foto fuellt die Card, ein dunkler
     Verlauf darueber haelt den hellen Text lesbar. Wird im Admin je Angebot gepflegt. */
  .svc-card.has-img{border-color:transparent;color:#fff;isolation:isolate}
  .svc-card.has-img::before{content:"";position:absolute;inset:0;z-index:-2;
    background-image:var(--svc-img);background-size:cover;background-position:center;
    transition:transform .4s cubic-bezier(.22,.61,.36,1)}
  /* Kräftiges Overlay: eine durchgehende Grundabdunklung (damit AUCH helle Fotos genug
     Kontrast für weißen Text geben) PLUS ein Verlauf, der nach unten dichter wird. */
  .svc-card.has-img::after{content:"";position:absolute;inset:0;z-index:-1;
    background:
      linear-gradient(180deg,rgba(6,9,8,.55) 0%,rgba(6,9,8,.82) 55%,rgba(6,9,8,.95) 100%),
      rgba(6,9,8,.3)}
  .svc-card.has-img[open]::before{transform:scale(1.04)}
  /* Text-Schatten als zweite Absicherung gegen helle Bildstellen. */
  .svc-card.has-img .svc-title{color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.7)}
  .svc-card.has-img .svc-lead{color:rgba(255,255,255,.92);text-shadow:0 1px 8px rgba(0,0,0,.65)}
  .svc-card.has-img .svc-price{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.7)}
  .svc-card.has-img .svc-more{color:rgba(255,255,255,.92);text-shadow:0 1px 8px rgba(0,0,0,.65)}
  .svc-card.has-img .svc-body p{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.6)}
  /* Icon- und Chevron-Flaechen auf Foto: leicht milchig statt Akzentgruen. */
  .svc-card.has-img .svc-ic{background:rgba(255,255,255,.16);color:#fff}
  .svc-card.has-img .svc-chev{background:rgba(255,255,255,.18);color:#fff}
  .svc-card.has-img[open] .svc-chev{background:rgba(255,255,255,.28)}
  /* Mindesthoehe, damit das Foto im zugeklappten Zustand wirkt. */
  .svc-card.has-img .svc-head{min-height:150px;align-items:flex-end}

  /* REVIEWS */
  .reviews{background:var(--bg)}
  .rev-head{display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:34px}
  .g-badge{display:inline-flex;align-items:center;gap:.6em;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:.55em 1.2em;box-shadow:var(--shadow);font-weight:700}
  .rev-grid{columns:1;column-gap:24px}
  .rev-card{
    background:var(--surface);border-radius:16px;padding:24px 24px 22px;margin-bottom:24px;
    border:1px solid var(--line-soft);box-shadow:0 10px 30px -18px rgba(var(--ink-rgb),.3);
    break-inside:avoid;
  }
  .rev-top{display:flex;align-items:center;gap:12px;margin-bottom:12px}
  .rev-av{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--surface);font-size:1.05rem;flex-shrink:0}
  .rev-name{font-weight:700;font-size:.98rem;line-height:1.1}
  .rev-meta{font-size:.76rem;color:var(--muted)}
  .rev-stars{color:var(--accent);font-size:.85rem;letter-spacing:1px;margin-bottom:8px}
  .rev-text{font-size:.96rem;color:var(--ink-soft)}
  .rev-cta{text-align:center;margin-top:30px}

  /* GALLERY */
  .gallery{background:linear-gradient(180deg,var(--bg),var(--bg-2))}
  .gal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
  .gal-grid .photo-ph{aspect-ratio:1}
  .gal-grid .ph-label{font-size:.8rem}
  .gal-note{text-align:center;margin-top:24px;color:var(--muted);font-size:.9rem}

  /* CONTACT */
  .contact{background:var(--bg)}
  .contact-grid{display:grid;grid-template-columns:1fr;gap:34px;align-items:stretch}
  .info-card{background:var(--surface);border-radius:20px;padding:38px;box-shadow:var(--shadow);border:1px solid var(--line)}
  .info-row{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid var(--line-soft)}
  .info-row:last-child{border-bottom:none}
  .info-row .ic{width:38px;height:38px;flex-shrink:0;border-radius:11px;background:var(--surface-alt);display:flex;align-items:center;justify-content:center}
  .info-row .ic svg{width:19px;height:19px;fill:var(--accent-deep)}
  .info-row .lbl{font-size:.74rem;text-transform:uppercase;letter-spacing:.16em;color:var(--muted);font-weight:700;margin-bottom:2px}
  .info-row > div{min-width:0}
  .info-row .txt{font-weight:600;overflow-wrap:break-word}
  .info-row .txt a:hover{color:var(--accent-deep)}
  .hours-line{display:flex;justify-content:space-between;gap:12px;font-size:.94rem;padding:3px 0}
  .hours-line.open .d{font-weight:700}
  .hours-line .h-open{color:var(--success);font-weight:700}
  .hours-line .h-closed{color:var(--muted)}
  /* Normalansicht: je Zeile nur der passende Zustand. Beide Spans existieren im Markup,
     damit der Inline-Editor (html.oe-active) sie umschalten/bearbeiten kann. */
  .hours-line .h-open{display:none}
  .hours-line.open .h-open{display:inline}
  .hours-line.open .h-closed{display:none}
  html.oe-active .hours-line .h-open,
  html.oe-active .hours-line .h-closed{display:inline}
  /* Im Bearbeitungsmodus stehen „Geschlossen“ und die Zeiten nebeneinander:
     umbrechen statt die Karte über den Rand zu schieben. */
  html.oe-active .hours-line{flex-wrap:wrap}
  .map-card{position:relative;border-radius:20px;overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--line);min-height:340px;background:var(--line)}
  .map-card iframe{width:100%;height:100%;min-height:340px;border:0;display:block}
  .contact-cta{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}

  /* FOOTER */
  footer{background:var(--ink);color:rgba(var(--surface-rgb),.92);padding:56px 0 30px;text-align:center}
  footer .fname{font-family:var(--font-display);font-size:2.6rem;color:var(--surface)}
  footer .fsub{letter-spacing:.3em;text-transform:uppercase;font-size:.74rem;color:var(--accent-soft);margin-top:4px}
  footer .fsocial{display:flex;gap:18px;justify-content:center;margin:22px 0 18px}
  footer .fsocial a{width:42px;height:42px;border-radius:50%;background:rgba(var(--surface-rgb),.09);display:flex;align-items:center;justify-content:center;transition:.2s}
  footer .fsocial a:hover{background:var(--accent);transform:translateY(-2px)}
  footer .fsocial svg{width:20px;height:20px;fill:var(--surface)}
  footer .fmeta{font-size:.85rem;color:rgba(var(--surface-rgb),.6);margin-top:8px}
  footer .fmeta a{color:var(--accent-soft);display:inline-block;padding:10px 4px}

  /* FLOATING WA */
  .fab{position:fixed;right:22px;bottom:22px;z-index:60;width:58px;height:58px;border-radius:50%;background:var(--wa);display:flex;align-items:center;justify-content:center;box-shadow:0 14px 30px -8px rgba(var(--wa-rgb),.7);transition:transform .2s;animation:pulse 2.6s infinite}
  .fab:hover{transform:scale(1.08)}
  .fab svg{width:30px;height:30px;fill:var(--surface)}
  @keyframes pulse{0%{box-shadow:0 14px 30px -8px rgba(var(--wa-rgb),.7),0 0 0 0 rgba(var(--wa-rgb),.5)}70%{box-shadow:0 14px 30px -8px rgba(var(--wa-rgb),.7),0 0 0 16px rgba(var(--wa-rgb),0)}100%{box-shadow:0 14px 30px -8px rgba(var(--wa-rgb),.7),0 0 0 0 rgba(var(--wa-rgb),0)}}

  /* ------------------------------------------------------------
     RESPONSIVE — mobile-first: die Basis oben gilt fuers Handy,
     groessere Viewports kommen additiv per min-width dazu.
     ------------------------------------------------------------ */

  /* Mobile Navigation: Hamburger-Panel (Basis, bis 880px) */
  .nav-links{
    position:fixed;inset:74px 0 auto 0;background:var(--bg);
    flex-direction:column;gap:0;padding:10px 24px 24px;
    border-bottom:1px solid var(--line);transform:translateY(-140%);
    box-shadow:var(--shadow);
    /* Nur verschoben blieb das geschlossene Menue in der Tab-Reihenfolge:
       die Tastatur landete auf unsichtbaren Punkten. visibility nimmt es
       heraus und schaltet erst nach dem Hochfahren um, die Bewegung bleibt. */
    visibility:hidden;
    transition:transform .35s,visibility 0s linear .35s;
  }
  .nav-links.open{transform:none;visibility:visible;transition:transform .35s,visibility 0s}
  .nav-links a{padding:14px 0;width:100%;border-bottom:1px solid var(--line-soft)}
  .nav-links .btn{margin-top:12px}
  .burger{display:flex}
  section{padding:64px 0}
  .hero-strip{gap:18px}
  .price-card{padding:34px 22px 30px}
  .info-card{padding:26px}

  /* Ab kleinen Tablets: mehrspaltige Bewertungen */
  @media(min-width:561px){
    .rev-grid{columns:2}
    /* Ab Tablet: Angebote wieder als Grid (kein Swipe-Slider mehr). */
    .svc-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;
      overflow:visible;margin:0;padding:0;scroll-snap-type:none}
    .svc-card{flex:initial}
  }

  /* Ab Desktop: normale Navigationsleiste und mehrspaltige Raster */
  @media(min-width:881px){
    .nav-links{
      position:static;inset:auto;background:none;flex-direction:row;gap:30px;
      padding:0;border-bottom:none;transform:none;box-shadow:none;
      visibility:visible;transition:none;
    }
    .nav-links a{padding:0;width:auto;border-bottom:none}
    .nav-links .btn{margin-top:0}
    .burger{display:none}
    section{padding:88px 0}
    .hero-strip{gap:34px}
    .price-card{padding:44px 40px 40px}
    .info-card{padding:38px}
    .about-grid{grid-template-columns:1fr 1fr;gap:56px}
    .contact-grid{grid-template-columns:1fr 1fr;gap:44px}
    .price-grid{grid-template-columns:1fr 1fr;gap:40px 56px}
    .price-block.full .inner-2{grid-template-columns:1fr 1fr;gap:6px 56px}
    .rev-grid{columns:3}
    .gal-grid{grid-template-columns:repeat(4,1fr)}
  }

/* --- Rechtsseiten (Impressum/Datenschutz) — Ergänzung, nicht im Original-Template --- */
.legal{padding:120px 0 88px;background:var(--bg)}
.legal h1{margin-bottom:8px}
.legal h3{font-family:var(--font-display);color:var(--accent-deep);font-size:1.4rem;margin:28px 0 8px}
.legal p{margin-bottom:12px;color:var(--ink-soft)}
.legal a{color:var(--accent-deep);font-weight:600;text-decoration:underline}
.legal code{background:var(--surface-alt);padding:1px 6px;border-radius:5px;font-size:.85em;color:var(--accent-deep)}
.legal-note{background:var(--surface-alt);border:1px solid rgba(var(--accent-rgb),.35);border-radius:12px;padding:14px 18px;font-size:.92rem;margin-bottom:24px}

/* --- Icons statt Emojis (Lucide, MIT) — Ergänzung --- */
.strip-ic{width:18px;height:18px;color:var(--accent-deep);flex-shrink:0;vertical-align:middle}
.note-ic{width:17px;height:17px;color:var(--accent-deep);vertical-align:-3px;margin-right:4px}

/* ============================================================
   Animationen & Effekte (dezent & edel) — Ergänzung
   ============================================================ */

/* Gestaffeltes Reveal: Elemente mit .reveal blenden nacheinander ein.
   Die Verzögerung wird per --d (inline) gesetzt. */
.js .reveal{opacity:0;transform:translateY(26px);transition:opacity .7s cubic-bezier(.22,.61,.36,1),transform .7s cubic-bezier(.22,.61,.36,1);transition-delay:var(--d,0s)}
.js .reveal.in{opacity:1;transform:none}

/* Sanftes Skalieren/Anheben von Karten beim Hover */
.price-card,.rev-card,.info-card,.map-card,.photo-ph{transition:transform .35s cubic-bezier(.22,.61,.36,1),box-shadow .35s ease}
.rev-card:hover{transform:translateY(-6px);box-shadow:0 22px 44px -22px rgba(var(--ink-rgb),.45)}
.info-card:hover{transform:translateY(-3px)}
.gal-grid .photo-ph{transition:transform .4s cubic-bezier(.22,.61,.36,1),box-shadow .4s ease}
.gal-grid .photo-ph:hover{transform:translateY(-5px) scale(1.015);box-shadow:0 20px 40px -20px rgba(var(--ink-rgb),.4)}

/* Buttons: weicher Lift + dezenter Glanz */
.btn{position:relative;overflow:hidden}
.btn::after{content:"";position:absolute;top:0;left:-120%;width:60%;height:100%;
  background:linear-gradient(120deg,transparent,rgba(var(--surface-rgb),.35),transparent);
  transform:skewX(-20deg);transition:left .6s ease}
.btn:hover::after{left:130%}

/* Preiszeilen: sanftes Hervorheben beim Hover */
.price-row{transition:background .25s ease,padding-left .25s ease}
.price-row:hover{background:linear-gradient(90deg,var(--surface-alt),transparent);padding-left:8px;border-radius:8px}

/* Addon-Chips: leichtes Wippen beim Hover */
.addon-chip{transition:transform .25s ease,background .25s ease}
.addon-chip:hover{transform:translateY(-2px);background:var(--surface-alt)}

/* Nav-Links Icons/Underline schon vorhanden; Brand leicht animieren */
.brand .name{transition:transform .3s ease}
.brand:hover .name{transform:scale(1.04)}

/* Sanft aufsteigender Hero-Inhalt beim Laden */
@keyframes riseIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
.js .hero .badge-rating{animation:riseIn .7s .05s both cubic-bezier(.22,.61,.36,1)}
.js .hero h1{animation:riseIn .8s .15s both cubic-bezier(.22,.61,.36,1)}
.js .hero .tag{animation:riseIn .8s .3s both cubic-bezier(.22,.61,.36,1)}
.js .hero .cta{animation:riseIn .8s .45s both cubic-bezier(.22,.61,.36,1)}
.js .hero .hero-strip{animation:riseIn .8s .6s both cubic-bezier(.22,.61,.36,1)}
.js .hero .hero-photo-wrap{animation:riseIn .9s .75s both cubic-bezier(.22,.61,.36,1)}

/* Hero-Icons im Strip: leichtes Pulsieren des Farbtons beim Hover */
.hero-strip span{transition:transform .25s ease}
.hero-strip span:hover{transform:translateY(-2px)}
.hero-strip span:hover .strip-ic{color:var(--accent)}

/* Floating WhatsApp: sanfter Hover zusätzlich zum Puls */
.fab{transition:transform .25s ease,box-shadow .25s ease}
.fab:hover{transform:scale(1.12) rotate(6deg)}

/* Der Puls laeuft endlos. Wer weniger Bewegung eingestellt hat, bekommt den
   Knopf ruhig, mit dem Schatten aus dem ersten Bild der Animation. */
@media(prefers-reduced-motion:reduce){
  .fab{animation:none}
}

/* Reduzierte Bewegung respektieren */
@media(prefers-reduced-motion:reduce){
  .js .reveal{opacity:1;transform:none;transition:none}
  .js .hero *{animation:none!important}
  .btn::after{display:none}
  *{scroll-behavior:auto!important}
}

/* Sterne im Rating-Badge leuchten beim Laden nacheinander auf */
@keyframes starPop{0%{opacity:0;transform:scale(.4)}60%{transform:scale(1.15)}100%{opacity:1;transform:scale(1)}}
.js .stars-anim{display:inline-block}
.js .stars-anim{animation:starPop .6s .2s both ease-out}

.hero .wrap{position:relative;z-index:1}

/* ============================================================
   FAQ-Modul: aufklappbare Fragen (details/summary, ohne JavaScript)
   ============================================================ */
.faq{background:var(--bg)}
.faq-list{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:10px}
.faq-item{
  background:var(--surface);border:1px solid var(--line);border-radius:14px;
  box-shadow:var(--shadow-card);overflow:hidden;
}
.faq-item summary{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:18px 20px;cursor:pointer;font-weight:700;list-style:none;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:hover{color:var(--accent-deep)}
.faq-marker{
  flex:0 0 auto;width:14px;height:14px;position:relative;transition:transform .25s ease;
}
.faq-marker::before,.faq-marker::after{
  content:"";position:absolute;background:var(--accent);border-radius:2px;
}
.faq-marker::before{left:0;top:6px;width:14px;height:2px}
.faq-marker::after{left:6px;top:0;width:2px;height:14px;transition:opacity .25s ease}
.faq-item[open] .faq-marker::after{opacity:0}
.faq-item[open] .faq-marker{transform:rotate(180deg)}
.faq-answer{padding:0 20px 18px;color:var(--ink-soft);white-space:pre-line}

/* ==========================================================================
   Korrekturen und Zusaetze (uebernommen aus den Kundenseiten)
   ========================================================================== */

/* Die Begrenzung der Breite gehoert auf <html>, nicht auf <body>. Auf dem Body
   macht sie ihn zum Scroll-Container — window.scrollTo greift dann nicht mehr
   zuverlaessig, und die Ankerlinks in der Kopfzeile bewegen nichts. */
body { overflow-x: visible; }
html { overflow-x: clip; scroll-behavior: smooth; }

/* Damit Ankerziele nicht unter der fixierten Kopfzeile verschwinden. */
html { scroll-padding-top: 96px; }

/* Bildbetrachter und aehnliche Ueberlagerungen sperren das Scrollen ueber
   diese Klasse — ein zurueckgesetztes style.overflow wuerde das overflow-x
   von oben mitloeschen. */
html.is-locked, html.is-locked body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Tastaturbedienung sichtbar machen. Die Schablone hatte dafuer nichts. */
.btn:focus-visible,
.nav-links a:focus-visible,
.fab:focus-visible,
a.brand:focus-visible,
.burger:focus-visible,
.to-top:focus-visible,
.lb-nav:focus-visible,
.lb-close:focus-visible,
[data-full]:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 12px;
}

/* --------------------------------------------------------------------------
   Fortschrittsbalken am oberen Rand
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 2100;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
}

/* --------------------------------------------------------------------------
   Bildbetrachter
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(12, 10, 12, .93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: lbIn .2s ease-out;
}

.lightbox[hidden] { display: none; }

@keyframes lbIn { from { opacity: 0 } to { opacity: 1 } }

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9);
}

.lb-close,
.lb-nav {
  position: absolute;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .2s ease, transform .2s ease;
}

.lb-close:hover,
.lb-nav:hover { background: rgba(255, 255, 255, .28); transform: scale(1.08); }

.lb-close {
  top: 18px; right: 18px;
  width: 46px; height: 46px;
  font-size: 1.7rem;
  line-height: 1;
}

.lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 2rem;
  line-height: 1;
}

.lb-nav:hover { transform: translateY(-50%) scale(1.08); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }

/* Lange Wörter wie „Datenschutzerklärung“ passen auf schmalen Handys nicht
   in eine Zeile: dort trennen statt seitlich überlaufen. */
@media (max-width: 560px) {
  h1, h2 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
}

@media (max-width: 40rem) {
  .lb-close { width: 40px; height: 40px; top: 12px; right: 12px; }
  .lb-nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* Galeriebilder als anklickbar kennzeichnen */
[data-full] { cursor: zoom-in; }

/* --------------------------------------------------------------------------
   Nach-oben-Knopf
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  left: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 1900;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--accent-deep);
  background: var(--surface);
  border: 1px solid rgba(var(--accent-rgb), .3);
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, background .22s ease, color .22s ease, transform .22s ease;
}

.to-top.is-visible { opacity: 1; pointer-events: auto; }

.to-top:hover {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Kurzhinweise (data-tip)
   -------------------------------------------------------------------------- */
.tip-bubble {
  position: fixed;
  top: 0; left: 0;
  z-index: 2300;
  pointer-events: none;
  padding: 7px 12px;
  width: max-content;
  max-width: 90vw;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .18s ease;
}

.tip-bubble.is-on { opacity: 1; }

/* --------------------------------------------------------------------------
   Kopfzeile schrumpft beim Scrollen
   -------------------------------------------------------------------------- */
header.nav.scrolled {
  box-shadow: 0 8px 26px -18px rgba(0, 0, 0, .5);
  backdrop-filter: blur(10px);
}

/* --------------------------------------------------------------------------
   Bild-Hover: zoomt im festen Rahmen statt nur die Box zu heben
   -------------------------------------------------------------------------- */
.gal-grid .photo-ph { overflow: hidden; }
.gal-grid .photo-ph img { transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.gal-grid .photo-ph:hover img { transform: scale(1.06); }

/* Auf Touch-Geraeten gibt es kein Ueberfahren — der Effekt bliebe sonst
   nach dem Antippen haengen. */
@media (hover: none) {
  .gal-grid .photo-ph:hover img { transform: none; }
  .to-top:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gal-grid .photo-ph img { transition: none; }
  .gal-grid .photo-ph:hover img { transform: none; }
  .lightbox { animation: none; }
}

/* ==========================================================================
   Kontaktformular (Modul oidanice-contact)

   Das Modul bringt bewusst kein eigenes CSS mit, damit es sich in jede Seite
   einfuegt. Ohne diesen Block steht das Formular voellig ungestylt da: nackte
   Eingabefelder, Beschriftungen ohne Abstand, Knopf ohne Form. Die Regeln hier
   nutzen dieselben Variablen wie der Rest der Seite, das Theme greift also mit.
   ========================================================================== */

.cf-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  text-align: left;
}

.cf-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.cf-form input[type="text"],
.cf-form textarea {
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cf-form textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* Fokus deutlich sichtbar: der Schatten mit 16 % Deckkraft allein war auf
   hellen Flaechen kaum zu erkennen. Der Ring liegt mit Abstand um das Feld,
   der zarte Schatten bleibt als Uebergang. */
.cf-form :is(input, textarea, select):focus {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .16);
}

.cf-form .btn {
  justify-self: start;
  margin-top: 4px;
}

.cf-ok {
  background: var(--success-bg);
  color: var(--success-deep);
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 600;
  margin-top: 20px;
}

.cf-fehler {
  background: var(--danger-bg);
  color: var(--danger-deep);
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 600;
  margin-top: 20px;
}

/* ==========================================================================
   Symbole in Knoepfen

   Die Lucide-Symbole sind standardmaessig 20 px mit Strichstaerke 2. Neben
   einem 0.9rem grossen Knopftext wirken sie zu gross und zu fett, und weil
   der WhatsApp-Knopf daneben ein 16-px-Symbol als Flaeche zeichnet, standen
   die beiden Knoepfe unterschiedlich hoch. Hier auf dasselbe Mass bringen.
   ========================================================================== */

.btn .lu {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

/* Der WhatsApp-Knopf zeichnet sein Symbol als Flaeche, nicht als Strich.
   Ohne diese Zeile erbt es die Hoehe der Textzeile und sitzt zu tief. */
.btn > svg {
  flex-shrink: 0;
  vertical-align: middle;
}

/* ==========================================================================
   Auswahlfelder mit eigenem Pfeil

   Der Pfeil des Browsers sitzt hart an der rechten Kante. Selbst gezeichnet
   haelt er gut 1em Abstand. Aus zwei Verlaeufen in currentColor statt als
   Bild, damit er die Schriftfarbe jedes Farbschemas annimmt. Die Verwaltung
   (body.admin) hat ihren eigenen Pfeil in admin.css.
   ========================================================================== */
body:not(.admin) select:not([multiple]):not([size]) {
  -webkit-appearance: none; appearance: none;
  padding-right: 2.8em;
  background-image:
    linear-gradient(45deg, transparent 40%, currentColor 40%, currentColor 62%, transparent 62%),
    linear-gradient(-45deg, transparent 40%, currentColor 40%, currentColor 62%, transparent 62%);
  background-position: calc(100% - 1.1em - 5px) 50%, calc(100% - 1.1em) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* ==========================================================================
   Lesbarkeit der Farbschemata (gemessen nach WCAG, 4,5:1)

   Der helle Akzent erreicht mit weisser Schrift oder als Schrift auf Weiss
   nicht ueberall 4,5:1 (Schlicht 3,7, Frisch 3,7, Elegant 3,3). An diesen
   Stellen steht deshalb der dunkle Akzentton, den jedes Schema mitbringt.
   html:not([data-schicht]): falls spaeter Stile mit eigener Formsprache
   dazukommen, regeln die das selbst (siehe Demo-Website).
   ========================================================================== */
html:not([data-schicht]) .btn-accent {
  background: linear-gradient(135deg, var(--accent-deep), color-mix(in srgb, var(--accent-deep) 80%, #000));
}
html:not([data-schicht]) .hours-line .h-open { color: var(--success-deep); }
html:not([data-schicht]) .katalog .kat-chip.active { background: var(--accent-deep); border-color: var(--accent-deep); }
html:not([data-schicht]) .katalog .merk-btn:not([aria-pressed="true"]) { color: var(--accent-deep); border-color: var(--accent-deep); }
html:not([data-schicht]) .katalog .merk-btn[aria-pressed="true"] { background: var(--accent-deep); }
html:not([data-schicht]) .ml-fab { background: var(--accent-deep); }
html:not([data-schicht]) .termine .tm-tag[aria-selected="true"],
html:not([data-schicht]) .termine .tm-zeit[aria-pressed="true"] { background: var(--accent-deep); border-color: var(--accent-deep); }

/* ==========================================================================
   Stil ausprobieren (Umschalter fuer Besucher, nur mit Theme:VisitorChoice)

   In jedem Stil gleich: feste Farben, eigene Schrift.
   Der Umschalter muss auch dann bedienbar bleiben, wenn der gewaehlte Stil
   dunkel, verpixelt oder voller Neon ist. Die Regeln beginnen mit "html",
   damit sie genauer sind als die Formsprache der Stile.
   ========================================================================== */
html .stilwahl-knopf {
  position: fixed; left: 18px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 1200;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px 11px 13px; border: 1px solid rgba(17, 24, 39, .14); border-radius: 999px;
  background: #fff; color: #111827; box-shadow: 0 10px 28px -10px rgba(17, 24, 39, .45);
  font: 700 .88rem/1 'Inter', system-ui, sans-serif; letter-spacing: 0; text-transform: none;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
}
html .stilwahl-knopf:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(17, 24, 39, .5); }
html .stilwahl-knopf:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
/* Der Nach-oben-Knopf sitzt an derselben Ecke und lag darueber, sobald er
   beim Scrollen erschien. Dann rueckt der Stil-Knopf eine Etage hoeher. */
html .stilwahl-knopf { transition: transform .2s ease, box-shadow .2s ease, bottom .25s ease; }
html body:has(.to-top.is-visible) .stilwahl-knopf { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
html .stilwahl-knopf svg { color: #2563eb; flex-shrink: 0; }

html .stilwahl {
  width: min(920px, calc(100vw - 24px)); max-height: min(86vh, 900px);
  margin: auto; padding: 0; border: 0; border-radius: 18px;
  background: #fff; color: #111827; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55);
  font: 400 1rem/1.5 'Inter', system-ui, sans-serif; letter-spacing: 0; text-transform: none;
  overflow: auto; overscroll-behavior: contain;
}
html .stilwahl::backdrop { background: rgba(10, 12, 20, .55); backdrop-filter: blur(3px); }
html .stilwahl * { font-family: 'Inter', system-ui, sans-serif; text-transform: none; letter-spacing: 0; text-shadow: none; }
html .stilwahl-kopf {
  position: sticky; top: 0; z-index: 1; display: flex; gap: 16px; align-items: flex-start; justify-content: space-between;
  padding: 22px 24px 16px; background: #fff; border-bottom: 1px solid #eef0f4;
}
html .stilwahl h2 { font: 800 1.35rem/1.2 'Inter', system-ui, sans-serif; color: #111827; margin: 0 0 6px; background: none; -webkit-text-fill-color: currentColor; filter: none; }
html .stilwahl-kopf p { margin: 0; color: #4b5563; font-size: .92rem; max-width: 62ch; }
html .stilwahl-zu {
  flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid #e5e7eb; border-radius: 50%; background: #fff; color: #111827; cursor: pointer;
}
html .stilwahl-zu:hover { background: #f3f4f6; }
html .stilwahl h3.stilwahl-gruppe {
  margin: 20px 24px 10px; font: 700 .74rem/1 'Inter', system-ui, sans-serif; letter-spacing: .16em;
  text-transform: uppercase; color: #6b7280; background: none; -webkit-text-fill-color: currentColor;
}
html .stilwahl-raster {
  display: grid; gap: 10px; padding: 0 24px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}
html .stilwahl-karte {
  display: grid; gap: 6px; align-content: start; text-align: left;
  padding: 12px 14px 14px; margin: 0; border: 1.5px solid #e5e7eb; border-radius: 14px;
  background: #fff; color: #111827; box-shadow: none; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
html .stilwahl-karte:hover { border-color: #93c5fd; transform: translateY(-1px); }
html .stilwahl-karte:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
html .stilwahl-karte[aria-pressed="true"] { border-color: #2563eb; background: #eff6ff; }
html .stilwahl-karte.is-laedt { opacity: .6; cursor: progress; }
html .stilwahl-proben { display: flex; height: 26px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(0, 0, 0, .08); }
html .stilwahl-proben span { flex: 1; }
html .stilwahl-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 700; font-size: .98rem; }
html .stilwahl-marke {
  padding: 2px 8px; border-radius: 999px; font-size: .68rem; font-weight: 700;
  background: #f3f4f6; color: #374151;
}
html .stilwahl-marke.is-an { background: #2563eb; color: #fff; }
html .stilwahl-text { font-size: .84rem; line-height: 1.45; color: #4b5563; }
html .stilwahl-fuss { padding: 18px 24px 22px; }
html .stilwahl-raster:last-of-type { padding-bottom: 24px; }
html .stilwahl-zurueck {
  padding: 10px 16px; border: 1.5px solid #111827; border-radius: 999px; background: #fff; color: #111827;
  font-weight: 700; font-size: .9rem; cursor: pointer;
}
html .stilwahl-zurueck:hover { background: #111827; color: #fff; }
@media (max-width: 480px) {
  html .stilwahl-knopf span { display: none; }
  html .stilwahl-knopf { padding: 12px; }
  html .stilwahl { max-height: 92vh; border-radius: 16px; }
  html .stilwahl-kopf { padding: 18px 16px 12px; }
  html .stilwahl-raster { padding: 0 16px; }
  html .stilwahl h3.stilwahl-gruppe { margin-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html .stilwahl-knopf, html .stilwahl-karte { transition: none; }
}

/* --------------------------------------------------------------------------
   Sprunglink "Zum Inhalt springen"

   Erstes Element der Seite, damit Tastatur und Vorleser nicht jedes Mal
   durch die ganze Kopfzeile muessen. Ausserhalb des Bildes, bis er den
   Fokus bekommt; dann erscheint er oben links ueber allem.
   -------------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 4000;
  padding: .7em 1.1em;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: .95rem;
  box-shadow: var(--shadow);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
}
/* Das Ziel bekommt per tabindex="-1" den Fokus, damit die naechste Tab-Taste
   im Inhalt weitergeht. Ein Rahmen um die ganze Seite waere dabei nur Laerm. */
#inhalt:focus { outline: none; }

/* --------------------------------------------------------------------------
   Karte erst nach Klick

   Der Platzhalter fuellt denselben Rahmen wie spaeter das iframe
   (.map-card, mindestens 340px hoch). Farben nur aus Flaeche und Schrift,
   die in jedem Farbschema und jedem Stil zusammenpassen, auch in den
   dunklen. Den Knopf formt .btn-accent, also auch der jeweilige Stil.
   -------------------------------------------------------------------------- */
.map-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 340px;
  height: 100%;
  padding: 32px 28px;
  text-align: center;
  background: var(--surface);
  color: var(--ink);
}
.map-ph .lu { width: 34px; height: 34px; color: var(--accent); }
.map-ph-text { max-width: 34ch; font-size: .95rem; line-height: 1.55; }
.map-ph-extern {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.map-ph-extern:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; border-radius: 4px; }
/* Mit JavaScript laedt der Knopf die Karte hier, ohne bleibt nur der Verweis
   zu Google. Die Klasse .js setzt das Layout ganz am Anfang des Kopfes. */
.js .map-ph-extern { display: none; }
html:not(.js) .map-ph-laden { display: none; }

/* Galerie: die Bilder sind echte Knoepfe. Ohne diese Zeilen braechten sie die
   Schrift, Farbe und den Zeiger des Browsers mit. */
.gal-knopf {
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  -webkit-appearance: none;
  appearance: none;
}
