/* ==========================================================================
   prvnt – Privatpraxis für präventive & ästhetische Medizin
   Gemeinsames Stylesheet für index.html, impressum.html, datenschutz.html
   Aufbau: Schriften · Variablen · Basis · Bausteine · Seitenbereiche · Mobil
   ========================================================================== */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ---------- */
@font-face{
  font-family:"Cormorant Garamond";
  font-style:normal;font-weight:400 600;font-display:swap;
  src:url(../fonts/cormorant-garamond-latin.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"Inter";
  font-style:normal;font-weight:300 600;font-display:swap;
  src:url(../fonts/inter-latin.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- Variablen ---------- */
:root{
  --bg:#f8f6f2;
  --surface:#fff;
  --ink:#2b2a28;
  --muted:#6f6a63;
  --line:#e3ded6;
  --accent:#7d8b7f;      /* Salbeigrün: Buttons */
  --plum:#5a2a45;        /* Pflaume: Logo, Überschriften, Links */
  --hero-bg:#b6bbbf;     /* Hintergrund des Portraitfotos */

  --serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --sans:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;

  --wrap:1160px;
  --gutter:28px;
  --section:80px;
}

/* ---------- Basis ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;background:var(--bg);color:var(--ink);font:300 17px/1.75 var(--sans);overflow-wrap:break-word}
img{max-width:100%;height:auto;display:block}
a{color:var(--plum)}
h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.2;color:var(--plum)}
h2{font-size:38px;margin:0 0 28px}
h3{font-size:27px;margin:0 0 14px}
p{margin:0 0 1em}
strong,b{font-weight:500}
[id]{scroll-margin-top:24px}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.narrow{max-width:720px}

.skip-link{position:absolute;left:-9999px;top:0;background:var(--plum);color:#fff;padding:10px 16px;z-index:100}
.skip-link:focus{left:12px;top:12px}

/* ---------- Bausteine ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 28px;
  background:var(--accent);color:#fff;border:1px solid var(--accent);border-radius:2px;
  font:400 15px/1.3 var(--sans);letter-spacing:.03em;text-decoration:none;text-align:center;cursor:pointer}
.btn:hover{filter:brightness(.94)}
.btn--ghost{background:none;color:var(--accent)}
.btn--plum{background:var(--plum);border-color:var(--plum)}
.btn:disabled{opacity:.7;cursor:default;filter:none}

/* ---------- Kopfzeile ---------- */
.site-header{padding:22px 0;border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px}
.site-header .logo img{height:70px;width:auto}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;background:var(--hero-bg);border-bottom:1px solid var(--line)}
.hero__inner{position:relative;height:min(100vh,880px);min-height:620px}
.hero__img{position:absolute;top:0;right:0;bottom:0}
.hero__img img{height:100%;width:auto;max-width:none}
.hero__img::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--hero-bg) 0%,rgba(182,187,191,0) 22%)}
.hero__text{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  max-width:calc(620px + var(--gutter) * 2);padding:80px var(--gutter);
  margin-left:max(0px,calc((100vw - var(--wrap)) / 2))}
.hero__text h1,.hero__text p{text-shadow:0 0 18px rgba(255,255,255,.55)}
.hero__title{font-size:54px;line-height:1.12;margin:0 0 18px;white-space:nowrap}
.hero__name{font:600 17px/1.5 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--plum);margin:0 0 56px}
.hero__claim{font:500 44px/1.2 var(--serif);color:var(--ink);margin:0 0 24px}
.hero__lead{font-size:20px;color:var(--muted);max-width:640px;margin:0 0 40px}

/* ---------- Abschnitte ---------- */
.section{padding:var(--section) 0;border-top:1px solid var(--line)}
.hero + .section{border-top:0}
.intro p{max-width:720px}

/* Leistungskarten */
.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);padding:34px;overflow:hidden}
.card__img{width:calc(100% + 68px);max-width:none;margin:-34px -34px 28px;aspect-ratio:7/10;object-fit:cover;object-position:center}
.card__label{font-weight:500;font-size:14px;letter-spacing:.05em;text-transform:uppercase;color:var(--accent);margin:18px 0 4px}
.card ul{padding-left:18px;margin:4px 0 1em}
.card .btn{margin-top:auto;align-self:flex-start}
.card__spacer{flex:1;min-height:20px}

/* Botulinumtoxin */
.detail{margin-top:48px;padding-top:36px;border-top:1px solid var(--line)}
.detail::after{content:"";display:block;clear:both}
.detail__img{float:right;width:min(520px,45%);margin:0 0 20px 36px}
.detail ul{padding-left:20px;margin:4px 0 20px}
.detail li{margin:0 0 10px}
.detail > p,.detail > ul{max-width:720px}

/* Untersuchungen */
.service-intro{max-width:720px;margin:0 0 8px}
.service-list{margin-top:12px;border-top:1px solid var(--line)}
.service-item{padding:32px 0;border-bottom:1px solid var(--line)}
.service-item h3{margin:0 0 10px}
.service-item p{max-width:720px;margin:0}
.service-item .device{color:var(--muted);font-size:15px;margin-top:12px}
.note{max-width:720px;margin:28px 0 0;font-size:15px;color:var(--muted)}

/* So arbeite ich */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px;counter-reset:step}
.step{counter-increment:step}
.step::before{content:counter(step);display:block;font:500 44px/1.3 var(--serif);color:var(--accent)}
.step b{display:block}

/* Über mich */
.about__grid{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:start}
.about__img{position:sticky;top:40px;width:100%}
.about h3{font-size:26px;margin:28px 0 10px}
.about-list{padding-left:18px;margin:4px 0 0;max-width:720px}
.about-list li{margin:0 0 12px}

/* FAQ */
details{border-bottom:1px solid var(--line);padding:16px 0}
summary{cursor:pointer;font-weight:400}
details p{margin:8px 0 0}

/* Terminbuchung */
.booking{background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--plum);padding:32px}
.booking h3{font-size:28px;margin:0 0 16px}
.booking p{max-width:720px;color:var(--muted)}
.booking__frame iframe{width:100%;border:0;display:block;background:#fff}
.booking__fallback{font-size:14px;margin:20px 0 0}

/* Abschluss / Kontakt */
.contact{text-align:center}
.contact__lead{font:500 28px/1.4 var(--serif);max-width:720px;margin:0 auto 34px}
.contact__actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.contact__phone{display:inline-block;margin-top:18px;font-size:16px;font-weight:500;letter-spacing:.02em;text-decoration:none}
.contact__mail{display:block;margin-top:8px}
.contact__mail a{text-decoration:none}
.contact a:hover{text-decoration:underline}
.contact__note{font-size:14px;line-height:1.55;color:var(--muted);max-width:560px;margin:16px auto 0}

/* Fußzeile */
.site-footer{padding:40px 0;font-size:14px;color:var(--muted);border-top:1px solid var(--line)}
.site-footer__logo{height:30px;width:auto;margin:0 0 14px}
.site-footer p{margin:10px 0 0;line-height:1.7}
.site-footer a{text-decoration:none}
.site-footer a:hover{text-decoration:underline}

/* WhatsApp-Button unten rechts */
.wa-float{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));z-index:40;
  width:52px;height:52px;border-radius:50%;background:var(--plum);display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 14px rgba(43,42,40,.16);opacity:.92}
.wa-float:hover{opacity:1}
.wa-float svg{width:26px;height:26px}

/* Rechtstexte (Impressum, Datenschutz) */
.legal .wrap{max-width:760px;padding-top:48px;padding-bottom:80px}
.legal h1{font-size:38px;margin:0 0 28px}
.legal h2{font-size:26px;margin:36px 0 12px}
.legal p,.legal li{max-width:720px}
.legal address{font-style:normal;line-height:1.7;margin:0 0 18px}
.back{display:inline-block;margin:0 0 28px;text-decoration:none}
.back:hover{text-decoration:underline}

/* ==========================================================================
   Responsiv
   ========================================================================== */

/* Kleinere Desktops / Tablets quer */
@media (max-width:1100px){
  .hero__title{font-size:46px}
  .hero__claim{font-size:38px}
}

/* Tablets hoch und Handys: Bild über dem Text, alles einspaltig */
@media (max-width:900px){
  :root{--section:64px}
  .hero__inner{height:auto;min-height:0;display:flex;flex-direction:column}
  .hero__img{position:relative;order:-1}
  .hero__img img{width:100%;height:auto;max-height:78vh;object-fit:cover;object-position:center 20%}
  .hero__img::before{background:linear-gradient(0deg,var(--hero-bg) 0%,rgba(182,187,191,0) 18%)}
  .hero__text{max-width:none;margin:0;padding:8px var(--gutter) 56px}
  .hero__title{white-space:normal}
  .hero__name{margin-bottom:28px}

  .cards{grid-template-columns:1fr}
  .about__grid{grid-template-columns:1fr;gap:32px}
  .about__img{position:static;max-width:520px}
}

/* Handys */
@media (max-width:600px){
  :root{--gutter:20px;--section:52px}
  body{font-size:16px;line-height:1.7}
  h2{font-size:31px;margin-bottom:22px}
  h3{font-size:24px}

  .site-header{padding:14px 0}
  .site-header .logo img{height:44px}
  .site-header .btn{min-height:42px;padding:9px 14px;font-size:14px}

  .hero__img img{max-height:62vh}
  .hero__title{font-size:34px}
  .hero__name{font-size:13.5px;letter-spacing:.1em}
  .hero__claim{font-size:27px}
  .hero__lead{font-size:17px;margin-bottom:28px}
  .hero__text .btn{width:100%}

  .card{padding:24px}
  .card__img{width:calc(100% + 48px);margin:-24px -24px 22px;aspect-ratio:4/5;object-position:center 30%}
  .card .btn{align-self:stretch}

  .detail{margin-top:40px;padding-top:28px}
  .detail__img{float:none;width:100%;margin:0 0 20px}

  .service-item{padding:24px 0}
  .steps{grid-template-columns:1fr 1fr;gap:18px}
  .step::before{font-size:36px}

  .booking{padding:20px 16px}
  .booking h3{font-size:24px}

  .contact__lead{font-size:22px}
  .contact__actions .btn{flex:1 1 100%}

  .site-footer{padding-bottom:96px} /* Platz für den WhatsApp-Button */
  .wa-float{width:48px;height:48px}

  .legal .wrap{padding-top:32px;padding-bottom:56px}
  .legal h1{font-size:32px}
  .legal h2{font-size:23px}
}

@media (max-width:360px){
  .steps{grid-template-columns:1fr}
  .site-header .logo img{height:38px}
}

/* ---------- Druck ---------- */
@media print{
  .wa-float,.site-header .btn,.booking{display:none!important}
  .card,.step,details{break-inside:avoid}
  .hero{background:none}
}
