
:root{
  --brand:#2563eb;
  --brand-2:#06b6d4;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;
  --bg:#ffffff;
  --soft:#f8fafc;
  --shadow: 0 18px 45px rgba(15,23,42,.08);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  background:var(--bg);
  color:var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:none; }

/* navbar */
.navbar{
  background:#fff !important;
  border-bottom:1px solid var(--border);
}
.brand-mark{
  width:34px; height:34px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 25px rgba(37,99,235,.20);
}
.brand-title{ font-weight:800; letter-spacing:-.02em; }

/* hero */
.hero{
  padding: clamp(3.5rem, 6vw, 6.5rem) 0;
  background:
    radial-gradient(900px 380px at 70% -10%, rgba(37,99,235,.18), transparent 60%),
    radial-gradient(700px 340px at 10% 0%, rgba(6,182,212,.14), transparent 55%),
    linear-gradient(#fff, #fff);
}
.hero h1{
  font-size: clamp(2.25rem, 3.8vw, 3.35rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.hero p{
  font-size: 1.125rem;
  color: var(--muted);
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.45rem .75rem;
  background: rgba(37,99,235,.08);
  color: #1d4ed8;
  border:1px solid rgba(37,99,235,.14);
  border-radius:999px;
  font-weight:700;
  font-size:.9rem;
}

.btn-primary{
  background:var(--brand);
  border-color:var(--brand);
  border-radius: 14px;
  padding: .9rem 1.15rem;
  font-weight: 800;
  box-shadow: 0 14px 35px rgba(37,99,235,.25);
}
.btn-outline-primary{
  border-color: rgba(37,99,235,.35);
  color: var(--brand);
  border-radius: 14px;
  padding: .9rem 1.15rem;
  font-weight: 800;
}
.btn-link{
  color: var(--muted);
  font-weight: 700;
}

.surface{
  background:#fff;
  border:1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.card{
  border:1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.form-control, .form-select{
  border-radius: 14px;
  border-color: var(--border);
  padding: .8rem .9rem;
}
.form-label{ font-weight: 700; }
.form-text, .text-muted{ color: var(--muted) !important; }

.feature{
  background: var(--soft);
  border:1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem;
}

footer{
  background: var(--soft);
  border-top: 1px solid var(--border);
  color: var(--muted);
}


/* Mobile optimizations */
@media (max-width: 991.98px){
  .navbar{ padding-bottom: 18px !important; }
  .navbar .container{ gap: 10px; }
  .navbar-brand img{ height: 48px !important; top: 6px !important; }
  .hero{ padding-top: 28px; padding-bottom: 28px; }
  .hero h1{ font-size: 40px; line-height: 1.05; }
  .hero p.lead{ font-size: 16px; }
  .hero .btn{ width: 100%; }
  .hero .d-flex.gap-3{ flex-direction: column; gap: 12px !important; }
  .hero .pill{ display:inline-block; }
  .hero-media{ margin-top: 10px; }
  .card{ border-radius: 18px; }
  .card-body{ padding: 20px !important; }
  .feature{ padding: 14px; border-radius: 16px; }
  .row.g-4{ --bs-gutter-y: 1rem; }
  .form-control, .form-select{ padding: 12px 14px; font-size: 16px; } /* prevents iOS zoom */
  .btn-lg{ padding: 12px 16px; font-size: 16px; border-radius: 14px; }
  .container{ padding-left: 16px; padding-right: 16px; }
  .wizard-card{ padding: 18px !important; }
  .wizard-steps{ flex-wrap: wrap; gap: 8px; }
  .wizard-steps .step{ flex: 1 1 auto; min-width: 110px; }
  #after-calculator-cta .card-body{ padding: 18px !important; }
}

@media (max-width: 575.98px){
  .hero h1{ font-size: 34px; }
  .navbar-brand img{ height: 44px !important; top: 6px !important; }
  .hero .pill{ font-size: 13px; padding: 8px 12px; }
  .pill{ font-size: 12px; }
  .hero-media img{ border-radius: 18px; }
}


/* Hero spotlight (mobile first) */
.hero-spotlight{
  position: relative;
  padding: 56px 0 36px;
  overflow: hidden;
}
.hero-spotlight::before{
  content:"";
  position:absolute; inset:0;
  background: url('assets/img/hero-dentist.png') center/cover no-repeat;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.02);
}
.hero-spotlight::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(1000px 500px at 70% 20%, rgba(255,255,255,.92), rgba(255,255,255,.55) 40%, rgba(255,255,255,.12) 70%, rgba(255,255,255,.0) 100%);
}
.hero-spotlight .container{ position:relative; z-index:2; }
.hero-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 28px 80px rgba(15,23,42,.18);
  border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(8px);
}
.hero-card h1{ letter-spacing:-.04em; }
.hero-card .lead{ margin-bottom: 14px; }
.hero-stars{ display:flex; align-items:center; gap:12px; margin-top:14px; }
.hero-stars .stars{ font-size:18px; line-height:1; }
.hero-stars .quote{ font-weight:700; }

/* Navbar logo sizing */
.brand-logo{
  height: 64px;
  width: auto;
  display:block;
}
@media (max-width: 991.98px){
  .brand-logo{ height: 56px; }
  .navbar{ padding: 12px 0; }
  .navbar .btn{ width: 100%; }
  .navbar-nav{ gap: 10px; }
  .navbar-toggler{ border: 1px solid rgba(15,23,42,.12); border-radius: 14px; padding: 10px 12px; }
  .navbar-toggler:focus{ box-shadow:none; }
  .navbar-collapse{ border-top: 1px solid rgba(15,23,42,.08); margin-top: 10px; }
  .hero-spotlight{ padding: 22px 0 18px; }
  .hero-card{ padding: 18px; }
  .hero-card h1{ font-size: 34px; line-height: 1.05; }
  .hero-card .lead{ font-size: 16px; }
  .hero-card .btn{ width: 100%; }
}
@media (min-width: 992px){
  .hero-spotlight{ padding: 80px 0 60px; }
  .hero-card{ padding: 34px; max-width: 720px; }
}

/* Ensure toggler icon visible */
.navbar-toggler-icon{
  width: 1.6em; height: 1.6em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15,23,42,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Partner logo (Signal Iduna) */

@media (max-width: 991.98px){
  
  }



@media (max-width: 992px){
  }


/* Partner inline (wie Referenz-Screenshot) */
.partner-inline{
  border-left: 1px solid rgba(15,23,42,.15);
  padding-left: 14px;
}

.partner-label{
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
}



@media (max-width: 991.98px){
  .partner-inline{
    padding-left: 10px;
  }
  .partner-label{
    font-size: 12px;
  }
  
}


@media (max-width: 991.98px){
  
}

.partner-logo{
  height: 30px;
  width: auto;
}
@media (max-width: 991.98px){
  .partner-logo{
    height: 22px;
  }
}

/* Partner label above logo */
.partner-inline{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1.1;
}

.partner-label{
  font-size:11px;
  color:#6b7280;
  margin-bottom:2px;
}

@media (max-width: 991.98px){
  .partner-label{
    font-size:10px;
  }
}

/* Mobile menu button alignment */
@media (max-width: 991.98px){
  .navbar{
    padding-left: 14px;
    padding-right: 14px;
  }
  .navbar-toggler{
    margin-left: auto;
  }
}


/* Trust seals */
.hero-seals{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}
.seal-img{
  height: 54px;
  width:auto;
  display:block;
}
@media (max-width: 991.98px){
  .seal-img{ height: 44px; }
}

/* Header Login Button – match primary CTA */
.header-login-btn{
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
}
@media (max-width: 991.98px){
  .header-login-btn{
    padding: 12px 22px;
    font-size: 15px;
  }
}


/* FAQ polish */
.faq-section{
  padding: 80px 0;
}
.faq-accordion .accordion-item{
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-accordion .accordion-button{
  font-weight: 600;
  font-size: 17px;
  padding: 18px 22px;
  background: linear-gradient(180deg,#ffffff,#f8fbff);
}
.faq-accordion .accordion-button:not(.collapsed){
  color: #0b5ed7;
  background: #f0f6ff;
}
.faq-accordion .accordion-body{
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
  padding: 18px 22px 22px;
  background: #ffffff;
}

/* FAQ icons */
.faq-icon{
  display:inline-block;
  margin-right:10px;
  font-size:18px;
  line-height:1;
}

@media (max-width: 991.98px){
  .faq-section{ padding: 50px 0; }
  .faq-accordion .accordion-button{ font-size:16px; padding:16px 18px; }
  .faq-icon{ font-size:17px; }
  .header-login-btn{ padding: 12px 20px; font-size: 15px; }
  .brand-logo{ height: 54px; }
  .partner-logo{ height: 22px; }
  .partner-label{ font-size: 10px; }
}

/* Rechner Layout (Tarifauswahl) */
.tariff-card{
  border:1px solid rgba(15,23,42,.10);
  border-radius:16px;
  background:#fff;
  padding:18px;
  box-shadow:0 10px 30px rgba(15,23,42,.06);
}
.tariff-name{ font-weight:800; }
.tariff-price{ font-size:22px; font-weight:900; letter-spacing:-.02em; margin-top:6px; }
.tariff-table{
  border-collapse:separate;
  border-spacing:0;
  border:1px solid rgba(15,23,42,.10);
  border-radius:16px;
  overflow:hidden;
}
.tariff-table th{
  background:#f8fbff;
  font-weight:800;
}
.tariff-table td, .tariff-table th{
  padding:14px 16px;
}

/* Kundenbereich aktuell deaktiviert */
.header-login,
.login-btn,
a[href*="login"],
button[data-login]{
  display: none !important;
}


/* === FAQ polish === */
.faq-section{
  margin-top: 96px; /* more breathing room from wizard sticky buttons */
  position: relative;
}
@media (max-width: 768px){
  .faq-section{ margin-top: 72px; }
}
.faq-surface{
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}
.faq-surface .accordion-item{
  border-radius: 14px;
  overflow: hidden;
}
.faq-surface .accordion-button{
  gap: 10px;
}

/* === Mobile sticky wizard buttons (only while wizard visible) === */
@media (max-width: 768px){
  .wizard-actions{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -18px 50px rgba(15,23,42,0.10);
    display: none; /* shown via .wizard-in-view */
  }
  .wizard-in-view .wizard-actions{ display: flex; }
  .wizard-in-view body{ padding-bottom: 92px; } /* space for fixed buttons */
  /* prevent buttons from covering last content inside wizard */
  #tarifwizard{ padding-bottom: 92px; }
}

/* === General mobile UI audit tweaks === */
@media (max-width: 768px){
  h1{ font-size: 34px; line-height: 1.05; }
  h2{ font-size: 26px; }
  .container{ padding-left: 16px; padding-right: 16px; }
  .feature{ padding: 16px; border-radius: 16px; }
  .tariff-card{ border-radius: 18px; }
  .tariff-price{ font-size: 26px; }
  /* make comparison table scroll on small screens */
  .tariff-table{ overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tariff-table table{ min-width: 640px; }
  .accordion-button{ padding: 14px 14px; }
}


/* Abstand NUR zwischen FAQ (letzte Frage) und Erfahrungen-Bereich (Badge+Headline) */
.faq-to-exp-spacer{
  height: 64px;
}
@media (max-width: 768px){
  .faq-to-exp-spacer{
    height: 40px;
  }
}


/* Reduce spacing between Rechner and FAQ */
#faq{
  margin-top: 48px !important;
}
@media (max-width: 768px){
  #faq{
    margin-top: 32px !important;
  }
}



/* --- UI polish: FAQ + Erfahrungen --- */
.faq-section{
  padding-top: 56px;
  padding-bottom: 24px;
}
.faq-section .section-badge{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.35rem .85rem;
  border-radius:999px;
  border:1px solid rgba(37,99,235,.18);
  background: rgba(37,99,235,.06);
  color:#1d4ed8;
  font-weight:600;
  font-size:.9rem;
}
.faq-accordion .accordion-item{
  border: 1px solid rgba(15,23,42,.10) !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15,23,42,.06);
  margin-bottom: 14px;
}
.faq-accordion .accordion-button{
  padding: 18px 18px;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
}
.faq-accordion .accordion-button:focus{
  box-shadow: 0 0 0 .2rem rgba(37,99,235,.18);
}
.faq-accordion .accordion-button:not(.collapsed){
  background: rgba(37,99,235,.06);
  color:#0f172a;
}
.faq-accordion .qicon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(37,99,235,.10);
  border: 1px solid rgba(37,99,235,.18);
  margin-right: 12px;
  flex: 0 0 auto;
}
.faq-accordion .accordion-body{
  padding: 16px 18px 20px 18px;
  color: #334155;
  line-height: 1.55;
  background: #fff;
}

/* Experiences section: separate, calmer background */
.experiences-wrap{
  margin-top: 56px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(37,99,235,.06), rgba(37,99,235,.02));
  border: 1px solid rgba(15,23,42,.08);
  padding: 34px 22px 26px 22px;
}
.experiences-head{
  text-align:center;
  margin-bottom: 18px;
}
.experiences-head h2{
  margin-top: 10px;
}
.experiences-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.testimonial{
  background:#fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  padding: 18px 18px 16px 18px;
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
  height: 100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.testimonial .quote{
  color:#475569;
  font-size:1.05rem;
  line-height:1.55;
}
.testimonial .meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-top: 14px;
}
.testimonial .who{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.testimonial .name{
  font-weight:800;
  color:#0f172a;
}
.testimonial .role{
  color:#64748b;
  font-size:.95rem;
}
.testimonial .stars{
  color:#f59e0b;
  letter-spacing: 1px;
  font-size: 1.05rem;
  white-space:nowrap;
}

/* Mobile: make testimonials swipeable */
@media (max-width: 992px){
  .experiences-grid{
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px){
  .faq-section{
    padding-top: 42px;
  }
  .experiences-wrap{
    margin-top: 40px;
    padding: 24px 16px 18px 16px;
  }
  .experiences-grid{
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
  }
  .experiences-grid::-webkit-scrollbar{ height: 8px; }
  .experiences-grid::-webkit-scrollbar-thumb{ background: rgba(15,23,42,.18); border-radius: 999px; }
  .testimonial{ scroll-snap-align: start; }
}


/* Tariff bestseller highlight */
.tariff-card.bestseller{
  border: 2px solid rgba(37,99,235,.55) !important;
  box-shadow: 0 14px 34px rgba(37,99,235,.12) !important;
}


/* Testimonial stars graphic */
.stars-graphic{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.stars-graphic svg{
  height:20px;
}

/* Cookie Banner */
.cookie-banner{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
}
.cookie-inner{
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15,23,42,.12);
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-text{
  color: rgba(15,23,42,.72);
  font-size: 14px;
  line-height: 1.35;
}
.cookie-text a{ color: #2563eb; text-decoration: underline; }
@media (max-width: 576px){
  .cookie-inner{ flex-direction: column; align-items: flex-start; }
}


/* =========================
   UI polish: FAQ + Empfehlungen
   ========================= */
.faq-surface{
  background:#fff;
  border:1px solid rgba(226,232,240,.9);
  border-radius:20px;
  padding:16px;
  box-shadow: 0 10px 30px rgba(2,6,23,.04);
}
.faq-section .accordion-item{
  border:1px solid rgba(226,232,240,.9);
  border-radius:16px;
  overflow:hidden;
  margin-bottom:12px;
}
.faq-section .accordion-button{
  font-weight:800;
  letter-spacing:-.01em;
  padding:16px 18px;
  background:#fff;
}
.faq-section .accordion-button:focus{ box-shadow:none; }
.faq-section .accordion-body{
  color:#334155;
  line-height:1.6;
  padding:0 18px 16px 18px;
}

.tariff-card{
  border:1px solid rgba(226,232,240,.9);
  border-radius:20px;
  padding:18px;
  background:#fff;
  box-shadow: 0 12px 30px rgba(2,6,23,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tariff-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(2,6,23,.08);
}
.tariff-card .tariff-name{
  font-weight:900;
  letter-spacing:-.02em;
  margin-bottom:6px;
}
.tariff-card .tariff-price{
  font-weight:900;
  letter-spacing:-.02em;
}
.tariff-card.bestseller{
  border-color: rgba(37,99,235,.45);
  box-shadow: 0 18px 50px rgba(37,99,235,.12);
}



/* === Mobile usability hotfixes === */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }

/* Prevent iOS zoom on focus */
input, select, textarea, button { font-size: 16px; }

/* Default container padding on small screens */
@media (max-width: 768px){
  .container, .page, .content, main { padding-left: 16px !important; padding-right: 16px !important; }
}

/* NOTE: we avoid fixed bottom bars because they frequently block taps on iOS.
   Mobile action bars are handled with `position: sticky` inside the wizard. */



/* ===== Mobile usability fixes (CTA + FAQ) ===== */
@media (max-width: 768px){
  /* Bottom CTA: sticky within flow (less "overlay" bugs on iOS) */
  #tarifWizard .wizard-actions{
    position: sticky;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    margin-left: -16px;
    margin-right: -16px;
    border-top: 1px solid rgba(0,0,0,0.08);
    z-index: 10;
  }
  #tarifWizard .wizard-actions .btn{
    flex: 1 1 0;
    min-height: 52px;
    font-size: 18px;
    border-radius: 16px;
  }

  /* Visual disabled state for the notice step */
  #toQuestions.is-disabled{
    opacity: .45;
    filter: grayscale(30%);
  }
  .form-check.need-attention{
    outline: 3px solid rgba(13,110,253,.25);
    border-radius: 14px;
    padding: 10px;
    margin-left: -10px;
    margin-right: -10px;
  }

  /* FAQ full width on mobile */
  .faq, .faq-list, .faq-container, .faq-section{
    width: 100% !important;
    max-width: 100% !important;
  }
  .faq .accordion, .faq .accordion-item{
    width: 100% !important;
  }
  .faq .accordion-item{
    border-radius: 18px;
    margin-bottom: 12px;
  }
  .faq .accordion-button{
    padding: 16px 18px;
    font-size: 18px;
    line-height: 1.25;
  }
  .faq .accordion-body{
    padding: 14px 18px 18px;
    font-size: 16px;
    line-height: 1.45;
  }

  /* Mobile layout: less side padding, avoid "narrow card" feeling */
  .container, .container-fluid{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .card{
    border-radius: 22px;
  }
}


/* Lightweight bottom CTA (Landing + Rechner) */
.site-bottom-cta{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1040;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
}
.site-bottom-cta .cta-shell{
  display:flex; align-items:center; gap:12px;
}
.site-bottom-cta .cta-meta{
  min-width:0;
}
.site-bottom-cta .cta-meta .small{
  color: var(--muted);
}
.site-bottom-cta .cta-title{
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.site-bottom-cta .cta-price{
  font-weight: 900;
}
@media (min-width: 992px){
  .site-bottom-cta{ display:none; }
}

.wizard-in-view .site-bottom-cta{ display:none; }

/* Versicherungsalter Hinweis nur visuell ausblenden */
.versicherungsalter-hint {
  display: none !important;
}

.partner-label img{max-width:160px;height:auto;}
@media (max-width:360px){
  .partner-label img{max-width:130px;}
}

/* Kompakter Partner-Block */
.partner-label{
  align-items:flex-start;
}
.partner-label img{
  max-width:160px;
  height:auto;
}

/* FAQ fancy */
.faq-card{
  border-color: var(--border);
  background: color-mix(in srgb, #fff 92%, var(--brand-2) 8%);
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
}
.faq-ico{
  width: 38px; height: 38px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-2);
  background: color-mix(in srgb, var(--brand-2) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-2) 22%, transparent);
}
.faq-toggle:active{transform: scale(.995);}
.faq-chevron{transition: transform .2s ease;}
.faq-card.is-open .faq-chevron{transform: rotate(90deg);}
.faq-card.is-open .faq-preview{display:none;}

/* Utility */
.hidden{display:none !important;}

/* FAQ custom icons */
.faq-summary::-webkit-details-marker { display:none; }
.faq-summary { list-style:none; }

.faq-icon {
  width:20px;
  height:20px;
  position:relative;
}

.faq-icon::before,
.faq-icon::after{
  content:'';
  position:absolute;
  background:var(--brand-2);
  transition:transform .2s ease;
}

.faq-icon::before{
  width:2px;
  height:16px;
  left:9px;
  top:2px;
}

.faq-icon::after{
  width:16px;
  height:2px;
  top:9px;
  left:2px;
}

details[open] .faq-icon::before{
  transform:rotate(90deg);
}

/* Date fields (text) */
input[data-bd-display="1"], input[data-is-display="1"]{
  width:100% !important;
  box-sizing:border-box !important;
}


/* Tarifvergleich responsive (ohne Tailwind Breakpoints) */
.compare-mobile{display:block;}
.compare-desktop{display:none; width:100%;}
@media (min-width: 768px){
  .compare-mobile{display:none;}
  .compare-desktop{display:table;}
}


/* Info Popup (Tarifvergleich) */
.info-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid rgba(37,99,235,.35);
  background:#fff;
  color:var(--brand);
  margin-left:10px;
  flex:0 0 auto;
  cursor:pointer;
}
.info-btn:active{ transform:scale(.98); }
.info-btn svg{ width:16px; height:16px; display:block; }

#infoModalOverlay{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.55);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:9999;
}
#infoModal{
  width:100%;
  max-width:520px;
  background:#fff;
  border-radius:18px;
  box-shadow: 0 25px 70px rgba(15,23,42,.25);
  border:1px solid rgba(226,232,240,.9);
  overflow:hidden;
}
#infoModalHeader{
  padding:14px 16px;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
#infoModalTitle{
  font-weight:800;
  font-size:16px;
  line-height:1.25;
}
#infoModalClose{
  width:34px;
  height:34px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
#infoModalBody{
  padding:14px 16px 16px;
  color:var(--text);
  font-size:14px;
  line-height:1.45;
}
#infoModalBody p{ margin:0; }


/* ---- Smaller Info Icon (Mobile + Desktop) ---- */
.info-icon,
.info-btn,
.tarif-info-icon,
.leistung-info-icon {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  font-size: 14px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* Sticky Unverbindlicher Antrag */
.unverbindlicher-antrag-box {
    position: sticky;
    top: 72px;
    z-index: 1000;
}

@media (min-width: 1024px) {
  .unverbindlicher-antrag-box {
    top: 84px;
  }
}


.wartezeit-hinweis{
background:#ecfdf5;
border-left:4px solid #10b981;
padding:12px 14px;
margin:12px 0 18px 0;
font-size:14px;
color:#065f46;
border-radius:6px;
font-weight:500;
}


/* FAQ highlight: Wartezeit */
.faq-highlight{
  border:2px solid #22b7d6 !important;
  background:linear-gradient(180deg,#f3fcff 0%,#ffffff 100%);
  box-shadow:0 10px 24px rgba(34,183,214,.10);
}
.faq-highlight .faq-summary{
  color:#0f172a;
}
.faq-highlight .faq-icon::before,
.faq-highlight .faq-icon::after{
  background:#10a9c8;
}
.faq-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-left:10px;
  padding:4px 9px;
  border-radius:999px;
  background:#10a9c8;
  color:#fff;
  font-size:12px;
  line-height:1;
  font-weight:700;
  vertical-align:middle;
}
