/* ===========================================================
   Fred Fiedler – Nachlasspflegschaft · Testamentsvollstreckung · Erbenermittlung
   Modernes, klares Design
   =========================================================== */

:root {
  --navy:      #16263b;
  --navy-2:    #1f3550;
  --ink:       #1a2230;
  --slate:     #5b6878;
  --gold:      #b08d57;
  --gold-soft: #c9a878;
  --line:      #e4e8ee;
  --bg:        #ffffff;
  --bg-soft:   #f6f8fa;
  --bg-soft-2: #eef2f6;
  --white:     #ffffff;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 10px 40px rgba(22, 38, 59, .08);
  --shadow-sm: 0 4px 18px rgba(22, 38, 59, .06);
  --maxw:      1140px;
  --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(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

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

.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(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}

.section { padding: 110px 0; }
.section--soft { background: var(--bg-soft); }

.section-head { max-width: 720px; margin: 0 auto 64px; 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; }

/* ---------- 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(--gold); color: #fff; box-shadow: 0 8px 24px rgba(176,141,87,.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(176,141,87,.45); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 22px 0;
}
.header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; }
/* Marken-Schriftzug „FIEDLER & KOLLEGEN" – Open Sans Condensed, Originalblau #006699 */
.brandmark {
  font-family: 'Open Sans Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: #fff; line-height: .98;
  padding-bottom: 5px; border-bottom: 2px solid currentColor;
  transition: color .3s ease;
}
.brandmark__line { font-size: 28px; display: block; }
.header.scrolled .brandmark { color: #006699; }
.brandmark--footer { margin-bottom: 6px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .02em;
}
.brand__role { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 3px; }
.header.scrolled .brand__name { color: var(--navy); }
.header.scrolled .brand__role { color: var(--gold); }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color .2s ease;
}
.nav__links a:hover { color: #fff; }
.header.scrolled .nav__links a { color: var(--slate); }
.header.scrolled .nav__links a:hover { color: var(--navy); }
.nav__cta { padding: 10px 22px; font-size: 14px; }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(115deg, rgba(16,26,40,.93) 0%, rgba(22,38,59,.82) 55%, rgba(31,53,80,.7) 100%),
    url("images/hero.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -120px;
  width: 460px; height: 460px;
  border: 1px solid rgba(201,168,120,.25);
  border-radius: 50%;
}
.hero__inner { max-width: 760px; padding: 140px 0 90px; position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  color: #fff;
  letter-spacing: .01em;
}
.hero h1 .accent { color: var(--gold-soft); display: block; }
.hero p {
  font-size: 20px;
  color: rgba(255,255,255,.82);
  margin: 26px 0 38px;
  max-width: 600px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__meta {
  display: flex; gap: 40px; margin-top: 60px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 30px;
}
.hero__meta div span { display: block; }
.hero__meta .num { font-family: var(--serif); font-size: 34px; color: var(--gold-soft); }
.hero__meta .lbl { font-size: 14px; color: rgba(255,255,255,.7); }

/* ---------- Services ---------- */
.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;
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--bg-soft-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
}
.card:hover .card__icon { background: var(--navy); color: var(--gold-soft); }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { color: var(--slate); font-size: 16px; }
.card__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 22px; font-weight: 600; font-size: 15px; color: var(--gold);
}
.card__more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card__more svg { transform: translateX(4px); }

/* ---------- Dozenten-Partnerlogo ---------- */
.dozent-partner { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.dozent-partner span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.dozent-partner img { height: 56px; width: auto; display: block; }

/* ---------- Dezenter Zusatz-Hinweis ---------- */
.addon-note {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  font-size: 15px;
  color: var(--slate);
  padding: 18px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.addon-note svg { color: var(--gold); flex-shrink: 0; }
.addon-note strong { color: var(--navy); font-weight: 600; }
.addon-note a { color: var(--gold); font-weight: 600; white-space: nowrap; }
.addon-note a:hover { text-decoration: underline; }

/* ---------- Detail blocks ---------- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; scroll-margin-top: 100px; }
.detail + .detail { margin-top: 110px; }
.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; display: block; }
.detail h3 { font-family: var(--serif); font-size: 32px; margin-bottom: 18px; }
.detail p { color: var(--slate); margin-bottom: 18px; }
.detail ul { list-style: none; display: grid; gap: 12px; }
.detail li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.detail li svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--line);
  position: relative;
}
.step__num {
  font-family: var(--serif);
  font-size: 46px;
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: 16px;
}
.step h4 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 15px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.about__badge {
  position: absolute; right: -20px; bottom: -20px;
  background: var(--navy); color: #fff;
  padding: 22px 26px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about__badge .num { font-family: var(--serif); font-size: 32px; color: var(--gold-soft); display: block; }
.about__badge .lbl { font-size: 13px; color: rgba(255,255,255,.75); }
.about h2 { font-family: var(--serif); font-size: clamp(28px,3.5vw,40px); margin-bottom: 22px; }
.about p { color: var(--slate); margin-bottom: 18px; }
.about__sign { font-family: var(--serif); font-size: 26px; color: var(--navy); margin-top: 10px; }
.about__signrole { font-size: 14px; color: var(--slate); letter-spacing: .05em; }

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; text-align: center; border-radius: var(--radius);
  padding: 70px 40px; position: relative; overflow: hidden;
}
.cta h2 { color: #fff; font-family: var(--serif); font-size: clamp(28px,3.5vw,40px); margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 30px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact__info { display: grid; gap: 26px; 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(--bg-soft-2); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.info-item__icon svg { width: 22px; height: 22px; }
.info-item h4 { font-size: 16px; margin-bottom: 2px; }
.info-item p { color: var(--slate); font-size: 15px; }

.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(--navy); }
.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(--gold); 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; }

/* ---------- Cookie-Consent-Banner ---------- */
.consent {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: min(900px, calc(100% - 32px));
  background: var(--navy); 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(--gold-soft); font-weight: 600; }
.consent__btns { display: flex; gap: 10px; flex-shrink: 0; }
.consent .btn { padding: 11px 24px; font-size: 14px; }
.consent .btn--ghost-dark { background: transparent; border: 1px solid rgba(255,255,255,.45); color: #fff; }
.consent .btn--ghost-dark:hover { background: rgba(255,255,255,.12); }
@media (max-width: 560px) {
  .consent { bottom: 0; border-radius: var(--radius) var(--radius) 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); }
  .consent__btns { width: 100%; }
  .consent__btns .btn { flex: 1; justify-content: center; }
}
.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(--gold); }
.field-check a { color: var(--gold); font-weight: 600; }
.field-check a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq__item[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 22px 26px;
  font-weight: 600; font-size: 17px; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-size: 24px; font-weight: 400; color: var(--gold);
  transition: transform .25s ease; line-height: 1; flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 26px 24px; color: var(--slate); font-size: 16px; margin: 0; }

/* ===================================================================
   Variante B (Hormozi) – zusätzliche Komponenten
   =================================================================== */

/* Hero-Telefonzeile */
.hero__phone { margin-top: 20px !important; font-size: 15px; color: rgba(255,255,255,.75); }
.hero__phone a { color: var(--gold-soft); font-weight: 600; }

/* „Das nehme ich Ihnen ab" */
.relieve { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.relieve__item {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 22px; font-weight: 600; color: var(--navy); font-size: 16px;
}
.relieve__item svg { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; }
.relieve__note { text-align: center; margin-top: 28px; color: var(--slate); font-size: 17px; }

/* Testimonials */
.t-rating { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 38px; color: var(--slate); font-size: 16px; }
.t-rating__stars { color: var(--gold); 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: 32px 30px; margin: 0; }
.tcard blockquote { margin: 0 0 18px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.tcard blockquote::before { content: "“"; font-family: var(--serif); font-size: 48px; color: var(--gold-soft); line-height: 0; display: block; margin-bottom: 10px; }
.tcard figcaption { font-weight: 600; color: var(--navy); font-size: 15px; }

/* Lead-Magnet */
.leadmag { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow-sm); }
.leadmag__text h2 { font-family: var(--serif); font-size: clamp(24px,3vw,32px); margin: 6px 0 14px; }
.leadmag__text p { color: var(--slate); margin-bottom: 18px; }
.leadmag__text ul { list-style: none; display: grid; gap: 10px; }
.leadmag__text li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; }
.leadmag__text li svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.leadmag__form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 30px; }
.leadmag__form h3 { font-size: 19px; margin-bottom: 16px; color: var(--navy); }
.leadmag__status { margin-top: 12px; }

@media (max-width: 860px) {
  .relieve, .tcards { grid-template-columns: 1fr 1fr; }
  .leadmag { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
}
@media (max-width: 560px) {
  .relieve, .tcards { grid-template-columns: 1fr; }
}

/* ---------- Rechtsseiten (Impressum/Datenschutz) ---------- */
.legal-header {
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 130px 0 60px;
}
.legal-header a.back { color: var(--gold-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 h3 { font-size: 18px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--slate); margin-bottom: 14px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--gold); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.legal .todo {
  background: #fff7ec; border: 1px solid var(--gold-soft); border-radius: var(--radius-sm);
  padding: 4px 10px; color: #8a6a32; font-size: 14px; font-weight: 600; display: inline-block;
}

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 70px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer__brand .brand__name { color: #fff; }
.footer p { font-size: 15px; margin-top: 16px; }
.footer h5 { color: #fff; font-size: 15px; 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(--gold-soft); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: 14px;
}

/* ---------- Mitgliedschaften & Zertifizierung (strukturiert) ---------- */
.trustbar--static { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 56px 0; }
.trust-title { text-align: center; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 34px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 920px; margin: 0 auto; }
.trust-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.trust-card__logo {
  height: 64px; width: 100%;
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.trust-card__logo img { max-height: 56px; max-width: 80%; width: auto; object-fit: contain; display: block; }
.trust-card h3 { font-size: 16px; color: var(--navy); margin: 0 0 6px; line-height: 1.3; }
.trust-card p { color: var(--slate); font-size: 13.5px; line-height: 1.45; margin: 0; }
@media (max-width: 760px) {
  .trust-grid { grid-template-columns: 1fr; max-width: 380px; }
}

/* ---------- Trust marquee (eigenes Band) ---------- */
.trustbar { background: var(--navy); }
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
}
.marquee__item svg { width: 18px; height: 18px; color: var(--gold-soft); flex-shrink: 0; }
.marquee__item.is-strong { color: var(--gold-soft); font-weight: 600; }
/* Verbandslogo als weißer Chip (gut lesbar auf dunklem Band) */
.marquee__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 8px 16px;
  background: #fff;
  border-radius: 8px;
  flex-shrink: 0;
}
.marquee__logo img { height: 34px; width: auto; display: block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Team ---------- */
.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: 1/1; overflow: hidden; background: var(--bg-soft-2); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member__body { padding: 26px 26px 30px; }
.member__body h4 { font-family: var(--serif); font-size: 23px; }
.member__role { color: var(--gold); font-weight: 600; font-size: 14px; letter-spacing: .03em; margin: 4px 0 12px; }
.member__body p { color: var(--slate); font-size: 14.5px; }
.member__contact { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.member__contact a { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--slate); transition: color .2s; word-break: break-all; }
.member__contact a:hover { color: var(--gold); }
.member__contact svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }

/* ---------- Anfahrt / Map ---------- */
.map-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap__info { background: var(--navy); color: rgba(255,255,255,.82); padding: 50px 44px; }
.map-wrap__info h3 { color: #fff; font-family: var(--serif); font-size: 28px; margin-bottom: 22px; }
.map-wrap__info .info-item { margin-bottom: 22px; }
.map-wrap__info .info-item__icon { background: rgba(255,255,255,.08); color: var(--gold-soft); }
.map-wrap__info .info-item h4 { color: #fff; }
.map-wrap__info .info-item p { color: rgba(255,255,255,.72); }
.map-wrap__info .btn { margin-top: 6px; }
.map-wrap__map { min-height: 420px; position: relative; }
.map-wrap__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2); }

/* Datenschutzfreundlicher Karten-Platzhalter (lädt OSM erst nach Klick) */
.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(22,38,59,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,38,59,.04) 1px, transparent 1px);
  background-size: 26px 26px;
  cursor: pointer;
}
.map-consent svg { width: 40px; height: 40px; color: var(--gold); }
.map-consent strong { color: var(--navy); font-size: 17px; }
.map-consent span { color: var(--slate); font-size: 14px; max-width: 320px; }
.map-consent .map-consent__btn {
  margin-top: 4px; padding: 11px 22px; border-radius: 100px;
  background: var(--navy); color: #fff; font-weight: 600; font-size: 14px;
}

/* ---------- Reveal animation ---------- */
/* Nur ausblenden, wenn JavaScript aktiv ist – sonst bleibt alles sichtbar */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Bewegungsreduzierung respektieren ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none !important; transform: none !important; }
  .marquee__track { flex-wrap: wrap; justify-content: center; }
  .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; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards, .steps, .team { grid-template-columns: 1fr 1fr; }
  .detail, .about, .contact, .map-wrap { grid-template-columns: 1fr; gap: 40px; }
  .map-wrap { gap: 0; }
  .map-wrap__map { min-height: 340px; }
  .detail--rev .detail__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 26px 24px; box-shadow: var(--shadow);
  }
  .nav__links.open a { color: var(--navy); }
  .cards, .steps, .team, .footer__grid, .form .row { grid-template-columns: 1fr; }
  .hero__meta { gap: 28px; }
}

/* ---------- Überlauf-Schutz & Mobil-Feinschliff ---------- */
/* Grid-Elemente dürfen unter ihre Inhaltsbreite schrumpfen → kein horizontaler Überlauf auf schmalen Handys */
.cards > *, .steps > *, .team > *, .detail > *, .about > *, .contact > *,
.map-wrap > *, .leadmag > *, .trust-grid > * { min-width: 0; }
/* Sicherheitsnetz gegen minimale Überläufe */
html, body { overflow-x: hidden; }

@media (max-width: 720px) {
  /* Hero-Text bekommt seitlichen Abstand (klebte sonst am Rand) */
  .hero__inner { padding-left: 22px; padding-right: 22px; }
  /* About-Badge ragt nicht mehr über den Bildrand hinaus */
  .about__badge { right: 12px; bottom: 12px; padding: 16px 20px; }
}
