/* ==========================================================================
   myLogo – Logopädie am Rotkreuzplatz
   ========================================================================== */

@font-face {
  font-family: "Public Sans";
  src: url("../fonts/PublicSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Sari";
  src: url("../fonts/Sari-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

:root {
  --teal-900: #0e4a44;
  --teal-800: #125f57;
  --teal-700: #16766c;
  --teal-600: #1d8f83;
  --teal-300: #81d8d0;
  --teal-100: #d6f3f0;
  --teal-50: #eefaf8;
  --pink-700: #a3208f;
  --pink-500: #f763e8;
  --pink-300: #f5abee;
  --pink-50: #fdf0fb;
  --sand-50: #fbf9f6;
  --ink: #1b2b29;
  --muted: #52615f;
  --line: #e3ebea;
  --white: #fff;

  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Sari", "Public Sans", system-ui, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgb(14 74 68 / 0.06), 0 2px 8px rgb(14 74 68 / 0.05);
  --shadow: 0 2px 6px rgb(14 74 68 / 0.05), 0 12px 32px rgb(14 74 68 / 0.09);
  --shadow-lg: 0 24px 60px rgb(14 74 68 / 0.16);

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section: clamp(4rem, 9vw, 7rem);
  --header-h: 76px;
}

/* ---------- Basis ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand-50);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-offen {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: var(--teal-700);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--teal-900);
}

:focus-visible {
  outline: 3px solid var(--pink-500);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  line-height: 1.15;
  color: var(--teal-900);
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

h2.h3 {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 800;
}

p {
  margin: 0 0 1em;
}

ul {
  padding-left: 1.2em;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2 * var(--gutter), 780px);
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: calc(var(--section) * 0.6);
}

.section--white {
  background: var(--white);
}

.section--teal {
  background: var(--teal-50);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink-700);
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.3rem);
  color: var(--muted);
  max-width: 62ch;
}

.muted {
  color: var(--muted);
}

.mb-0 {
  margin-bottom: 0;
}

.avatar {
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 15%;
}

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

.text-center .lead,
.text-center .card__icon {
  margin-inline: auto;
}

.text-center .btn-row {
  justify-content: center;
}

.form__hint-tight {
  margin: -0.5rem 0 0;
}

.small {
  font-size: 0.9rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--teal-900);
  color: var(--white);
  border-radius: var(--radius-sm);
}

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

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.icon--sm {
  width: 1em;
  height: 1em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--teal-700);
  color: var(--white);
  box-shadow: 0 6px 18px rgb(22 118 108 / 0.28);
}

.btn--primary:hover {
  background: var(--teal-800);
  color: var(--white);
}

.btn--accent {
  background: linear-gradient(120deg, #d93fc8, var(--pink-500));
  color: var(--white);
  box-shadow: 0 6px 18px rgb(217 63 200 / 0.3);
}

.btn--accent:hover {
  color: var(--white);
  box-shadow: 0 10px 24px rgb(217 63 200 / 0.38);
}

.btn--ghost {
  background: var(--white);
  color: var(--teal-800);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--teal-300);
  color: var(--teal-900);
}

.btn--light {
  background: var(--white);
  color: var(--teal-800);
}

.btn--light:hover {
  color: var(--teal-900);
}

.btn--outline-light {
  color: var(--white);
  border-color: rgb(255 255 255 / 0.55);
}

.btn--outline-light:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgb(255 255 255 / 0.1);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
}

.link-arrow .icon {
  transition: transform 0.2s;
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

/* ---------- Topbar & Header ---------- */

.topbar {
  background: linear-gradient(90deg, var(--pink-50), #fbe3f7);
  color: var(--pink-700);
  font-size: 0.9rem;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem 1rem;
  padding-block: 0.55rem;
  text-align: center;
}

@media (max-width: 600px) {
  .hide-sm {
    display: none;
  }
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  color: var(--pink-700);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Eigene Ebene, damit backdrop-filter das fixierte Mobilmenü nicht einsperrt */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(255 255 255 / 0.88);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
}

.nav-offen .header::before {
  background: var(--white);
}

.header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 20px rgb(14 74 68 / 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.header__logo {
  display: block;
  padding-block: 0.5rem;
}

.header__logo img {
  width: auto;
  height: 54px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.header__phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--teal-800);
  text-decoration: none;
  white-space: nowrap;
}

.header__cta {
  display: none;
  min-height: 44px;
  padding-block: 0.6rem;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--teal-900);
  cursor: pointer;
}

.nav-toggle .icon {
  width: 24px;
  height: 24px;
}

.nav-toggle__close,
.nav-offen .nav-toggle__open {
  display: none;
}

.nav-offen .nav-toggle__close {
  display: block;
}

.nav {
  position: fixed;
  inset: var(--nav-top, var(--header-h)) 0 0 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.5rem var(--gutter) 2rem;
  background: var(--white);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav-offen .nav {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--teal-900);
  text-decoration: none;
}

.nav__list a[aria-current="page"] {
  color: var(--teal-600);
}

.nav__badge {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--pink-50);
  color: var(--pink-700);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav__mobile-extra {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 1040px) {
  .nav-toggle,
  .nav__mobile-extra {
    display: none;
  }

  .header__cta,
  .header__phone {
    display: inline-flex;
  }

  .nav {
    position: static;
    flex-direction: row;
    padding: 0;
    background: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: visible;
  }

  .nav__list {
    flex-direction: row;
    gap: 0.25rem;
  }

  .nav__list a {
    position: relative;
    padding: 0.5rem 0.8rem;
    border: 0;
    font-size: 0.98rem;
    color: var(--ink);
  }

  .nav__list a::after {
    content: "";
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.15rem;
    height: 2px;
    border-radius: 2px;
    background: var(--teal-600);
    transform: scaleX(0);
    transition: transform 0.2s;
  }

  .nav__list a:hover::after,
  .nav__list a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .nav__list a[aria-current="page"] {
    color: var(--teal-800);
  }

  .nav__badge {
    display: none;
  }

  .nav__list a[href="/jobs.php"]::before {
    content: "";
    position: absolute;
    top: 0.45rem;
    right: 0.35rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pink-500);
  }
}

@media (min-width: 1200px) {
  .header__logo img {
    height: 60px;
  }
}

/* ---------- Hero (Startseite) ---------- */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-100) 0%, rgb(214 243 240 / 0) 68%);
  z-index: -1;
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  margin-bottom: 0.4em;
}

.hero h1 span {
  color: var(--teal-600);
}

.hero .lead {
  margin-bottom: 2rem;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__facts .icon {
  color: var(--teal-600);
}

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 120px;
  box-shadow: var(--shadow-lg);
}

.hero__badge {
  position: absolute;
  left: clamp(-1rem, -2vw, 0rem);
  bottom: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 300px;
  padding: 0.75rem 1.1rem 0.75rem 0.75rem;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.hero__badge img {
  width: 52px;
  height: 52px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 15%;
  box-shadow: none;
}

.hero__badge strong {
  display: block;
  color: var(--teal-900);
  line-height: 1.25;
}

.hero__badge span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero__bubble {
  position: absolute;
  top: -1.25rem;
  right: 1.5rem;
  width: 84px;
  filter: drop-shadow(0 8px 16px rgb(14 74 68 / 0.18));
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
  }
}

.hero--jobs {
  background: radial-gradient(circle at 0% 100%, var(--pink-50), transparent 45%);
}

.hero--jobs h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
}

.hero--jobs h1 span {
  color: var(--pink-700);
}

.hero--jobs .hero__media > img {
  aspect-ratio: 4 / 4.2;
  object-position: 50% 35%;
}

/* ---------- Karten ---------- */

.grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

@media (min-width: 700px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 0.4em;
}

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

.card--link {
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card--link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--teal-100);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 16px;
  background: var(--teal-50);
  color: var(--teal-700);
}

.card__icon .icon {
  width: 26px;
  height: 26px;
}

.card__icon--pink {
  background: var(--pink-50);
  color: var(--pink-700);
}

/* Zielgruppen-Karten (Kinder / Erwachsene) */
.audience {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.audience--kinder {
  background: linear-gradient(160deg, var(--pink-50), var(--white) 55%);
}

.audience--erwachsene {
  background: linear-gradient(160deg, var(--teal-50), var(--white) 55%);
}

.audience__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.audience__head h3 {
  margin: 0;
  font-size: 1.5rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 500;
}

.audience .link-arrow {
  margin-top: auto;
}

/* ---------- Ablauf / Schritte ---------- */

.steps {
  counter-reset: schritt;
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li {
  counter-increment: schritt;
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.steps li::before {
  content: counter(schritt);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

@media (min-width: 800px) {
  .steps--stack {
    grid-template-columns: 1fr;
  }
}

.steps--stack li {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 1rem;
  padding: 1.25rem 1.5rem;
}

.steps--stack li::before {
  grid-row: span 2;
  margin: 0;
}

.steps h3 {
  font-size: 1.1rem;
}

.steps p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--muted);
}

/* ---------- Split (Bild + Text) ---------- */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--reverse > :first-child {
    order: 2;
  }
  .split--portrait {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.portrait {
  position: relative;
  max-width: 440px;
}

.portrait img {
  aspect-ratio: 4 / 5;
  object-position: 50% 20%;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: auto -1.25rem -1.25rem auto;
  width: 45%;
  height: 45%;
  border-radius: var(--radius-lg);
  background: var(--pink-300);
  opacity: 0.45;
  z-index: -1;
}

.checklist {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.checklist .icon {
  margin-top: 0.2em;
  padding: 3px;
  width: 1.35em;
  height: 1.35em;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-800);
  stroke-width: 2.6;
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.duo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.duo img:last-child {
  margin-top: 2.5rem;
}

/* ---------- Galerie ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
  gap: clamp(0.6rem, 1.5vw, 1rem);
}

@media (min-width: 800px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery__item--wide {
    grid-column: span 2;
  }
  .gallery__item--tall {
    grid-row: span 2;
  }
}

.gallery__item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--teal-50);
  cursor: zoom-in;
  aspect-ratio: 1;
}

@media (min-width: 800px) {
  .gallery__item {
    aspect-ratio: auto;
  }
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__item figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.9);
  color: var(--teal-900);
  font-size: 0.82rem;
  font-weight: 600;
}

.lightbox {
  width: min(96vw, 1100px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #0b1f1d;
  color: var(--white);
}

.lightbox::backdrop {
  background: rgb(8 24 22 / 0.82);
}

.lightbox img {
  width: 100%;
  max-height: calc(92vh - 3.5rem);
  object-fit: contain;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.6rem 0.6rem 1.1rem;
  font-size: 0.95rem;
}

.lightbox__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  color: var(--white);
  cursor: pointer;
}

.video-card {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.video-card video {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  background: var(--teal-900);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

@media (min-width: 800px) {
  .video-card {
    grid-template-columns: 340px 1fr;
    gap: 3.5rem;
  }
}

/* ---------- Leistungen ---------- */

.service {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.service img {
  width: 56px;
  height: 56px;
  flex: none;
}

.service h3 {
  margin-bottom: 0.15em;
  font-size: 1.125rem;
}

.service__sub {
  margin-bottom: 0.5em;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal-700);
}

.service p:last-child {
  margin: 0;
  font-size: 0.97rem;
  color: var(--muted);
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ---------- Page-Hero (Unterseiten) ---------- */

.page-hero {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(circle at 90% 0%, var(--teal-100), transparent 45%),
    radial-gradient(circle at 0% 100%, var(--pink-50), transparent 40%);
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero--jobs h1 {
  max-width: 22ch;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq details[open] {
  border-color: var(--teal-100);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  color: var(--teal-900);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  font-size: 1.2rem;
  font-weight: 500;
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details > div {
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
}

.faq details > div p:last-child {
  margin: 0;
}

/* ---------- CTA-Band ---------- */

.cta-band {
  position: relative;
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, var(--teal-800), var(--teal-600));
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.07);
  z-index: -1;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.35em;
}

.cta-band p {
  margin: 0;
  color: rgb(255 255 255 / 0.88);
  max-width: 52ch;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .cta-band {
    grid-template-columns: 1fr auto;
  }
}

.cta-band--pink {
  background: linear-gradient(125deg, #b72aa4, #e650d6);
}

/* ---------- Jobs ---------- */

.job-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.75rem 0 2rem;
  padding: 0;
  list-style: none;
}

.job-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal-900);
}

.job-facts .icon {
  color: var(--teal-600);
}

.highlight {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.highlight--pink {
  background: linear-gradient(150deg, var(--pink-50), var(--white) 60%);
  border-color: #f6d6f1;
}

.quote {
  margin: 0;
  padding-left: 1.25rem;
  border-left: 4px solid var(--pink-300);
  font-size: 1.15rem;
  color: var(--teal-900);
}

/* ---------- Kontakt & Formular ---------- */

.contact-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.contact-list .card__icon {
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 12px;
}

.contact-list .card__icon .icon {
  width: 22px;
  height: 22px;
}

.contact-list strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.contact-list a,
.contact-list span {
  font-weight: 600;
  color: var(--teal-900);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list .muted {
  font-weight: 400;
  color: var(--muted);
}

.contact-list a:hover {
  text-decoration: underline;
}

.form {
  display: grid;
  gap: 1.1rem;
}

.form-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.form__row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label,
.field legend {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--teal-900);
}

.field .optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #cfdcda;
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 4px rgb(29 143 131 / 0.15);
}

.field__hint {
  font-size: 0.85rem;
  color: var(--muted);
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-group legend {
  margin-bottom: 0.5rem;
  padding: 0;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--teal-900);
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.choice span {
  display: inline-flex;
  padding: 0.55rem 1rem;
  border: 1.5px solid #cfdcda;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.choice input:checked + span {
  border-color: var(--teal-700);
  background: var(--teal-700);
  color: var(--white);
}

.choice input:focus-visible + span {
  outline: 3px solid var(--pink-500);
  outline-offset: 2px;
}

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted);
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  flex: none;
  accent-color: var(--teal-700);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.alert--error {
  background: #fdeeee;
  color: #8a1c1c;
  border: 1px solid #f5c9c9;
}

.alert--error ul {
  margin: 0.4rem 0 0;
}

.alert--success {
  background: var(--teal-50);
  color: var(--teal-900);
  border: 1px solid var(--teal-100);
}

/* Karte mit 2-Klick-Lösung */
.map {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgb(238 250 248 / 0.92), rgb(214 243 240 / 0.92)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgb(29 143 131 / 0.12) 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgb(29 143 131 / 0.12) 38px 40px);
  border: 1px solid var(--line);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.9rem;
  padding: 2rem;
  text-align: center;
}

.map__placeholder p {
  max-width: 46ch;
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.map__pin {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  color: var(--pink-700);
  box-shadow: var(--shadow);
}

.map__pin .icon {
  width: 30px;
  height: 30px;
}

/* ---------- Timeline (Fortbildungen) ---------- */

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 0;
}

.timeline time {
  font-weight: 700;
  color: var(--teal-700);
}

.timeline span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Rechtstexte ---------- */

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 2.5rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.5rem;
}

.prose h3 {
  margin-top: 1.75rem;
  font-size: 1.15rem;
}

.prose a {
  overflow-wrap: anywhere;
}

/* ---------- Footer ---------- */

main > .section:last-child {
  padding-bottom: calc(var(--section) * 0.75);
}

.footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--teal-900);
  color: rgb(255 255 255 / 0.8);
  font-size: 0.97rem;
}

.footer a {
  color: var(--white);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 700px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .footer__grid {
    grid-template-columns: 1.3fr 1.2fr 0.8fr 0.9fr;
  }
}

.footer__brand img {
  width: 110px;
  margin-bottom: 1rem;
}

.footer__brand p {
  max-width: 34ch;
}

.footer__social {
  display: flex;
  gap: 0.6rem;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
  transition: background-color 0.2s;
}

.footer__social a:hover {
  background: rgb(255 255 255 / 0.2);
}

.footer__title {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-300);
}

.footer__list,
.footer__links {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.footer__list .icon {
  margin-top: 0.15em;
  color: var(--teal-300);
}

.footer__cta {
  margin-top: 1.5rem;
}

.footer .btn--light {
  color: var(--teal-900);
}

.footer .btn--light:hover {
  text-decoration: none;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.88rem;
}

.footer__bottom nav {
  display: flex;
  gap: 1.5rem;
}

/* ---------- Einblend-Animation ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
