/* =====================================================================
   Zahnarztpraxis Hassan – Köln
   Stylesheet  |  Design: modern, freundlich, Praxisfarbe Bordeaux/Magenta
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root{
  --brand:#8E1B4E;          /* Praxisfarbe aus dem Logo */
  --brand-dark:#67133A;
  --brand-soft:#F8E9F0;
  --accent:#5C6B75;
  --accent-soft:#EDF1F3;
  --lav:#FBF5F7;
  --ink:#231822;
  --ink-2:#453742;
  --muted:#7A6C74;
  --line:#EEE2E7;
  --white:#fff;
  --ok:#137C55;
  --err:#B3261E;

  --grad:linear-gradient(100deg,#A31E5A 0%,#6B1239 100%);

  --r-sm:10px;
  --r:18px;
  --r-lg:28px;
  --r-pill:999px;

  --sh-sm:0 2px 8px rgba(60,20,40,.06);
  --sh:0 10px 30px rgba(60,20,40,.08);
  --sh-lg:0 24px 60px rgba(60,20,40,.14);

  --wrap:1180px;
  --gap:clamp(1.25rem,3vw,2.5rem);

  --font:"Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --font-head:"Poppins","Segoe UI",system-ui,-apple-system,Arial,sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:var(--font);
  font-size:17px;
  line-height:1.7;
  color:var(--ink-2);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
ul{margin:0;padding:0}
h1,h2,h3,h4{
  font-family:var(--font-head);
  color:var(--ink);
  line-height:1.18;
  margin:0 0 .6em;
  font-weight:700;
  letter-spacing:-.02em;
}
h1{font-size:clamp(2.1rem,4.6vw,3.5rem)}
h2{font-size:clamp(1.7rem,3.2vw,2.5rem)}
h3{font-size:clamp(1.15rem,1.8vw,1.4rem)}
p{margin:0 0 1.1em}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:6px}

/* ---------- Layout ---------- */
.wrap{width:min(100% - 2.5rem,var(--wrap));margin-inline:auto}
.section{padding:clamp(3.5rem,7vw,6.5rem) 0}
.section--soft{background:var(--lav)}
.section--brand{background:var(--grad);color:#F7E6EE}
.section--brand h2,.section--brand h3{color:#fff}
.center{text-align:center}
.grid{display:grid;gap:var(--gap)}
.g-2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.g-3{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.g-4{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.lead{font-size:1.12rem;color:var(--muted)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Section heading block */
.eyebrow{
  display:inline-block;
  font-family:var(--font-head);
  font-weight:600;
  font-size:.78rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--brand);
  background:var(--brand-soft);
  padding:.42em 1.1em;
  border-radius:var(--r-pill);
  margin-bottom:1rem;
}
.section--brand .eyebrow{color:#fff;background:rgba(255,255,255,.18)}
.head{max-width:44rem;margin-bottom:clamp(2rem,4vw,3rem)}
.head.center{margin-inline:auto}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.55em;
  font-family:var(--font-head);font-weight:600;font-size:.98rem;
  padding:.92em 1.7em;border-radius:var(--r-pill);
  border:2px solid transparent;cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
  text-decoration:none;line-height:1;
}
.btn:hover{text-decoration:none;transform:translateY(-2px)}
.btn--primary{background:var(--grad);color:#fff;box-shadow:0 8px 22px rgba(142,27,78,.30)}
.btn--primary:hover{box-shadow:0 12px 30px rgba(142,27,78,.42)}
.btn--ghost{background:transparent;color:var(--brand);border-color:var(--brand)}
.btn--ghost:hover{background:var(--brand);color:#fff}
.btn--light{background:#fff;color:var(--brand)}
.btn--light:hover{box-shadow:0 12px 30px rgba(0,0,0,.18)}
.btn--outline-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
.btn--outline-light:hover{background:#fff;color:var(--brand)}
.btn-row{display:flex;flex-wrap:wrap;gap:.8rem}
.btn .ico{width:1.05em;height:1.05em;flex:none}

/* ---------- Header ---------- */
.topbar{
  background:var(--ink);color:#D8CBD2;font-size:.86rem;
}
.topbar .wrap{display:flex;flex-wrap:wrap;gap:.4rem 1.6rem;justify-content:space-between;padding:.5rem 0}
.topbar a{color:#fff}
.topbar span{display:inline-flex;align-items:center;gap:.45em}

.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(251,245,247,.92);
  backdrop-filter:saturate(1.4) blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{display:flex;align-items:center;gap:1rem;min-height:78px}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;margin-right:auto}
.brand:hover{text-decoration:none}
.brand{position:relative;z-index:3}
.brand svg,.brand img{width:auto;height:52px;flex:none}
.site-footer .brand img{background:#fff;border-radius:16px;padding:7px 9px;height:62px}
.brand .brand-text{display:block}
.brand b{font-family:var(--font-head);font-size:1.22rem;color:var(--ink);font-weight:700;line-height:1.1;display:block}
.brand small{display:block;font-size:.74rem;color:var(--muted);letter-spacing:.06em;text-transform:uppercase}

.nav ul{display:flex;gap:.25rem;list-style:none}
.nav a{
  display:block;padding:.6rem .95rem;border-radius:var(--r-pill);
  font-family:var(--font-head);font-weight:500;font-size:.97rem;color:var(--ink-2);
}
.nav a:hover{background:var(--brand-soft);color:var(--brand);text-decoration:none}
.nav a[aria-current="page"]{color:var(--brand);background:var(--brand-soft);font-weight:600}
.nav a.btn--primary,.nav a.btn--primary:hover{color:#fff;background:var(--grad)}
.header-cta{margin-left:.6rem}
@media(min-width:1001px){.nav .nav-cta{display:none}}

.burger{
  position:relative;z-index:3;
  display:none;width:46px;height:46px;border:0;border-radius:12px;
  background:var(--grad);cursor:pointer;padding:0;place-items:center;
}
.burger span{display:block;width:20px;height:2px;background:#fff;margin:4px auto;border-radius:2px;transition:.25s}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

@media(max-width:1000px){
  .nav{
    position:fixed;inset:auto 0 0 0;top:0;height:100dvh;
    background:#fff;padding:6rem 1.5rem 2rem;
    transform:translateX(100%);transition:transform .3s ease;
    overflow-y:auto;box-shadow:var(--sh-lg);z-index:2;
  }
  .nav.open{transform:translateX(0)}
  .nav ul{flex-direction:column;gap:.2rem}
  .nav a{font-size:1.12rem;padding:.85rem 1rem}
  .burger{display:grid;order:3}
  .header-cta{display:none}
  .nav .nav-cta{display:block;margin-top:1.4rem}
}

/* ---------- Hero ---------- */
.hero{position:relative;background:var(--lav);overflow:hidden;padding:clamp(3rem,6vw,5.5rem) 0 clamp(3.5rem,7vw,6rem)}
.hero::before,.hero::after{
  content:"";position:absolute;border-radius:50%;filter:blur(10px);opacity:.5;pointer-events:none;
}
.hero::before{width:420px;height:420px;background:radial-gradient(circle,#F6DCE7 0%,transparent 70%);top:-120px;right:-80px}
.hero::after{width:360px;height:360px;background:radial-gradient(circle,#E7EDF0 0%,transparent 70%);bottom:-140px;left:-120px}
.hero .wrap{position:relative;z-index:1;display:grid;gap:clamp(2rem,4vw,3.5rem);grid-template-columns:1.05fr .95fr;align-items:center}
@media(max-width:900px){.hero .wrap{grid-template-columns:1fr}}
.hero h1 span{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero .lead{font-size:1.16rem;max-width:34rem}
.hero-media{position:relative}
.hero-media img{border-radius:var(--r-lg);box-shadow:var(--sh-lg);aspect-ratio:4/3.4;object-fit:cover;width:100%}
.hero-badge{
  position:absolute;left:-14px;bottom:26px;background:#fff;border-radius:var(--r);
  box-shadow:var(--sh);padding:.9rem 1.15rem;display:flex;align-items:center;gap:.75rem;max-width:15rem;
}
.hero-badge .dot{width:42px;height:42px;border-radius:50%;background:var(--accent-soft);display:grid;place-items:center;flex:none}
.hero-badge b{font-family:var(--font-head);color:var(--ink);display:block;font-size:.98rem;line-height:1.2}
.hero-badge small{color:var(--muted);font-size:.82rem}
@media(max-width:560px){.brand .brand-text{display:none}}
@media(max-width:520px){.hero-badge{left:0;bottom:-18px;position:relative;margin-top:1rem;max-width:none}}

.trust{display:flex;flex-wrap:wrap;gap:1.6rem;margin-top:2rem;padding-top:1.6rem;border-top:1px solid var(--line)}
.trust div{min-width:120px}
.trust b{font-family:var(--font-head);font-size:1.55rem;color:var(--brand);display:block;line-height:1.1}
.trust small{color:var(--muted);font-size:.88rem}

/* ---------- Cards ---------- */
.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--r);
  padding:1.7rem;box-shadow:var(--sh-sm);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
  height:100%;
}
.card:hover{transform:translateY(-4px);box-shadow:var(--sh);border-color:#E7C9D6}
.card h3{margin-bottom:.5rem}
.card p:last-child{margin-bottom:0}
.card .ico-box{
  width:54px;height:54px;border-radius:16px;display:grid;place-items:center;
  background:var(--brand-soft);color:var(--brand);margin-bottom:1.1rem;
}
.card--accent .ico-box{background:var(--accent-soft);color:#43535E}
.card ul{list-style:none;margin-top:.9rem;display:grid;gap:.4rem}
.card ul li{position:relative;padding-left:1.5rem;font-size:.96rem}
.card ul li::before{
  content:"";position:absolute;left:0;top:.62em;width:8px;height:8px;border-radius:50%;
  background:var(--brand);opacity:.55;
}

/* Feature list with checkmarks */
.checks{list-style:none;display:grid;gap:.7rem;margin:1.2rem 0}
.checks li{position:relative;padding-left:2.1rem}
.checks li::before{
  content:"";position:absolute;left:0;top:.28em;width:1.35rem;height:1.35rem;border-radius:50%;
  background:var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E1B4E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/.85rem no-repeat;
}

/* ---------- Info / Öffnungszeiten ---------- */
.hours{list-style:none;display:grid;gap:.1rem}
.hours li{display:flex;justify-content:space-between;gap:1rem;padding:.62rem 0;border-bottom:1px dashed var(--line);font-size:1rem}
.hours li:last-child{border-bottom:0}
.hours li.is-today{font-weight:700;color:var(--brand)}
.hours span:first-child{font-family:var(--font-head);font-weight:500;color:var(--ink)}
.hours .closed{color:var(--muted)}

.infobox{background:#fff;border-radius:var(--r-lg);box-shadow:var(--sh);padding:clamp(1.6rem,3vw,2.4rem);border:1px solid var(--line)}

/* ---------- Team ---------- */
.doc{display:grid;grid-template-columns:auto 1fr;gap:1.4rem;align-items:center}
.doc img{width:132px;height:132px;border-radius:50%;object-fit:cover;box-shadow:var(--sh)}
@media(max-width:520px){.doc{grid-template-columns:1fr;text-align:center}.doc img{margin-inline:auto}}

/* ---------- Steps ---------- */
.steps{counter-reset:s;list-style:none;display:grid;gap:1.6rem}
.steps li{position:relative;padding-left:4rem;counter-increment:s}
.steps li::before{
  content:counter(s);position:absolute;left:0;top:0;width:2.9rem;height:2.9rem;border-radius:50%;
  background:var(--grad);color:#fff;display:grid;place-items:center;
  font-family:var(--font-head);font-weight:700;font-size:1.1rem;
}
.steps h3{margin-bottom:.25rem;font-size:1.1rem}
.steps p{margin:0;font-size:.98rem}

/* ---------- FAQ ---------- */
.faq details{
  background:#fff;border:1px solid var(--line);border-radius:var(--r);
  padding:1.1rem 1.4rem;margin-bottom:.85rem;box-shadow:var(--sh-sm);
}
.faq summary{
  cursor:pointer;font-family:var(--font-head);font-weight:600;color:var(--ink);
  list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:1.5rem;color:var(--brand);line-height:1;transition:.2s}
.faq details[open] summary::after{content:"–"}
.faq details[open] summary{margin-bottom:.7rem}
.faq p:last-child{margin-bottom:0}

/* ---------- Gallery ---------- */
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.gallery figure{margin:0;border-radius:var(--r);overflow:hidden;box-shadow:var(--sh-sm);background:#fff}
.gallery img{aspect-ratio:4/3;object-fit:cover;width:100%;transition:transform .4s ease}
.gallery figure:hover img{transform:scale(1.05)}

/* ---------- CTA band ---------- */
.cta-band{background:var(--grad);border-radius:var(--r-lg);padding:clamp(2rem,4vw,3.2rem);color:#fff;text-align:center}
.cta-band h2{color:#fff}
.cta-band p{color:#F6DFE9;max-width:38rem;margin-inline:auto}
.cta-band .btn-row{justify-content:center;margin-top:1.6rem}

/* ---------- Formular ---------- */
.form{display:grid;gap:1.1rem}
.field{display:grid;gap:.4rem}
.field label{font-family:var(--font-head);font-weight:600;font-size:.92rem;color:var(--ink)}
.field .req{color:var(--brand)}
.field input,.field select,.field textarea{
  font:inherit;font-size:1rem;padding:.85rem 1rem;border:1.5px solid var(--line);
  border-radius:var(--r-sm);background:#fff;color:var(--ink-2);width:100%;
  transition:border-color .18s,box-shadow .18s;
}
.field textarea{min-height:150px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:0;border-color:var(--brand);box-shadow:0 0 0 4px rgba(142,27,78,.14);
}
.field-2{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem}
@media(max-width:600px){.field-2{grid-template-columns:1fr}}
.consent{display:flex;gap:.7rem;align-items:flex-start;font-size:.92rem;color:var(--muted)}
.consent input{width:1.15rem;height:1.15rem;margin-top:.25rem;accent-color:var(--brand);flex:none}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.note{font-size:.86rem;color:var(--muted)}
.alert{padding:1rem 1.2rem;border-radius:var(--r-sm);margin-bottom:1.4rem;font-size:.96rem}
.alert--ok{background:#E7F6EF;color:var(--ok);border:1px solid #B8E3CE}
.alert--err{background:#FCEBEA;color:var(--err);border:1px solid #F3C7C3}

/* ---------- Karte (2-Klick, DSGVO) ---------- */
.map-consent{
  position:relative;border-radius:var(--r);overflow:hidden;background:var(--brand-soft);
  min-height:320px;display:grid;place-items:center;text-align:center;padding:2rem;border:1px solid var(--line);
}
.map-consent iframe{width:100%;height:380px;border:0;display:block}
.map-consent p{max-width:30rem;font-size:.95rem;color:var(--ink-2)}

/* ---------- Footer ---------- */
.site-footer{background:var(--ink);color:#C3B4BC;padding:clamp(3rem,5vw,4.5rem) 0 1.5rem;font-size:.96rem}
.site-footer h4{font-family:var(--font-head);color:#fff;font-size:1rem;letter-spacing:.04em;margin:0 0 1rem}
.site-footer a{color:#E3D6DC}
.site-footer a:hover{color:#fff}
.site-footer .brand b{color:#fff}
.site-footer .brand small{color:#A08F98}
.foot-grid{display:grid;gap:2.2rem;grid-template-columns:1.4fr 1fr 1fr 1.2fr}
@media(max-width:860px){.foot-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.foot-grid{grid-template-columns:1fr}}
.foot-grid ul{list-style:none;display:grid;gap:.55rem}
.foot-bottom{
  margin-top:2.6rem;padding-top:1.4rem;border-top:1px solid rgba(255,255,255,.12);
  display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;justify-content:space-between;font-size:.88rem;color:#A08F98;
}
.foot-bottom a{color:#C3B4BC}

/* ---------- Notfall-Banner ---------- */
.emergency{
  background:var(--accent-soft);border-left:4px solid var(--accent);
  padding:1.1rem 1.4rem;border-radius:var(--r-sm);font-size:.97rem;
}
.emergency b{color:var(--ink)}

/* ---------- Sonstiges ---------- */
.legal h2{margin-top:2.4rem;font-size:1.4rem}
.legal h3{margin-top:1.6rem;font-size:1.1rem}
.legal{max-width:52rem}
.legal ul{padding-left:1.3rem;margin-bottom:1.2rem}
.legal li{margin-bottom:.4rem}

.to-top{
  position:fixed;right:20px;bottom:20px;width:48px;height:48px;border-radius:50%;
  background:var(--grad);color:#fff;display:grid;place-items:center;border:0;cursor:pointer;
  box-shadow:var(--sh);opacity:0;visibility:hidden;transition:.25s;z-index:50;
}
.to-top.show{opacity:1;visibility:visible}

@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* Reveal on scroll */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.js .reveal.in{opacity:1;transform:none}

/* Print */
@media print{
  .site-header,.site-footer,.to-top,.topbar,.btn{display:none!important}
  body{font-size:12pt;color:#000}
}
