/* ==========================================================================
   LaVie Pflegeteam GmbH – Stylesheet (konsolidiert)
   Schriften: Cormorant Garamond (Überschriften), Titillium Web (Fließtext)
   Primärfarbe: #95C11F · Textfarbe: #404040
   ========================================================================== */

/* ---------- 0. SCHRIFTEN (lokal eingebunden, DSGVO-konform) -------------- */

/* Titillium Web – Light 300 */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/titillium-web-300.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/titillium-web-300-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Titillium Web – Regular 400 */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/titillium-web-400.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/titillium-web-400-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Titillium Web – SemiBold 600 */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/titillium-web-600.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/titillium-web-600-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Titillium Web – Bold 700 */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/titillium-web-700.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/titillium-web-700-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond – Italic 400 */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-italic.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-italic-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond – Italic 500 */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cormorant-garamond-500-italic.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cormorant-garamond-500-italic-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond – Italic 600 (SemiBold) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-600-italic.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-600-italic-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Shadows Into Light Two – Handschrift-Unterschrift */
@font-face {
  font-family: 'Shadows Into Light Two';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/shadows-into-light-two-400.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Shadows Into Light Two';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/shadows-into-light-two-400-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 1. RESET & VARIABLEN ----------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Farben */
  --color-primary: #95C11F;
  --color-primary-dark: #7ba619;
  --color-primary-light: #f4faea;
  --color-text: #404040;
  --color-text-soft: #6b6b6b;
  --color-bg: #ffffff;
  --color-bg-soft: #f8f7f2;
  --color-border: #e6e6e6;
  --color-footer: #2a2a2a;
  --color-footer-text: #d6d6d6;

  /* Typografie */
  --font-heading: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
  --font-body: 'Titillium Web', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --header-height: 110px;
  --header-height-mobile: 72px;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --transition: 0.25s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

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

ul,
ol {
  padding-left: 1.25em;
}

/* ---------- 2. TYPOGRAFIE ------------------------------------------------ */
h1,
h2,
h3,
h4,
h5,
h6,
.heading {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

h4 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

strong,
b {
  font-weight: 700;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
}

.eyebrow {
  font-family: var(--font-body);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.6em;
}

/* ---------- 3. LAYOUT-HELPER --------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.section--soft {
  background: var(--color-bg-soft);
}

.section--green {
  background: var(--color-primary-light);
}

.text-center {
  text-align: center;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  border: none;
  margin: 1.25rem auto 2rem;
}

.divider--left {
  margin-left: 0;
  margin-right: auto;
}

/* Skip-Link (A11y) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Fokus-Styles */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- 4. HEADER ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  box-shadow: 0 1px 0 var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-height);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.logo {
  flex-shrink: 0;
  display: inline-block;
}

.logo img {
  height: 80px;
  width: auto;
}

.header-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.92rem;
  text-align: right;
}

.header-contact a {
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.header-contact a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.header-contact .icon {
  width: 1em;
  height: 1em;
  fill: var(--color-primary);
  flex-shrink: 0;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.nav-list a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.5rem 0;
  position: relative;
  display: inline-block;
}

.nav-list a:hover,
.nav-list a:focus,
.nav-list a.active {
  color: var(--color-primary);
  text-decoration: none;
}

.nav-list a.active::after,
.nav-list a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-primary);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7em;
  vertical-align: middle;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  min-width: 230px;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  border-top: 3px solid var(--color-primary);
  list-style: none;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 200;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown li {
  padding: 0;
}

.dropdown a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.dropdown a:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.dropdown a::after {
  display: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  position: relative;
  transition: var(--transition);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--color-primary);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--color-primary);
}

/* Header divider line */
.header-divider {
  height: 4px;
  background: var(--color-primary);
}

/* ---------- 5. BUTTONS --------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

.btn-link {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  padding: 0.5rem 0;
  color: var(--color-text);
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
}

.btn-link:hover {
  border-bottom-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}

/* ---------- 6. HERO / CAROUSEL ------------------------------------------- */
.hero {
  position: relative;
  height: clamp(440px, 65vh, 720px);
  overflow: hidden;
  background: #f0f0f0;
}

.hero-page {
  height: clamp(280px, 40vh, 420px);
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.carousel-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  z-index: 5;
  padding: 1.5rem;
}

.carousel-content h1 {
  color: #fff;
  margin-bottom: 0.5em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.carousel-content p {
  font-size: clamp(1rem, 2vw, 1.4rem);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  max-width: 700px;
}

.carousel-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.carousel-btn {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  margin: 0 1rem;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.carousel-indicators {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.carousel-indicators button.active,
.carousel-indicators button:hover {
  background: var(--color-primary);
  transform: scale(1.25);
}

/* Page-Title – Titelblock auf Unterseiten (ohne Hero-Bild) */
.page-title {
  background: var(--color-bg-soft);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--color-border);
}

.page-title .eyebrow {
  margin-bottom: 0.5em;
}

.page-title h1 {
  margin-bottom: 0.25em;
}

.page-title .divider {
  margin-left: 0;
  margin-right: auto;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Inhaltsbild im Textfluss – behält natives Seitenverhältnis */
.content-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 0 0 2rem 0;
}

.content-image--right,
.content-image--left {
  max-width: 420px;
  margin-bottom: 1.25rem;
}

@media (min-width: 760px) {
  .content-image--right {
    float: right;
    margin-left: 2rem;
  }
  .content-image--left {
    float: left;
    margin-right: 2rem;
  }
}

/* Hero (Page-Hero – einfaches Bild, nur falls noch verwendet) */
.page-hero {
  position: relative;
  height: clamp(260px, 36vh, 380px);
  overflow: hidden;
  background: #1a1a1a;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.page-hero-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  z-index: 5;
  padding: 1rem;
}

.page-hero-content h1 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* ---------- 7. SERVICE GRID --------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 4px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

/* Icon-Circle (auch außerhalb von Service-Cards verwendbar) */
.icon-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--color-primary);
  display: grid;
  place-items: center;
  padding: 18px;
  flex-shrink: 0;
}

.icon-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.service-card .icon-circle {
  margin-bottom: 1.25rem;
}

/* Topic-Icon: kleinerer Icon-Kreis für Inhalts-Sektionen unter Themen-Überschriften */
.topic-icon {
  width: 64px;
  height: 64px;
  padding: 14px;
  margin-bottom: 1.25rem;
}

.service-card p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card .btn-link {
  align-self: stretch;
  margin-top: auto;
}

/* ---------- 8. INHALTSBLÖCKE -------------------------------------------- */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.content-block--reverse .content-block-image {
  order: 2;
}

.content-block-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.content-block-text h2 {
  margin-bottom: 0.5rem;
}

.content-block-text .subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  display: block;
}

/* Standard-Inhaltsspalte für Textseiten */
.prose {
  max-width: 820px;
  margin: 0 auto;
}

.prose h2,
.prose h3 {
  margin-top: 1.5em;
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  margin-bottom: 1.25em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose li::marker {
  color: var(--color-primary);
}

/* Feature-Liste mit Häkchen */
.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--color-primary);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") no-repeat center / contain;
}

/* ---------- 9. STEPS / PROCESS ------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  counter-reset: step;
}

.step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--color-border);
  position: relative;
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -22px;
  left: 1.5rem;
  background: var(--color-primary);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
}

.step h3 {
  margin-top: 0.5rem;
  font-size: 1.35rem;
}

.step p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

/* ---------- 10. KONTAKT-INFO-KARTE -------------------------------------- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-primary);
}

.contact-info-block h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.contact-info-block p {
  color: var(--color-text);
  margin-bottom: 0.4em;
}

.contact-info-block a {
  color: var(--color-text);
}

.contact-info-block a:hover {
  color: var(--color-primary);
}

/* ---------- 11. TEAM / PERSON-CARD -------------------------------------- */
.person-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-primary);
  max-width: 360px;
  margin: 0 auto;
}

.person-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
  display: block;
}

.person-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.person-card p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  margin-bottom: 0.25em;
}

/* ---------- 12. FOOTER --------------------------------------------------- */
.site-footer {
  background: var(--color-bg-soft);
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
  border-top: 4px solid var(--color-primary);
}

.footer-top {
  text-align: center;
  margin-bottom: 2.5rem;
}

.footer-top img {
  width: 120px;
  height: auto;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.footer-col p,
.footer-col a {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col a {
  display: block;
  padding: 0.15rem 0;
}

.footer-col a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.footer-extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  margin-top: 1rem;
}

.footer-extras a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.25rem;
}

.footer-extras a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.footer-extras .icon {
  width: 0.95em;
  height: 0.95em;
}

.footer-extras img.partner-logo {
  max-width: 130px;
  height: auto;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-soft);
  border-top: 1px solid var(--color-border);
}

/* ---------- 13. COOKIE-BANNER ------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-text {
  flex: 1 1 280px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-text strong {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.cookie-actions {
  flex-shrink: 0;
  display: flex;
  gap: 0.5rem;
}

/* ---------- 14. UTILITIES & SONSTIGES ----------------------------------- */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--color-primary-light);
  border-left: 4px solid var(--color-primary);
  margin-bottom: 1.5rem;
}

.intro-text {
  font-size: 1.1rem;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2rem;
  color: var(--color-text);
}

/* Handschrift-Unterschrift („Ihr Pflegeteam La Vie") */
.signature {
  font-family: 'Shadows Into Light Two', cursive;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: #77aad9;
  margin-top: 1.5rem;
  line-height: 1.2;
  font-weight: 400;
}

/* Visually hidden (screen-reader-only) */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 15. RESPONSIVE / MEDIA QUERIES ------------------------------ */
@media (max-width: 980px) {
  :root {
    --header-height: var(--header-height-mobile);
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .logo img {
    height: 56px;
  }

  .header-contact {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    order: 2;
  }

  .main-nav {
    order: 3;
    width: 100%;
    display: none;
    background: #fff;
    border-top: 1px solid var(--color-border);
    margin: 0.6rem -1.25rem -0.6rem;
    padding: 0.5rem 1.25rem 1rem;
  }

  .main-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list > li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-list > li:last-child {
    border-bottom: none;
  }

  .nav-list a {
    display: block;
    padding: 0.85rem 0;
    width: 100%;
  }

  .nav-list a::after {
    display: none !important;
  }

  .has-dropdown > a::after {
    float: right;
  }

  .has-dropdown .dropdown,
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border-top: none;
    background: var(--color-bg-soft);
    padding: 0.25rem 0 0.75rem 1rem;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    margin-bottom: 0.5rem;
    min-width: auto;
    display: none;
    width: 100%;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .content-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-block--reverse .content-block-image {
    order: 0;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 2.5rem 0;
  }

  .contact-info {
    padding: 1.5rem;
  }

  .cookie-banner {
    padding: 1.25rem;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}

@media (max-width: 420px) {
  .carousel-btn {
    width: 38px;
    height: 38px;
    margin: 0 0.5rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.88rem;
  }
}

/* Print-Styles */
@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .carousel-controls,
  .carousel-indicators,
  .menu-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .hero,
  .page-hero {
    height: auto;
  }
}

/* Reduced Motion (A11y) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
