:root {
  /* Farben grob am Original orientiert */
  --color-bg: #ffffff;
  --color-bg-muted: #f6f7f9;
  --color-surface: #ffffff;
  --color-border-subtle: #d9dde7;

  /* Teal / Petrol als Hauptfarbe */
  --color-primary: #1f6d7a;
  --color-primary-soft: rgba(31, 109, 122, 0.09);
  --color-primary-dark: #184f57;

  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-accent: #f2b84b;
  --color-success: #16a34a;

  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);

  --container-width: 1100px;
  --nav-height: 76px;

  --transition-fast: 180ms ease-out;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* Layout */

.container {
  width: 100%;
  max-width: 100%;
  /*max-width: var(--container-width);*/
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-muted {
  background-color: var(--color-bg-muted);
}

.section-services {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;

  background: linear-gradient(
    to bottom,
    #fefdfa 0%,
	#a8beba 100%
    /*#f8df8e 100%*/
  );
}

.services-heading-wrapper {
  position: relative;
  margin-bottom: 5rem;
}

/* großes, dezentes Wort "Leistungen" im Hintergrund */
.services-ghost-label {
	  background: linear-gradient(
    to bottom,
    rgba(168, 190, 186, 0.7) 0%,
    rgba(168, 190, 186, 0.08) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
	
	
	
  position: absolute;
  top: -14rem;
  left: 2%;

  font-size: clamp(4rem, 14vw, 11.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 2rem;

  /*color: rgba(240, 215, 150, 0.20);*/
  pointer-events: none;
  user-select: none;
}

/* Section-Header in dieser Section linksbündig wie im Original */
.section-services .section-header {
  position: relative;
  text-align: left;
  max-width: 540px;
  margin-left: 0;
}

.grid {
  display: grid;
  gap: 1.6rem;
  
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-services .service-card {
  background: #ffffff;
  border-radius: 1.4rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  margin-top: 10rem;
}

.section-header {
  text-align: center;
  /* max-width: 620px; */
  width: 100%;
  margin: 0 auto 3rem auto;
}

.section-header p {
  color: var(--color-text-muted);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem 0;
}

p {
  margin: 0 0 0.75rem 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), border-color var(--transition-fast);
  box-shadow: 0 15px 30px rgba(74, 108, 247, 0.35);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(74, 108, 247, 0.4);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 25px rgba(74, 108, 247, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(74, 108, 247, 0.4);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--color-primary-soft);
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-subtle);
  box-shadow: none;
}

.btn-ghost:hover {
  background: #f9fafb;
}

.btn-small {
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
}

/* Cards */

.card {
  /*background-color: var(--color-surface);*/
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 1.7rem 1.6rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.03);
}

.card h3 {
  font-size: 1.1rem;
}

.card p {
  font-size: 0.95rem;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: box-shadow 180ms ease-out, background 180ms ease-out;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 0 0, #f97373, #facc15 35%, #4a6cf7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1rem;
  font-weight: 600;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}


.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.nav a:hover {
  color: var(--color-text);
}

.nav-cta {
  margin-left: 1rem;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
  transition: transform 150ms ease-out, opacity 150ms ease-out;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

/* Hero */

/* =============================== */
/* HERO SECTION (kompletter Block) */
/* =============================== */

.hero {
  position: relative;
  padding-top: 4.5rem;
  padding-bottom: 4rem;

  /* Vollbreite Verlauf – oben #223e40 nach unten #d8dadb */
  background: linear-gradient(
    to bottom,
    #224031 0%,
    #fefdfa 85%
  );

  color: #ffffff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: top;
  gap: 3rem;
}

/* --- HERO TEXT --- */

.hero-content h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  line-height: 1.1;
  color: #ffffff;
}

.hero-subtitle {
  color: rgb(68, 81, 82);
  max-width: 32rem;
  font-size: 0.98rem;
  margin: 18rem 0 0 0;
}

.hero .eyebrow {
  color: #ffffff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}

.hero-stat {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(6px);
}

.hero-stat-number {
  display: block;
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
}

.hero-stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-contact-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgb(68, 81, 82);
}

.hero-contact a {
  color: rgb(68, 81, 82);
  font-weight: 500;
  margin-right: 1rem;
}

.hero-contact-right {
  position: absolute;
  right: 0;
  bottom: 0;
  /*margin: 0 -22rem 1.5rem 0; /* Abstand vom Rand */
  margin: 0 -22rem 0.1rem 0; /* Abstand vom Rand */
}

/* --- HERO BUTTONS --- */

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  background: transparent;
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.17);
}

/* --- HERO MEDIA / LOGO SLOT --- */

.hero-media {
  position: relative;
  min-height: 250px;
  max-height: 800px;
    /*top: 50%;*/
   left: -55%;
   /*z-index: -1;*/
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Die Box, in der später dein Logo sitzt */
/* .hero-logo-wrapper {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 3;
  border-radius: 0;

  /* kein fester weißer Hintergrund mehr */
  /*background: transparent;

  /* Schatten optional etwas dezenter, damit es nicht wie eine Karte wirkt */
/*  box-shadow: none;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);*/

/*  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; /* wichtig: Logo darf „frei“ sein */

/*  animation: hero-float 6s ease-in-out infinite;
}*/

.hero-logo-img {
  max-width: 80%;
  height: auto;
  object-fit: contain;
  /* falls Logo sehr hell ist: ganz leicht „glow“ möglich – optional */
  /* filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45)); */
}

/* Online-Kachel im Hero (Hinweis auf Online-Termine) */
.hero-online-card {
  position: absolute;
  right: -22rem;           /* leicht nach rechts rausgeschoben */
  top: -2rem;               /* etwas oberhalb der Mitte */
  transform: rotate(4deg);
  background: #faf3e6; /* leicht gebrochenes Weiß */
  border: 2px solid #fffdfa; /* feiner Gelb-Akzent */
  color: #224031;
  padding: 0.9rem 1.2rem;
  border-radius: 1rem;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
  max-width: 230px;
  z-index: 5;             /* sicher über Logo & Hintergrund */
}

.hero-online-eyebrow {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.25rem;
  opacity: 0.9;
}

.hero-online-card strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.hero-online-sub {
  display: block;
  font-size: 0.8rem;
  opacity: 0.95;
}

/* Hausbesuche-Kachel im Hero (Hinweis auf Hausbesuche) */
.hero-visit-card {
  position: absolute;
  right: -22rem;           /* leicht nach rechts rausgeschoben */
  top: 9rem;               /* etwas oberhalb der Mitte */
  transform: rotate(4deg);
  background: #dfe8df; /* leicht gebrochenes Weiß */
  border: 2px solid #fffdfa; /* feiner Gelb-Akzent */
  color: #224031;
  padding: 0.9rem 1.2rem;
  border-radius: 1rem;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
  max-width: 230px;
  z-index: 5;             /* sicher über Logo & Hintergrund */
}
.hero-visit-eyebrow {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.25rem;
  opacity: 0.9;
}

.hero-visit-card strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.hero-visit-sub {
  display: block;
  font-size: 0.8rem;
  opacity: 0.95;
}

/* Gemeinsame Hover-Transition für beide Plaketten */
.hero-online-card,
.hero-visit-card {
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

/* Hover nur auf Geräten mit Maus */
@media (hover: hover) and (pointer: fine) {
  .hero-online-card:hover,
  .hero-visit-card:hover {
  transform: translateY(-8px) rotate(2deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  }
}


/* --- HERO FLOAT ANIMATION --- */

@keyframes hero-float {
  0% {
    transform: translateY(0);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  }
  50% {
    transform: translateY(-8px);
    box-shadow: 0 26px 55px rgba(15, 23, 42, 0.12);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  }
}

@keyframes heroCard1Enter {
  0% {
    opacity: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  60% {
    opacity: 1;
    box-shadow: 0 26px 55px rgba(0, 0, 0, 0.36);
  }
  100% {
    opacity: 1;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
  }
}

@keyframes heroCard2Enter {
  0% {
    opacity: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  60% {
    opacity: 1;
    box-shadow: 0 26px 55px rgba(0, 0, 0, 0.36);
  }
  100% {
    opacity: 1;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
  }
}



/* Animation zuweisen */
.hero-online-card {
  animation: heroCard1Enter 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.hero-visit-card {
  animation: heroCard2Enter 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* --- HERO PILLS (kleine Info-Blasen) --- */

.hero-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  backdrop-filter: blur(8px);

  font-size: 0.8rem;
}

.hero-pill-top {
  top: 12%;
  right: 5%;
}

.hero-pill-bottom {
  bottom: 10%;
  left: 4%;
}

.hero-pill-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.8);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-online {
  background: #16a34a;
}

/* =============================== */
/* RESPONSIVE HERO                 */
/* =============================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;              /* Bild/Logo nach oben */
    left: 0;                /* Verschiebung zurücknehmen */
    justify-content: center;
  }

  .hero-online-card {
    right: 1rem;
    top: 1.5rem;
    transform: rotate(-3deg);
  }
}

.hero-logo-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 3.2rem;
    padding-bottom: 3rem;
  }

  /* Hero-Spalten: untereinander */
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  /* Slogan/Text-Bereich soll zuerst kommen */
  .hero-content {
    order: -2;
  }

  .hero-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-pill-top,
  .hero-pill-bottom {
    display: none;
  }

  /* Logo + Karten danach und zentriert */
  .hero-media {
    order: -1;
    left: 0;
    flex-direction: column;
    align-items: center;
  }

  /* Logo nur auf Mobile unter dem Slogan anzeigen */
  .hero-logo-mobile {
    display: block;
    margin: 1.2rem auto 0;
    max-width: 260px;
   text-align: center;
}
.hero-logo-mobile img {
  display: block;
  margin: 0 auto;
}

  /* Desktop-Logo auf Mobile ausblenden */
  .hero-logo-desktop {
    display: none;
  }

  /* Textabstand auf Mobile viel kleiner */
  .hero-subtitle {
    margin: 1.2rem 0 0 0;
  }

  /* Beide Zusatzkarten unter dem Logo, gerade */
  .hero-online-card,
  .hero-visit-card {
    position: static;
    margin: 1.2rem auto 0;
    max-width: 320px;
    transform: rotate(0deg);
  }
}

/* Grid helpers */
/* Services Grid */
.grid {
  display: grid;
  gap: 3rem;
  margin-top: 8rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid .service-card ul {
  padding-left: 1.1rem;
  margin: 0.6rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.services-grid .service-card li + li {
  margin-top: 0.25rem;
}

/* kompletter Kasten klickbar */
.service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* Grundlayout der weißen Karte */
.section-services .service-card {
  position: relative;
  overflow: visible;
  padding-top: 2.5rem;
  padding-bottom: 1.7rem;
  border-radius: 1.6rem;
  /*background: #ffffff;*/
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  transform: translateY(0); /* wichtig für Hover-Animation */
}

/* Bildcontainer, der „aus der Karte heraus schaut“ */
.service-card-image {
  position: relative;
  width: 80%;
  max-width: 400px;
  margin: 0 auto;
  margin-top: -10rem; /* lässt das Bild über den oberen Rand herausragen */
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.service-card-image img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1); /* Startzustand – Hover zoomt rein */
}

/* Inhalt unterhalb des Bildes */
.service-card-body {
  margin-top: 1.6rem;
}

/* Iconbereich */
.service-card-icon img {
  height: 50px;
  max-height: 50px;
  margin-bottom: 0.8rem;
  margin-left: 10.5rem;
  display: flex;
  align-items: center;
  object-fit: contain;
}

/*.service-card-icon-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(31, 109, 122, 0.08);
  display: inline-block;
}*/

/* Titel + Text */
.service-card-title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  transition: color 1.5s ease; /* JS setzt das auch nochmal, schadet nicht */
}

.section-services .service-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}


.cases-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.case-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  margin-top: auto;
  align-self: flex-start;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-primary);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 3rem;
  /*background: #2e604d;*/
}

.about-media {
  position: relative;
  min-height: 260px;
}

.about-blob {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: 44% 56% 50% 50% / 43% 37% 63% 57%;
  background: radial-gradient(circle at 15% 10%, #f97373, #fb7185 25%, #4a6cf7 70%);
  opacity: 0.9;
}

.about-card {
  position: absolute;
  right: 5%;
  bottom: 8%;
  padding: 1.1rem 1.4rem;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
  max-width: 220px;
}

.about-card p {
  margin: 0;
  font-size: 0.9rem;
}

.about-content p {
  color: var(--color-text-muted);
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0 1.75rem;
}

.about-number {
  display: block;
  font-weight: 700;
  font-size: 1.3rem;
}

.about-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Testimonials */

.testimonial-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.testimonial-card {
  position: relative;
  padding: 2rem 2.3rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow-soft);
  min-height: 180px;
}

.testimonial-text {
  font-size: 0.96rem;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #fbbf24, #4a6cf7);
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.testimonial-nav {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #111827;
  transition: background 150ms ease-out, transform 150ms ease-out;
}

.testimonial-nav:hover {
  background: #f9fafb;
  transform: translateY(-1px);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.2rem;
}

.testimonial-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: transparent;
}

.testimonial-dot.active {
  width: 20px;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Pricing */

/* großes, dezentes Wort "Leistungen" im Hintergrund */
.pricing-ghost-label {
	  background: linear-gradient(
    to bottom,
    rgba(168, 190, 186, 0.7) 0%,
    rgba(168, 190, 186, 0.08) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: absolute;
  top: -8rem;
  left: 25%;

  font-size: clamp(4rem, 14vw, 11.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0;

  /*color: rgba(240, 215, 150, 0.20);*/
  pointer-events: none;
  user-select: none;
}

/* Mobile-Variante der Ghost-Texte (Leistungen & Preise) */
@media (max-width: 768px) {
  .services-ghost-label,
  .pricing-ghost-label {
    font-size: clamp(2.3rem, 12vw, 4.2rem);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  /* Abstand über den Service-Karten */
  .services-ghost-label {
    top: -6rem;
  }

  /* Abstand über den Preis-Karten */
  .pricing-ghost-label {
    top: -2rem;
  }
}

/* Header / Brand-Text auf Mobile nicht abschneiden */
@media (max-width: 768px) {
  .navbar {
    height: auto;              /* statt fester Höhe */
    align-items: flex-start;   /* Inhalt oben ausrichten */
    padding-block: 0.5rem;     /* etwas Luft oben/unten */
  }

  .brand-text {
    max-width: 70%;            /* Text bricht sauber um */
  }

  .brand-name {
    font-size: 0.9rem;         /* leicht kleiner */
    line-height: 1.2;
  }

  .brand-tagline {
    font-size: 0.68rem;        /* leicht kleiner */
  }
}

@media (max-width: 768px) {
  .service-card-icon img {
    margin-left: 0;        /* festen Versatz entfernen */
    display: block;        /* wie ein Blockelement */
    margin-inline: auto;   /* horizontal zentrieren */
  }
}


.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.pricing-price {
  font-size: 1.1rem;
  font-weight: 600;
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.pricing-card ul {
  padding-left: 1.1rem;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.pricing-card ul li + li {
  margin-top: 0.25rem;
}

.pricing-card .btn,
.pricing-card .btn-outline {
  margin-top: 1.1rem;
  margin-right: 2rem;
  margin-left: 2rem;
}

.pricing-card-highlight {
  background: #111827;
  color: #e5e7eb;
  border-color: transparent;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.58);
}

.pricing-card-highlight .pricing-price {
  color: #f9fafb;
}

.pricing-card-highlight .pricing-note {
  color: #9ca3af;
}

.pricing-card-highlight ul {
  color: #e5e7eb;
}

.pricing-card-highlight .btn {
  background: #f9fafb;
  color: #111827;
  box-shadow: none;
}

.pricing-card-highlight .btn:hover {
  background: #e5e7eb;
}

.badge {
  position: absolute;
  top: 1.3rem;
  right: 1.4rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: #f97373;
  color: #fff;
}
/* Zusätzliche Preis-Hinweise unterhalb der Karten */

.pricing-notes-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 1.8rem;
}

.pricing-note-card {
  font-size: 0.95rem;
}

.pricing-note-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.pricing-note-card p + p {
  margin-top: 0.45rem;
}

.pricing-note-card ul {
  margin: 0.4rem 0 0 1.15rem;
  padding-left: 0; /* wird über margin gelöst */
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.pricing-note-card ul li + li {
  margin-top: 0.2rem;
}

/* mobil untereinander statt nebeneinander */

@media (max-width: 900px) {
  .pricing-notes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Process */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.process-step {
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.7);
  padding: 1.7rem 1.5rem;
  background: #ffffff;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.process-step p {
  color: var(--color-text-muted);
}

.client-logos {
  margin-top: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.client-logos-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
  margin-bottom: 0.9rem;
}

.client-logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.client-logo {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.8rem;
  color: #374151;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.contact-info p {
  color: var(--color-text-muted);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 1.8rem;
  font-size: 0.9rem;
}

.contact-details h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.contact-form {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.9rem 1.7rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.04);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
}

input,
textarea,
select {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  padding: 0.65rem 0.9rem;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  background: #f9fafb;
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out, background 150ms ease-out;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(74, 108, 247, 0.3);
  background: #ffffff;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.checkbox input {
  margin-top: 0.15rem;
  width: 16px;
  height: 16px;
  border-radius: 0.35rem;
}

.form-hint {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* Footer */

.site-footer {
  background: #1d2c2b;
  color: #e5e7eb;
  padding: 3rem 0 1.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.9fr));
  gap: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.footer-brand p {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

.footer-links h3,
.footer-social h3 {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.7rem;
  color: #9ca3af;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.35rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.footer-links a:hover {
  color: #cbd5f5;
}

.footer-social-row {
  display: flex;
  gap: 0.6rem;
}

.footer-social-row a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

.footer-bottom {
  padding-top: 1.1rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* ============================= */
/* Animations & Scroll-Effekte   */
/* ============================= */

/* Ausgangszustand für Scroll-Animationen */
.animate-fade-up,
.animate-fade-in,
.animate-slide-left,
.animate-slide-right,
.animate-slide-up {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

/* Spezielle Richtungen */
.animate-fade-in {
  transform: translateY(0) scale(0.98);
}

.animate-slide-left {
  transform: translateX(-24px);
}

.animate-slide-right {
  transform: translateX(24px);
}

.animate-slide-up {
  transform: translateY(24px);
}

/* Wenn im Viewport */
.in-view {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}

/* Hero Card floatet leicht */
@keyframes hero-float {
  0% {
    transform: translateY(0);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  }
  50% {
    transform: translateY(-8px);
    box-shadow: 0 26px 55px rgba(15, 23, 42, 0.12);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  }
}

.hero-card {
  animation: hero-float 6s ease-in-out infinite;
}

/* Service-Detail-Seiten*/


.service-hero {
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 4rem;

  /* deutlich dunklerer Verlauf wie auf der Startseite, aber etwas eigener Twist */
  background:
    radial-gradient(circle at top left, rgba(248, 250, 252, 0.18) 0%, transparent 45%),
    linear-gradient(to bottom, #1d2c2b 0%, #224031 55%, #fefdfa 100%);
  color: #ffffff;
}

.service-hero-grid {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1.5rem;

  display: flex;
  align-items: center;
}

.service-hero-inner {
  max-width: 38rem;
}

/* Textfarben im dunklen Hero */
.service-hero .eyebrow {
  color: rgba(248, 250, 251, 0.9);
}

.service-hero h1 {
  color: #ffffff;
}

.service-hero .service-lead {
  font-size: 1.02rem;
  color: rgba(249, 250, 251, 0.9);
  max-width: 32rem;
  margin-top: 0.8rem;
}

.service-hero .service-breadcrumb a {
  color: rgba(248, 250, 252, 0.8);
}

.service-hero .service-breadcrumb a:hover {
  color: #ffffff;
}


/* Rechte Spalte: Bild + Fade */
.service-hero-media {
 /* position: relative;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end; */
  display: none;
}

.service-hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transform: translateY(18px);
}

.service-hero-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* weicher Fade vom Bild in den Hero-Hintergrund */
.service-hero-image-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(
    to bottom,
    rgba(24, 79, 87, 0) 0%,
    rgba(24, 79, 87, 0.8) 70%,
    #1d2c2b 100%
  );
}

/* Kleine Meta-Pills unter der Überschrift */
.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

/* Helle Service-Pills für dunklen Hero */
.service-pill {
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);

  /* deutlich hellere "Glassmorphism"-Optik */
  background: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  

  color: rgba(255, 255, 255, 0.95);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.service-pill-muted {
  background: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.65);
}




/* Service-Detail Hero – Vollflächiges Bild + Fade */
.service-hero {
  position: relative;
  overflow: hidden;
  padding: 8.5rem 0 9rem;
  color: #ffffff;

  /* Standardbild für Services (Fallback, z. B. Alltagsstress) */
  --service-hero-image: url("images/stress.jpg");
  --service-hero-position: center 35%;

  /* Standard-Farbton für den Overlay-Gradient (grünlich) */
--service-hero-overlay-rgb: 8, 39, 27;
--service-bg-rgb: 245, 247, 248; /* hell, neutral – Default */

}

/* Vollflächiges Hintergrundbild – direkt unter dem Header */
.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  /* nimmt das Bild aus der Variable */
  background-image: var(--service-hero-image);
  background-size: cover;
  background-position: var(--service-hero-position, center 35%);
  background-repeat: no-repeat;
  z-index: -2;
}


/* Dunkler Verlauf + horizontaler Fade vom Textbereich ins Bild */
.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  /* WICHTIG: zwei Layer! Oben horizontaler Fade, unten vertikaler Fade */
  background:
    /* horizontaler Fade links (dunkel) → rechts (transparent) */
    linear-gradient(
      to right,
      rgba(var(--service-hero-overlay-rgb), 0.96) 0%,
      rgba(var(--service-hero-overlay-rgb), 0.90) 35%,
      rgba(var(--service-hero-overlay-rgb), 0.70) 55%,
      rgba(var(--service-hero-overlay-rgb), 0.25) 78%,
      rgba(var(--service-hero-overlay-rgb), 0.00) 100%
    ),
    /* vertikaler Fade oben (dunkel) → unten (hell/beige) */
    linear-gradient(
      to bottom,
      rgba(var(--service-hero-overlay-rgb), 0.90) 0%,
      rgba(var(--service-hero-overlay-rgb), 0.45) 55%,
      rgba(248, 250, 252, 0.98) 100%
    );
}

/* Meta-Infos unter der Service-Überschrift (Format, Ort, Dauer) */
.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}


.service-breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.service-breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.service-breadcrumb a:hover {
  text-decoration: underline;
}

.service-lead {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  margin-top: 0.8rem;
}

/* Zweispaltiges Layout */
.service-content {
    background: #f8faf8;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.service-main {
  padding: 2rem 2.2rem;
}

.service-main h2,
.service-main h3 {
  margin-top: 1.4rem;
}

.service-main ul,
.service-main ol {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}

.service-main li + li {
  margin-top: 0.25rem;
}

.service-steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.service-steps li {
  position: relative;
  padding-left: 2.1rem;
  margin-top: 0.7rem;
}

.service-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
}

.service-hero--alltagsstress + .service-content{
  --service-hero-image: url("images/stress.jpg");
  --service-hero-position: center 35%;
  --service-hero-overlay-rgb: 8, 39, 27;
  /*--service-bg-rgb: 8, 39, 27;*/
  /*background-color: rgb(8, 39, 27);*/
}

.service-hero--unterstuetzung {
  --service-hero-image: url("images/unterstuetzung.jpg");
  --service-hero-position: 80% 20%;
  --service-hero-overlay-rgb: 69, 81, 67;
  --service-bg-rgb: 69, 81, 67;
}
.service-hero--unterstuetzung::before {
  background-size: 130% auto;
  background-position: 10% 20%;
}
.service-hero--trauer {
  --service-hero-image: url("images/trauerbegleitung2.jpg");
  --service-hero-position: center 35%;
  --service-hero-overlay-rgb: 46, 48, 47;
  --service-bg-rgb: 46, 48, 47;
}
.service-hero--trauer::before {
  transform: scaleX(-1); /* horizontal spiegeln */
  transform-origin: center;
  background-size: 105% auto;
  background-position: 90% 20%;
}
.service-hero--PSNV {
  --service-hero-image: url("images/einsatzkraefte.jpg");
  --service-hero-position: center 35%;
  --service-hero-overlay-rgb: 15, 23, 42;
  --service-bg-rgb: 15, 23, 42;
}
.service-hero--PSNV::before {
  background-size: 105% auto;
  background-position: 90% 20%;
}
.service-hero--Kommunikation {
  --service-hero-image: url("images/kommunikation.jpg");
  --service-hero-position: center 35%;
  --service-hero-overlay-rgb: 47, 73, 64;
  --service-bg-rgb: 47, 73, 64;
}
.service-hero--Kommunikation::before {
  background-size: 105% auto;
  background-position: 50% 40%;
}
.service-hero--Gruppen {
  --service-hero-image: url("images/gruppenangebot.jpg");
  --service-hero-position: center 35%;
  --service-hero-overlay-rgb: 99, 122,119;
  --service-bg-rgb: 99, 122,119;
}
.service-hero--Gruppen::before {
  background-size: 105% auto;
  background-position: 50% 40%;
}

.service-hero--Hausbesuche {
  --service-hero-image: url("images/hausbesuch.jpg");
  --service-hero-position: center 35%;
  --service-hero-overlay-rgb: 8, 39, 27;
  --service-bg-rgb: 99, 122,119;
}
.service-hero--Hausbesuche::before {
  transform: scaleX(-1); /* horizontal spiegeln */
  background-size: 105% auto;
  background-position: 50% 40%;
}
.service-hero--Uebermich {
  --service-hero-image: url("images/elena_top.jpg");
  --service-hero-position: center 75%;
  --service-hero-overlay-rgb: 8, 39, 27;
  --service-bg-rgb: 99, 122,119;
}
.service-hero--Uebermich::before {
  background-size: 100% auto;
  background-position: 100% 20%;
}

.service-hero--datenschutz {

  --service-hero-image: url("images/datenschutz.png");
  --service-hero-position: 60% 25%;
  --service-hero-overlay-rgb: 15, 23, 42;
  --service-bg-rgb: 245, 247, 248; /* heller Seitenhintergrund */
}

.service-hero--datenschutz::before {
  background-size: 115% auto;
  background-position:20% 22%;
}

.service-hero--impressum {

  --service-hero-image: url("images/impressum.png");
  --service-hero-position: 60% 25%;
  --service-hero-overlay-rgb: 15, 23, 42;
  --service-bg-rgb: 245, 247, 248; /* heller Seitenhintergrund */
}

.service-hero--impressum::before {
  background-size: 100% auto;
  background-position:20% 70%;
}

/* Verhindert abgeschnittene Service-Hero-Überschriften auf Mobilgeräten */
.service-hero-inner h1 {
  overflow-wrap: break-word;  /* Moderne Browser */
  word-wrap: break-word;      /* Fallback */
  hyphens: auto;              /* Erlaubt Trennstriche, wenn der Browser Wörterbücher hat */
}

/* Auf sehr schmalen Screens die Schrift leicht verkleinern */
@media (max-width: 600px) {
  .service-hero-inner h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .service-hero .service-lead {
    font-size: 0.95rem;
  }
}

@media (max-width: 900px) {
  .service-hero {
    padding-top: 3.8rem;
    padding-bottom: 3.2rem;
  }

  .service-hero-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Seitenleiste / Faktenbox */
.service-aside {
  padding: 1.7rem 1.6rem;
}

.service-aside h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.service-meta-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.2rem 0;
}

.service-meta-list li + li {
  margin-top: 0.35rem;
}

/* Button auf volle Breite in der Seitenleiste */
.btn-full {
  display: inline-flex;
  width: 100%;
  justify-content: center;
}

/* Responsive Anpassung */
@media (max-width: 900px) {
  .service-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-aside {
    margin-top: 1.5rem;
  }
}



/* Blob atmet */
@keyframes blob-breathe {
  0% {
    transform: scale(1) translateY(0);
    border-radius: 44% 56% 50% 50% / 43% 37% 63% 57%;
  }
  50% {
    transform: scale(1.04) translateY(-6px);
    border-radius: 52% 48% 46% 54% / 50% 42% 58% 50%;
  }
  100% {
    transform: scale(1) translateY(0);
    border-radius: 44% 56% 50% 50% / 43% 37% 63% 57%;
  }
}

.about-blob {
  animation: blob-breathe 11s ease-in-out infinite;
}

/* Buttons leicht poppen beim Hover */
.btn {
  transform: translateY(0) scale(1);
}

.btn:hover {
  transform: translateY(-1px) scale(1.02);
}

/* Header-Schatten beim Scrollen */
.site-header.scrolled {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
}
/* Sprachwahl im Header */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.75rem;
}

.lang-switcher .lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: #ffffff;
  text-transform: uppercase;
}

.lang-switcher .lang-active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: transparent;
}

.lang-switcher .lang:hover {
  background: var(--color-primary-soft);
}

/* optional: Leichte-Sprache-Icon etwas hervorheben */
.lang-switcher .lang-easy img {
  transform: scale(1.05);
}

.lang-switcher .lang-easy {
  border-color: rgba(31, 109, 122, 0.7);
  background: #f9fafb;
}

/* Button für Leichte Sprache im Hero */
.easy-language-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;

  padding: 0.55rem 1.0rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.8);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;

  backdrop-filter: blur(6px);
  transition:
    background 0.2s ease-out,
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out;
}

.easy-language-pill::before {
  content: "ⓛ";
  font-size: 1rem;
}

.easy-language-pill:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.25);
}


/* Responsive */

/* =============================== */
/* LARGE SCREENS (ab 1440px)      */
/* =============================== */

@media (min-width: 1440px) {
  :root {
    --container-width: 1300px;   /* Inhalt breiter als Standard (1100px) */
  }

  .hero-content h1 {
    font-size: clamp(3rem, 3vw, 3.4rem);
  }

  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 40rem;
  }

  .services-grid,
  .pricing-grid,
  .process-grid {
    gap: 2.5rem;
  }
}

/* Sehr große Screens (z.B. 4K) */
@media (min-width: 1920px) {
  :root {
    --container-width: 1500px;   /* Inhalt darf noch etwas wachsen */
  }

  .hero {
    padding-top: 6rem;
    padding-bottom: 5rem;
  }

  .hero-logo-img {
    max-width: 70%;
  }

  .hero-online-card,
  .hero-visit-card {
    right: -10rem;      /* auf riesigen Screens nicht ganz so weit am Rand */
  }
}

/* Feintuning für sehr große Bildschirme (z.B. 4K) */
@media (min-width: 1600px) {
  /* "Leistungen" & "Preise" in der Mitte ausrichten */
  .services-ghost-label,
  .pricing-ghost-label {
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
}
@media (min-width: 1600px) {
  .service-card-icon {
    display: flex;
    justify-content: center; /* Icon mittig in der Karte */
  }

  .service-card-icon img {
    margin-left: 0;         /* alten starren Versatz entfernen */
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-media {
    max-width: 420px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  /* Header darf so hoch sein, wie der Inhalt braucht */
  .navbar {
    height: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    inset-inline: 0;
    top: 100%; /* direkt unterhalb der Navbar, egal wie hoch sie ist */
    background: #ffffff;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 1.5rem 1.3rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    gap: 0.9rem;
  }

  .nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-cta {
    margin-left: 0;
  }

  .nav-open .nav {
    display: flex;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cases-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonial-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonial-nav {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
