/* =========================================================================
   style.css – Gyndocs (Palette #c91d69, Spectral/Mulish, self-hosted)
   Deckt alle Klassen/Hooks der index.html ab. Kann jederzeit durch die
   Original-style.css ersetzt werden.
   ========================================================================= */

/* ---------- Fonts (Fontsource, self-hosted) ---------- */
@font-face{font-family:'Mulish';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/mulish-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'Mulish';font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/mulish-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'Spectral';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/spectral-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'Spectral';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/spectral-latin-600-normal.woff2') format('woff2');}

/* ---------- Tokens ---------- */
:root{
  --rose:#c91d69; --rose-dark:#a8175a; --rose-soft:#e0559a;
  --blush:#fdf4f8; --blush-2:#fbe0ee; --petal:#fce8f2;
  --ink:#2b2230; --soft:#6f6675; --line:#f0d9e6;
  --shadow:0 18px 40px rgba(168,23,90,.10);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{font-family:'Mulish',system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);background:#fff;overflow-x:clip;line-height:1.6}
h1,h2,h3,h4,.modal-title{font-family:'Spectral',Georgia,"Times New Roman",serif;font-weight:600;line-height:1.2;color:var(--ink)}
a{color:var(--rose-dark);text-underline-offset:2px}
a:hover{color:var(--rose)}
img{max-width:100%;height:auto}

.skip-link{position:absolute;left:-999px;top:0;background:var(--rose);color:#fff;padding:.6rem 1rem;border-radius:0 0 10px 0;z-index:1200}
.skip-link:focus{left:0;color:#fff}

.eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;font-weight:700;color:var(--rose);margin-bottom:.5rem}
.text-soft{color:var(--soft)}
.max-45{max-width:45rem}

/* ---------- Buttons ---------- */
.btn-rose{background:linear-gradient(135deg,var(--rose),var(--rose-soft));border:none;color:#fff;font-weight:700;border-radius:999px;padding:.6rem 1.4rem;box-shadow:0 8px 18px rgba(201,29,105,.28);transition:transform .15s,box-shadow .15s,filter .15s}
.btn-rose:hover,.btn-rose:focus{color:#fff;filter:brightness(1.03);transform:translateY(-1px);box-shadow:0 12px 24px rgba(201,29,105,.34)}
.btn-rose-outline{background:#fff;border:1.5px solid var(--rose);color:var(--rose);font-weight:700;border-radius:999px;padding:.55rem 1.35rem;transition:.15s}
.btn-rose-outline:hover,.btn-rose-outline:focus{background:var(--rose);color:#fff}
.btn-lg{padding:.8rem 1.7rem;font-size:1.02rem}

/* ---------- Header / Nav ---------- */
header{position:sticky;top:0;z-index:1030}
.navbar{background:rgba(255,255,255,.92);backdrop-filter:saturate(1.2) blur(8px);border-bottom:1px solid var(--line)}
.navbar-brand.brand{display:inline-flex;align-items:center;gap:.55rem}
.brand-logo-img{height:44px;width:auto;display:block}
.brand-logo{display:none}
.navbar .nav-link{color:var(--ink);font-weight:600;position:relative;padding:.4rem .85rem}
.navbar .nav-link::after{content:"";position:absolute;left:.85rem;right:.85rem;bottom:.15rem;height:2px;background:var(--rose);transform:scaleX(0);transform-origin:left;transition:transform .2s}
.navbar .nav-link:hover::after,.navbar .nav-link:focus::after{transform:scaleX(1)}
.nav-phone{display:inline-flex;align-items:center;gap:.4rem;color:var(--rose-dark);font-weight:700;text-decoration:none}
.nav-phone__icon,.hero-phone__icon{flex:0 0 auto}
.hero-phone{display:inline-flex;align-items:center;gap:.5rem;color:var(--rose-dark);font-weight:700;font-size:1.15rem;text-decoration:none}
.hero-phone:hover{color:var(--rose)}

/* ---------- Hinweis-Banner (Multi, farbig) ---------- */
.notice{border-bottom:1px solid transparent;transition:max-height .3s ease,opacity .3s ease;overflow:hidden}
.notice--info{background:linear-gradient(90deg,#e8f4f8,#f0fafe);border-color:#b8dce8;--notice-accent:#1a8aad}
.notice--warnung{background:linear-gradient(90deg,#fef3e0,#fff8ee);border-color:#f0d49e;--notice-accent:#b87d1a}
.notice--wichtig{background:linear-gradient(90deg,var(--blush-2),var(--blush));border-color:var(--line);--notice-accent:var(--rose)}
.notice__inner{display:flex;align-items:flex-start;gap:.75rem;padding:.7rem 1rem}
.notice__icon{color:var(--notice-accent);flex:0 0 auto}
.notice__icon svg{width:22px;height:22px;display:block}
.notice__text{margin:0;font-size:.95rem;color:var(--ink)}
.notice__expiry{color:var(--soft);font-size:.84rem;font-style:italic}
.notice__close{margin-left:auto;background:none;border:none;font-size:1.4rem;line-height:1;color:var(--soft);cursor:pointer;padding:0 .2rem}
.notice__close:hover{color:var(--notice-accent)}

/* ---------- Hero ---------- */
.hero{position:relative;padding:3.5rem 0 5.5rem;background:radial-gradient(1200px 500px at 80% -10%,var(--blush-2),transparent 60%),#fff;overflow:hidden}
.hero__inner{position:relative;z-index:2}
.hero__badge{display:inline-block;background:#fff;border:1px solid var(--line);color:var(--rose-dark);font-weight:700;font-size:.82rem;padding:.35rem .9rem;border-radius:999px}
.hero h1{font-size:clamp(1.9rem,4.2vw,3rem);margin-bottom:1rem}
.hero__lead{font-size:1.12rem;color:var(--soft);max-width:36rem}
.hero__bloom{width:min(78%,360px);height:auto;filter:drop-shadow(0 20px 30px rgba(201,29,105,.18));animation:float 7s ease-in-out infinite}
.hero__dot{position:absolute;border-radius:50%;filter:blur(2px);opacity:.6;z-index:1}
.hero__dot--1{width:22px;height:22px;background:var(--rose-soft);top:12%;right:20%;animation:float 6s ease-in-out infinite}
.hero__dot--2{width:14px;height:14px;background:var(--rose);top:60%;right:12%;animation:float 8s ease-in-out infinite reverse}
.hero__dot--3{width:30px;height:30px;background:var(--blush-2);top:30%;right:6%;opacity:.9;animation:float 9s ease-in-out infinite}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}
.wave{position:absolute;left:0;right:0;bottom:-1px;line-height:0}
.wave svg{width:100%;height:90px;display:block}

/* ---------- Sections ---------- */
.section{padding:4.5rem 0}
.section--blush{background:var(--blush)}
.section--petal{background:linear-gradient(180deg,#fff, var(--petal))}
.section h2{font-size:clamp(1.5rem,3vw,2.1rem)}

/* ---------- Leistungen ---------- */
.lcard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;height:100%;display:flex;flex-direction:column;box-shadow:0 8px 22px rgba(168,23,90,.06);transition:transform .18s,box-shadow .18s;cursor:pointer}
.lcard[role="button"]:hover,.lcard[role="button"]:focus-visible{transform:translateY(-4px);box-shadow:var(--shadow);outline:none}
.lcard__media{aspect-ratio:16/10;overflow:hidden;background:var(--blush-2)}
.lcard__media img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.lcard:hover .lcard__media img{transform:scale(1.05)}
.lcard__body{padding:1.15rem 1.25rem 1.35rem;display:flex;flex-direction:column;gap:.5rem}
.lcard__title{font-size:1.18rem;margin:0}
.lcard__text{color:var(--soft);margin:0;font-size:.96rem}
.lcard__more{color:var(--rose);font-weight:700;font-size:.9rem;margin-top:auto}

/* ---------- Team ---------- */
.tcard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.75rem 1.25rem 1.4rem;height:100%;text-align:center;display:flex;flex-direction:column;align-items:center;box-shadow:0 8px 22px rgba(168,23,90,.06);transition:transform .18s,box-shadow .18s,border-color .18s}
.tcard--clickable{cursor:pointer}
.tcard--clickable:hover,.tcard--clickable:focus-visible{transform:translateY(-5px);box-shadow:var(--shadow);border-color:var(--rose-soft);outline:none}
.tcard__avatar{width:130px;height:130px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--blush-2);box-shadow:0 0 0 6px var(--blush),0 8px 20px rgba(168,23,90,.12);margin-bottom:1rem}
.tcard__avatar img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.tcard--clickable:hover .tcard__avatar img{transform:scale(1.06)}
.tcard__avatar--initials{background:linear-gradient(135deg,var(--rose),var(--rose-soft));color:#fff;font-family:'Spectral';font-size:2.6rem;font-weight:600}
.tcard__name{font-size:1.2rem;margin:0 0 .15rem}
.tcard__role{color:var(--rose-dark);font-weight:600;font-size:.92rem;margin:0 0 .55rem}
.tcard__text{color:var(--soft);font-size:.92rem;margin:0 0 1rem;flex:1 0 auto}
.tcard__cta{display:inline-flex;align-items:center;gap:.15rem;margin-top:auto;background:#fff;border:1.5px solid var(--rose);color:var(--rose);font-weight:700;font-size:.86rem;padding:.4rem 1rem;border-radius:999px;transition:.15s}
.tcard--clickable:hover .tcard__cta,.tcard--clickable:focus-visible .tcard__cta{background:var(--rose);color:#fff}

/* ---------- Lebenslauf-Overlay ---------- */
.cv-head{display:flex;align-items:center;gap:1rem;margin-bottom:1.25rem;padding-bottom:1rem;border-bottom:1px solid var(--line)}
.cv-avatar{width:72px;height:72px;flex:0 0 auto;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--blush-2);box-shadow:0 0 0 4px var(--blush)}
.cv-avatar img{width:100%;height:100%;object-fit:cover}
.cv-avatar--initials{background:linear-gradient(135deg,var(--rose),var(--rose-soft));color:#fff;font-family:'Spectral';font-size:1.6rem;font-weight:600}
.cv-name{font-family:'Spectral';font-size:1.25rem;font-weight:600;margin:0}
.cv-role{color:var(--rose-dark);font-weight:600;margin:.1rem 0 0}
.cv-born{color:var(--soft);margin:.1rem 0 0;font-size:.9rem}
.cv-block{margin-bottom:1.1rem}
.cv-block__title{font-size:1.02rem;color:var(--rose-dark);margin-bottom:.4rem}
.cv-timeline{list-style:none;margin:0;padding:0}
.cv-timeline li{display:flex;gap:.9rem;padding:.4rem 0;border-left:2px solid var(--line);padding-left:.9rem;margin-left:.2rem}
.cv-time{flex:0 0 8.5rem;font-weight:700;color:var(--rose-dark);font-size:.9rem}
.cv-text{color:var(--ink);font-size:.95rem}

/* ---------- Galerie + Lightbox ---------- */
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.9rem}
.gallery__item{padding:0;border:none;background:var(--blush-2);border-radius:14px;overflow:hidden;aspect-ratio:4/3;cursor:pointer}
.gallery__item img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.gallery__item:hover img{transform:scale(1.06)}
.img-modal .modal-dialog{max-width:min(90vw,1100px);margin:auto;display:flex;align-items:center;justify-content:center;min-height:100vh;padding:1rem}
.img-modal .modal-content{background:transparent;border:none;box-shadow:none;overflow:visible}
.img-modal img{display:block;max-width:100%;max-height:90vh;width:auto;height:auto;object-fit:contain;border-radius:14px;margin:0 auto}
.img-modal-close{position:absolute;top:-12px;right:-12px;z-index:5;background:#fff;border-radius:50%;padding:.6rem;opacity:1;box-shadow:0 2px 8px rgba(0,0,0,.15)}
@media(max-width:575.98px){
  .img-modal .modal-dialog{padding:.5rem;max-width:100vw}
  .img-modal img{max-height:85vh;border-radius:10px}
  .img-modal-close{top:4px;right:4px;padding:.5rem}
}

/* ---------- Termin / Consent ---------- */
.termin-panel{max-width:960px;margin:0 auto}
.map-consent{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem;text-align:center;box-shadow:0 8px 22px rgba(168,23,90,.05)}
#termin-container iframe,#map-container iframe{border-radius:var(--radius);box-shadow:var(--shadow)}

/* ---------- Sprechzeiten ---------- */
.hours-table{width:100%;border-collapse:collapse}
.hours-table th,.hours-table td{padding:.65rem .5rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.hours-table thead th{font-family:'Mulish';font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--soft);font-weight:700}
.hours-table tbody th{font-weight:700;font-family:'Mulish'}
.hours-table td{color:var(--soft);font-size:.95rem}

/* ---------- Kontakt ---------- */
.contact-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.75rem;box-shadow:var(--shadow)}
.form-label{font-weight:600;font-size:.9rem}
.form-control:focus,.form-check-input:focus{border-color:var(--rose-soft);box-shadow:0 0 0 .2rem rgba(201,29,105,.15)}
.form-check-input:checked{background-color:var(--rose);border-color:var(--rose)}
.hp-field{position:absolute;left:-5000px;width:1px;height:1px;overflow:hidden}
.info-line{display:flex;gap:.6rem;align-items:flex-start}
.info-line .icon{font-size:1.2rem}
.route-actions{display:flex;flex-wrap:wrap;gap:.6rem}

/* ---------- Footer ---------- */
.site-footer{background:var(--blush);border-top:1px solid var(--line);padding:3rem 0 1.5rem;margin-top:1rem}
.site-footer h4{font-size:1.05rem;color:var(--rose-dark)}
.site-footer a{color:var(--rose-dark);text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.footer-bottom{border-top:1px solid var(--line);margin-top:1.5rem;padding-top:1rem;color:var(--soft);font-size:.88rem}

/* ---------- Consent-Banner (fixed) ---------- */
.consent{position:fixed;left:1rem;right:1rem;bottom:1rem;max-width:520px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 24px 60px rgba(168,23,90,.22);padding:1.25rem 1.35rem;z-index:1100}
.consent[hidden]{display:none}
.consent h4{font-size:1.05rem;margin-bottom:.4rem}
.consent p{font-size:.9rem;color:var(--soft);margin-bottom:.85rem}
.consent-more{align-self:center;font-size:.88rem;font-weight:600}

/* ---------- Modals (Detail/CV/Legal) ---------- */
.modal-content{border:none;border-radius:var(--radius);box-shadow:0 30px 80px rgba(43,34,48,.3)}
.modal-header{border-bottom:1px solid var(--line)}
.modal-hero-img{width:100%;max-height:280px;object-fit:cover;border-radius:12px;margin-bottom:1rem}
.lead-intro{font-size:1.05rem;color:var(--ink)}
.detail-h{font-size:1.05rem;color:var(--rose-dark);margin-top:1.1rem}
.detail-list{margin:.4rem 0 0;padding-left:1.1rem}
.detail-list li{margin-bottom:.3rem}
.cv-role{color:var(--rose-dark);font-weight:600;margin-bottom:.2rem}
.cv-born{color:var(--soft);margin-bottom:1rem}
.cv-block{margin-bottom:1.1rem}
.cv-block__title{font-size:1.02rem;color:var(--rose-dark);margin-bottom:.4rem}
.cv-timeline{list-style:none;margin:0;padding:0}
.cv-timeline li{display:flex;gap:.9rem;padding:.35rem 0;border-left:2px solid var(--line);padding-left:.9rem;margin-left:.2rem}
.cv-time{flex:0 0 8.5rem;font-weight:700;color:var(--rose-dark);font-size:.9rem}
.cv-text{color:var(--ink);font-size:.95rem}
.legal h4{font-size:1.05rem;color:var(--rose-dark);margin-top:1rem}
.legal address{font-style:normal}

/* ---------- Reveal ---------- */
.reveal{opacity:1;transform:none}
.reveal-ready .reveal{opacity:0;transform:translateY(18px);transition:opacity .5s ease,transform .5s ease}
.reveal-ready .reveal.is-visible{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){.reveal-ready .reveal{opacity:1;transform:none;transition:none}.hero__bloom,.hero__dot{animation:none}}

/* ---------- Responsive ---------- */
@media (max-width:991.98px){
  #hauptmenu{max-height:calc(100vh - 80px);max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain}
  #hauptmenu .navbar-nav{padding:.5rem 0 1rem;gap:.15rem}
  #hauptmenu .nav-link{min-height:44px;display:flex;align-items:center}
  .navbar-toggler{min-width:48px;min-height:44px}
  .hero{padding:2.5rem 0 4rem}
  .hero__bloom{margin-top:1.5rem}
  .cv-time{flex-basis:6.5rem}
}
@media (max-width:575.98px){
  .container{padding-left:1.25rem;padding-right:1.25rem}
  .section{padding:3rem 0}
  .contact-panel,.map-consent{padding:1.1rem}
  .hours-table thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .hours-table,.hours-table tbody{display:block;width:100%}
  .hours-table tr{display:block;padding:.85rem 0;border-bottom:1px solid var(--line)}
  .hours-table tbody th{display:block;border:0;padding:0 0 .4rem;color:var(--ink)}
  .hours-table td{display:block;border:0;padding:.25rem 0;overflow-wrap:anywhere}
  .hours-table td::before{content:attr(data-label);display:block;font-size:.75rem;font-weight:700;color:var(--rose-dark)}
  .route-actions .btn{width:100%;min-height:44px}
  .form-control{font-size:16px}
  .consent{left:.75rem;right:.75rem;bottom:max(.75rem,env(safe-area-inset-bottom));max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem);overflow-y:auto;padding:1rem}
  .consent .btn{min-height:44px}
  .modal-body,.modal-header,.info-line,.site-footer{overflow-wrap:anywhere}
  .modal-header .btn-close{min-width:28px;min-height:28px;flex-shrink:0}
  .cv-head{align-items:flex-start}
  .cv-head>div{min-width:0}
  .hero h1{font-size:1.7rem}
  .btn-lg{width:100%}
  .hero .d-flex .btn{width:100%}
  .cv-timeline li{flex-direction:column;gap:.1rem}
  .cv-time{flex-basis:auto}
}

.legal-title{font-size:1.4rem;margin-bottom:1rem}
.legal-section{font-size:1.2rem;color:var(--ink);margin-top:1.8rem;margin-bottom:.6rem;padding-bottom:.4rem;border-bottom:1px solid var(--line)}
.legal h4{font-size:1.02rem;color:var(--rose-dark);margin-top:1.15rem;margin-bottom:.3rem}

/* =======================================================================
   Gyndocs Editorial Redesign – 2026-10-14
   Inspired by the supplied homepage reference. Existing CMS, service,
   gallery, legal and appointment functionality is intentionally preserved.
   ======================================================================= */
:root {
  --rose: #df5d8a;
  --rose-dark: #a83b65;
  --rose-soft: #f18bad;
  --blush: #fff7f9;
  --blush-2: #fde8ef;
  --petal: #fff4f7;
  --ink: #293242;
  --soft: #606b79;
  --line: #ede4e7;
  --shadow: 0 14px 34px rgba(40, 40, 52, .07);
  --radius: 12px;
}
body { background: #fff; }
h1,h2,h3,h4,.modal-title { font-family: 'Mulish', system-ui, sans-serif; font-weight: 700; letter-spacing: -.025em; }
.section { padding: 5rem 0; }
.section h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
.eyebrow { letter-spacing: .13em; }
.btn-rose { background: var(--rose); border-radius: 6px; box-shadow: none; }
.btn-rose:hover,.btn-rose:focus { background: var(--rose-dark); box-shadow: 0 8px 22px rgba(168,59,101,.17); }
.btn-rose-outline { border-radius: 6px; }
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; }
.site-nav { background: #fff; backdrop-filter: none; border-bottom: 1px solid #f3eff0; min-height: 96px; }
.site-nav__inner { max-width: 1320px; }
.navbar-brand.brand { padding: .5rem 0; }
.brand-logo-img { display: block; height: 56px; width: auto; aspect-ratio: 353 / 253; } /* wie alte Seite: ca. 78 x 56 px */
.navbar .nav-link { color: #334154; font-size: .81rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .75rem .95rem; }
.navbar .nav-link::after { left: .95rem; right: .95rem; bottom: .45rem; height: 2px; }
/* Aktiver Menüpunkt: wird von js/main.js (GYNDOCS_NAV_SCROLLSPY) je nach Scrollposition gesetzt */
.navbar .nav-link.is-active { color: var(--rose); }
.navbar .nav-link.is-active::after { transform: scaleX(1); }
.navbar-toggler { border: 1px solid #e5d9df; border-radius: 6px; }
.navbar-toggler:focus { box-shadow: 0 0 0 .18rem rgba(223,93,138,.22); }

/* Full photographic hero with the real team portrait; no floral elements */
.hero { padding: 22px 0 0; background: #fff; overflow: visible; }
.hero__container { max-width: 1320px; }
.hero__canvas { height: clamp(450px, 43vw, 590px); position: relative; background: #b8b9bb; overflow: hidden; }
.hero__portrait { position: absolute; inset: 0 auto 0 0; width: 69%; height: 100%; object-fit: cover; object-position: center 16%; }
.hero__canvas::after { content: ''; position: absolute; inset: 0 0 0 48%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(152,154,157,.16) 42%, rgba(152,154,157,.28)); }
.hero__panel { position: absolute; z-index: 1; top: 50%; right: 6.5%; transform: translateY(-50%); width: 41%; max-width: 520px; padding: clamp(1.5rem, 3.2vw, 2.75rem); background: rgba(255, 102, 153, .94); color: #fff; } /* Logo-Pink #f69 */
.hero__eyebrow { display: block; font-size: .77rem; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; color: #fff; opacity: .95; margin-bottom: .85rem; }
.hero h1 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.26; font-weight: 700; color: #fff; margin: 0 0 1rem; letter-spacing: -.02em; }
.hero__lead { font-size: clamp(.9rem, 1.13vw, 1.02rem); line-height: 1.66; color: #fff; max-width: none; margin: 0; }

/* White contact strip below the hero, like the supplied reference */
.quicklinks { background: #fff; border-bottom: 1px solid #f2ecef; }
.quicklinks__grid { max-width: 1320px; display: grid; grid-template-columns: 1.2fr 1fr .9fr 1.1fr; }
.quicklink { min-width: 0; display: flex; gap: .85rem; align-items: center; justify-content: center; min-height: 98px; padding: 1rem .7rem; color: #29384b; font-size: .83rem; text-transform: uppercase; letter-spacing: .035em; font-weight: 700; text-decoration: none; position: relative; }
.quicklink:not(:last-child)::after { content: ''; position: absolute; height: 27px; width: 1px; background: #e5e1e4; right: 0; top: calc(50% - 13px); }
.quicklink svg { width: 25px; height: 25px; color: var(--rose); flex: 0 0 auto; }
.quicklink:hover,.quicklink:focus-visible { color: var(--rose-dark); background: #fff9fb; }
.quicklink span { overflow-wrap: anywhere; }

/* Softer editorial components across the rest of the existing page */
.section--blush { background: #fcf8fa; }
.section--petal { background: #fdf9fa; }
.lcard,.tcard,.contact-panel,.map-consent { border-color: #f0e8eb; box-shadow: 0 8px 25px rgba(29,42,56,.045); }
.lcard { border-radius: 9px; }
.lcard__media { aspect-ratio: 16/9; }
.tcard { border-radius: 10px; }
.tcard__avatar { box-shadow: 0 0 0 5px #fff3f7; }
.gallery__item { border-radius: 7px; }
.site-footer { background: #faf7f8; }

@media (max-width: 1199.98px) {
  .hero__panel { right: 4%; width: 44%; padding: 1.7rem; }
  .hero h1 { font-size: clamp(1.4rem, 2.5vw, 1.95rem); }
  .navbar .nav-link { padding: .65rem .65rem; font-size: .76rem; }
}
@media (max-width: 991.98px) {
  .site-nav { min-height: 76px; }
  .brand-logo-img { height: 46px; width: auto; }
  #hauptmenu { max-height: calc(100dvh - 76px); }
  #hauptmenu .navbar-nav { padding: .6rem 0 1rem; }
  #hauptmenu .nav-link { font-size: .86rem; padding: .75rem .7rem; }
  #hauptmenu .nav-link::after { display: none; }
  #hauptmenu .nav-link:hover,#hauptmenu .nav-link:focus { color: var(--rose); background: #fff6f9; }
  .hero { padding: 14px 0 0; }
  .hero__canvas { height: 490px; }
  .hero__portrait { width: 72%; }
  .hero__panel { width: 49%; right: 3%; }
  .quicklinks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quicklink { min-height: 76px; }
  .quicklink:nth-child(2)::after { display: none; }
  .quicklink:nth-child(-n+2) { border-bottom: 1px solid #f3edf0; }
}
@media (max-width: 650px) {
  .hero__container { padding-left: 0; padding-right: 0; }
  .hero__canvas { height: auto; overflow: visible; display: flex; flex-direction: column; background: #f5f3f4; }
  .hero__portrait { position: relative; display: block; width: 100%; height: min(104vw, 420px); object-fit: cover; object-position: center 28%; }
  .hero__canvas::after { display: none; }
  .hero__panel { position: relative; width: auto; max-width: none; top: auto; right: auto; transform: none; margin: -28px 18px 20px; padding: 1.5rem 1.3rem; }
  .hero h1 { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .hero__lead { font-size: .96rem; }
  .hero__eyebrow { font-size: .7rem; }
  .quicklinks__grid { padding: 0 .5rem; }
  .quicklink { min-height: 82px; padding: .7rem .3rem; gap: .5rem; flex-direction: column; text-align: center; font-size: .71rem; line-height: 1.35; }
  .quicklink svg { width: 23px; height: 23px; }
  .quicklink:not(:last-child)::after { display: none; }
  .quicklink:nth-child(odd) { border-right: 1px solid #f3edf0; }
  .section { padding: 3.5rem 0; }
  .section h2 { font-size: 1.7rem; }
  .hours-table { table-layout: fixed; }
  .contact-panel { padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__panel,.quicklink { transition: none; }
}

/* Mobile horizontal-scroll lock (2026-10-14)
   Constrain the root viewport as well as the body. In mobile Safari,
   overflow-x: clip on body alone may not prevent lateral rubber-banding. */
@media (max-width: 991.98px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overscroll-behavior-x: none;
  }
  /* Nur html bekommt "hidden" (wirkt auf den Viewport). body bekommt "clip":
     "hidden" auf html UND body macht body zum eigenen Scroll-Container –
     dann klebt der Header (position: sticky) nicht mehr oben und das Menü verschwindet. */
  html { overflow-x: hidden; }
  body { overflow-x: clip; }
}

/* Team: calm editorial cards, full details visible without popups. */
#team-liste { align-items: stretch; }
#team-liste > [role="listitem"] { display: flex; }
.tcard {
  width: 100%; padding: 0 0 1.5rem; border: 0; border-radius: 0;
  box-shadow: none; background: #fff; text-align: left;
  display: flex; flex-direction: column; align-items: stretch;
  transition: none;
}
.tcard__avatar {
  width: 100%; height: auto; aspect-ratio: 4 / 5;
  margin: 0 0 1.2rem; border-radius: 0; box-shadow: none;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #f7eff2;
}
.tcard__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; transition: none; }
.tcard__avatar--initials { font-size: 3.5rem; }
.tcard__body { padding: 0 .2rem; width: 100%; }
.tcard__name {
  font-family: 'Mulish', system-ui, sans-serif; font-weight: 700;
  font-size: 1.1rem; letter-spacing: -.01em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 .85rem;
}
.tcard__role { color: var(--ink); font-size: .96rem; font-weight: 400; margin: 0 0 .15rem; }
.tcard__since { color: var(--soft); font-size: .92rem; margin: 0 0 1.4rem; }
.tcard__text { margin: .6rem 0 0; flex: none; line-height: 1.6; }
.tcard__section { margin-top: 1.35rem; }
.tcard__section-title {
  font-family: 'Mulish', system-ui, sans-serif; font-weight: 700;
  font-size: .94rem; line-height: 1.4; margin: 0 0 .7rem; color: var(--ink);
}
.tcard__points { list-style: none; padding: 0; margin: 0; }
.tcard__points li { position: relative; padding-left: 1.5rem; margin: 0 0 .55rem; line-height: 1.55; font-size: .91rem; overflow-wrap: anywhere; }
.tcard__points li::before {
  content: ''; position: absolute; left: .12rem; top: .53rem;
  width: .48rem; height: .48rem; border-top: 2.5px solid var(--rose);
  border-right: 2.5px solid var(--rose); transform: rotate(45deg);
}
.tcard__points strong { font-weight: 700; }
@media (max-width: 767.98px) {
  #team-liste { row-gap: 2.4rem; }
  .tcard__avatar { max-height: 480px; }
}

/* Online-Terminbuchung nach Schließen des externen Dialogs neu laden */
.termin-toolbar{display:flex;justify-content:flex-end;margin:0 0 .85rem}
.termin-toolbar .btn{font-size:.88rem}
#termin-frame-host{min-width:0}
#termin-frame-host iframe{display:block;width:100%;max-width:100%}
@media(max-width:575.98px){.termin-toolbar{justify-content:stretch}.termin-toolbar .btn{width:100%}}

/* SEO-Edition: Leistungsdetails ohne JavaScript, mobile Navigation ohne Bootstrap JS. */
.lcard { cursor: default; }
.lcard__details { border-top:1px solid var(--line); margin-top:.6rem; padding-top:.65rem; }
.lcard__details summary { cursor:pointer; color:var(--rose); font-weight:700; padding:.35rem 0; }
.lcard__details summary:focus-visible { outline:2px solid var(--rose); outline-offset:3px; }
.lcard__details-content { color:var(--ink); font-size:.94rem; line-height:1.6; padding:.6rem 0; }
.lcard__details-content h4 { font-size:1rem; margin:1rem 0 .4rem; }
.lcard__details-content ul { padding-left:1.2rem; }
.gallery__item { display:block; }
[hidden] { display:none !important; }

.gallery-dialog { border:0; border-radius:10px; background:#fff; padding:2.6rem 1rem 1rem; max-width:min(94vw,1100px); max-height:94vh; box-shadow:0 18px 70px #0004; }
.gallery-dialog::backdrop { background:rgba(15,22,32,.82); }
.gallery-dialog img { display:block; max-width:100%; max-height:calc(94vh - 5rem); object-fit:contain; }
.gallery-dialog__close { position:absolute; top:.3rem; right:.65rem; border:0; background:transparent; font-size:2rem; cursor:pointer; color:var(--ink); }

/* Team-Layout 2026-10-14: Ärzte einzeln mit Qualifikationen neben dem Foto;
   Praxismitarbeitende darunter im 3-Spalten-Raster. */
.team-layout { width:100%; min-width:0; }
.team-doctors { display:flex; flex-direction:column; gap:3.5rem; }
.team-doctors__item { width:100%; min-width:0; }
.team-doctors .tcard--doctor {
  display:grid; grid-template-columns:minmax(220px, 31%) minmax(0, 1fr);
  align-items:start; gap:clamp(1.5rem, 4.5vw, 4rem);
  padding:0; margin:0; min-width:0;
}
.team-doctors .tcard__avatar { width:100%; max-width:none; aspect-ratio:4 / 5; max-height:none; margin:0; }
.team-doctors .tcard__body { min-width:0; padding:.15rem 0 0; }
.team-doctors .tcard__name { font-size:clamp(1.2rem, 2.1vw, 1.65rem); margin-bottom:.65rem; }
.team-doctors .tcard__role { font-size:1rem; }
.team-doctors .tcard__since { margin-bottom:1.25rem; }
.team-doctors .tcard__section { margin-top:1.2rem; }
.team-doctors .tcard__points li { font-size:.96rem; }
.team-employees { margin-top:clamp(3rem, 6vw, 5rem); padding-top:clamp(2rem, 4vw, 3rem); border-top:1px solid var(--line); }
.team-employees [role="listitem"] { display:flex; }
.team-employees .tcard--employee { width:100%; }
@media (max-width:767.98px) {
  .team-doctors { gap:2.8rem; }
  .team-doctors .tcard--doctor { grid-template-columns:1fr; gap:1.1rem; }
  .team-doctors .tcard__avatar { max-width:420px; max-height:480px; }
  .team-doctors .tcard__body { padding:0 .15rem; }
  .team-employees { margin-top:2.8rem; padding-top:2rem; }
}


/* 2026-10-14 – Editorial notices and calm homepage motion. */
#hinweise-container { max-width: 1320px; margin: 0 auto; padding: 8px 12px 28px; }
#hinweise-container:empty { display: none; }
/* Editorial-Kacheln (Variante C). Farbe nur als Akzent: Info = blau-grün, Warnung = amber, Wichtig = rot */
/* Zwei unabhängige Spalten (max. zwei Hinweise nebeneinander); jede Kachel nur so hoch wie ihr Inhalt.
   Ein einzelner Hinweis belegt die linke Hälfte. */
#hinweise-container .notices-grid { display: flex; align-items: flex-start; gap: 16px; margin-top: 16px; }
#hinweise-container .notices-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
#hinweise-container .notice {
  --notice-accent: #16708c;
  position: relative; background: var(--blush); border: 0; border-radius: 18px; overflow: hidden;
  padding: 20px 52px 18px 24px; animation: notice-appear .42s ease-out both;
}
#hinweise-container .notice::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--notice-accent); }
#hinweise-container .notice--warnung { --notice-accent: #9a6716; }
#hinweise-container .notice--wichtig { --notice-accent: #b42318; }
#hinweise-container .notice--empfehlung { --notice-accent: #7a4b7f; }
/* Kachel mit Bild (z. B. Empfehlung): Bild vollständig und unverzerrt, die Kachel richtet sich nach dem Bild.
   Neben dem Text höchstens in Originalgröße (max. 320 px), bei drei Kacheln pro Zeile und am Handy über dem Text. */
#hinweise-container .notice--has-img { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: center; gap: 0 20px; padding: 0 52px 0 0; }
#hinweise-container .notice--has-img::before { display: none; }
#hinweise-container .notice--has-img .notice__body { padding: 20px 0 18px; }
#hinweise-container .notice__img { display: block; width: auto; max-width: min(210px, 100%); height: auto; }
#hinweise-container .notice__link { display: inline-block; margin-top: .6rem; font-weight: 700; font-size: .9rem; color: var(--notice-accent); text-decoration: none; border-bottom: 1.5px solid currentColor; }
#hinweise-container .notice__link:hover { color: var(--ink); }
#hinweise-container .notice__label { display: flex; align-items: center; gap: 8px; color: var(--notice-accent); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
#hinweise-container .notice__label svg { width: 18px; height: 18px; flex: 0 0 auto; }
#hinweise-container .notice__title { font-family: 'Spectral', Georgia, serif; font-size: 1.2rem; font-weight: 600; line-height: 1.3; margin: .4rem 0 .2rem; color: var(--ink); }
#hinweise-container .notice__text { color: #4b4252; font-size: .93rem; line-height: 1.55; margin: .3rem 0 0; }
#hinweise-container .notice__title + .notice__text { margin-top: 0; }
#hinweise-container .notice__close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: #7d7484; font-size: 1.45rem; line-height: 1; cursor: pointer; }
#hinweise-container .notice__close:hover { color: var(--ink); background: rgba(255,255,255,.75); }
#hinweise-container .notice__close:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
#hinweise-container .notices-more { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--rose-dark); font-weight: 700; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@keyframes notice-appear { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }

/* Subtle, one-time hero entrance. Existing image and panel positions unchanged. */
.hero__portrait { animation: hero-photo-enter 1.15s cubic-bezier(.2,.7,.25,1) both; }
@keyframes hero-photo-enter { from { opacity: .85; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
.hero__panel { animation: hero-panel-enter .8s ease-out .12s both; }
@keyframes hero-panel-enter { from { opacity: 0; transform: translateY(calc(-50% + 14px)); } to { opacity: 1; transform: translateY(-50%); } }
.quicklink { transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .quicklink:hover { box-shadow: inset 0 -3px 0 var(--rose); }
  .quicklink svg { transition: transform .2s ease; }
  .quicklink:hover svg { transform: translateY(-3px); }
}
/* JS opts in, so no content disappears if scripts are blocked. */
.motion-ready .reveal-section { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.motion-ready .reveal-section.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 650px) {
  #hinweise-container { padding: 0 12px 20px; }
  #hinweise-container .notices-grid { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 12px; }
  #hinweise-container .notices-col { display: contents; } /* Handy: eine Spalte, Reihenfolge über "order" */
  #hinweise-container .notice { padding: 16px 46px 15px 20px; }
  #hinweise-container .notice__title { font-size: 1.08rem; }
  #hinweise-container .notice--has-img,
  #hinweise-container .notices-grid[data-count] .notice--has-img { grid-template-columns: 1fr; padding: 0; }
  #hinweise-container .notice__img,
  #hinweise-container .notices-grid[data-count] .notice--has-img .notice__img { width: auto; max-width: min(230px, 100%); margin: 16px auto 0; border-radius: 8px; }
  #hinweise-container .notice--has-img .notice__body,
  #hinweise-container .notices-grid[data-count] .notice--has-img .notice__body { padding: 14px 44px 15px 20px; }
  #hinweise-container .notice__text { font-size: .88rem; }
  .hero__panel { animation-name: hero-panel-enter-mobile; }
  @keyframes hero-panel-enter-mobile { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  #hinweise-container .notice, .hero__portrait, .hero__panel { animation: none !important; }
  .motion-ready .reveal-section { opacity: 1 !important; transform: none !important; transition: none !important; }
  .quicklink, .quicklink svg { transition: none !important; }
  html { scroll-behavior: auto; }
}


/* Dezenter Widerruf direkt im Bereich Online-Terminbuchung */
.termin-privacy-actions{text-align:right;margin-top:.8rem}
.termin-revoke{background:transparent;border:0;padding:.25rem 0;color:var(--soft,#667085);font:inherit;font-size:.82rem;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.termin-revoke:hover,.termin-revoke:focus-visible{color:var(--rose,#d64f88)}
.termin-revoke:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.termin-revoke[hidden]{display:none}

/* GYNDOCS_MEDATIXX_OVERLAY: Das medatixx-Plugin setzt position:absolute und z-index:17.
   Damit läge das Overlay oben auf der Seite und unter dem Sticky-Header (z-index 1030).
   Deshalb fixiert über das ganze Fenster; die Seite dahinter scrollt solange nicht. */
.terminbuchung-overlay{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100%!important;z-index:1150!important}
.terminbuchung-overlay iframe{display:block;border:0}
html:has(.terminbuchung-overlay){overflow:hidden}

/* Rechtstexte: Abschnittsüberschriften aus dem CMS-Text (legal.php) */
.legal h2.legal-section { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin: 2rem 0 .7rem; padding-bottom: .45rem; border-bottom: 1px solid var(--line); }
.legal ul { margin: .2rem 0 1rem; padding-left: 1.2rem; }
.legal li { margin: .15rem 0; }
#hinweise-container .notice--has-img .notice__close { background: rgba(255,255,255,.85); z-index: 1; }
