/* Vorlage „Herzlich“ – Kinder- und Jugendarztpraxis, pastell und freundlich. Schriften lokal (DSGVO). */
@font-face{font-family:"Fredoka";src:url(fonts/fredoka.woff2) format("woff2");font-weight:300 700;font-display:swap}
@font-face{font-family:"Mulish";src:url(fonts/mulish.woff2) format("woff2");font-weight:200 1000;font-display:swap}

:root{
  --bg:#fffaf5; --white:#fff; --ink:#2e2a4f; --muted:#655f7f; --line:#efe6dc;
  --peach:#ffd8c2; --peach-d:#f08a5d; --mint:#c9eedc; --mint-d:#2f9b6c; --lilac:#e2dbff; --lilac-d:#6c58d6; --sky:#d4eaff; --sky-d:#2f7ccf; --sun:#ffeaa8;
  --round:"Fredoka",system-ui,sans-serif; --sans:"Mulish",system-ui,-apple-system,"Segoe UI",sans-serif;
  --wrap:min(1120px,100% - 36px); --r:26px;
}
*{box-sizing:border-box;margin:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:76px}
body{font-family:var(--sans);font-size:17px;line-height:1.62;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{font-family:var(--round);font-weight:600;line-height:1.08;letter-spacing:-.01em}
.wrap{width:var(--wrap);margin-inline:auto}
.chip{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;font:600 .9rem var(--round);background:var(--lilac);color:var(--lilac-d)}
.chip.mint{background:var(--mint);color:var(--mint-d)}
.chip.peach{background:var(--peach);color:#b4532a}
.chip.sky{background:var(--sky);color:var(--sky-d)}

/* Hinweis */
.notice{background:var(--sun);font-size:.95rem;text-align:center;padding:9px 16px;font-weight:700}

/* Kopf */
.top{position:sticky;top:0;z-index:30;background:rgba(255,250,245,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;height:70px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0}
.logo .mark{width:46px;height:46px;flex:none;display:grid;place-items:center}
.logo .mark svg{width:46px;height:46px}
.logo .txt{min-width:0;line-height:1.1}
.logo small{display:block;font-size:.76rem;font-weight:700;color:var(--muted)}
.logo b{display:block;font:600 1.3rem var(--round);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.burger{width:46px;height:46px;border-radius:16px;border:0;background:var(--lilac);color:var(--lilac-d);display:grid;place-items:center;cursor:pointer}
.burger svg{width:22px;height:22px}
.nav{position:fixed;inset:70px 12px auto;background:var(--white);border-radius:24px;padding:10px 18px 18px;display:none;box-shadow:0 24px 50px -20px rgba(46,42,79,.35)}
.nav.open{display:grid}
.nav a{font:600 1.35rem var(--round);text-decoration:none;padding:10px 0;border-bottom:2px dotted var(--line)}
.nav a:last-child{border:0}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 24px;border-radius:999px;font:600 1.05rem var(--round);text-decoration:none;border:2px solid var(--ink);color:var(--ink);background:var(--white);transition:.2s}
.btn svg{width:20px;height:20px}
.btn:hover{transform:translateY(-2px)}
.btn-i{background:var(--ink);color:#fff}
.btn-p{background:var(--peach-d);border-color:var(--peach-d);color:#fff}

/* Hero */
.hero{padding:16px 0 50px;position:relative;overflow:hidden}
.hero .wrap{display:grid;gap:30px;position:relative}
.status{display:inline-flex;align-items:center;gap:8px;font:600 .95rem var(--round);background:var(--white);border-radius:999px;padding:7px 14px;box-shadow:0 8px 20px -12px rgba(46,42,79,.4)}
.status i{width:10px;height:10px;border-radius:50%;background:#33b679}
.status.closed i{background:var(--peach-d)}
.hero h1{font-size:clamp(2.5rem,11vw,4.6rem);margin:18px 0 14px}
.hero h1 .c1{color:var(--peach-d)}
.hero h1 .c2{color:var(--mint-d)}
.hero h1 .c3{color:var(--lilac-d)}
.hero .lead{color:var(--muted);font-size:1.12rem;max-width:31em}
.hero-cta{display:grid;gap:10px;margin-top:24px}
.blob{position:relative}
.blob img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:46% 54% 42% 58%/55% 45% 55% 45%}
.blob::before{content:"";position:absolute;inset:-12px -8px auto auto;width:42%;aspect-ratio:1;border-radius:50%;background:var(--sun);z-index:-1}
.blob::after{content:"";position:absolute;left:-10px;bottom:-10px;width:34%;aspect-ratio:1;border-radius:50%;background:var(--mint);z-index:-1}
.sticker{position:absolute;right:4px;bottom:16px;background:var(--white);border-radius:20px;padding:10px 14px;font:600 .95rem/1.25 var(--round);box-shadow:0 14px 30px -14px rgba(46,42,79,.45);transform:rotate(3deg)}
.sticker small{display:block;font:600 .8rem var(--sans);color:var(--muted)}

/* Abschnitte */
section{padding:66px 0}
.head{text-align:center;max-width:640px;margin:0 auto 32px}
.head h2{font-size:clamp(2.1rem,8.5vw,3.3rem);margin-top:12px}
.head p{color:var(--muted);margin-top:10px}

/* Sprechstunden-Karten */
.tiles{display:grid;gap:12px}
.tile{border-radius:var(--r);padding:22px 20px}
.tile h3{font-size:1.4rem;margin-bottom:6px}
.tile p{font-size:.98rem}
.tile .t{display:inline-block;margin-top:10px;font:600 .95rem var(--round);background:rgba(255,255,255,.7);border-radius:999px;padding:4px 12px}
.tile.a{background:var(--peach)}
.tile.b{background:var(--mint)}
.tile.c{background:var(--sky)}

/* Vorsorge */
.vs{background:var(--white);border-radius:40px 40px 0 0}
.u-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.u{background:var(--bg);border-radius:18px;padding:12px 10px;text-align:center}
.u b{display:block;font:600 1.35rem var(--round);color:var(--lilac-d)}
.u span{font-size:.8rem;color:var(--muted);line-height:1.3;display:block}
.u:nth-child(3n+2) b{color:var(--mint-d)}
.u:nth-child(3n) b{color:var(--peach-d)}
.bring{margin-top:22px;background:var(--lilac);border-radius:var(--r);padding:20px;display:grid;gap:10px}
.bring h3{font-size:1.3rem}
.bring ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.bring li{background:var(--white);border-radius:999px;padding:6px 14px;font-weight:700;font-size:.92rem}

/* Leistungen */
.svc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sv{background:var(--white);border-radius:22px;padding:18px 14px;border:2px solid var(--line)}
.sv .em{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;margin-bottom:10px}
.sv .em svg{width:24px;height:24px}
.sv:nth-child(4n+1) .em{background:var(--peach);color:#b4532a}
.sv:nth-child(4n+2) .em{background:var(--mint);color:var(--mint-d)}
.sv:nth-child(4n+3) .em{background:var(--lilac);color:var(--lilac-d)}
.sv:nth-child(4n) .em{background:var(--sky);color:var(--sky-d)}
.sv h3{font-size:1.12rem;margin-bottom:4px;hyphens:auto;-webkit-hyphens:auto}
.sv p{font-size:.88rem;color:var(--muted);line-height:1.45}

/* Praxis */
.about{display:grid;gap:24px;align-items:center}
.pics{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pics img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:24px}
.pics img:first-child{grid-column:span 2;aspect-ratio:16/10}
.about h2{font-size:clamp(2rem,8vw,3rem);margin:12px 0}
.about p{color:var(--muted)}
.about p+p{margin-top:10px}
.docs{display:grid;gap:10px;margin-top:20px}
.doc{display:flex;gap:12px;align-items:center;background:var(--white);border-radius:20px;padding:12px 14px}
.doc i{width:48px;height:48px;flex:none;border-radius:50%;display:grid;place-items:center;font:600 1.05rem var(--round);font-style:normal}
.doc:nth-child(1) i{background:var(--peach)}
.doc:nth-child(2) i{background:var(--mint)}
.doc:nth-child(3) i{background:var(--lilac)}
.doc b{display:block;font:600 1.05rem var(--round)}
.doc span{font-size:.88rem;color:var(--muted);line-height:1.3;display:block}

/* Notfall */
.emerg{background:var(--white);border:2px dashed #f2b8a0;border-radius:var(--r);padding:22px 20px}
.emerg h3{font-size:1.4rem;margin-bottom:6px}
.emerg p{color:var(--muted);font-size:.96rem}
.nums{display:grid;gap:8px;margin-top:14px}
.nums a{display:flex;justify-content:space-between;align-items:center;gap:10px;text-decoration:none;background:var(--bg);border-radius:16px;padding:12px 14px}
.nums b{font:600 1.35rem var(--round);color:#c2412b;white-space:nowrap}
.nums span{font-size:.9rem;font-weight:700;line-height:1.3}

/* Kontakt */
.contact .wrap{display:grid;gap:12px}
.cbox{background:var(--white);border-radius:var(--r);padding:22px 20px}
.cbox h3{font-size:1.4rem;margin-bottom:12px}
.hours{list-style:none;padding:0}
.hours li{display:flex;justify-content:space-between;gap:12px;padding:8px 12px;border-radius:12px;font-variant-numeric:tabular-nums}
.hours li span:last-child{text-align:right}
.hours li:nth-child(odd){background:var(--bg)}
.hours li.today{background:var(--mint);font-weight:800}
.hours li.off span:last-child{color:var(--muted)}
.cbox address{font-style:normal;font-size:1.1rem;line-height:1.6}
.cbox .stack{display:grid;gap:10px;margin-top:16px}
.cbox .note{color:var(--muted);font-size:.93rem;margin-top:12px}

/* Fuß */
.foot{padding:26px 0 110px;text-align:center;color:var(--muted);font-size:.92rem}
.foot nav{display:flex;justify-content:center;gap:18px;margin-top:6px}
.foot a{text-decoration:none;font-weight:700}

/* Mobile Aktionsleiste */
.mbar{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:25;display:grid;grid-template-columns:1.3fr 1fr;gap:6px;padding:6px;border-radius:999px;background:var(--white);box-shadow:0 14px 40px -12px rgba(46,42,79,.45)}
.mbar a{display:flex;align-items:center;justify-content:center;gap:8px;height:48px;border-radius:999px;font:600 1rem var(--round);text-decoration:none;color:var(--ink);background:var(--bg)}
.mbar a:first-child{background:var(--peach-d);color:#fff}
.mbar svg{width:20px;height:20px}

/* Rechtstexte */
.legal{padding:40px 0 90px;max-width:760px}
.legal h1{font-size:clamp(2.4rem,10vw,3.4rem);margin-bottom:.4em}
.legal h2{font-size:1.3rem;margin:1.6em 0 .3em}
.demo-note{padding:12px 16px;border-radius:16px;background:var(--sun);font-size:.95rem;font-weight:600}

.name-long .logo b{font-size:1.08rem}
.name-xlong .logo b{font-size:.94rem}

@media (min-width:900px){
  .burger{display:none}
  .nav{position:static;display:flex;gap:24px;padding:0;background:none;box-shadow:none;border-radius:0}
  .nav a{font:600 1.02rem var(--round);border:0;padding:0}
  .nav a:hover{color:var(--peach-d)}
  .hero{padding:40px 0 80px}
  .hero .wrap{grid-template-columns:1.1fr .9fr;align-items:center;gap:60px}
  .hero-cta{display:flex}
  section{padding:96px 0}
  .tiles{grid-template-columns:repeat(3,1fr);gap:16px}
  .u-list{grid-template-columns:repeat(6,1fr)}
  .bring{grid-template-columns:auto 1fr;align-items:center;gap:20px}
  .svc{grid-template-columns:repeat(4,1fr);gap:14px}
  .about{grid-template-columns:1fr 1fr;gap:60px}
  .emerg{display:grid;grid-template-columns:1fr 1.2fr;gap:30px;align-items:center;padding:30px}
  .nums{margin:0}
  .contact .wrap{grid-template-columns:1fr 1fr 1fr}
  .mbar{display:none}
  .foot{padding-bottom:36px}
}
