
: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;
  }
}
