/* ==========================================================================
   AGiL Begleiter GmbH – Alltags-Glück-im-Leben
   Design-System: aus dem Logo abgeleitet (Blattgrün #84ba35, Apfel-Orange #f0931c)
   Typografie: Fraunces (Display) + Source Sans 3 (Text)
   ========================================================================== */

:root {
  /* Farben – exakt aus dem AGiL-Logo gemessen */
  --color-primary:        #4f6f20;   /* Blattgrün dunkel – Buttons, Links */
  --color-primary-dark:   #384f17;   /* Tannengrün – Hover, Headlines */
  --color-primary-light:  #f0f6e2;   /* Salbei – helle Flächen */
  --color-brand:          #84ba35;   /* Logo-Grün – Akzente, Strahlen */
  --color-accent:         #f0931c;   /* Apfel-Orange (Logo) – Haupt-CTA */
  --color-accent-dark:    #d57e08;
  --color-accent-ink:     #3a2500;   /* Text auf Orange */
  --color-warm:           #f7f2e7;   /* Sand */
  --color-warm-dark:      #eae0cb;
  --color-heart:          #d9534f;
  --color-text:           #26301f;   /* Grün-Tinte */
  --color-text-light:     #55604b;
  --color-bg:             #fdfcf9;   /* Papier */
  --color-bg-alt:         #f6f7f0;
  --color-border:         #e4e4d8;
  --color-success:        #557722;
  --color-footer:         #212b17;

  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --container-max: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(38,48,31,0.07), 0 1px 2px rgba(38,48,31,0.05);
  --shadow-md: 0 8px 24px rgba(38,48,31,0.09);
  --shadow-lg: 0 24px 48px rgba(38,48,31,0.14);
  --transition: 0.22s ease;

  /* Signatur: Strahlenkranz aus dem Logo */
  --rays: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%2384ba35' stroke-width='7' stroke-linecap='round'%3E%3Cpath d='M60 6v20'/%3E%3Cpath d='M60 94v20'/%3E%3Cpath d='M6 60h20'/%3E%3Cpath d='M94 60h20'/%3E%3Cpath d='M22 22l14 14'/%3E%3Cpath d='M84 84l14 14'/%3E%3Cpath d='M98 22L84 36'/%3E%3Cpath d='M36 84L22 98'/%3E%3C/svg%3E");
}

/* Reset & Basis
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 17px; }
@media (min-width: 768px) { html { font-size: 18px; } }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.65;
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover, a:focus { color: var(--color-primary-dark); text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Inline-Icons (SVG) */
.ic {
  width: 1em; height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

/* Skip-Link */
.skip-link {
  position: absolute; top: -60px; left: 0;
  background: var(--color-primary); color: #fff;
  padding: var(--space-sm) var(--space-md);
  z-index: 1000; font-weight: 600;
}
.skip-link:focus { top: 0; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-md); }

/* Typografie
   ========================================================================== */
h1, h2 {
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}
h3, h4 {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.5vw + 0.6rem, 2.4rem); margin-top: var(--space-lg); }
h3 { font-size: clamp(1.15rem, 1vw + 0.7rem, 1.35rem); margin-top: var(--space-md); }
h4 { font-size: 1.05rem; }

p { margin-bottom: var(--space-sm); color: var(--color-text-light); }
p.lead { font-size: 1.18rem; color: var(--color-text); line-height: 1.6; }

/* HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,252,249,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0;
  gap: var(--space-md);
}
.logo a { display: flex; align-items: center; gap: var(--space-xs); text-decoration: none; }
.logo img { height: 52px; width: auto; }
.logo-text { display: none; }

.main-nav ul { list-style: none; display: flex; gap: 1.15rem; align-items: center; flex-wrap: wrap; }
.main-nav a {
  color: var(--color-text); font-weight: 600; font-size: 0.92rem;
  padding: var(--space-xs) 0; position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-primary); text-decoration: none;
}
.main-nav a.active::after {
  content: ""; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 3px; background: var(--color-accent); border-radius: 2px;
}

.header-cta { display: none; }

.nav-toggle {
  display: flex; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px;
  background: var(--color-primary-dark); border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 1080px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-bg); border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 620px; }
  .main-nav ul { flex-direction: column; padding: var(--space-md); align-items: stretch; gap: 0; }
  .main-nav a { display: block; padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border); font-size: 1.05rem; }
}
@media (min-width: 1081px) {
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
}

/* BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.9rem; font-size: 1.02rem; font-weight: 700;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition);
  text-decoration: none; min-height: 52px;
  font-family: inherit; line-height: 1.2; text-align: center;
}
.btn:hover, .btn:focus { text-decoration: none; }

.btn-primary {
  background: var(--color-primary); color: #fff;
  box-shadow: 0 6px 16px rgba(79,111,32,0.28);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-primary-dark); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(56,79,23,0.34);
}
.btn-accent {
  background: var(--color-accent); color: var(--color-accent-ink);
  box-shadow: 0 6px 16px rgba(240,147,28,0.3);
}
.btn-accent:hover, .btn-accent:focus {
  background: var(--color-accent-dark); color: #fff;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover, .btn-outline:focus {
  background: var(--color-primary); color: #fff;
}
.btn-lg { padding: 1.05rem 2.3rem; font-size: 1.12rem; min-height: 60px; }
.btn-block { width: 100%; }
.btn .ic { width: 1.15em; height: 1.15em; }

/* SECTIONS
   ========================================================================== */
section { padding: var(--space-xl) 0; }
@media (min-width: 768px) { section { padding: var(--space-2xl) 0; } }

.section-bg-warm { background: var(--color-warm); }
.section-bg-light { background: var(--color-bg-alt); }
.section-bg-primary {
  background: linear-gradient(150deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
}
.section-bg-primary h2, .section-bg-primary p { color: #fff; }
.section-bg-primary p { color: rgba(255,255,255,0.92); }

.section-head { text-align: center; max-width: 740px; margin: 0 auto var(--space-lg); }
.section-head .eyebrow, .eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: var(--space-xs);
}
.eyebrow::before {
  content: ""; width: 1.05em; height: 1.05em;
  background: var(--rays) no-repeat center / contain;
}

/* HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: var(--space-xl) 0 var(--space-2xl);
  background: linear-gradient(170deg, var(--color-warm) 0%, var(--color-bg) 90%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -70px; right: -70px;
  width: 420px; height: 420px;
  background: var(--rays) no-repeat center / contain;
  opacity: 0.10; z-index: 0;
  transform: rotate(12deg);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.15fr 1fr; } }

.hero h1 { margin-bottom: var(--space-md); }
.hero h1 .accent {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.14em;
  height: 0.32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 11 C 55 3, 145 3, 197 8' stroke='%23f0931c' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.hero p.lead { font-size: 1.22rem; margin-bottom: var(--space-lg); max-width: 580px; }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: var(--space-xs);
  margin-bottom: var(--space-md);
}
.badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: #fff;
  padding: 0.42rem 1rem; border-radius: var(--radius-pill);
  font-size: 0.88rem; font-weight: 600; color: var(--color-primary-dark);
  border: 1px solid var(--color-warm-dark);
  box-shadow: var(--shadow-sm);
}
.badge::before { content: "✓"; color: var(--color-brand); font-weight: 800; }

.hero-cta-group {
  display: flex; flex-wrap: wrap; gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero-phone {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 1.05rem; color: var(--color-text);
}
.hero-phone strong { font-size: 1.25rem; }
.hero-phone strong a { color: var(--color-primary-dark); }

/* Hero-Bild: organische Form, Zitat als schwebende Karte */
.hero-visual { position: relative; padding: 0 var(--space-sm); }
.hero-visual-card { background: transparent; padding: 0; box-shadow: none; text-align: left; }
.hero-visual-card img.hero-photo {
  width: 100%; max-height: none;
  border-radius: 46% 54% 52% 48% / 44% 46% 54% 56%;
  box-shadow: var(--shadow-lg);
  margin-bottom: 0;
  object-fit: cover;
  aspect-ratio: 5 / 4;
}
.hero-visual-card .quote {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  border-top: none;
  padding: 1.15rem 1.4rem 1rem;
  margin: -2.6rem 0.6rem 0 2rem;
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--color-text);
  line-height: 1.5;
}
.hero-visual-card .quote-author {
  display: block; font-family: var(--font-body); font-style: normal;
  font-weight: 700; color: var(--color-primary);
  margin: 0.4rem 1.4rem 0 2rem; padding-left: 1.4rem; font-size: 0.92rem;
}

/* TRUST BAR
   ========================================================================== */
.trust-bar {
  background: var(--color-primary-light);
  padding: var(--space-lg) 0;
  border-top: 1px solid #e3edcd;
  border-bottom: 1px solid #e3edcd;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md);
  text-align: center;
}
@media (min-width: 700px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { padding: var(--space-xs); }
.trust-item .icon {
  width: 54px; height: 54px; margin: 0 auto 0.5rem;
  background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  font-size: 1.5rem;
}
.trust-item .icon svg { width: 26px; height: 26px; }
.trust-item strong { display: block; font-size: 1rem; color: var(--color-primary-dark); }
.trust-item span { font-size: 0.9rem; color: var(--color-text-light); }

/* CARDS / GRID
   ========================================================================== */
.card-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-md);
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff; border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-brand);
}
.card .icon-box {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: var(--space-sm);
}
.icon-box svg, .service-icon svg { width: 26px; height: 26px; }
.card h3 { margin-top: 0; margin-bottom: var(--space-xs); font-size: 1.18rem; }
.card p { margin-bottom: var(--space-xs); }
.card .card-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  margin-top: var(--space-xs); font-weight: 700;
}

/* Feature-Karten (Vorteile) */
.feature-card {
  background: #fff; padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-brand);
  box-shadow: var(--shadow-sm);
}
.feature-card h3 { font-size: 1.12rem; margin-top: 0; color: var(--color-primary-dark); }

/* TESTIMONIALS
   ========================================================================== */
.testimonial {
  background: #fff; border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
}
.testimonial::before {
  content: "\201E"; position: absolute; top: -14px; left: 18px;
  font-size: 4.2rem; color: var(--color-brand); line-height: 1;
  font-family: var(--font-display); font-weight: 700;
}
.testimonial-stars { color: var(--color-accent); margin-bottom: var(--space-xs); letter-spacing: 3px; font-size: 1.05rem; }
.testimonial-text { font-style: italic; color: var(--color-text); margin-bottom: var(--space-sm); }
.testimonial-author { font-weight: 700; color: var(--color-primary-dark); }
.testimonial-role { font-size: 0.9rem; color: var(--color-text-light); }

/* CTA-SEKTION
   ========================================================================== */
.cta-section {
  position: relative;
  background: linear-gradient(150deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff; text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: ""; position: absolute; top: -60px; left: -60px;
  width: 300px; height: 300px;
  background: var(--rays) no-repeat center / contain;
  opacity: 0.12; filter: brightness(3);
}
.cta-section h2 { color: #fff; margin-top: 0; }
.cta-section p { color: rgba(255,255,255,0.92); font-size: 1.12rem; margin-bottom: var(--space-md); max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary {
  background: #fff; color: var(--color-primary-dark);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.cta-section .btn-primary:hover { background: var(--color-warm); color: var(--color-primary-dark); }
.cta-buttons {
  display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center;
  position: relative; z-index: 1;
}

/* LEISTUNGS-DETAIL
   ========================================================================== */
.service-detail {
  display: grid; grid-template-columns: 1fr; gap: var(--space-md);
  align-items: start;
  background: #fff; padding: var(--space-lg);
  border-radius: var(--radius-md); margin-bottom: var(--space-md);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
@media (min-width: 800px) {
  .service-detail { grid-template-columns: auto 1fr; gap: var(--space-lg); }
}
.service-detail .service-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; flex-shrink: 0;
}
.service-detail .service-icon svg { width: 36px; height: 36px; }
.service-detail h3 { margin-top: 0; color: var(--color-primary-dark); font-size: 1.3rem; }
.service-detail ul { list-style: none; margin-top: var(--space-sm); }
.service-detail ul li {
  position: relative; padding-left: 1.8rem; margin-bottom: 0.45rem;
  color: var(--color-text-light);
}
.service-detail ul li::before {
  content: "✓"; position: absolute; left: 0; color: var(--color-brand);
  font-weight: 800;
}

/* FORMULAR / KONTAKT
   ========================================================================== */
.contact-wrap {
  display: grid; grid-template-columns: 1fr; gap: var(--space-lg);
}
@media (min-width: 900px) { .contact-wrap { grid-template-columns: 1.2fr 1fr; } }

.contact-form {
  background: #fff; padding: var(--space-lg);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.contact-info {
  background: var(--color-warm); padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-warm-dark);
}
.contact-info h3 { margin-top: 0; color: var(--color-primary-dark); }
.contact-info-item {
  display: flex; gap: var(--space-sm); margin-bottom: var(--space-md);
}
.contact-info-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-item strong { display: block; color: var(--color-primary-dark); }
.contact-info-item a { color: var(--color-text); font-weight: 600; }

.form-group { margin-bottom: var(--space-sm); }
.form-group label {
  display: block; font-weight: 700; margin-bottom: 0.4rem; color: var(--color-text);
}
.form-group label .required { color: var(--color-heart); }
.form-control {
  width: 100%; padding: 0.9rem 1.1rem; font-size: 1rem;
  border: 2px solid var(--color-border); border-radius: var(--radius-sm);
  font-family: inherit; transition: border-color var(--transition), box-shadow var(--transition);
  background: #fff; color: var(--color-text);
}
.form-control:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(132,186,53,0.22);
}
textarea.form-control { resize: vertical; min-height: 140px; }
.form-checkbox {
  display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: var(--space-md);
  font-size: 0.95rem;
}
.form-checkbox input { margin-top: 0.3rem; min-width: 18px; min-height: 18px; accent-color: var(--color-primary); }
.form-message {
  padding: var(--space-sm); border-radius: var(--radius-sm);
  margin-top: var(--space-sm); display: none;
}
.form-message.success { background: #e4f3d7; color: #384f17; display: block; }
.form-message.error { background: #fdeaea; color: #8f2320; display: block; }

/* FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-footer); color: #cfd6c5; padding: var(--space-xl) 0 var(--space-md);
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-col h4 {
  color: #fff; font-size: 0.92rem; margin-bottom: var(--space-sm);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; display: flex; gap: 0.5rem; align-items: baseline; flex-wrap: wrap; }
.footer-col ul li .ic { color: var(--color-brand); align-self: center; }
.footer-col a { color: #cfd6c5; }
.footer-col a:hover { color: #fff; }
.footer-logo img {
  height: 76px; background: #fff; padding: 8px;
  border-radius: var(--radius-sm); margin-bottom: var(--space-sm);
}
.footer-col p { color: #9aa78c; font-size: 0.95rem; }

.footer-bottom {
  border-top: 1px solid #38452c; padding-top: var(--space-md);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm);
  font-size: 0.9rem; color: #9aa78c;
}
.footer-bottom a { color: #cfd6c5; }

/* COOKIE-BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  max-width: 520px; margin: 0 auto;
  background: #fff; padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  border-top: 5px solid var(--color-brand);
  z-index: 1001;
  display: none;
}
.cookie-banner.visible { display: block; animation: slideUp 0.4s ease; }
.cookie-overlay {
  position: fixed; inset: 0;
  background: rgba(33,43,23,0.5);
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
body.cookie-lock { overflow: hidden; }
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner h3 { font-size: 1.1rem; margin-top: 0; }
.cookie-banner p { font-size: 0.95rem; margin-bottom: var(--space-sm); }
.cookie-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-buttons .btn { padding: 0.6rem 1.3rem; min-height: 44px; font-size: 0.95rem; }

/* FLOATING CTA (Anruf-Button)
   ========================================================================== */
.floating-cta {
  position: fixed; bottom: 16px; right: 16px; z-index: 90;
  background: var(--color-accent); color: var(--color-accent-ink);
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; box-shadow: var(--shadow-lg);
  text-decoration: none; font-weight: 700;
  transition: transform var(--transition), background var(--transition);
}
.floating-cta .ic { width: 1.4em; height: 1.4em; }
.floating-cta:hover {
  background: var(--color-accent-dark); color: #fff; transform: scale(1.08);
  text-decoration: none;
}
@media (min-width: 900px) {
  .floating-cta {
    width: auto; height: 60px; padding: 0 var(--space-md);
    border-radius: var(--radius-pill); gap: 0.5rem; font-size: 1rem;
  }
  .floating-cta .ic { width: 1.2em; height: 1.2em; }
  .floating-cta::after { content: "Jetzt anrufen"; white-space: nowrap; }
}

/* BREADCRUMB
   ========================================================================== */
.breadcrumb {
  background: var(--color-bg-alt); padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb li::after { content: "›"; margin-left: 0.4rem; color: var(--color-text-light); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb li:last-child { color: var(--color-text-light); }

/* PAGE HEADER (Unterseiten)
   ========================================================================== */
.page-header {
  position: relative;
  background: linear-gradient(170deg, var(--color-warm) 0%, var(--color-bg) 100%);
  padding: var(--space-xl) 0;
  text-align: center;
  overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; top: -50px; right: -50px;
  width: 280px; height: 280px;
  background: var(--rays) no-repeat center / contain;
  opacity: 0.10; transform: rotate(12deg);
}
.page-header h1 { margin-bottom: var(--space-xs); position: relative; }
.page-header p { font-size: 1.15rem; max-width: 700px; margin: 0 auto; color: var(--color-text); position: relative; }

/* PFLEGEGRAD-TABELLE
   ========================================================================== */
.pflegegrad-table {
  background: #fff; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  width: 100%; border-collapse: collapse;
}
.pflegegrad-table th, .pflegegrad-table td {
  padding: var(--space-sm); text-align: left; border-bottom: 1px solid var(--color-border);
}
.pflegegrad-table th {
  background: var(--color-primary); color: #fff; font-weight: 700;
}
.pflegegrad-table tr:nth-child(even) td { background: var(--color-bg-alt); }
.pflegegrad-table .highlight { color: var(--color-primary-dark); font-weight: 700; }

/* ACCORDION (FAQ)
   ========================================================================== */
.faq-item {
  background: #fff; border-radius: var(--radius-sm);
  margin-bottom: var(--space-xs);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.faq-question {
  padding: var(--space-sm) var(--space-md);
  font-weight: 700; cursor: pointer; user-select: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm);
  background: #fff; color: var(--color-text); font-size: 1.05rem;
}
.faq-question:hover { background: var(--color-bg-alt); }
.faq-question::after {
  content: "+"; font-size: 1.5rem; color: var(--color-brand);
  font-weight: 400; transition: transform var(--transition);
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 var(--space-md);
}
.faq-item.open .faq-answer {
  max-height: 500px; padding: 0 var(--space-md) var(--space-md);
}

/* STANDORT-SEITEN
   ========================================================================== */
.standort-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md);
  text-align: center; margin: var(--space-lg) 0;
}
@media (min-width: 700px) { .standort-stats { grid-template-columns: repeat(4, 1fr); } }
.stat-item {
  background: #fff; padding: var(--space-md);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-brand);
}
.stat-item .stat-number {
  display: block; font-size: 2.3rem; font-weight: 600;
  font-family: var(--font-display);
  color: var(--color-primary);
}
.stat-item .stat-label { font-size: 0.95rem; color: var(--color-text-light); }

/* CONTENT-FOTOS
   ========================================================================== */
.media-figure {
  margin: 0 auto var(--space-lg);
  max-width: 920px;
}
.media-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.media-figure figcaption {
  margin-top: var(--space-xs);
  font-size: 0.9rem;
  color: var(--color-text-light);
  text-align: center;
}
.media-split {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}
@media (min-width: 860px) {
  .media-split { grid-template-columns: 1fr 1fr; }
  .media-split.reverse .media-split-text { order: 2; }
}
.media-split img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  max-height: 460px;
}

/* Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-md { margin-bottom: var(--space-md); }

/* Sanfte Einblendung im Hero */
@media (prefers-reduced-motion: no-preference) {
  .hero-content { animation: fadeUp 0.6s ease both; }
  .hero-visual { animation: fadeUp 0.6s ease 0.15s both; }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Reduzierte Animationen */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print */
@media print {
  .site-header, .site-footer, .floating-cta, .cookie-banner, .cta-section { display: none; }
}
