/*
Theme Name: Praxis Lauscher
Theme URI: https://www.praxis-lauscher.de
Author: Frauenarztpraxis Lauscher Pforzheim
Description: WordPress-Theme fuer die Frauenarztpraxis Angelika Lauscher in Pforzheim.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: praxis-lauscher
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --primary:       #800a0a;
  --primary-dark:  #5a0606;
  --primary-light: #be2121;
  --rose:          #be2121;
  --rose-light:    #e8a0a0;
  --rose-pale:     #fdf0f0;
  --cream:         #faf8f8;
  --cream-dark:    #f4eded;
  --white:         #FFFFFF;
  --text:          #1a1010;
  --text-mid:      #4a3030;
  --text-light:    #7a5a5a;
  --border:        rgba(128,10,10,0.12);
  --shadow-sm:     0 2px 12px rgba(128,10,10,0.06);
  --shadow-md:     0 8px 32px rgba(128,10,10,0.10);
  --shadow-lg:     0 20px 60px rgba(128,10,10,0.14);
  --radius-sm:     6px;
  --radius-md:     14px;
  --radius-lg:     24px;
  --radius-pill:   100px;
  --transition:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height:    90px;
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Jost', system-ui, sans-serif;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-weight: 400; color: var(--text); background: var(--cream); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
address { font-style: normal; }
p { margin-bottom: 0.85rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
.display-title { font-family: var(--font-display); font-weight: 300; line-height: 1.1; letter-spacing: -0.01em; }
h1, h2, h3 { font-family: var(--font-display); }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-body); }
h5 { font-size: 0.82rem; font-weight: 700; font-family: var(--font-body); }

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary-light); margin-bottom: 1rem; font-family: var(--font-body);
}
.section-tag::before { content: ''; display: block; width: 28px; height: 1.5px; background: var(--primary-light); }
.section-tag.light { color: var(--rose-light); }
.section-tag.light::before { background: var(--rose-light); }

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
section { padding: clamp(64px, 10vw, 120px) 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   ACCESSIBILITY
============================================================ */
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--primary); color: white; padding: 8px 16px; border-radius: 0 0 6px 6px; font-size: 0.875rem; font-weight: 600; z-index: 9999; transition: top 0.2s; }
.skip-link:focus { top: 0; color: white; }
:focus-visible { outline: 2.5px solid var(--primary); outline-offset: 3px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }

/* ============================================================
   BUTTONS
============================================================ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; transition: all var(--transition); font-family: var(--font-body); cursor: pointer; border: 1.5px solid transparent; line-height: 1; }
.btn:hover { text-decoration: none; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 20px rgba(128,10,10,0.30); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: white; box-shadow: 0 6px 28px rgba(128,10,10,0.42); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; transform: translateY(-1px); }
.btn-rose { background: var(--rose); color: white; border-color: var(--rose); box-shadow: 0 4px 20px rgba(190,33,33,0.35); }
.btn-rose:hover { background: #8a0808; border-color: #8a0808; color: white; transform: translateY(-1px); }
.btn-sm { padding: 9px 20px; font-size: 0.8rem; }

/* ============================================================
   COOKIE CONSENT BANNER
============================================================ */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: var(--primary-dark); color: white; padding: 20px 24px; display: none; animation: slideUp 0.4s ease; }
#cookie-banner.visible { display: block; }
.cookie-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 260px; font-size: 0.875rem; line-height: 1.5; opacity: 0.9; }
.cookie-text a { color: var(--rose-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 12px; flex-shrink: 0; }
.btn-cookie-accept { background: var(--rose); color: white; padding: 10px 24px; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 600; font-family: var(--font-body); letter-spacing: 0.04em; transition: background var(--transition); cursor: pointer; border: none; }
.btn-cookie-accept:hover { background: var(--rose-light); color: var(--text); }
.btn-cookie-reject { background: transparent; color: rgba(255,255,255,0.7); padding: 10px 20px; border-radius: var(--radius-pill); font-size: 0.85rem; font-family: var(--font-body); border: 1px solid rgba(255,255,255,0.25); transition: all var(--transition); cursor: pointer; }
.btn-cookie-reject:hover { border-color: rgba(255,255,255,0.6); color: white; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ============================================================
   NAVIGATION
============================================================ */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-height); transition: background var(--transition), box-shadow var(--transition); }
.site-nav.scrolled { background: rgba(255,248,248,0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--border), var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; padding-top: 16px; }

.nav-logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-logo img, .nav-logo .custom-logo { height: 44px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-text .name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--primary); line-height: 1.1; }
.nav-logo-text .sub { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links li { list-style: none; position: relative; }
.nav-links a, .nav-links li > a { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mid); padding: 8px 14px; border-radius: var(--radius-pill); transition: color var(--transition), background var(--transition); display: block; }
.nav-links a:hover, .nav-links .current-menu-item > a, .nav-links .current_page_item > a { color: var(--primary); background: rgba(128,10,10,0.07); }
.nav-links .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; background: white; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); min-width: 200px; padding: 8px; display: none; z-index: 100; }
.nav-links li:hover > .sub-menu { display: block; }
.nav-links .sub-menu a { text-transform: none; letter-spacing: 0; font-size: 0.85rem; border-radius: var(--radius-sm); }
.nav-cta { background: var(--primary) !important; color: white !important; padding: 9px 22px !important; border-radius: var(--radius-pill) !important; font-weight: 600 !important; display: inline-flex; align-items: center; gap: 7px; }
.nav-cta:hover { background: var(--primary-dark) !important; color: white !important; transform: translateY(-1px); }
.nav-cta svg { width: 14px; height: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; z-index: 1001; background: none; border: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; position: fixed; inset: 0; background: var(--cream); z-index: 999; padding: calc(var(--nav-height) + 24px) 32px 40px; flex-direction: column; gap: 6px; overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--text); padding: 10px 0; border-bottom: 1px solid var(--border); transition: color var(--transition), padding-left var(--transition); }
.mobile-nav a:hover { color: var(--primary); padding-left: 12px; }
.mobile-nav .nav-phone { margin-top: 24px; font-size: 1rem; font-weight: 500; color: var(--primary); font-family: var(--font-body); border: none; }

/* ============================================================
   MAIN
============================================================ */
.site-main { padding-top: var(--nav-height); min-height: 60vh; }

/* ============================================================
   ANNOUNCEMENT BANNER
============================================================ */
.ann-modal { position: fixed; inset: 0; z-index: 9998; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ann-modal-backdrop { position: absolute; inset: 0; background: rgba(10,3,3,0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: ann-fade-in 0.3s ease; }
.ann-modal-box { position: relative; z-index: 1; background: var(--white); border-radius: var(--radius-lg); width: 100%; max-width: 480px; box-shadow: 0 24px 80px rgba(128,10,10,0.22); animation: ann-slide-up 0.35s cubic-bezier(0.34,1.56,0.64,1); overflow: hidden; }
@keyframes ann-fade-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes ann-slide-up { from { opacity: 0; transform: translateY(28px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.ann-modal-header { display: flex; align-items: center; gap: 12px; padding: 22px 24px 0; }
.ann-modal-icon { font-size: 1.9rem; line-height: 1; flex-shrink: 0; }
.ann-modal-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; flex: 1; }
.ann-modal.type-vacation .ann-modal-label,
.ann-modal.type-vacation .ann-modal-dates { color: var(--primary); }
.ann-modal.type-info .ann-modal-label,
.ann-modal.type-info .ann-modal-dates     { color: #1a6a3a; }
.ann-modal.type-warning .ann-modal-label,
.ann-modal.type-warning .ann-modal-dates  { color: #a86800; }
.ann-modal.type-announcement .ann-modal-label,
.ann-modal.type-announcement .ann-modal-dates { color: #1a4a8a; }
.ann-modal-close { margin-left: auto; flex-shrink: 0; background: var(--cream-dark); border: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-light); transition: all var(--transition); }
.ann-modal-close:hover { background: var(--border); color: var(--text); }
.ann-modal-body { padding: 18px 24px 4px; }
.ann-modal-title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; color: var(--primary-dark); line-height: 1.2; margin-bottom: 12px; }
.ann-modal-text { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }
.ann-modal-dates { display: flex; align-items: center; gap: 7px; margin: 14px 24px 0; padding: 10px 14px; background: var(--cream); border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 600; }
.ann-modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 20px 24px; margin-top: 8px; border-top: 1px solid var(--border); }
.btn-sm { padding: 9px 20px; font-size: 0.78rem; }

/* ============================================================
   HERO
============================================================ */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; padding-top: 0; overflow: hidden; }
.hero-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(100px,14vw,160px) clamp(24px,5vw,80px) clamp(60px,8vw,100px) clamp(24px,8vw,120px); background: var(--cream); position: relative; z-index: 2; }
.hero-content::after { content: ''; position: absolute; right: -1px; top: 0; bottom: 0; width: 60px; background: var(--cream); clip-path: polygon(0 0, 0% 100%, 100% 100%); z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--rose-pale); color: var(--rose); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 16px; border-radius: var(--radius-pill); margin-bottom: 1.5rem; border: 1px solid var(--rose-light); width: fit-content; animation: fadeInDown 0.7s 0.2s both; font-family: var(--font-body); }
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); flex-shrink: 0; animation: blink 2s infinite; }
.hero h1 { color: var(--primary-dark); margin-bottom: 1.2rem; animation: fadeInDown 0.7s 0.35s both; font-weight: 300; line-height: 1.1; letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; color: var(--rose); }
.hero-desc { font-size: 1.05rem; color: var(--text-mid); line-height: 1.75; max-width: 460px; margin-bottom: 2.4rem; animation: fadeInDown 0.7s 0.5s both; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeInDown 0.7s 0.65s both; }
.hero-stats { display: flex; gap: 32px; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); animation: fadeInDown 0.7s 0.8s both; }
.stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; color: var(--primary); line-height: 1; display: block; }
.stat-label { font-size: 0.72rem; color: var(--text-light); font-weight: 500; letter-spacing: 0.05em; margin-top: 4px; display: block; }
.hero-image { position: relative; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; animation: scaleIn 1.2s 0.1s both; }
.hero-image-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(128,10,10,0.15) 0%, transparent 60%); }
.hero-card { position: absolute; bottom: 48px; left: -28px; background: white; border-radius: var(--radius-md); padding: 18px 22px; box-shadow: var(--shadow-lg); animation: fadeInUp 0.7s 1s both; display: flex; align-items: center; gap: 14px; }
.hero-card-icon { width: 44px; height: 44px; background: var(--rose-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--rose); flex-shrink: 0; }
.hero-card-icon svg { width: 20px; height: 20px; }
.hero-card-text .label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); font-weight: 500; display: block; }
.hero-card-text .value { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-top: 2px; display: block; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp   { from { opacity: 0; transform: translateY(18px); }  to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn    { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes blink      { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ============================================================
   NOTICE BAND
============================================================ */
.notice-band { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; padding: 0; }
.notice-inner { display: flex; align-items: stretch; }
.notice-icon-col { background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; padding: 20px 28px; flex-shrink: 0; }
.notice-icon-col svg { width: 28px; height: 28px; }
.notice-text-col { padding: 18px 28px 18px 0; flex: 1; }
.notice-text-col strong { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; display: block; margin-bottom: 4px; font-family: var(--font-body); }
.notice-text-col p { font-size: 0.92rem; opacity: 0.95; line-height: 1.55; margin: 0; }

/* ============================================================
   WELCOME / ABOUT
============================================================ */
.welcome { background: var(--white); }
.welcome .grid-2 { gap: clamp(32px, 6vw, 80px); }
.welcome-image-wrap { position: relative; }
.welcome-image-wrap .main-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.welcome-image-wrap .main-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.6s ease; }
.welcome-image-wrap .main-img:hover img { transform: scale(1.03); }
.welcome-image-wrap .accent-img { position: absolute; bottom: -28px; right: -28px; width: 46%; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid white; }
.welcome-image-wrap .accent-img img { width: 100%; height: 180px; object-fit: cover; }
.welcome-image-wrap .badge-years { position: absolute; top: 28px; right: -18px; background: var(--rose); color: white; border-radius: 50%; width: 88px; height: 88px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: var(--shadow-md); }
.badge-years .num { font-family: var(--font-display); font-size: 2rem; font-weight: 500; line-height: 1; }
.badge-years .lbl { font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.9; margin-top: 2px; }
.welcome-content { padding-right: 20px; }
.welcome-content p { font-size: 1rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.2rem; }
.welcome-content p strong { color: var(--primary); font-weight: 600; }
.welcome-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 2rem 0; }
.highlight-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: var(--cream); border-radius: var(--radius-sm); border-left: 3px solid var(--primary-light); }
.highlight-item .hi-icon { color: var(--primary); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.highlight-item .hi-text { font-size: 0.85rem; font-weight: 500; color: var(--text); line-height: 1.4; }

/* ============================================================
   HOURS + CONTACT BAR
============================================================ */
.info-bar { background: var(--cream-dark); padding: clamp(40px, 6vw, 72px) 0; }
.info-bar-grid { display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr; gap: 0; align-items: start; }
.info-divider { background: var(--border); }
.info-col { padding: 0 clamp(16px, 3vw, 48px); }
.info-col:first-child { padding-left: 0; }
.info-col:last-child { padding-right: 0; }
.info-col-header { display: flex; align-items: center; gap: 12px; margin-bottom: 1.2rem; }
.info-col-header .icon-wrap { width: 40px; height: 40px; background: var(--primary); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: white; flex-shrink: 0; }
.info-col-header .icon-wrap svg { width: 18px; height: 18px; }
.info-col-header h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--primary-dark); }
.hours-grid { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start; }
.hours-day { font-size: 0.82rem; font-weight: 600; color: var(--text); text-align: right; padding-top: 1px; }
.hours-time { font-size: 0.82rem; color: var(--text-mid); line-height: 1.5; }
.hours-time .closed { color: var(--text-light); font-style: italic; }
.contact-list { list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-mid); }
.contact-list li:last-child { border-bottom: none; }
.contact-list svg { width: 16px; height: 16px; color: var(--primary-light); flex-shrink: 0; margin-top: 2px; }
.contact-list a { color: var(--primary); font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.map-placeholder { border-radius: var(--radius-md); overflow: hidden; height: 200px; background: var(--cream); border: 1px solid var(--border); position: relative; }
.map-placeholder iframe { width: 100%; height: 100%; border: none; }
.map-consent-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 12px; padding: 20px; text-align: center; }
.map-consent-inner svg { color: var(--primary-light); opacity: 0.6; }
.map-consent-inner p { font-size: 0.82rem; color: var(--text-light); line-height: 1.5; margin: 0; }

/* ============================================================
   SERVICES
============================================================ */
.services { background: var(--cream); }
.services-header { text-align: center; margin-bottom: 4rem; }
.services-header h2 { color: var(--primary-dark); margin-bottom: 1rem; }
.services-header p { color: var(--text-mid); max-width: 560px; margin: 0 auto; }
.service-card { background: var(--white); border-radius: var(--radius-md); padding: 32px 28px; border: 1px solid var(--border); transition: all var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 52px; height: 52px; background: var(--rose-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--rose); font-size: 1.5rem; margin-bottom: 1.2rem; }
.service-card h4 { color: var(--primary-dark); margin-bottom: 0.6rem; }
.service-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; margin: 0; }

/* ============================================================
   TEAM
============================================================ */
.team { background: var(--white); }
.team-header { text-align: center; margin-bottom: 4rem; }
.team-header h2 { color: var(--primary-dark); margin-bottom: 1rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.team-card { text-align: center; transition: transform var(--transition); }
.team-card:hover { transform: translateY(-6px); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-photo { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/4; margin-bottom: 1.2rem; box-shadow: var(--shadow-sm); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.5s ease; }
.team-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--primary-dark); margin-bottom: 4px; }
.team-role { font-size: 0.78rem; color: var(--text-light); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }

/* ============================================================
   HEBAMME / MIDWIFE
============================================================ */
.hebamme { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: white; padding: clamp(56px, 9vw, 100px) 0; }
.hebamme-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hebamme-text h2 { color: white; margin-bottom: 1.2rem; font-weight: 300; line-height: 1.1; }
.hebamme-text p { color: rgba(255,255,255,0.82); line-height: 1.8; margin-bottom: 1rem; font-size: 1rem; }
.hebamme-features { display: flex; flex-direction: column; gap: 12px; margin: 1.8rem 0 2.4rem; }
.heb-feat { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: rgba(255,255,255,0.88); }
.heb-feat-check { width: 22px; height: 22px; border-radius: 50%; background: var(--rose); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.heb-feat-check svg { width: 12px; height: 12px; color: white; }
.hebamme-image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; position: relative; box-shadow: var(--shadow-lg); }
.hebamme-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ============================================================
   NEWS / AKTUELL
============================================================ */
.aktuell { background: var(--cream); }
.aktuell-header { margin-bottom: 3rem; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.aktuell-header h2 { color: var(--primary-dark); }
.news-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); transition: all var(--transition); }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-body { padding: 24px; }
.news-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose); margin-bottom: 0.6rem; display: block; }
.news-card h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--primary-dark); line-height: 1.3; margin-bottom: 0.6rem; }
.news-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.65; margin: 0; }

/* ============================================================
   NOTFALL
============================================================ */
.notfall { background: #fff0f0; border-top: 4px solid var(--rose); padding: clamp(40px, 6vw, 72px) 0; }
.notfall-inner { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; }
.notfall-icon { width: 70px; height: 70px; border-radius: 50%; background: var(--rose); display: flex; align-items: center; justify-content: center; flex-shrink: 0; animation: pulse-ring 2s infinite; }
.notfall-icon svg { width: 32px; height: 32px; color: white; }
@keyframes pulse-ring { 0%,100% { box-shadow: 0 0 0 0 rgba(190,33,33,0.45); } 50% { box-shadow: 0 0 0 16px rgba(190,33,33,0); } }
.notfall-text { flex: 1; min-width: 240px; }
.notfall-text h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500; color: var(--rose); margin-bottom: 0.5rem; }
.notfall-text p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.65; margin: 0; }
.notfall-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.75); padding: clamp(48px, 7vw, 80px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img, .footer-brand .custom-logo { height: 44px; width: auto; margin-bottom: 1rem; background: white; padding: 6px 10px; border-radius: var(--radius-sm); display: inline-block; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 260px; }
.footer-col h5 { color: white; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li { font-size: 0.88rem; }
.footer-col ul li a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col ul li a:hover { color: white; }
.footer-col ul li button { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color var(--transition); background: none; border: none; cursor: pointer; font-family: inherit; padding: 0; }
.footer-col ul li button:hover { color: white; }
.footer-col address { font-style: normal; font-size: 0.88rem; line-height: 1.8; }
.footer-col address a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col address a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: white; }

/* ============================================================
   INNER PAGES
============================================================ */
.page-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; padding: clamp(60px, 9vw, 100px) 0 clamp(40px, 6vw, 70px); }
.page-hero h1 { color: white; margin-bottom: 0.5rem; font-weight: 300; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1rem; margin: 0; }
.page-content-wrap { padding: 3rem 0 5rem; }
.page-content-wrap .entry-content { max-width: 820px; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--primary); margin-top: 2rem; margin-bottom: 0.75rem; }
.entry-content h2:first-child { margin-top: 0; }
.entry-content p { color: var(--text-mid); line-height: 1.8; }
.entry-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content li { color: var(--text-mid); margin-bottom: 0.4rem; line-height: 1.7; }
.entry-content a { color: var(--primary); text-decoration: underline; }
.entry-content blockquote { border-left: 4px solid var(--rose); margin: 1.5rem 0; padding: 1rem 1.5rem; background: var(--cream-dark); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--text-mid); }

/* Legal pages */
.legal-toc { background: var(--cream-dark); border-left: 4px solid var(--primary); border-radius: 0 8px 8px 0; padding: 1.4rem 1.8rem; margin-bottom: 3rem; }
.legal-toc h2 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--primary); margin-bottom: 0.7rem; font-family: var(--font-body); }
.legal-toc ol { list-style: decimal; padding-left: 1.3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.legal-toc li { font-size: 0.88rem; }
.legal-toc a { color: var(--primary); }
.legal-toc a:hover { text-decoration: underline; }
.legal-section { margin-bottom: 2.8rem; padding-bottom: 2.4rem; border-bottom: 1px solid rgba(128,10,10,0.09); }
.legal-section:last-child { border-bottom: none; }
.legal-section h2 { font-size: clamp(1.2rem,2.2vw,1.6rem); font-weight: 500; color: var(--primary); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--cream-dark); }
.legal-section h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 1.4rem 0 0.55rem; font-family: var(--font-body); }
.legal-section p, .legal-section li, .legal-section dd { font-size: 0.94rem; line-height: 1.8; color: var(--text-mid); margin-bottom: 0.7rem; }
.legal-section ul { list-style: disc; padding-left: 1.4rem; }
.legal-section a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.legal-address { font-style: normal; line-height: 1.9; font-size: 0.94rem; color: var(--text-mid); }
.legal-rights dt { font-weight: 700; color: var(--primary); margin-top: 1.1rem; font-size: 0.94rem; font-family: var(--font-body); }
.legal-rights dd { margin-left: 0; padding-left: 1rem; border-left: 3px solid var(--cream-dark); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; margin: 1rem 0; }
.legal-table th { background: var(--primary); color: white; text-align: left; padding: 9px 13px; font-weight: 600; font-size: 0.78rem; }
.legal-table td { padding: 8px 13px; border-bottom: 1px solid rgba(128,10,10,0.07); vertical-align: top; color: var(--text-mid); }
.legal-table tr:nth-child(even) td { background: var(--cream-dark); }
.legal-table code { background: rgba(128,10,10,0.07); padding: 2px 5px; border-radius: 3px; font-size: 0.84em; color: var(--primary); }

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   WORDPRESS CLASSES
============================================================ */
.alignnone { margin: 0.5rem 0; }
.aligncenter { display: block; margin: 1.5rem auto; }
.alignleft { float: left; margin: 0.5rem 1.5rem 0.5rem 0; }
.alignright { float: right; margin: 0.5rem 0 0.5rem 1.5rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.82rem; text-align: center; color: var(--text-light); margin-top: 6px; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-bar-grid { grid-template-columns: 1fr; }
  .info-divider { display: none; }
  .info-col { padding: 24px 0; border-bottom: 1px solid var(--border); }
  .info-col:last-child { border-bottom: none; }
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content::after { display: none; }
  .hero-image { height: 420px; }
  .hero-card { left: 16px; bottom: 20px; }
  .welcome-image-wrap { margin-bottom: 32px; }
  .welcome-image-wrap .accent-img { right: 12px; bottom: -20px; }
  .welcome-image-wrap .badge-years { right: 0; top: 16px; }
  .hebamme-inner { grid-template-columns: 1fr; }
  .hebamme-image { max-height: 380px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .welcome-highlights { grid-template-columns: 1fr; }
  .hero-image { height: 320px; }
  .hero-card { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
  .legal-toc ol { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .team-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
@media print {
  .site-nav, #cookie-banner, .hero-card, .mobile-nav, .ann-modal { display: none !important; }
  .site-main { padding-top: 0; }
  body { background: white; color: black; }
}
