/* ==========================================================================
   Dr. med. Maike Schmitt – Custom Styles
   Farbwelt: #0e4142 (Tannengrün) auf Basis Bootstrap 5
   ========================================================================== */

:root{
  --brand: #0e4142;
  --brand-light: #17605f;
  --brand-lighter: #e8f0ef;
  --brand-dark: #0a2f2f;
  --gold: #b98b4e;
  --ink: #1c2726;
  --paper: #fbfaf7;
  --radius-lg: 1.25rem;
  --radius-md: .75rem;

  --bs-body-font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
  --bs-primary: #0e4142;
  --bs-primary-rgb: 14, 65, 66;
  --bs-link-color: var(--brand);
  --bs-link-hover-color: var(--brand-light);
}

html{ scroll-behavior: smooth; scroll-padding-top: 90px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body{
  font-weight: 400;
  line-height: 1.7;
}

h1,h2,h3,h4,h5,h6{
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: -.01em;
}

h1{ font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1.08; }
h2{ font-size: clamp(1.7rem, 3.2vw, 2.35rem); }

a{ text-decoration: none; }
a:hover{ text-decoration: underline; }

.skip-link{
  position: absolute;
  top: -3rem;
  left: .5rem;
  background: var(--brand);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: .4rem;
  z-index: 2000;
}
.skip-link:focus{ top: .5rem; }

.icon{ width: 1.15em; height: 1.15em; vertical-align: -0.2em; }
.icon-lg{ width: 2rem; height: 2rem; color: var(--brand); flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn{ border-radius: 50px; font-weight: 600; padding: .65rem 1.6rem; }
.btn-primary{
  background: var(--brand);
  border-color: var(--brand);
}
.btn-primary:hover, .btn-primary:focus{
  background: var(--brand-light);
  border-color: var(--brand-light);
}
.btn-outline-light{
  border-color: rgba(255,255,255,.65);
  color: #fff;
}
.btn-outline-light:hover{
  background: #fff;
  color: var(--brand-dark);
}
.btn-lg{ padding: .8rem 2rem; }
.btn-nav-cta{ padding: .5rem 1.3rem; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header{
  background: rgba(251,250,247,.9);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(14,65,66,.08);
  z-index: 1030;
}
.navbar{ padding: .6rem 0; }
.navbar-brand{ display: flex; align-items: center; gap: .7rem; }
.brand-mark{ height: 42px; width: auto; }
.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--brand-dark);
}
.brand-text small{
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
}
@media (max-width: 400px){
  .brand-text{ font-size: .88rem; }
}
.nav-link{
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  padding: .5rem .9rem !important;
}
.nav-link:hover, .nav-link:focus{ color: var(--brand); }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  padding: 6.5rem 0 5rem;
  background: linear-gradient(150deg, var(--brand-dark) 0%, var(--brand) 55%, var(--brand-light) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.08), transparent 45%);
  pointer-events: none;
}
.hero h1{ color: #fff; }
.eyebrow{
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: .75rem;
}
.hero-sub{
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  margin-bottom: 1rem;
}
.hero-text{
  color: rgba(255,255,255,.82);
  max-width: 46ch;
}
.hero-meta{
  font-size: .92rem;
  color: rgba(255,255,255,.85);
}
.hero-meta a{ color: #fff; }
.hero-meta li{ display: flex; align-items: center; gap: .5rem; }

.hero-image-wrap{
  position: relative;
  max-width: 380px;
  margin: 0 auto;
}
.hero-image-wrap::before{
  content: "";
  position: absolute;
  inset: -18px;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.hero-image{
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.45);
  display: block;
}

/* ---------- Info strip ---------- */
.info-strip{
  background: #fff;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(14,65,66,.08);
}
.info-item{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 768px){
  .info-item{ justify-content: flex-start; }
}
.info-label{
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: .15rem;
}
.info-value{ margin-bottom: 0; font-weight: 500; }

/* ---------- Sections ---------- */
.section{ padding: 5.5rem 0; }
.section-alt{ background: var(--brand-lighter); }
.section-heading{ max-width: 720px; margin: 0 auto 3rem; }
.section-intro{ color: #4b5958; font-size: 1.05rem; }
.lead-text{ font-size: 1.15rem; font-weight: 600; color: var(--brand); }

.rounded-image{
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -18px rgba(10,47,47,.35);
  display: block;
}

.signature{ font-weight: 700; color: var(--brand-dark); margin-top: 1.5rem; }
.signature span{ display: block; font-weight: 400; font-size: .9rem; color: #4b5958; }

.pill-card{
  background: #fff;
  border: 1px solid rgba(14,65,66,.12);
  border-radius: 50px;
  padding: .75rem 1.25rem;
  text-align: center;
  font-weight: 600;
  color: var(--brand-dark);
  font-size: .92rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.small-pill{ border-radius: var(--radius-md); justify-content: flex-start; text-align: left; }

/* ---------- Accordion / Leistungen ---------- */
.leistungen-accordion .accordion-item,
.sub-accordion .accordion-item{
  background: transparent;
  border: none;
  margin-bottom: 1rem;
}
.leistungen-accordion .accordion-button,
.sub-accordion .accordion-button{
  background: #fff;
  border-radius: var(--radius-md) !important;
  font-weight: 700;
  color: var(--brand-dark);
  box-shadow: 0 6px 20px -12px rgba(10,47,47,.25);
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.leistungen-accordion .accordion-button{ font-size: 1.15rem; }
.sub-accordion .accordion-button{ font-size: 1rem; background: #f3f7f6; box-shadow: none; }
.accordion-button:not(.collapsed){
  color: #fff;
  background: var(--brand);
}
.sub-accordion .accordion-button:not(.collapsed){
  background: var(--brand-light);
  color: #fff;
}
.accordion-button:focus{ box-shadow: 0 0 0 .2rem rgba(14,65,66,.25); }
.accordion-button::after{ filter: none; margin-left: auto; }
.accordion-button:not(.collapsed)::after{
  filter: invert(1) brightness(2);
}
.accordion-body{ padding: 1.75rem 1.4rem; }
.sub-accordion{ margin-top: 1.5rem; }
.sub-accordion .accordion-body{ padding: 1.4rem 1rem; }

/* ---------- Timeline ---------- */
.timeline{ position: relative; padding-left: 1.75rem; border-left: 2px solid rgba(14,65,66,.18); }
.timeline li{ position: relative; padding-bottom: 1.15rem; }
.timeline li::before{
  content: "";
  position: absolute;
  left: -2.28rem;
  top: .3rem;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: var(--gold);
}
.timeline-year{
  display: block;
  font-weight: 700;
  color: var(--brand);
  font-size: .85rem;
  letter-spacing: .03em;
}

.cert-logo{ max-width: 220px; height: auto; opacity: .9; }

/* ---------- Kontakt ---------- */
.contact-card{
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
}
.contact-card h3, .contact-card p{ color: #fff; }
.contact-list{ display: flex; flex-direction: column; gap: 1.1rem; }
.contact-list li{ display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon{ margin-top: .2rem; color: var(--gold); }
.contact-list a{ color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); }
.emergency-note{
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: .88rem;
  color: rgba(255,255,255,.78);
}

.contact-form{
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 45px -20px rgba(10,47,47,.3);
}
.form-label{ font-weight: 600; font-size: .92rem; color: var(--brand-dark); }
.form-control{
  border-radius: var(--radius-md);
  border-color: rgba(14,65,66,.2);
  padding: .65rem .9rem;
}
.form-control:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 .2rem rgba(14,65,66,.15);
}
.form-check-label a{ color: var(--brand); text-decoration: underline; }
.honeypot{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--brand-dark);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 2rem;
}
.footer-mark{ filter: brightness(0) invert(1); opacity: .9; }
.brand-text-footer{ color: #fff; }
.brand-text-footer small{ color: rgba(255,255,255,.65); }
.footer-heading{
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
  margin-bottom: 1rem;
}
.site-footer a{ color: rgba(255,255,255,.8); }
.site-footer a:hover{ color: #fff; }
.site-footer hr{ border-color: rgba(255,255,255,.15); margin: 2.5rem 0 1.5rem; }
.copyright{ font-size: .82rem; color: rgba(255,255,255,.55); }

/* ---------- Go top ---------- */
#go-top{
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -8px rgba(10,47,47,.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 1040;
}
#go-top.visible{ opacity: 1; visibility: visible; transform: translateY(0); }
#go-top:hover{ background: var(--brand-light); }

/* ---------- Legal pages ---------- */
.legal-container{ max-width: 840px; }
.icon-sprite{ display: none; }
.legal-page{ padding: 5rem 0 6rem; }
.legal-page h1{ margin-bottom: 2rem; }
.legal-page h2{ font-size: 1.3rem; margin-top: 2.25rem; }
.legal-page p, .legal-page li{ color: #3c4a49; }
.legal-back{ display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 2rem; font-weight: 600; }

/* ---------- Utilities ---------- */
::selection{ background: var(--brand); color: #fff; }
