/* ═══════════════════════════════════════════════════════════════
   Märkische Hoffnung — style.css
   Basis, Design-System, Layout
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
  --red:         #7A1515;
  --red-dark:    #4A0808;
  --red-light:   #F7EEE8;
  --cream:       #F7F2EA;
  --warm:        #D4A574;
  --dark:        #1E0D0D;
  --text:        #2C1810;
  --text-muted:  #5A3D3D;
  --border:      rgba(122, 21, 21, 0.12);

  --font: 'Inter', sans-serif;

  --section-py: clamp(48px, 8vw, 96px);
  --container:  1100px;
  --gap:        clamp(16px, 3vw, 24px);

  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:      cubic-bezier(0, 0, 0.2, 1);
  --ease-in:       cubic-bezier(0.4, 0, 1, 1);
  --duration:      0.6s;
  --duration-slow: 0.9s;
  --duration-fast: 0.3s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

/* ── Seitenübergang Fade ──────────────────────────────────────── */
body {
  animation: pageFadeIn 0.35s ease both;
}

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

body {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Typografie ───────────────────────────────────────────────── */
h1 {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--dark);
}

h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--dark);
}

h3 {
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 500;
  color: var(--dark);
}

.label, .eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

em {
  font-style: italic;
}

/* ── Container ────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ── Section ──────────────────────────────────────────────────── */
.section {
  padding: var(--section-py) 0;
}

.section-header {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-header .eyebrow {
  color: var(--red);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  min-height: 50px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--red);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  min-height: 50px;
}

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  min-height: 50px;
  transition: background var(--duration-fast) var(--ease);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ── Navbar ───────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--red);
  height: 70px;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-logo span {
  opacity: 0.7;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  position: relative;
  transition: color var(--duration-fast) var(--ease);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.btn-nav {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  margin-left: 8px;
}

.btn-nav:hover {
  background: rgba(255, 255, 255, 0.28) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  flex-shrink: 0;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.32s var(--ease),
              opacity  0.32s var(--ease);
  transform-origin: center;
}

/* Hamburger → X Morph */
.nav-burger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-burger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Page offset for fixed navbar ─────────────────────────────── */
main {
  padding-top: 70px;
}

/* ── Page Hero (inner pages) ──────────────────────────────────── */
.page-hero {
  padding: clamp(48px, 8vw, 80px) 0 clamp(36px, 6vw, 64px);
}

.page-hero.bg-red {
  background: var(--red);
  color: #fff;
}

.page-hero.bg-red h1,
.page-hero.bg-red h2,
.page-hero.bg-red h3 {
  color: #fff;
}

.page-hero.bg-red .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero.bg-dark {
  background: var(--dark);
  color: #fff;
}

.page-hero.bg-dark h1,
.page-hero.bg-dark h2,
.page-hero.bg-dark h3 {
  color: #fff;
}

.page-hero.bg-cream {
  background: var(--cream);
}

.page-hero p {
  margin-top: 16px;
  font-size: clamp(16px, 2.5vw, 18px);
  opacity: 0.85;
  max-width: 560px;
}

/* ── Hero (Startseite) ────────────────────────────────────────── */
.hero {
  min-height: calc(100svh - 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  padding: 6px 14px;
  border-radius: 100px;
  align-self: flex-start;
}

.hero h1 em {
  color: var(--red);
  font-style: normal;
}

.hero-body {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-right {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  background: #c4956a;
}

.hero-right img {
  position: absolute;
  left: 0;
  right: 0;
  top: -30px;
  width: 100%;
  height: calc(100% + 150px);
  object-fit: cover;
  object-position: center center;
  will-change: transform;
}

.hero-img-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 500;
}

.hero-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* ── Trust Strip ──────────────────────────────────────────────── */
.trust-strip-section {
  background: var(--red);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 24px;
  color: #fff;
  border-right: 0.5px solid rgba(255, 255, 255, 0.12);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.trust-item-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.trust-item-sub {
  font-size: 12px;
  opacity: 0.7;
  line-height: 1.4;
}

/* ── Services ─────────────────────────────────────────────────── */
.services-section {
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

/* ── Services Carousel (Homepage) ─────────────────────────────── */
.services-carousel {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-top: 32px;
  padding-bottom: 56px;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
  margin-left: calc(-1 * clamp(16px, 4vw, 40px));
  margin-right: calc(-1 * clamp(16px, 4vw, 40px));
  /* Mask wird per JS dynamisch gesetzt (desktop) */
}

.services-carousel::-webkit-scrollbar {
  display: none;
}

.services-carousel .service-card {
  flex: 0 0 250px;
  scroll-snap-align: start;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              opacity  0.38s cubic-bezier(0.4, 0, 0.2, 1),
              filter   0.38s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.6;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.3;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.service-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  padding: 4px 10px;
  border-radius: 100px;
  align-self: flex-start;
}

/* ── Pflegekasse Banner ───────────────────────────────────────── */
.pk-section {
  background: var(--red);
  color: #fff;
}

.pk-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.pk-left .eyebrow {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.pk-left h3 {
  color: #fff;
  font-size: clamp(20px, 3vw, 28px);
  margin-bottom: 16px;
}

.pk-left p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin-bottom: 20px;
}

.pk-link {
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity var(--duration-fast) var(--ease);
}

.pk-link:hover {
  opacity: 1;
}

.pk-amount-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 32px 40px;
  text-align: center;
  min-width: 220px;
  color: #fff;
}

.pk-amount {
  font-size: clamp(52px, 7vw, 72px);
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.pk-currency {
  font-size: clamp(28px, 4vw, 40px);
  opacity: 0.8;
}

.pk-amount-sub {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* ── Über uns Teaser ──────────────────────────────────────────── */
.about-section {
  background: var(--cream);
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.about-img {
  border-radius: 16px;
  overflow: hidden;
  min-height: 380px;
  background: #c4956a;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.about-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-img-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-content .eyebrow {
  color: var(--red);
}

.about-quote {
  font-size: clamp(20px, 2.8vw, 26px);
  font-style: italic;
  line-height: 1.4;
  color: var(--dark);
  font-weight: 400;
}

.about-content p {
  color: var(--text-muted);
  line-height: 1.75;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.about-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
  overflow: hidden;
}

.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-sig-name {
  font-weight: 500;
  font-size: 14px;
  color: var(--dark);
  line-height: 1.3;
}

.about-sig-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.text-link {
  color: var(--red);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--duration-fast) var(--ease);
}

.text-link:hover {
  gap: 10px;
}

/* ── Social Media Section ─────────────────────────────────────── */
.social-section {
  background: #fff;
}

/* ── Social Follow Buttons ────────────────────────────────────── */
.btn-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #E1306C, #833AB4, #F77737);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-fb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1877F2;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-tt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
}

/* ── Video Grid ───────────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.video-card {
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 4px 24px rgba(30, 13, 13, 0.12);
  position: relative;
  cursor: pointer;
}

.video-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ── Custom Video UI ──────────────────────────────────────────── */
.video-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn {
  pointer-events: all;
  width: 68px;
  height: 68px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: opacity 0.3s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.video-play-btn:active {
  transform: scale(0.92);
}

.video-play-btn .icon-pause {
  display: none;
}

.video-card.playing .video-play-btn {
  opacity: 0;
  pointer-events: none;
}

.video-card.playing:hover .video-play-btn {
  opacity: 1;
  pointer-events: all;
}

.video-card.playing .video-play-btn .icon-play { display: none; }
.video-card.playing .video-play-btn .icon-pause { display: block; }

.video-sound-btn {
  pointer-events: all;
  position: absolute;
  bottom: 18px;
  right: 14px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s ease;
}

.video-sound-btn:hover { transform: scale(1.1); }
.video-sound-btn:active { transform: scale(0.92); }

.video-sound-btn .icon-sound { display: none; }
.video-card.unmuted .video-sound-btn .icon-muted { display: none; }
.video-card.unmuted .video-sound-btn .icon-sound { display: flex; }

/* ── Social Follow ────────────────────────────────────────────── */
.social-follow {
  text-align: center;
}

.social-follow-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.social-follow-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.feed-scroll-hint {
  display: none;
}

/* ── Region Section ───────────────────────────────────────────── */
.region-section {
  background: var(--cream);
}

.region {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.region-content .eyebrow {
  color: var(--red);
  margin-bottom: 12px;
}

.region-content h2 {
  margin-bottom: 12px;
}

.region-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.region-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.region-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.region-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.map-placeholder {
  border-radius: 16px;
  overflow: hidden;
  min-height: 360px;
  background: #e8e0d8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
  border: 1px solid var(--border);
}

.map-placeholder svg {
  opacity: 0.4;
}

/* ── Einzugsgebiet: Karte ─────────────────────────────────────── */
.region-map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.region-map-wrap > div {
  width: 100%;
  height: 420px;
}

/* Leaflet Attribution dezenter machen */
.leaflet-control-attribution {
  font-size: 10px !important;
  opacity: 0.6;
}

/* ── Einzugsgebiet: District Cards ────────────────────────────── */
.region-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}

.region-intro .eyebrow {
  color: var(--red);
  margin-bottom: 12px;
}

.district-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.district-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.district-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.district-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.district-name {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
  color: var(--dark);
  line-height: 1.25;
}

.district-line {
  height: 2px;
  background: var(--red);
  width: 0;
  border-radius: 2px;
  transition: width 0.7s var(--ease-out) 0.3s;
}

.district-card.visible .district-line {
  width: 100%;
}

.district-towns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.town-pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--cream);
  color: var(--text);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease-out) calc(0.35s + var(--i, 0) * 0.07s),
              transform 0.35s var(--ease-out) calc(0.35s + var(--i, 0) * 0.07s);
}

.district-card.visible .town-pill {
  opacity: 1;
  transform: translateY(0);
}

.town-pill.note {
  color: var(--text-muted);
  font-style: italic;
  background: transparent;
  border-color: transparent;
  padding-left: 0;
}

/* ── Jobs Teaser ──────────────────────────────────────────────── */
.jobs-section {
  background: var(--dark);
  color: #fff;
}

.jobs-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.jobs-content .eyebrow {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.jobs-content h3 {
  color: #fff;
  font-size: clamp(20px, 3vw, 28px);
  margin-bottom: 12px;
}

.jobs-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  max-width: 420px;
}

.jobs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.chip {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
}

/* ── Kontakt Section ──────────────────────────────────────────── */
.contact-section {
  background: var(--cream);
}

.contact-section .section-header .eyebrow {
  color: var(--red);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 4px;
}

.contact-card .eyebrow {
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-card-main {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.35;
  word-break: break-all;
}

.contact-card-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Footer ───────────────────────────────────────────────────── */
/* ── Google Reviews ──────────────────────────────────────────── */
.reviews-section {
  background: #fff;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviews-g-logo {
  flex-shrink: 0;
}

.reviews-score {
  font-size: 36px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1;
}

.reviews-stars {
  color: #FBBC04;
  font-size: 18px;
  letter-spacing: 1px;
  margin: 2px 0 4px;
}

.reviews-count {
  font-size: 13px;
  color: var(--text-muted);
}

.reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #1a73e8;
  text-decoration: none;
  border: 1.5px solid #dadce0;
  padding: 9px 16px;
  border-radius: 8px;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.reviews-link:hover {
  background: #f8f9fa;
  border-color: #bdc1c6;
}

.reviews-section {
  padding-bottom: clamp(24px, 4vw, 40px);
}

.reviews-grid {
  display: flex;
  overflow-x: auto;
  gap: 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0 16px;
  margin-left: calc(-1 * clamp(16px, 4vw, 40px));
  margin-right: calc(-1 * clamp(16px, 4vw, 40px));
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
  /* Rechts faden — zeigt dass mehr da ist */
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, #000 0%, #000 92%, transparent 100%);
}

.reviews-grid::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.review-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.review-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c, #4285F4);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}

.review-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 1px;
}

.review-g-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.review-stars-row {
  color: #FBBC04;
  font-size: 15px;
  letter-spacing: 1px;
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: #3c4043;
  flex: 1;
}

/* ── Scroll-to-Top Button ─────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 150;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(122, 21, 21, 0.35);
  opacity: 0;
  transform: translateY(12px) scale(0.85);
  transition: opacity 0.35s var(--ease),
              transform 0.35s var(--ease),
              background 0.2s var(--ease);
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--red-dark);
  transform: translateY(-2px) scale(1);
}

.scroll-top:active {
  transform: translateY(0) scale(0.94);
}

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 12px;
  text-align: right;
  color: rgba(255, 255, 255, 0.4);
}

/* ── About Page ───────────────────────────────────────────────── */
.values-section {
  background: var(--cream);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.value-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.value-card h3 {
  font-size: 17px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.promise-section {
  background: var(--red);
}

.promise-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.promise-quote {
  font-size: clamp(20px, 3vw, 28px);
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 20px;
}

.promise-author {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
}

/* ── Pflegekasse Page ─────────────────────────────────────────── */
.pk-info-section {
  background: #fff;
}

.pk-info-box {
  background: var(--red);
  border-radius: 16px;
  padding: clamp(32px, 5vw, 56px);
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
}

.pk-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.pk-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pk-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pk-step h3 {
  font-size: 17px;
}

.pk-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-section {
  background: var(--cream);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--red);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  padding-bottom: 20px;
}

/* ── Leistungen Sections ──────────────────────────────────────── */
.leistung-section {
  background: #fff;
}

.leistung-section:nth-child(even) {
  background: var(--cream);
}

.leistung-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.leistung-inner.reverse {
  direction: rtl;
}

.leistung-inner.reverse > * {
  direction: ltr;
}

.leistung-img {
  border-radius: 16px;
  overflow: hidden;
  min-height: 340px;
  position: relative;
  background: #c4956a;
}

.leistung-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leistung-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.leistung-content .eyebrow {
  color: var(--red);
}

.leistung-content p {
  color: var(--text-muted);
  line-height: 1.75;
}

.leistung-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.leistung-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.leistung-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ── Karriere Page ────────────────────────────────────────────── */
.karriere-section {
  background: #fff;
}

.karriere-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

/* ── Anforderungs-Box ────────────────────────────────────────── */
.karriere-req-box {
  background: var(--cream);
  border-radius: 16px;
  overflow: hidden;
}

.karriere-req-toggle {
  display: none;
}

.karriere-req-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.karriere-req-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.karriere-req-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}

.karriere-req-title {
  font-weight: 500;
  font-size: 14px;
  color: var(--dark);
}

.karriere-req-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.karriere-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.benefit-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-card h3 {
  font-size: 17px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Kontakt Page Form ────────────────────────────────────────── */
.contact-page-section {
  background: var(--cream);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-info-item .eyebrow {
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-info-item a {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}

.contact-info-item a:hover {
  color: var(--red);
}

.contact-info-item p {
  font-size: 13px;
  color: var(--text-muted);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 8px;
  align-self: flex-start;
  min-height: 50px;
  transition: background var(--duration-fast) var(--ease),
              transform var(--duration-fast) var(--ease);
}

.btn-wa:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

.contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--dark);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--duration-fast) var(--ease),
              background var(--duration-fast) var(--ease);
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--red);
  background: #fff;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #c0392b;
}

.form-field-error {
  display: block;
  font-size: 12px;
  color: #c0392b;
  margin-top: 4px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #f0f7f0;
  border: 1px solid rgba(42, 106, 42, 0.18);
  border-radius: 12px;
  color: #2a5a2a;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.form-error-global {
  padding: 14px 16px;
  background: #fff0f0;
  border: 1px solid rgba(122, 21, 21, 0.18);
  border-radius: 10px;
  color: var(--red);
  font-size: 13px;
  margin-bottom: 16px;
}

/* ── Impressum / Datenschutz ──────────────────────────────────── */
.legal-section {
  background: #fff;
  padding: clamp(48px, 8vw, 80px) 0;
}

.legal-content {
  max-width: 720px;
}

.legal-content h1 {
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 18px;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 15px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content a {
  color: var(--red);
  text-decoration: underline;
}

.legal-content address {
  font-style: normal;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}
