/*
  Elektrotechnik Buchmiller - extrahierte Styles
  Quelle: index.html (inline <style> Blöcke)
  Hinweis: Änderungen hier wirken site-wide auf der Startseite.
*/


/* --- Style Block 1 --- */
:root{
      --brand:#111111;
      --accent:#FFC72C;
      --bg:#ffffff;
      --ink:#1f2937;
      --muted:#6b7280;
      --panel:#f6f6f6;
      --ring:rgba(255,199,44,.5);
      --success:#16a34a; --danger:#b91c1c;
    }
    *{box-sizing:border-box}
    html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Arial,'Noto Sans',sans-serif;line-height:1.6}
    img{max-width:100%;height:auto}
    a{color:var(--brand);text-decoration:none}
    a:hover{text-decoration:underline}
    .container{max-width:1100px;margin:0 auto;padding:0 1.2rem}
    /* Header */
    header.site{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid #e5e7eb}
    .nav{display:flex;align-items:center;justify-content:space-between;height:75px;padding:.6rem 0}
    .brand{display:flex;align-items:center;gap:.8rem;font-weight:800;letter-spacing:.2px}
    .brand img{width:75px;height:75px}
    .brand .title{display:flex;flex-direction:column}
    nav a{position:relative;margin-left:1rem;font-weight:600;font-size:.95rem}
nav a::after{content:"";position:absolute;left:0;bottom:-4px;width:0;height:2px;background:var(--accent);transition:width .2s ease}
nav a:hover::after{width:100%;}
    .lang-switch button{border:1px solid #e5e7eb;background:#fff;padding:.35rem .6rem;border-radius:.6rem;cursor:pointer;font-weight:600}
    .lang-switch button.active{border-color:var(--accent);box-shadow:0 0 0 .25rem var(--ring)}
    /* Hero with custom SVG background */
    .hero{}
    .hero::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.75),rgba(255,255,255,.95));}
    .hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:1.2fr .8fr;gap:2rem;align-items:center;padding:2.4rem 0;opacity:0;transform:translateY(15px);animation:heroFadeIn .7s ease-out forwards}
    .badge{display:inline-flex;align-items:center;gap:.5rem;background:#fff;padding:.35rem .6rem;border-radius:999px;border:1px solid #e5e7eb;font-weight:800}
    .badge .dot{width:.55rem;height:.55rem;border-radius:50%;background:var(--accent)}
    .hero h1{font-size:clamp(1.9rem,3.6vw,3.1rem);line-height:1.15;margin:.6rem 0}
    .hero p{font-size:1.05rem;color:var(--muted);margin:.2rem 0 1.2rem}
    .cta{display:flex;gap:.8rem;flex-wrap:wrap}
    .btn{display:inline-flex;align-items:center;gap:.55rem;border:none;border-radius:.8rem;padding:.75rem 1rem;font-weight:800;cursor:pointer}
    .btn-primary{background:linear-gradient(135deg,#FFC72C,#ff9800);box-shadow:0 12px 30px rgba(255,199,44,.45);transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;}
    .btn-outline{background:#fff;border:2px solid var(--ink);transition:transform .15s ease, box-shadow .15s ease, background .15s ease;}
    /* Sections */
    section{padding:4rem 0}
    h2{font-size:clamp(1.4rem,2.5vw,2rem);margin:0 0 1rem}
    .kicker{color:#ffb703;font-weight:900;letter-spacing:.08em;text-transform:uppercase;font-size:.8rem}
    .grid{display:grid;gap:1rem}
    .grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
    .grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
    @media (max-width:900px){.hero-inner{grid-template-columns:1fr} .grid-3{grid-template-columns:repeat(2,1fr)}}
    @media (max-width:640px){.grid-3,.grid-2{grid-template-columns:1fr}}
    .card{background:#fff;border:1px solid #e5e7eb;border-radius:1.4rem;padding:1rem;box-shadow:0 10px 30px rgba(15,23,42,.06);transition:transform .2s ease, box-shadow .2s ease, background .2s ease}
    .card:hover{transform:translateY(-4px) scale(1.01);box-shadow:0 20px 50px rgba(15,23,42,.12);background:#ffffff}
    .icon{width:36px;height:36px;flex:0 0 auto}
    .service{display:flex;gap:1rem;align-items:flex-start}
    .service p{margin:.3rem 0 0;color:var(--muted)}
    /* Reviews */
    .reviews .card{background:#fff;border:1px solid #e5e7eb;border-radius:1.4rem;padding:1rem;box-shadow:0 10px 30px rgba(15,23,42,.06);transition:transform .2s ease, box-shadow .2s ease, background .2s ease}
    .review-head{display:flex;align-items:center;gap:.6rem}
    .avatar{width:36px;height:36px;border-radius:999px;background:#e5e7eb;display:inline-flex;align-items:center;justify-content:center;font-weight:800}
    .stars{font-size:1.05rem;color:#f59e0b}
    /* Contact */
    form{display:grid;gap:.8rem}
    input,textarea{width:100%;padding:.8rem;border:1px solid #e5e7eb;border-radius:.8rem;font:inherit}
    textarea{min-height:120px;resize:vertical}
    .consent{display:flex;gap:.6rem;align-items:flex-start;font-size:.9rem;color:var(--muted)}
    .contact-wrap{display:grid;gap:2rem;grid-template-columns:1.1fr .9fr}
    @media (max-width:900px){.contact-wrap{grid-template-columns:1fr}}
    iframe.map{width:100%;height:360px;border:0;border-radius:1rem}

    /* Modal (custom subject) */
    body.modal-open{overflow:hidden}
    .modal{position:fixed;inset:0;display:none;z-index:10050}
    .modal.open{display:block}
    .modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}
    .modal__panel{position:relative;max-width:560px;margin:10vh auto;background:#fff;border-radius:1.2rem;padding:1.2rem;border:1px solid #e5e7eb;box-shadow:0 25px 80px rgba(0,0,0,.35)}
    .modal__panel h3{margin:.1rem 0 .4rem}
    .modal__panel p{margin:0 0 .9rem;color:var(--muted);font-size:.95rem}
    .modal__panel input{width:100%;padding:.8rem;border:1px solid #e5e7eb;border-radius:.8rem;font:inherit}
    .modal__actions{display:flex;gap:.8rem;justify-content:flex-end;flex-wrap:wrap;margin-top:1rem}
    .modal__actions .btn{margin:0}

    /* Footer */
    footer{background:#0b0b0b;color:#e5e7eb}
    footer a{color:#e5e7eb}
    .footer-grid{display:grid;gap:1.6rem;grid-template-columns:2fr 1fr 1fr}
    @media (max-width:900px){.footer-grid{grid-template-columns:1fr}}
    .social{display:flex;gap:.6rem}
    .social a{display:inline-flex;padding:.5rem;border:1px solid #374151;border-radius:.6rem}
    .copyright{border-top:1px solid #1f2937;margin-top:1rem;padding-top:1rem;font-size:.9rem;color:#9ca3af}
    /* Language visibility */
    [data-lang="de"]{display:block} [data-lang="en"]{display:none} body.lang-en [data-lang="de"]{display:none} body.lang-en [data-lang="en"]{display:block}
  
.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}



/* --- Mobile Hero spacing improvements --- */
@media (max-width: 768px) {
  .hero {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .hero-inner {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .hero h1 {
    font-size: 2rem !important;
    line-height: 1.25 !important;
    margin-bottom: 1rem !important;
  }

  .hero span {
    display: block;
    margin-bottom: 0.75rem !important;
    font-size: 0.95rem !important;
  }

  .hero p {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.4rem !important;
  }

  .hero .cta {
    margin-top: 1.5rem !important;
  }
}


/* --- Hero Mobile Reset (calm & balanced) --- */
@media (max-width: 768px) {
  .hero {
    padding-top: 2.2rem !important;
    padding-bottom: 2.2rem !important;
  }

  .hero-inner {
    padding-top: 1.4rem !important;
    padding-bottom: 1.4rem !important;
  }

  .hero span {
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .hero p {
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }
}


/* --- iOS fixes --- */

/* FAQ text color fix (iOS link blue override) */
#faq, 
#faq p, 
#faq h3, 
#faq button {
  color: #000 !important;
}

#faq button {
  -webkit-appearance: none;
  appearance: none;
}

/* Contact privacy notice centering */
#kontakt .consent,
#kontakt .consent label,
#kontakt .consent p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* --- Hero slogan size fix (iOS & Android safe) --- */
.hero span[data-lang="de"] {
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Mobile specific */
@media (max-width: 768px) {
  .hero span[data-lang="de"] {
    font-size: 0.85rem;
  }
}

/* --- Hero mobile layout: move slogan pill below text + more side padding --- */
@media (max-width: 768px) {
  /* Give hero content a bit more breathing room on the sides (desktop unchanged) */
  .hero .container {
    padding-left: 1.6rem !important;
    padding-right: 1.6rem !important;
  }

  /* Re-order hero elements on mobile:
     H1 + Text first, slogan pill afterwards */
  .hero-inner > div:first-child {
    display: flex !important;
    flex-direction: column !important;
  }

  .hero-inner > div:first-child > h1 {
    order: 1;
    margin-top: 0 !important;
  }

  .hero-inner > div:first-child > p {
    order: 2;
  }

  .hero-inner > div:first-child > .badge {
    order: 3;
    align-self: flex-start;
    margin-top: 0.9rem !important;
    margin-bottom: 0 !important;
  }

  /* Ensure the pill doesn't span full width and stays readable */
  .hero-inner > div:first-child > .badge {
    max-width: 100%;
    width: fit-content;
  }
}

/* --- Contact privacy notice layout fix (iOS) --- */
#kontakt .consent {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#kontakt .consent label {
  max-width: 100%;
  text-align: center;
  margin: 0 auto;
}


/* --- Slogan: larger on desktop/browser, smaller on iOS/Android (mobile) --- */
.hero span[data-lang="de"]{
  font-size: 1.05rem !important;
  line-height: 1.25 !important;
  white-space: nowrap;
}
@media (max-width: 768px){
  .hero span[data-lang="de"]{
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    white-space: nowrap;
  }
}

/* --- Contact consent: keep centered INSIDE the contact form box (iOS safe) --- */
#kontakt form .consent{
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: .55rem !important;
  width: 100% !important;
  max-width: 560px !important;
  margin: .9rem auto 0 !important;
  padding: .25rem .5rem !important;
  box-sizing: border-box !important;
}
#kontakt form .consent input[type="checkbox"]{
  flex: 0 0 auto !important;
  margin-top: .15rem !important;
}
#kontakt form .consent span{
  flex: 1 1 auto !important;
  min-width: 0 !important;
  text-align: center !important;
  display: block !important;
}

/* If the form uses a grid/flex wrapper, prevent overflow pushing the consent out */
#kontakt form{
  overflow: hidden;
}


/* --- Hero slogan final sizing --- */

/* Desktop / Web */
.hero span[data-lang="de"]{
  font-size: 1.35rem !important;
  font-weight: 500;
  line-height: 1.3;
}

/* Mobile layout */
@media (max-width: 768px){
  .hero span[data-lang="de"]{
    font-size: 1.05rem !important;
    line-height: 1.3;
    text-align: center;
  }
  .hero .slogan-line{
    display: block;
  }
  .hero .slogan-line-1{
    font-weight: 600;
  }
  .hero .slogan-line-2{
    font-weight: 400;
  }
}


/* --- Hero badge style (like screenshot) --- */
.hero .hero-badge{
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  font-weight: 700;
  letter-spacing: .2px;
  margin-bottom: 1.1rem;
  font-size: 1.45rem; /* desktop */
  line-height: 1.1;
}

.hero .hero-badge::before{
  content:"";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f6c22b;
  flex: 0 0 auto;
}

/* Headline spacing like screenshot */
.hero h1[data-lang="de"]{
  margin-top: 0;
}

/* Mobile: keep badge readable */
@media (max-width: 768px){
  .hero .hero-badge{
    font-size: 1.05rem;
    padding: .7rem 1rem;
    gap: .6rem;
    max-width: 100%;
    white-space: normal;
    justify-content: center;
    text-align: center;
  }
}


/* --- Slogan formatting only (pill style) --- */
.hero .hero-slogan-pill{
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem 1.05rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  font-weight: 600;
  line-height: 1.2;
}

.hero .hero-slogan-pill::before{
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f6c22b;
  flex: 0 0 auto;
}

/* Desktop */
@media (min-width: 769px){
  .hero .hero-slogan-pill{
    font-size: 1.2rem;
  }
}

/* Mobile */
@media (max-width: 768px){
  .hero .hero-slogan-pill{
    font-size: 0.95rem;
    text-align: center;
    white-space: normal;
  }
}


/* Ensure headline sits outside and below the slogan pill */
.hero h1{
  display: block;
  margin-top: .8rem;
}


/* Final hero visual alignment (exact reference) */
.hero .hero-slogan-pill{
  margin-bottom: .6rem;
}

.hero h1{
  margin-top: 0;
}


/* --- Fix: badge only wraps slogan --- */
.hero .badge{
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}
.hero .badge{
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* --- Style Block 2 --- */
.flash{font-family:system-ui,Arial,sans-serif;margin:0; padding:12px 16px; border-radius:12px}
.flash.success{background:#e6ffed;border:1px solid #b7f5c8;color:#064e12}
.flash.error{background:#ffecec;border:1px solid #f5b7b7;color:#6a0f0f}
.opening-hours.card{background:#fff;border:1px solid #e5e7eb;border-radius:1.4rem;padding:1rem;box-shadow:0 10px 30px rgba(15,23,42,.06);transition:transform .2s ease, box-shadow .2s ease, background .2s ease}
.hours-list{list-style:none;padding-left:0;margin:0}
.hours-list li{padding:4px 0}

.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 3 --- */
.hero-hours{display:flex;gap:.5rem;align-items:center;margin-top:1rem;padding:.5rem 1rem;border-radius:999px;background:rgba(255,255,255,.85);backdrop-filter:saturate(120%) blur(6px);width:max-content;}
.hero-hours .clock{font-size:1rem}
.hero-hours .hours{font-weight:600}
@media (prefers-color-scheme: dark){
  .hero-hours{background:rgba(0,0,0,.5);color:#fff}
}

.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 4 --- */
/* === Mobile-friendly enhancements === */
:root{ --tap: 48px; }
.btn, button, a.btn { min-height: var(--tap); padding: 0.75rem 1rem; border-radius: 14px; }
nav a { padding: .5rem .75rem; display:inline-block; }
img, iframe{ max-width:100%; height:auto; }
.container{ padding-left: 1rem; padding-right: 1rem; }
.grid{ display:grid; gap: 1rem;}
.grid-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 900px){
  .grid-3{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .grid-3, .grid-2{ grid-template-columns: 1fr; }
  .site .nav{display:flex;align-items:center;justify-content:space-between;height:75px;padding:.6rem 0}
  .lang-switch button{ min-width: var(--tap); }
  h1{ font-size: clamp(1.6rem, 4vw, 2.2rem); line-height:1.2; }
  h2{ font-size: clamp(1.3rem, 3.5vw, 1.8rem); }
  .hero .cta{ flex-direction: column; gap: .5rem; align-items:flex-start; }
  .hero-hours{ font-size:.95rem; }
}
/* touch-friendly labels/inputs */
input, textarea, select { font-size:1rem; padding:.75rem .9rem; border-radius:12px; border:1px solid #e5e7eb; width:100%; box-sizing: border-box;}
label { display:block; margin:.5rem 0 .25rem; }

.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 5 --- */
/* === New hero background image === */
.hero{}
@media (max-width: 640px){
  .hero{
    background-size: contain !important; /* show full image */
    background-position: center top !important;
    background-repeat: no-repeat !important;
    min-height: 70vh;
    padding-top: clamp(160px, 32vh, 260px); /* keep text clear of image focal area */
  }
}

.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 6 --- */
/* === Embedded Hero background (always visible) === */
.hero{
  background-image: url('img/inline-49c13ed24a5b.png') !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  min-height: 72vh;
}
@media (max-width: 640px){
  .hero{
    background-size: contain !important;
    background-position: center top !important;
    min-height: 70vh;
    padding-top: clamp(160px, 32vh, 260px);
  }
}

.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 7 --- */
/* === Clean mobile header (no overlap) === */
header.site .container.nav{display:flex;align-items:center;justify-content:space-between;height:75px;padding:.6rem 0}
.brand{ display:flex; align-items:center; gap:.75rem; text-decoration:none; }
.brand .title{ display:flex; flex-direction:column; line-height:1.05; }
.brand .title > span{ font-weight:800; letter-spacing:.02em; white-space:normal; }
.brand img{width:75px;height:75px}
nav{ flex:1 1 100%; display:flex; flex-wrap:wrap; gap:.5rem .75rem; margin-top:.25rem; }
nav a{ margin-left:0 !important; padding:.45rem .7rem; border-radius:.6rem; background:transparent; display:inline-block; }
.lang-switch{ display:flex; gap:.35rem; margin-left:auto; }
.lang-switch button{ min-width:44px; min-height:40px; }

@media (max-width: 820px){
  .brand img{width:75px;height:75px}
  .brand .title > span{ font-size:1rem; }
  .brand .title small{ font-size:.8rem; }
}

@media (max-width: 560px){
  header.site .container.nav{display:flex;align-items:center;justify-content:space-between;height:75px;padding:.6rem 0}
  .brand{ gap:.6rem; }
  .brand img{width:75px;height:75px}
  .brand .title > span{ font-size:.95rem; }
  nav{ width:100%; }
  nav a{ background:#f5f5f5; }
}

/* Anchor offset for sticky header */
section{ scroll-margin-top: 84px; }

.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 8 --- */
/* Mobile Call Bar for quick contact */
    @media (max-width: 640px){
      body{padding-bottom:4.25rem;}
      .mobile-call-bar{
        position:fixed;
        inset:auto 0 0 0;
        z-index:60;
        background:#020617;
        display:flex;
        gap:.5rem;
        align-items:center;
        padding:.45rem .9rem;
        box-shadow:0 -8px 24px rgba(0,0,0,.45);
      }
      .mobile-call-bar a{
        flex:1;
        text-align:center;
        padding:.55rem .75rem;
        border-radius:.8rem;
        font-size:.95rem;
        font-weight:650;
        text-decoration:none;
        border:1px solid rgba(148,163,184,.6);
      }
      .mobile-call-bar a.primary{
        background:var(--accent);
        color:#111827;
        border-color:transparent;
      }
      .mobile-call-bar a.secondary{
        background:transparent;
        color:#e5e7eb;
      }
    }
  
.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 9 --- */
/* Mehr Abstand zwischen den Hauptbereichen auf Mobilgeräten */
    @media (max-width: 640px){
      section {
        margin-bottom: 2.5rem !important;
      }
      .container {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
      }
      .card {
        margin-bottom: 1.4rem !important;
      }
    }
  
.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 10 --- */
/* Mobile: kompakter Kopfbereich & Abschnittstrenner */
    @media (max-width: 640px){
      header.site .nav{display:flex;align-items:center;justify-content:space-between;height:75px;padding:.6rem 0}
      .brand img{width:75px;height:75px}
      .brand .title strong{
        font-size:1rem;
      }
      .brand .title span{
        font-size:.7rem;
      }
      .hero-inner{
        padding:1.4rem 0 1.7rem;
      }
      .hero h1{
        font-size:1.6rem;
      }
      .hero p{
        font-size:.95rem;
      }
      /* sanfte Trenner zwischen den Hauptsektionen */
      section[id="leistungen"],
      section[id="about"],
      section[id="bewertungen"],
      section[id="kontakt"]{
        position:relative;
        padding-top:2.3rem;
      }
      section[id="leistungen"]::before,
      section[id="about"]::before,
      section[id="bewertungen"]::before,
      section[id="kontakt"]::before{
        content:'';
        position:absolute;
        top:.2rem;
        left:50%;
        transform:translateX(-50%);
        width:65%;
        height:1px;
        background:linear-gradient(90deg,transparent,rgba(148,163,184,.4),transparent);
      }
    }
  
.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 11 --- */
section{
    margin-bottom:3rem !important;
  }
  @media(max-width:640px){
    section{
      margin-bottom:2.2rem !important;
    }
  }

.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 12 --- */
#kontakt form{
    background:#ffffff;
    padding:1.5rem;
    border-radius:16px;
    box-shadow:0 8px 32px rgba(0,0,0,0.12);
  }
  #kontakt input, #kontakt textarea{
    font-size:1rem;
    padding:0.9rem 1rem;
    border-radius:10px;
  }
  #kontakt button{
    padding:0.9rem 1.4rem;
    font-size:1.05rem;
    border-radius:12px;
  }

.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 13 --- */
.card.service .icon{
    width:150px !important;
    height:150px !important;
    right:-18px !important;
    top:-22px !important;
    opacity:0.16 !important;
  }
  @media(max-width:640px){
    .card.service .icon{
      width:110px !important;
      height:110px !important;
      right:-18px !important;
      top:-20px !important;
    }
  }

.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 14 --- */
@media (min-width:641px){
    header.site .nav{display:flex;align-items:center;justify-content:space-between;height:75px;padding:.6rem 0}
    .brand img{width:75px;height:75px}
  }
  @media (max-width:640px){
    header.site .nav{display:flex;align-items:center;justify-content:space-between;height:75px;padding:.6rem 0}
    .brand img{width:75px;height:75px}
  }

.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 15 --- */
.card.service{
    position:relative;
    overflow:hidden;
  }
  .card.service .icon{
    position:absolute;
    right:-20px !important;
    top:-25px !important;
    width:160px !important;
    height:160px !important;
    opacity:0.18 !important;
    color:var(--accent) !important;
    z-index:0 !important;
  }
  .card.service > div{
    position:relative;
    z-index:2 !important;
  }
  @media(max-width:640px){
    .card.service .icon{
      width:120px !important;
      height:120px !important;
      right:-18px !important;
      top:-22px !important;
      opacity:0.22 !important;
    }
  }

.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 16 --- */
html{
      scroll-behavior:smooth;
    }
    /* Fade-in-up animation base (langsamer & intensiver) */
    .fade-in-up{
      opacity:0;
      transform:translateY(32px);
      transition:opacity .95s ease-out, transform .95s cubic-bezier(0.19, 1, 0.22, 1);
    }
    .fade-in-up.is-visible{
      opacity:1;
      transform:translateY(0);
    }
    /* Soft background transitions between key sections */
    section#leistungen,
    section#about,
    section#bewertungen,
    section#kontakt{
      position:relative;
      background:linear-gradient(180deg,#ffffff 0%, #f9fafb 40%, #ffffff 100%);
    }
  
.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 17 --- */
/* Buttons: sanfte Hover-Animation */
    .btn,
    button{
      transition:transform .18s ease-out, box-shadow .18s ease-out, background-color .18s ease-out, color .18s ease-out, border-color .18s ease-out;
    }
    .btn:hover,
    button:hover{
      transform:translateY(-1px) scale(1.01);
      box-shadow:0 10px 30px rgba(15,23,42,.18);
    }

    /* Navigationslinks: dezente Unterstreichungsanimation */
    header.site nav a{
      position:relative;
      overflow:hidden;
    }
    header.site nav a::after{
      content:'';
      position:absolute;
      left:0;
      bottom:-0.1rem;
      width:0;
      height:2px;
      background:var(--accent);
      transition:width .22s ease-out;
    }
    header.site nav a:hover::after{
      width:100%;
    }

    /* Hero-Elemente: leichtes „Floaten“ des Bildes */
    .hero figure img{
      animation:floatHero 8s ease-in-out infinite;
      transform-origin:center center;
    }
    @keyframes floatHero{
      0%{ transform:translateY(0) scale(1); }
      50%{ transform:translateY(-8px) scale(1.01); }
      100%{ transform:translateY(0) scale(1); }
    }

    /* Header-Schatten beim Scrollen */
    header.site.scrolled{
      box-shadow:0 14px 35px rgba(15,23,42,.18);
      background:rgba(255,255,255,.96);
    }
  
.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 18 --- */
.faq-list{
      margin-top:1.5rem;
      display:flex;
      flex-direction:column;
      gap:.5rem;
    }
    .faq-item{
      border-radius:1rem;
      border:1px solid #e5e7eb;
      background:#ffffff;
      overflow:hidden;
    }
    .faq-header{
      width:100%;
      padding:.85rem 1.1rem;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:1rem;
      background:transparent;
      border:none;
      font-size:1rem;
      font-weight:600;
      text-align:left;
      cursor:pointer;
    }
    .faq-icon svg{
      width:18px;
      height:18px;
      display:block;
      stroke:var(--accent);
      stroke-width:2;
      fill:none;
      transition:transform .22s ease-out;
    }
    .faq-item.open .faq-icon svg{
      transform:rotate(180deg);
    }
    .faq-body{
      max-height:0;
      overflow:hidden;
      padding:0 1.1rem;
      transition:max-height .26s ease-out, padding-top .26s ease-out, padding-bottom .26s ease-out;
      font-size:.95rem;
      color:#4b5563;
    }
    .faq-item.open .faq-body{
      padding-top:0.2rem;
      padding-bottom:.9rem;
      max-height:260px;
    }
    @media (max-width:640px){
      .faq-header{
        padding:.8rem .9rem;
        font-size:.95rem;
      }
      .faq-body{
        font-size:.9rem;
      }
    }
  
.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 19 --- */
.nav-menu-wrapper{
      display:flex;
      align-items:center;
      gap:.75rem;
      margin-left:auto;
      position:relative;
    }
    .nav-toggle{
      display:inline-flex;
      align-items:center;
      gap:.45rem;
      padding:.35rem .8rem;
      border-radius:999px;
      border:1px solid #e5e7eb;
      background:#ffffff;
      font-weight:600;
      cursor:pointer;
      font-size:.95rem;
    }
    .nav-toggle-label{
      font-size:.9rem;
    }
    .nav-toggle-icon svg{
      transition:transform .25s ease-out, filter .25s ease-out;
      filter:drop-shadow(0 0 0 rgba(255,199,44,0));
    }
    .nav-toggle:hover .nav-toggle-icon svg{
      transform:scale(1.07);
      filter:drop-shadow(0 0 12px rgba(255,199,44,.85));
    }
    .nav-toggle[aria-expanded="true"] .nav-toggle-icon svg{
      animation:glowPulse 1.6s ease-in-out infinite;
    }
    @keyframes glowPulse{
      0%{ transform:scale(1); filter:drop-shadow(0 0 4px rgba(255,199,44,.4)); }
      50%{ transform:scale(1.08); filter:drop-shadow(0 0 16px rgba(255,199,44,1)); }
      100%{ transform:scale(1); filter:drop-shadow(0 0 4px rgba(255,199,44,.4)); }
    }
    .nav-dropdown{
      position:absolute;
      right:0;
      top:calc(100% + .4rem);
      min-width:190px;
      padding:.45rem;
      border-radius:1rem;
      background:#ffffff;
      border:1px solid #e5e7eb;
      box-shadow:0 14px 40px rgba(15,23,42,.18);
      display:flex;
      flex-direction:column;
      gap:.1rem;
      z-index:40;
      opacity:0;
      transform:translateY(-4px) scale(.98);
      pointer-events:none;
      transition:opacity .22s ease-out, transform .22s ease-out;
    }
    .nav-dropdown[hidden]{
      display:none !important;
    }
    .nav-dropdown.open{
      opacity:1;
      transform:translateY(0) scale(1);
      pointer-events:auto;
    }
    .nav-dropdown a{
      display:block;
      padding:.45rem .75rem;
      border-radius:.7rem;
      font-weight:500;
      text-decoration:none;
      color:#0f172a;
      font-size:.95rem;
    }
    .nav-dropdown a:hover{
      background:#f3f4f6;
    }
    @media (max-width:640px){
      .nav-toggle{
        padding:.3rem .7rem;
        font-size:.9rem;
      }
      .nav-toggle-label{
        font-size:.85rem;
      }
    }
  
.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}

/* --- Style Block 20 --- */
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(255,199,44,.55);filter:brightness(1.05);}
.btn-outline:hover{background:#111;color:#fff;box-shadow:0 10px 30px rgba(15,23,42,.3);transform:translateY(-2px);}

.reveal{opacity:0;transform:translateY(25px);transition:opacity .6s ease, transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

@keyframes heroFadeIn{to{opacity:1;transform:translateY(0)}}

@media (max-width:768px){
  .hero .cta,
  .hero .hero-hours,
  .hero .note{
    display:none!important;
  }
}



/* ===== Final overrides (mobile + consent layout) ===== */

/* Slogan: larger on desktop, smaller on mobile (iOS/Android) */
.hero span[data-lang="de"]{
  font-size: 1.12rem !important;
  line-height: 1.25 !important;
  white-space: normal !important; /* allow wrap on desktop if needed */
}
@media (max-width: 768px){
  .hero span[data-lang="de"]{
    font-size: 0.82rem !important;
    white-space: nowrap !important; /* keep one line on phones */
  }
}

/* Contact consent: keep checkbox + text INSIDE the form, centered and readable (iOS safe) */
#kontakt #contact-form{
  overflow: visible !important; /* prevent clipping on mobile browsers */
}

#kontakt #contact-form label.consent{
  display: grid !important;
  grid-template-columns: 22px 1fr !important;
  column-gap: 12px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 640px !important;
  margin: 14px auto 0 !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
}

#kontakt #contact-form label.consent input[type="checkbox"]{
  margin: 2px 0 0 0 !important;
  width: 18px !important;
  height: 18px !important;
}

#kontakt #contact-form label.consent span{
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  text-align: left !important;
  color: #000 !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: auto !important;
}

/* Make sure iOS doesn't color the consent text/label */
#kontakt #contact-form label.consent,
#kontakt #contact-form label.consent *{
  -webkit-text-fill-color: #000 !important;
  color: #000 !important;
}


/* --- Mobile call bar: "Anrufen" button like "Nachricht senden" --- */
@media (max-width: 768px){
  .mobile-call-bar a.primary{
    background: linear-gradient(135deg,#FFC72C,#ff9800) !important;
    color:#111827 !important;
    border: none !important;
    box-shadow: 0 14px 30px rgba(255, 170, 0, 0.35) !important;
    border-radius: 1.1rem !important;
    padding: .85rem 1rem !important;
    font-weight: 800 !important;
  }

  /* Keep the secondary button as outline (unchanged) but match radius/padding for symmetry */
  .mobile-call-bar a.secondary{
    border-radius: 1.1rem !important;
    padding: .85rem 1rem !important;
    font-weight: 800 !important;
  }
}


/* vCard button helper text */
#kontakt .tiny{margin:.5rem 0 0;color:rgba(15,23,42,.75);font-size:.88rem;text-align:center}


/* vCard tip text */
#kontakt .tiny{
  margin-top:.5rem;
  font-size:.9rem;
  color:rgba(15,23,42,.7);
  text-align:center;
}


/* Mobile: remove yellow dot in slogan badge */
@media (max-width: 768px){
  .hero .hero-slogan-pill::before{
    display: none !important;
  }
}


/* --- Spacing between FAQ, Öffnungszeiten and Kontakt --- */
#faq{
  margin-bottom: 4rem;
}

.opening-hours{
  margin-bottom: 4rem;
}

/* --- Match Öffnungszeiten heading style to FAQ & Kontakt --- */
.opening-hours h2,
.opening-hours h3{
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 1.2rem;
}


/* === Final spacing & yellow kicker for Öffnungszeiten === */

/* Extra space between Öffnungszeiten and Kontakt */
.opening-hours{
  margin-bottom: 6rem;
}

/* Yellow kicker style like FAQ & Kontakt */
.opening-hours h2::before,
.opening-hours h3::before{
  content: "ÖFFNUNGSZEITEN";
  display: block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #f6c22b;
  margin-bottom: .4rem;
}


/* --- Öffnungszeiten kicker above the white card --- */
.opening-hours-wrap{
  margin-bottom: 6rem;
}
.opening-hours-wrap .opening-hours{
  margin-bottom: 0 !important; /* wrapper controls spacing */
}
.opening-hours-wrap .opening-kicker{
  color: #f6c22b;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  margin: 0 0 .75rem 0;
}

/* Disable previous pseudo-kicker inside the card */
.opening-hours h2::before,
.opening-hours h3::before{
  content: none !important;
  display: none !important;
}


/* --- Legal pages (Datenschutz/Impressum) --- */
body.legal main{padding:1.5rem 0 0;}
body.legal .legal-container{
  max-width:960px;
  margin:0 auto;
  padding:1rem 1.25rem 3rem;
}
body.legal h1{font-size:clamp(1.8rem,3vw,2.4rem);margin:0 0 .5rem;}
body.legal h2{font-size:clamp(1.25rem,2.3vw,1.6rem);margin:2rem 0 .5rem;}
body.legal p{margin:.25rem 0 .25rem;}
body.legal ul{padding-left:1.25rem;margin:.25rem 0;}
body.legal .section{
  margin-top:1.5rem;
  padding:1.25rem 1rem;
  border-radius:1rem;
  background:var(--panel);
  border:1px solid #e5e7eb;
}
body.legal .small{font-size:.9rem;color:var(--muted);}
body.legal footer{
  border-top:1px solid #e5e7eb;
  margin-top:2.5rem;
  padding-top:1rem;
  font-size:.85rem;
  color:var(--muted);
  text-align:center;
}
@media (max-width:640px){
  body.legal .legal-container{padding:1rem 1rem 2.5rem;}
}

/* =====================================================================
   HERO SLIDESHOW (zentral per assets/site-config.js steuerbar)
   - Bilder liegen in /assets/img/hero/
   - JS setzt --hero-bg + toggelt .is-fading
   ===================================================================== */

/* Alte, hardcodierte Hintergrundbilder neutralisieren */
.hero{ background-image:none !important; background:none !important; }

/* Fallback (falls JS blockiert): erstes Hero-Bild */
.hero{ --hero-bg: url('assets/img/hero/hero-01.png'); position:relative; overflow:hidden; }

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index:0;
  opacity:1;
  transform: translateZ(0) scale(1.02);
  transition: opacity 1200ms ease;
}

.hero.is-fading::before{ opacity:0; }

/* vorhandene Overlay-Gradient-Schicht über dem Bild, aber unter dem Inhalt */
.hero::after{ z-index:1; pointer-events:none; }

.hero-inner{ position:relative; z-index:2; }

@media (max-width: 640px){
  .hero::before{
    background-size: contain;
    background-position: center top;
  }
  .hero{
    min-height: 70vh;
    padding-top: clamp(160px, 32vh, 260px);
  }
}



/* =====================================================================
   HERO SLIDESHOW OVERRIDES (uses --hero-bg set by assets/app.js)
   Fixes: ensures hero background uses CSS variable + correct asset paths.
   ===================================================================== */
.hero{
  /* remove any older embedded background-image rules */
  background-image: none !important;
  position: relative;
  overflow: hidden;
}

/* Background layer */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  /* fallback if JS/config not loaded yet */
  background-image: var(--hero-bg, url("img/hero/hero-01.png"));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateZ(0);
  opacity: 1;
  transition: opacity var(--hero-fade-ms, 1200ms) ease;
  will-change: opacity;
}

/* Fade effect triggered by JS */
.hero.is-fading::before{
  opacity: 0;
}

/* Keep hero content above background */
.hero > *{
  position: relative;
  z-index: 1;
}

/* Mobile: show full image more (like previously configured) */
@media (max-width: 640px){
  .hero::before{
    background-size: contain;
    background-position: center top;
  }
  .hero{
    min-height: 70vh;
    padding-top: clamp(160px, 32vh, 260px);
  }
}

/* =====================================================================
   HERO FINAL FIX (Layering + Lesbarkeit)
   Problem: Overlay (::after) lag über dem Inhalt -> alles wirkte "ausgebleicht".
   Lösung: Hintergrund = ::before (z=0), Overlay = ::after (z=1), Inhalt = z=2.
   Zusätzlich: Overlay weniger stark, damit das Bild sichtbar bleibt.
   ===================================================================== */
.hero{ position:relative; }
.hero::before{ z-index:0; }
.hero::after{
  z-index:1;
  /* weniger "weiß", damit das Foto sichtbar bleibt */
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.58));
}
.hero > *{
  position:relative;
  z-index:2;
}

/* Optional: Überschrift & Text im Hero etwas dunkler für besseren Kontrast */
.hero h1{ color: var(--ink); }
.hero p{ color: #374151; }


/* =========================================================
   HERO SLIDER OVERRIDES (2026-01-13-1)
   Fix: Hintergrund sichtbar + Text lesbar + Crossfade Layer
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity var(--hero-fade-ms, 1200ms) ease;
  z-index: 0;
}

.hero-bg-layer.is-active {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Overlay damit Text immer lesbar bleibt, aber Bild sichtbar bleibt */
  background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.82));
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #111827 !important;
}

.hero p,
.hero .note {
  color: #374151 !important;
}

/* === MOBILE HERO: Slogan unter Text + mehr Randabstand (Desktop bleibt unverändert) === */
@media (max-width: 768px){
  /* mehr Abstand links/rechts nur im Hero */
  .hero .container.hero-inner{
    padding-left: 1.8rem !important;
    padding-right: 1.8rem !important;
  }

  /* Inhalt als flex column, damit wir Elemente neu anordnen können */
  .hero .hero-inner > div:first-child{
    display: flex !important;
    flex-direction: column !important;
  }

  /* Reihenfolge: Überschrift + Text zuerst, Slogan-Pill zuletzt */
  .hero .hero-inner > div:first-child > h1{
    order: 1 !important;
    margin-top: 0 !important;
  }
  .hero .hero-inner > div:first-child > p{
    order: 2 !important;
  }
  .hero .hero-inner > div:first-child > .badge{
    order: 99 !important;
    align-self: flex-start;
    margin-top: 1.0rem !important;
    margin-bottom: 0 !important;
  }

  /* Slogan-Pill: nicht zu breit, sauber umbrechen, falls nötig */
  .hero .hero-inner > div:first-child > .badge .hero-badge{
    white-space: normal !important;
    max-width: 100%;
  }
}

/* === Hero: black text + modern slogan pill (desktop & mobile) === */
/* Make the main hero copy black (was grey/muted). */
.hero p{
  color: #111111 !important;
}

/* Remove the old wrapper badge styling in the hero so we only see the modern pill */
.hero .badge{
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  gap: 0 !important;
}
.hero .badge .dot{display:none !important;}

/* Modern pill that matches the yellow accent */
.hero .hero-slogan-pill{
  color: #111111 !important;
  background: linear-gradient(135deg, rgba(255,199,44,.22), rgba(255,255,255,.90)) !important;
  border: 1px solid rgba(255,199,44,.55) !important;
  box-shadow:
    0 10px 26px rgba(0,0,0,.12),
    0 0 0 6px rgba(255,199,44,.12) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero .hero-slogan-pill::before{
  background: linear-gradient(135deg, #FFC72C, #ff9800) !important;
  box-shadow: 0 0 0 4px rgba(255,199,44,.18);
}

/* Slightly more comfortable side padding in hero on very small screens */
@media (max-width: 420px){
  .hero .container{
    padding-left: 1.75rem !important;
    padding-right: 1.75rem !important;
  }
}
