/* ==========================================================================
   Praxisgemeinschaft Wilm – Toolkit
   Alle Werte 1:1 aus dem Entwurf (PraxisWebsiteStandalone).
   Aufbau:  1) Schrift  2) Design-Tokens  3) Sektionen  4) Impreza-Header
            5) Impreza-Footer  6) Responsive
   ========================================================================== */

/* ---------- 1) Schrift: Google Sans Flex, selbst gehostet ---------------- */
/* canadian-aboriginal */
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url("../fonts/gsf-canadian-aboriginal.woff2") format('woff2');
  unicode-range: U+02C7, U+02D8-02D9, U+02DB, U+0307, U+1400-167F, U+18B0-18F5, U+25CC, U+11AB0-11ABF;
}
/* cherokee */
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url("../fonts/gsf-cherokee.woff2") format('woff2');
  unicode-range: U+0300-0302, U+0304, U+030B-030C, U+0323-0324, U+0330-0331, U+13A0-13FF, U+AB70-ABBF;
}
/* math */
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url("../fonts/gsf-math.woff2") format('woff2');
  unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF;
}
/* nushu */
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url("../fonts/gsf-nushu.woff2") format('woff2');
  unicode-range: U+2003, U+3000, U+3002, U+4E00, U+FE12, U+16FE1, U+1B170-1B2FB;
}
/* symbols */
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url("../fonts/gsf-symbols.woff2") format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF;
}
/* syriac */
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url("../fonts/gsf-syriac.woff2") format('woff2');
  unicode-range: U+0303-0304, U+0307-0308, U+030A, U+0320, U+0323-0325, U+032D-032E, U+0330-0331, U+060C, U+061B-061C, U+061F, U+0621, U+0640, U+064B-0655, U+0660-066C, U+0670, U+0700-074F, U+0860-086A, U+1DF8, U+1DFA, U+200C-200F, U+25CC, U+2670-2671;
}
/* tifinagh */
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url("../fonts/gsf-tifinagh.woff2") format('woff2');
  unicode-range: U+02C7, U+0301-0302, U+0304, U+0306-0307, U+0309, U+0323, U+0331, U+200C-200D, U+202E, U+25CC, U+2D30-2D7F;
}
/* vietnamese */
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url("../fonts/gsf-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url("../fonts/gsf-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url("../fonts/gsf-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;
}

/* ---------- 2) Design-Tokens (aus dem Entwurf) --------------------------- */
:root {
  --pgw-navy:        #134A7F;
  --pgw-navy-deep:   #0d3255;
  --pgw-navy-card:   #0e3d68;
  --pgw-blue:        #1c6fd6;
  --pgw-blue-light:  #3f86d6;
  --pgw-blue-pale:   #8fbfe6;
  --pgw-bg:          #f5f8fb;
  --pgw-bg-soft:     #f2f7fa;
  --pgw-line:        #e2ebf3;
  --pgw-text:        #46586a;
  --pgw-text-mute:   #5b6b78;
  --pgw-sand:        #d8c3a0;
  --pgw-sand-dark:   #9a7b4f;
  --pgw-espresso:    #1b1712;
  --pgw-cream:       #faf6f0;
  --pgw-font: 'Google Sans Flex', system-ui, sans-serif;
  --pgw-gutter: clamp(20px, 5vw, 64px);
  --pgw-max: 1320px;
}

/* ---------- 3) Sektionen ------------------------------------------------- */
/* Reset bewusst NUR innerhalb .pgw-sec – Impreza-Styles bleiben unberuehrt. */
.pgw-sec *, .pgw-sec *::before, .pgw-sec *::after { margin:0; padding:0; box-sizing:border-box; }
.pgw-sec {
  font-family: var(--pgw-font);
  color:#134A7F; background:#f5f8fb;
  -webkit-font-smoothing:antialiased; overflow-x:clip;
}
.pgw-sec a { color:#1c6fd6; text-decoration:none; }
.pgw-sec a:hover { color:#134A7F; }
.pgw-sec .display    { font-family:var(--pgw-font); font-weight:800; letter-spacing:-0.03em; line-height:1.06; }
.pgw-sec .display-md { font-family:var(--pgw-font); font-weight:700; letter-spacing:-0.02em; }
.pgw-sec input:focus, .pgw-sec textarea:focus { outline:none; border-color:#134A7F !important; }
.pgw-sec .prose h2 { font-family:var(--pgw-font); font-weight:700; letter-spacing:-.01em; font-size:26px; margin:40px 0 14px; }
.pgw-sec .prose p  { font-size:16px; line-height:1.75; color:#3c4d5c; margin-bottom:12px; }

/* Impreza-Rahmen neutralisieren, damit Sektionen randlos sitzen wie im Entwurf */
.l-section.pgw-row > .l-section-h,
.l-section.pgw-row > .l-section-h > .g-cols > div > .vc_column-inner,
.l-section.pgw-row .w-html { padding:0 !important; margin:0 !important; max-width:none !important; }
.l-section.pgw-row { padding:0 !important; }

@keyframes pgwbob   { 0%,100%{transform:translateY(0);}          50%{transform:translateY(8px);} }
@keyframes pgwPulse { 0%,100%{opacity:.55; transform:scale(.98);} 50%{opacity:1; transform:scale(1.02);} }
@keyframes pgwKenburns { from{transform:scale(1);} to{transform:scale(1.09);} }

/* Reveal-Animation (wird per JS aktiviert, Fallback: sichtbar) */
.pgw-sec [data-reveal] { opacity:0; }
.pgw-js-off .pgw-sec [data-reveal] { opacity:1 !important; transform:none !important; }

/* ---------- 4) Impreza-Header -------------------------------------------- */
/* Der Header wird nativ im Impreza Header Builder gebaut. Diese Regeln
   bringen ihn exakt auf die Optik des Entwurfs. Klasse .pgw-header wird per
   body_class + Header-Element-Klassen gesetzt.                              */
body.pgw-site .l-header.pgw-header {
  font-family: var(--pgw-font);
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
body.pgw-site .l-header.pgw-header .l-subheader.at_middle { padding:20px 0; transition:padding .4s ease; }
body.pgw-site .l-header.pgw-header .l-subheader-h { max-width:none; padding:0 var(--pgw-gutter); }

/* Transparenter Zustand (ueber dem Hero) */
body.pgw-site .l-header.pgw-header:not(.pgw-solid) { background:transparent !important; box-shadow:none !important; }
body.pgw-site .l-header.pgw-header:not(.pgw-solid) .w-nav-anchor,
body.pgw-site .l-header.pgw-header:not(.pgw-solid) .w-nav-title { color:#fff !important; }

/* Sticky-/Solid-Zustand */
body.pgw-site .l-header.pgw-header.pgw-solid {
  background: rgba(245,248,251,.9) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -18px rgba(19,74,127,.35) !important;
}
body.pgw-site .l-header.pgw-header.pgw-solid .l-subheader.at_middle { padding:13px 0; }
body.pgw-site .l-header.pgw-header.pgw-solid .w-nav-anchor,
body.pgw-site .l-header.pgw-header.pgw-solid .w-nav-title { color:#134A7F !important; }

/* Logo-Wechsel weiss <-> navy */
body.pgw-site .l-header.pgw-header .w-img-h { display:block; }
body.pgw-site .l-header.pgw-header .w-img.pgw-logo img { height:42px; width:auto; display:block; transition:height .4s ease; }
body.pgw-site .l-header.pgw-header.pgw-solid .w-img.pgw-logo img { height:38px; }
body.pgw-site .l-header.pgw-header .w-img.pgw-logo .for_default { display:block; }
body.pgw-site .l-header.pgw-header .w-img.pgw-logo .for_transparent { display:none; }
body.pgw-site .l-header.pgw-header:not(.pgw-solid) .w-img.pgw-logo .for_default { display:none; }
body.pgw-site .l-header.pgw-header:not(.pgw-solid) .w-img.pgw-logo .for_transparent { display:block; }

/* Navigation */
body.pgw-site .l-header.pgw-header .w-nav-list.level_1 { gap:34px; }
body.pgw-site .l-header.pgw-header .w-nav-anchor.level_1 {
  font-size:15px; font-weight:600; padding:0; height:auto; transition:color .3s ease;
}
body.pgw-site .l-header.pgw-header .w-nav-anchor.level_1:hover { opacity:.75; }

/* CTA-Pille „Termin anfragen“ */
body.pgw-site .l-header.pgw-header .pgw-cta .w-btn,
body.pgw-site .l-header.pgw-header a.pgw-cta {
  color:#eaf2fb !important; background:#134A7F !important;
  font-size:14px; font-weight:700; padding:12px 24px; border-radius:100px;
  border:none; transition:all .3s ease;
}
body.pgw-site .l-header.pgw-header .pgw-cta .w-btn:hover,
body.pgw-site .l-header.pgw-header a.pgw-cta:hover { background:#0e3a66 !important; transform:translateY(-1px); }

/* Burger + Mobile-Overlay */
body.pgw-site .l-header.pgw-header .w-nav-control { color:#fff; }
body.pgw-site .l-header.pgw-header.pgw-solid .w-nav-control { color:#134A7F; }
body.pgw-site .l-header.pgw-header .w-nav.type_mobile .w-nav-list.level_1 {
  background:#134A7F; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:26px;
}
body.pgw-site .l-header.pgw-header .w-nav.type_mobile .w-nav-anchor.level_1 {
  color:#fff !important; font-family:var(--pgw-font);
  font-weight:700; letter-spacing:-0.02em; font-size:34px;
}

/* Header ueberlagert die erste Sektion (Hero) */
body.pgw-site .l-header.pos_fixed ~ .l-main .pgw-sec:first-child { margin-top:0; }

/* ---------- 5) Impreza-Footer -------------------------------------------- */
body.pgw-site .l-footer.pgw-footer,
body.pgw-site .pgw-footer {
  background:#0d3255; color:#8fabc2; font-family:var(--pgw-font);
}
body.pgw-site .pgw-footer, body.pgw-site .pgw-footer *,
body.pgw-site .pgw-kontakt-grid, body.pgw-site .pgw-kontakt-grid * { box-sizing:border-box; }
body.pgw-site .pgw-footer .l-section-h {
  max-width:1320px; margin-left:auto; margin-right:auto;
  padding-left:var(--pgw-gutter); padding-right:var(--pgw-gutter);
}
body.pgw-site .pgw-footer a { color:#8fabc2; text-decoration:none; transition:color .25s ease; }
body.pgw-site .pgw-footer a:hover { color:#fff; }
body.pgw-site .pgw-footer .pgw-footer-top { padding:clamp(56px,7vw,88px) 0 40px; }
body.pgw-site .pgw-footer .pgw-footer-label {
  color:#fff; font-size:13px; letter-spacing:.2em; text-transform:uppercase;
  margin-bottom:18px; font-weight:600;
}
body.pgw-site .pgw-footer .pgw-footer-claim { font-size:15px; line-height:1.7; max-width:34ch; }
body.pgw-site .pgw-footer .pgw-footer-logo img { height:38px; width:auto; display:block; margin-bottom:20px; }
body.pgw-site .pgw-footer .pgw-footer-links .menu,
body.pgw-site .pgw-footer .pgw-footer-links ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
body.pgw-site .pgw-footer .pgw-footer-links li { margin:0; font-size:15px; }
body.pgw-site .pgw-footer .pgw-footer-contact { display:flex; flex-direction:column; gap:12px; font-size:15px; }
body.pgw-site .pgw-footer .pgw-footer-bottom { border-top:1px solid rgba(255,255,255,.1); }
body.pgw-site .pgw-footer .pgw-footer-bottom .l-section-h { padding-top:22px; padding-bottom:22px; }
body.pgw-site .pgw-footer .pgw-footer-bottom-inner {
  display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; font-size:14px;
}
body.pgw-site .pgw-footer .pgw-footer-legal { display:flex; gap:24px; }
body.pgw-site .pgw-footer .pgw-footer-legal ul { list-style:none; margin:0; padding:0; display:flex; gap:24px; }
body.pgw-site .pgw-footer .pgw-footer-legal li { margin:0; }

/* ---------- 6) Responsive (Breakpoints wie im Entwurf) ------------------- */
@media (max-width:900px) {
  .pgw-sec .grid3 { grid-template-columns:1fr !important; }
  .pgw-sec .grid2 { grid-template-columns:1fr !important; }
  .pgw-sec .infoBar { grid-template-columns:1fr !important; }
  .pgw-sec .infoBar > div { border-right:none !important; border-bottom:1px solid rgba(255,255,255,.14) !important; }
  .pgw-sec .hStop   { display:none !important; }
  .pgw-sec .hMobile { display:grid !important; }
  .pgw-sec .aesthText { max-width:100% !important; }
  #pgw-heroWrap { height:170vh !important; }
  .pgw-sec .hero-content { padding-top:104px !important; }
  #pgw-aesthImg { width:100% !important; opacity:.28 !important; }
}
@media (max-width:560px) {
  .pgw-sec .hero-content h1 { font-size:clamp(40px,13vw,66px) !important; }
  #pgw-scrollHint { display:none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .pgw-sec [data-reveal] { opacity:1 !important; transform:none !important; transition:none !important; }
  #pgw-heroImg, #pgw-aesthImg, .pgw-sec .hero-content { transform:none !important; }
}

/* ---------- 7) Footer-Spaltenbreiten & Menues ---------------------------- */
/* Entwurf: grid-template-columns 1.4fr 1fr 1fr, gap 40px                    */
body.pgw-site .pgw-footer-top .g-cols {
  display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; align-items:start;
}
body.pgw-site .pgw-footer .w-html, body.pgw-site .pgw-footer .w-text { margin:0; }

body.pgw-site .pgw-menu-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
body.pgw-site .pgw-menu-list li { margin:0; font-size:15px; }
body.pgw-site .pgw-footer-legal .pgw-menu-list { flex-direction:row; gap:24px; }

@media (max-width:900px) {
  body.pgw-site .pgw-footer-top .g-cols { grid-template-columns:1fr; }
}

/* ---------- 8) Formular-Rueckmeldung ------------------------------------ */
.pgw-sec .pgw-form-status:empty { display:none; }
.pgw-sec .pgw-form-status[data-state="ok"]    { color:#134A7F; }
.pgw-sec .pgw-form-status[data-state="error"] { color:#a4432a; }

/* ---------- 9) Ken-Burns (optional, per Einstellung) -------------------- */
/* Im Entwurf referenziert, dort aber ohne Keyframes – daher standardmaessig
   aus. Aktivierung: body-Klasse pgw-kenburns setzen.                       */
body.pgw-kenburns .pgw-sec img[style*="kenburns"] { animation:pgwKenburns 22s ease-in-out infinite alternate; }

/* ---------- 10) Kontakt als zweispaltige Impreza-Zeile ------------------- */
/* Entwurf: grid-template-columns 1fr 1.1fr, gap clamp(40px,6vw,84px),
   max-width 1280px, padding clamp(56px,8vw,110px) clamp(20px,5vw,64px)      */
body.pgw-site .l-section.pgw-kontakt-grid > .l-section-h {
  max-width:1280px !important; margin-left:auto !important; margin-right:auto !important;
  padding:clamp(56px,8vw,110px) clamp(20px,5vw,64px) !important;
}
body.pgw-site .pgw-kontakt-grid .g-cols {
  display:grid; grid-template-columns:1fr 1.1fr; gap:clamp(40px,6vw,84px); align-items:start;
}
@media (max-width:900px) {
  body.pgw-site .pgw-kontakt-grid .g-cols { grid-template-columns:1fr; }
}
