/* ===========================================================
   Praxis für Logopädie Marie Fiedler – Zschopau
   Warmes, modernes Design in Petrol & Terrakotta
   =========================================================== */

:root {
  --teal:         #1f4a45;
  --teal-2:       #2c6961;
  --teal-3:       #3c8079;
  --teal-soft:    #e7f0ee;
  --terracotta:   #d9713f;
  --terracotta-2: #c15f30;
  --terracotta-soft: #f0a274;
  --cream:        #faf6f0;
  --bg-soft:      #f4ede2;
  --bg-soft-2:    #eee3d2;
  --ink:          #24312c;
  --slate:        #5f6d66;
  --line:         #e2dbcb;
  --white:        #ffffff;
  --radius:       18px;
  --radius-sm:    10px;
  --shadow:       0 16px 44px rgba(31, 74, 69, .12);
  --shadow-sm:    0 6px 20px rgba(31, 74, 69, .08);
  --maxw:         1180px;
  --font:         "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif:        "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 600; color: var(--teal); }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracotta-2);
  font-weight: 700;
  margin-bottom: 16px;
}

.section { padding: 110px 0; scroll-margin-top: 96px; }
.section--soft { background: var(--bg-soft); }
.section--teal { background: linear-gradient(120deg, var(--teal) 0%, var(--teal-2) 100%); color: rgba(255,255,255,.88); }
.section--teal h2, .section--teal h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .01em;
}
.section-head p { color: var(--slate); margin-top: 18px; font-size: 18px; }
.section--teal .section-head p { color: rgba(255,255,255,.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--primary { background: var(--terracotta); color: #fff; box-shadow: 0 8px 24px rgba(217,113,63,.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(217,113,63,.45); }
.btn--ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal-soft); }
.btn--dark { background: var(--teal); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- Kopfleiste (Stellenanzeige) ---------- */
.header__announce { background: var(--terracotta); color: #fff; text-align: center; padding: 10px 0; }
.header__announce .container { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.header__announce strong { font-weight: 700; }
.header__announce a { text-decoration: underline; font-weight: 600; white-space: nowrap; }
.header.scrolled .header__announce { display: none; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(250,246,240,.86);
  backdrop-filter: blur(10px);
  transition: background .3s ease, box-shadow .3s ease;
}
.header.scrolled {
  background: rgba(250,246,240,.96);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 19px;
  flex-shrink: 0; box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--teal); letter-spacing: .01em; }
.brand__role { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--terracotta); margin-top: 2px; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links > li { position: relative; }
.nav__links > li > a {
  display: flex; align-items: center; gap: 5px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: color .2s ease; padding: 6px 0;
}
.nav__links > li > a:hover { color: var(--teal); }
.nav__caret { width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); margin-top: -3px; opacity: .8; }
.nav__cta { padding: 10px 22px; font-size: 14px; }

.submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 10px; min-width: 220px;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14.5px; color: var(--ink); font-weight: 500; }
.submenu a:hover { background: var(--teal-soft); color: var(--teal); }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--teal); transition: background .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 100px;
  background: radial-gradient(1100px 600px at 85% -10%, var(--teal-soft) 0%, transparent 60%), var(--cream);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--teal);
}
.hero h1 .accent { color: var(--terracotta); display: block; font-size: .58em; font-family: var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: 14px; }
.hero p { font-size: 19px; color: var(--slate); margin: 24px 0 34px; max-width: 540px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__facts { display: flex; gap: 34px; margin-top: 48px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; }
.hero__facts div span { display: block; }
.hero__facts .num { font-family: var(--font); font-size: 26px; color: var(--terracotta); font-weight: 700; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.hero__facts .lbl { font-size: 13.5px; color: var(--slate); margin-top: 2px; }

.hero__media { position: relative; }
.hero__media .blob {
  position: absolute; inset: -6% -10% -6% 4%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-3) 100%);
  border-radius: 44% 56% 62% 38% / 46% 40% 60% 54%;
  z-index: 0;
}
.hero__media img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 44% 56% 62% 38% / 46% 40% 60% 54%;
  box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute; z-index: 2; left: -18px; bottom: 26px;
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 16px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 210px;
}
.hero__badge img { width: 108px; height: auto; aspect-ratio: auto; border-radius: 0; box-shadow: none; max-width: 100%; object-fit: contain; flex-shrink: 0; }
.hero__badge span { font-size: 12px; color: var(--slate); line-height: 1.35; font-weight: 500; }

/* ---------- Karten (allgemein) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 34px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 58px; height: 58px; border-radius: 14px;
  background: var(--teal-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; color: var(--teal);
}
.card:hover .card__icon { background: var(--teal); color: #fff; }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { color: var(--slate); font-size: 15.5px; margin-bottom: 18px; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--terracotta); }
.card__more svg { width: 15px; height: 15px; transition: transform .2s; }
.card:hover .card__more svg { transform: translateX(4px); }

/* ---------- Intro / Willkommen ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.intro__media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro__text h2 { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 38px); margin-bottom: 20px; }
.intro__text p { color: var(--slate); margin-bottom: 16px; }
.intro__specs { list-style: none; display: grid; gap: 10px; margin: 22px 0 26px; }
.intro__specs li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; font-weight: 500; color: var(--teal); }
.intro__specs li svg { width: 18px; height: 18px; color: var(--terracotta); flex-shrink: 0; }

.quote-card {
  margin-top: 34px; background: var(--teal); color: #fff; border-radius: var(--radius);
  padding: 34px 36px; position: relative; box-shadow: var(--shadow);
}
.quote-card::before { content: "\201C"; font-family: var(--serif); font-size: 60px; color: var(--terracotta-soft); line-height: 0; display: block; margin-bottom: 8px; }
.quote-card p { font-family: var(--serif); font-size: 21px; line-height: 1.5; color: #fff; margin: 0 0 14px; }
.quote-card cite { font-style: normal; font-size: 14px; color: rgba(255,255,255,.7); font-weight: 600; }

/* ---------- Checkliste "Brauchen Sie einen Logopäden?" ---------- */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.checklist__item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 24px 26px;
}
.checklist__item .num {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--terracotta); color: #fff; font-family: var(--font); font-weight: 700; font-size: 15px;
  font-variant-numeric: lining-nums tabular-nums;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.checklist__item p { color: var(--ink); font-size: 15.5px; font-weight: 500; margin: 0; }
.checklist__cta { margin-top: 30px; text-align: center; color: var(--slate); font-size: 16px; }
.checklist__cta a { color: var(--terracotta); font-weight: 600; }
.checklist__cta a:hover { text-decoration: underline; }

/* ---------- Therapie – Detailblöcke ---------- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; scroll-margin-top: 96px; }
.detail + .detail { margin-top: 100px; }
.detail--rev .detail__media { order: 2; }
.detail__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail__eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-2); font-weight: 700; margin-bottom: 10px; display: block; }
.detail h3 { font-family: var(--serif); font-size: 32px; margin-bottom: 16px; }
.detail > div > p { color: var(--slate); margin-bottom: 22px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; }
.field-card h4 { font-size: 15.5px; color: var(--teal); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.field-card h4::before { content: "+"; color: var(--terracotta); font-weight: 700; }
.field-card p { color: var(--slate); font-size: 13.5px; margin: 0; }

.prep-list { list-style: none; display: grid; gap: 12px; margin-top: 6px; }
.prep-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.prep-list li svg { width: 20px; height: 20px; color: var(--terracotta); flex-shrink: 0; margin-top: 3px; }
.detail__note { margin-top: 20px; font-size: 14px; color: var(--slate); }
.detail__note a { color: var(--terracotta); font-weight: 600; }

/* ---------- Team ---------- */
.team-intro { max-width: 820px; margin: 0 auto 56px; text-align: center; color: var(--slate); }
.team-intro p { margin-bottom: 12px; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.member {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.member__photo { aspect-ratio: 3/4; overflow: hidden; background: var(--bg-soft-2); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__body { padding: 22px 20px 26px; }
.member__body h4 { font-family: var(--serif); font-size: 21px; }
.member__role { color: var(--terracotta); font-weight: 600; font-size: 13px; letter-spacing: .02em; margin: 4px 0 10px; }
.member__body p { color: var(--slate); font-size: 13.5px; }
.member__quote { margin-top: 12px; font-style: italic; font-size: 13px; color: var(--teal); border-top: 1px solid var(--line); padding-top: 12px; }

/* ---------- Praxis / Galerie ---------- */
.praxis { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; margin-bottom: 64px; }
.praxis__text p { color: var(--slate); margin-bottom: 16px; }
.praxis__facts { display: grid; gap: 14px; margin-top: 24px; }
.praxis__facts li { display: flex; gap: 12px; align-items: center; font-size: 15.5px; font-weight: 500; color: var(--teal); }
.praxis__facts li svg { width: 20px; height: 20px; color: var(--terracotta); flex-shrink: 0; }
.praxis__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 130px; gap: 14px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.gallery a { display: block; grid-column: span 3; grid-row: span 2; overflow: hidden; border-radius: var(--radius-sm); }
.gallery a:nth-child(1), .gallery a:nth-child(4) { grid-column: span 4; }
.gallery a:nth-child(2), .gallery a:nth-child(3), .gallery a:nth-child(5), .gallery a:nth-child(6) { grid-column: span 2; grid-row: span 1; }
.gallery a img { transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.06); }

/* ---------- Lightbox (Galerie-Durchklick) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,30,28,.9); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease;
  padding: 40px 20px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__stage { position: relative; max-width: 1100px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__img {
  max-width: 100%; max-height: 78vh; width: auto; height: auto;
  border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0,0,0,.5);
  object-fit: contain; background: #000;
}
.lightbox__caption { color: rgba(255,255,255,.85); font-size: 14px; text-align: center; }
.lightbox__count { color: rgba(255,255,255,.55); font-size: 13px; }
.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.lightbox__btn:hover { background: rgba(255,255,255,.28); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__prev { left: -8px; }
.lightbox__next { right: -8px; }
.lightbox__close {
  position: fixed; top: 20px; right: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox__close:hover { background: rgba(255,255,255,.28); }
.lightbox__close svg { width: 22px; height: 22px; }
.gallery a { cursor: zoom-in; }
@media (max-width: 640px) {
  .lightbox__prev { left: 0; }
  .lightbox__next { right: 0; }
  .lightbox__btn { width: 42px; height: 42px; }
}

/* ---------- Jobs ---------- */
.jobs-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 48px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.jobs-card__text h3 { font-family: var(--serif); font-size: 30px; margin-bottom: 14px; }
.jobs-card__text p { color: var(--slate); margin-bottom: 12px; }
.jobs-card__tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 4px; }
.jobs-card__tags span { background: var(--teal-soft); color: var(--teal); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 100px; }
.jobs-card__cta { text-align: center; }
.jobs-card__cta .btn { width: 100%; justify-content: center; }
.jobs-card__cta p { margin-top: 12px; font-size: 13px; color: var(--slate); }

/* ---------- Karriere-Detailseite ---------- */
.karriere-details { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.karriere-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; }
.karriere-col h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 18px; }
.karriere-apply {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  margin-top: 40px; padding: 40px 44px; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-2) 100%); color: rgba(255,255,255,.9);
}
.karriere-apply h3 { color: #fff; font-family: var(--serif); font-size: 26px; margin-bottom: 12px; }
.karriere-apply p { color: rgba(255,255,255,.82); }
.karriere-apply a[href^="mailto"]:not(.btn) { color: var(--terracotta-soft); }
@media (max-width: 860px) {
  .karriere-details { grid-template-columns: 1fr; }
  .karriere-apply { grid-template-columns: 1fr; text-align: left; }
}

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact__info { display: grid; gap: 24px; align-content: start; }
.info-item { display: flex; gap: 18px; align-items: flex-start; }
.info-item__icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--teal-soft); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.info-item__icon svg { width: 22px; height: 22px; }
.info-item h4 { font-size: 16px; margin-bottom: 3px; }
.info-item p { color: var(--slate); font-size: 15px; }
.info-item a { color: inherit; }
.info-item a:hover { color: var(--terracotta); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-sm); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--teal); }
.field label .optional { font-weight: 400; color: var(--slate); font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-family: var(--font); font-size: 15px;
  background: var(--bg-soft); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: 13px; color: var(--slate); margin-top: 12px; }
.form__status { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500; }
.form__status.is-ok { background: #edf7ee; color: #2e6b34; border: 1px solid #bfe0c2; }
.form__status.is-err { background: #fcecec; color: #9a2b2b; border: 1px solid #f0c4c4; }
.field-check { display: flex; gap: 11px; align-items: flex-start; margin: 4px 0 22px; font-size: 13.5px; color: var(--slate); line-height: 1.5; cursor: pointer; }
.field-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--terracotta); }
.field-check a { color: var(--terracotta); font-weight: 600; }
.field-check a:hover { text-decoration: underline; }

/* ---------- Anfahrt / Map ---------- */
.map-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 60px; }
.map-wrap__info { background: var(--teal); color: rgba(255,255,255,.85); padding: 46px 40px; }
.map-wrap__info h3 { color: #fff; font-family: var(--serif); font-size: 25px; margin-bottom: 18px; }
.map-wrap__info p { color: rgba(255,255,255,.78); font-size: 15px; }
.map-wrap__map { min-height: 380px; position: relative; }
.map-wrap__map iframe { width: 100%; height: 100%; border: 0; display: block; }

.map-consent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; padding: 30px;
  background: var(--bg-soft-2);
  background-image:
    linear-gradient(rgba(31,74,69,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,74,69,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  cursor: pointer;
}
.map-consent svg { width: 38px; height: 38px; color: var(--terracotta); }
.map-consent strong { color: var(--teal); font-size: 16px; }
.map-consent span { color: var(--slate); font-size: 13.5px; max-width: 300px; }
.map-consent .map-consent__btn { margin-top: 4px; padding: 10px 22px; border-radius: 100px; background: var(--teal); color: #fff; font-weight: 600; font-size: 14px; }

/* ---------- Mitgliedschaften ---------- */
.trustbar { background: var(--bg-soft-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0; }
.trust-row { display: flex; align-items: center; justify-content: center; gap: 46px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item img { height: 34px; width: auto; }
.trust-item span { font-size: 14.5px; color: var(--slate); font-weight: 500; }

/* ---------- Kundenstimmen ---------- */
.t-rating { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 40px; color: var(--slate); font-size: 16px; }
.t-rating__stars { color: var(--terracotta); font-size: 22px; letter-spacing: 2px; }
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 28px; margin: 0; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tcard__stars { color: var(--terracotta); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.tcard blockquote { margin: 0 0 20px; font-size: 15.5px; line-height: 1.7; color: var(--ink); flex: 1; }
.tcard figcaption { font-weight: 600; color: var(--teal); font-size: 15px; }
.tcard figcaption span { font-weight: 400; color: var(--slate); font-size: 13px; }
@media (max-width: 900px) { .tcards { grid-template-columns: 1fr; } }

/* ---------- Cookie-Consent-Banner ---------- */
.consent {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: min(900px, calc(100% - 32px));
  background: var(--teal); color: rgba(255,255,255,.9);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 24px; z-index: 2000;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.consent p { margin: 0; font-size: 14.5px; line-height: 1.5; flex: 1 1 320px; }
.consent a { color: var(--terracotta-soft); font-weight: 600; }
.consent__btns { display: flex; gap: 10px; flex-shrink: 0; }
.consent .btn { padding: 12px 26px; font-size: 14.5px; font-weight: 600; border: 1px solid transparent; }
.consent__btn-ok { background: var(--terracotta); color: #fff; }
.consent__btn-ok:hover { filter: brightness(1.06); }
.consent__btn-no { background: #fff; color: var(--teal); }
.consent__btn-no:hover { background: rgba(255,255,255,.85); }

/* ---------- Rechtsseiten ---------- */
.legal-header { background: linear-gradient(120deg, var(--teal) 0%, var(--teal-2) 100%); color: #fff; padding: 130px 0 60px; }
.legal-header a.back { color: var(--terracotta-soft); font-size: 15px; font-weight: 600; }
.legal-header h1 { color: #fff; font-family: var(--serif); font-size: clamp(32px,5vw,48px); margin-top: 14px; }
.legal { max-width: 800px; margin: 0 auto; padding: 70px 24px 100px; }
.legal h2 { font-family: var(--serif); font-size: 26px; margin: 40px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--slate); margin-bottom: 14px; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal a { color: var(--terracotta); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.legal .todo {
  background: #fff3e8; border: 1px solid var(--terracotta-soft); border-radius: var(--radius-sm);
  padding: 4px 10px; color: #8a4a1f; font-size: 14px; font-weight: 600; display: inline-block;
}

/* ---------- Footer ---------- */
.footer { background: var(--teal); color: rgba(255,255,255,.72); padding: 70px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__brand .brand__name { color: #fff; }
.footer p { font-size: 15px; margin-top: 10px; }
.footer h5 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { font-size: 15px; transition: color .2s; }
.footer ul a:hover { color: var(--terracotta-soft); }
.footer__logos { display: flex; align-items: center; gap: 16px; margin-top: 6px; flex-wrap: wrap; }
.footer__logos img { height: 30px; width: auto; background: #fff; border-radius: 6px; padding: 5px 8px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 24px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: 14px;
}

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Überlauf-Schutz ---------- */
.cards > *, .fields > *, .team > *, .detail > *, .intro > *, .contact > *, .praxis > *,
.map-wrap > *, .checklist > *, .footer__grid > * { min-width: 0; }
html, body { overflow-x: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .team { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery a { grid-column: span 2 !important; grid-row: span 1 !important; }
}
@media (max-width: 960px) {
  .cards, .checklist { grid-template-columns: 1fr 1fr; }
  .hero__grid, .intro, .detail, .contact, .map-wrap, .praxis, .jobs-card { grid-template-columns: 1fr; gap: 40px; }
  .map-wrap { gap: 0; }
  .map-wrap__map { min-height: 320px; }
  .detail--rev .detail__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__media { max-width: 420px; margin: 0 auto; }
  .jobs-card__cta { text-align: left; }
}
@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 20px 24px 26px; box-shadow: var(--shadow);
  }
  .nav__links.open a { color: var(--ink); }
  .nav__links.open .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 4px 0 4px 14px; display: none; }
  .nav__links.open .has-sub.open .submenu { display: block; }
  .nav__links.open .has-sub > a { justify-content: space-between; }
  .cards, .checklist, .team, .fields, .footer__grid, .form .row, .praxis__facts { grid-template-columns: 1fr; }
  .jobs-card { padding: 32px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery a { grid-column: span 1 !important; }
  .hero { padding: 150px 0 70px; }
  .hero__facts { gap: 24px; }
}
