@charset "UTF-8";
/* =========================================================================
   Birger Petersen Immobilien e.K.
   Gestaltungsgrundlage – Farben aus dem Firmenlogo (Marineblau, Rot, Weiß)
   Keine externen Schriften oder Dienste (DSGVO).
   ========================================================================= */

/* --- 1. Grundwerte ---------------------------------------------------- */
:root {
  --navy-900: #06182b;
  --navy-850: #09223a;
  --navy-800: #0b2a4a;
  --navy-700: #123d68;
  --navy-600: #1b5082;
  --navy-100: #dce5ee;

  --red-700: #a4192a;
  --red-600: #c01f33;
  --red-100: #f7e3e5;

  --sand-50: #faf8f5;
  --sand-100: #f3efe8;
  --sand-200: #e9e3d9;
  --line: #e3ddd3;
  --line-strong: #cfc7ba;

  --ink: #15202b;
  --ink-soft: #3b4754;
  --muted: #5f6b78;
  --white: #ffffff;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shell: 1200px;
  --shell-narrow: 820px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(6, 24, 43, .06), 0 2px 8px rgba(6, 24, 43, .05);
  --shadow: 0 4px 12px rgba(6, 24, 43, .07), 0 14px 40px rgba(6, 24, 43, .08);
  --shadow-lg: 0 10px 30px rgba(6, 24, 43, .12), 0 30px 70px rgba(6, 24, 43, .14);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- 2. Zuruecksetzen -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.7vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--red-600); }

ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--red-600);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--navy-800); color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy-800);
  color: #fff;
  padding: .85rem 1.3rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}
.shell--narrow { width: min(100% - 2.5rem, var(--shell-narrow)); }

.muted { color: var(--muted); }
.center { text-align: center; }

.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; vertical-align: -.25em; }
.icon--lg { width: 1.75em; height: 1.75em; }
.icon--xl { width: 2.75em; height: 2.75em; }
.icon--end { width: 1.05em; height: 1.05em; margin-left: .55em; transition: transform .25s var(--ease); }

/* --- 3. Schaltflaechen ------------------------------------------------- */
.button {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
  --btn-border: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  min-height: 3.25rem;
  padding: .85rem 1.65rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .22s var(--ease), border-color .22s var(--ease),
              color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--btn-fg);
}
.button:hover .icon--end { transform: translateX(4px); }
.button:active { transform: translateY(0); }

.button--primary { --btn-bg: var(--red-600); --btn-border: var(--red-600); }
.button--primary:hover { --btn-bg: var(--red-700); --btn-border: var(--red-700); }

.button--outline { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-border: var(--line-strong); }
.button--outline:hover { --btn-bg: var(--navy-800); --btn-fg: #fff; --btn-border: var(--navy-800); }

.button--ghost { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-border: transparent; }
.button--ghost:hover { --btn-bg: var(--sand-100); --btn-border: var(--sand-100); box-shadow: none; }

.button--light { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-border: #fff; }
.button--light:hover { --btn-bg: var(--sand-100); --btn-border: var(--sand-100); }

.button--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255,255,255,.45); }
.button--ghost-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-border: rgba(255,255,255,.75); --btn-fg: #fff; }

.button--plain {
  --btn-bg: transparent; --btn-fg: var(--muted); --btn-border: transparent;
  min-height: 2.75rem; padding: .5rem 1rem; font-weight: 500;
}
.button--plain:hover { --btn-fg: var(--navy-800); box-shadow: none; }

.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.textlink {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--navy-700);
  text-decoration: none;
  border-bottom: 2px solid var(--red-100);
  padding-bottom: 2px;
  transition: border-color .22s var(--ease), color .22s var(--ease);
}
.textlink:hover { color: var(--red-600); border-color: var(--red-600); }
.textlink:hover .icon--end { transform: translateX(4px); }
.textlink-wrap { margin-top: 1.6rem; }

.linklike {
  background: none; border: 0; padding: 0;
  font: inherit; color: inherit; cursor: pointer; text-decoration: underline;
  text-underline-offset: .2em;
}
.linklike:hover { color: var(--red-600); }

/* --- 4. Kopfbereich ---------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255,255,255,.82);
  font-size: .85rem;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  min-height: 2.75rem;
  padding-block: .4rem;
}
.topbar__claim { margin: 0; letter-spacing: .02em; }
.topbar__contact { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.topbar__contact a {
  display: inline-flex; align-items: center; gap: .45rem;
  color: #fff; text-decoration: none; font-weight: 500;
}
.topbar__contact a:hover { color: var(--navy-100); }
.topbar__contact .icon { width: 1rem; height: 1rem; opacity: .75; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(6,24,43,.1); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.25rem;
}

.logo { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.logo img { width: 56px; height: 56px; object-fit: contain; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: .005em;
}
.logo__text span {
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }

.nav__link {
  display: block;
  padding: .6rem .85rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover { color: var(--navy-800); background: var(--sand-100); }
.nav__link.is-active { color: var(--navy-900); }
.nav__link.is-active::after {
  content: "";
  display: block;
  height: 2px;
  width: calc(100% - 1.7rem);
  margin: .3rem .85rem 0;
  background: var(--red-600);
  position: absolute;
  bottom: .2rem;
  left: 0;
}

.nav__expand { display: none; }

.nav__sub {
  position: absolute;
  top: calc(100% + .45rem);
  left: 0;
  min-width: 17rem;
  margin: 0;
  padding: .5rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item--has-children:hover .nav__sub,
.nav__item--has-children:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__sub a {
  display: block;
  padding: .6rem .8rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: .93rem;
  font-weight: 500;
  text-decoration: none;
}
.nav__sub a:hover { background: var(--sand-100); color: var(--navy-800); }

.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__cta .button { min-height: 2.9rem; padding: .6rem 1.2rem; font-size: .93rem; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .6rem;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .6rem .9rem;
  font: inherit;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; }
.nav-toggle__bars span {
  display: block; width: 20px; height: 2px; background: var(--navy-800);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- 5. Brotkrumen ----------------------------------------------------- */
.breadcrumb { background: var(--sand-50); border-bottom: 1px solid var(--line); font-size: .85rem; }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  list-style: none; margin: 0; padding: .75rem 0;
}
.breadcrumb li + li::before { content: "›"; margin-right: .5rem; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy-800); text-decoration: underline; }
.breadcrumb span { color: var(--navy-900); font-weight: 600; }

/* --- 6. Eingangsbereich ------------------------------------------------ */
.hero { position: relative; isolation: isolate; background: var(--navy-900); color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__picture, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(6,24,43,.93) 0%, rgba(6,24,43,.78) 42%, rgba(6,24,43,.32) 78%, rgba(6,24,43,.18) 100%),
    linear-gradient(to top, rgba(6,24,43,.55), transparent 45%);
}
.hero--plain { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }

.hero__inner {
  display: flex;
  align-items: center;
  min-height: clamp(30rem, 72vh, 44rem);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.hero__content { max-width: 40rem; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero__text {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem);
  color: rgba(255,255,255,.88);
  max-width: 34rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-600);
}
.eyebrow--light { color: #fff; opacity: .95; display: inline-flex; align-items: center; }
.eyebrow--light::before {
  content: ""; width: 2.2rem; height: 2px; background: var(--red-600);
  margin-right: .9rem; display: inline-block;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.8rem;
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero__badges li {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .9rem; color: rgba(255,255,255,.88); max-width: 17rem;
}
.hero__badges .icon { color: var(--red-600); margin-top: .15em; }

/* --- 7. Seitenkopf Unterseiten ----------------------------------------- */
.pagehead { background: var(--sand-50); border-bottom: 1px solid var(--line); }
.pagehead__inner {
  display: grid;
  gap: var(--gap);
  align-items: center;
  padding-block: clamp(2.75rem, 6vw, 4.75rem);
}
.pagehead--media .pagehead__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.pagehead__text { max-width: 44rem; }
.pagehead h1 { margin-bottom: .45em; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-soft); }

.frame {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--sand-100);
}
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* --- 8. Abschnitte ----------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--sand-50); }
.section--reviews {
  background:
    radial-gradient(1200px 400px at 50% -10%, var(--sand-100), transparent 70%),
    var(--white);
}

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow--light::before { display: none; }
.section-head h2 { margin-bottom: .45em; }

.split__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: var(--section-y);
}
.split:nth-of-type(even) .split__media { order: -1; }
.prose p { color: var(--ink-soft); }

.checklist { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: .85rem; }
.checklist li { display: flex; align-items: flex-start; gap: .75rem; }
.checklist .icon {
  color: var(--red-600);
  background: var(--red-100);
  border-radius: 50%;
  padding: .2em;
  width: 1.5em; height: 1.5em;
  margin-top: .1em;
}

/* --- 9. Karten --------------------------------------------------------- */
.cards { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); list-style: none; margin: 0; padding: 0; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
/* Objektliste: einzelne Objekte sollen nicht ueber die volle Breite gezogen werden. */
.cards--offers { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { padding: clamp(1.5rem, 2.5vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem; height: 3.25rem;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--navy-800);
  color: #fff;
}
.card h3 { margin-bottom: .5em; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--red-600); }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card .textlink { margin-top: auto; padding-top: 1.2rem; align-self: flex-start; }

.card__meta { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .9rem; }
.tag {
  display: inline-block;
  margin-bottom: .8rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: var(--red-100);
  color: var(--red-700);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.factlist {
  display: flex; flex-wrap: wrap; gap: .4rem .6rem;
  list-style: none; margin: .4rem 0 1rem; padding: 0;
}
.factlist li {
  padding: .25rem .65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--ink-soft);
}

/* --- 10. Ablauf -------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.step { position: relative; padding-top: 1.75rem; border-top: 2px solid var(--line); }
.step__number {
  position: absolute;
  top: -.95rem;
  left: 0;
  background: #fff;
  padding-right: .75rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--red-600);
  line-height: 1;
}
.section--tint .step__number { background: var(--sand-50); }
.step h3 { margin-bottom: .4em; }
.step p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* --- 11. Vertrauensmerkmale -------------------------------------------- */
.usps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  list-style: none; margin: 0; padding: 0;
}
.usp {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red-600);
  border-radius: var(--radius-sm);
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
}
.usp__icon { color: var(--navy-700); display: block; margin-bottom: .8rem; }
.usp h3 { margin-bottom: .35em; font-size: 1.1rem; }
.usp p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* --- 12. Bewertungen --------------------------------------------------- */
.stars { display: inline-flex; gap: .15rem; }
.stars .icon { width: 1.15em; height: 1.15em; color: var(--line-strong); }
.stars .star--on { color: #e0a51c; }

.reviews__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .4rem .9rem;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  color: var(--ink-soft);
}
.reviews__summary .stars .icon { width: 1.4em; height: 1.4em; }

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  list-style: none; margin: 0; padding: 0;
}
.review {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review__mark { position: absolute; top: 1.4rem; right: 1.5rem; color: var(--sand-200); }
.review blockquote { margin: 0; }
.review blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink);
}
.review blockquote p::before { content: "„"; }
.review blockquote p::after { content: "“"; }
.review__author {
  margin: auto 0 0;
  padding-top: .4rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
}
.reviews + .center { margin-top: clamp(2rem, 4vw, 3rem); }

/* --- 13. Haeufige Fragen ----------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem);
  font-weight: 600;
  color: var(--navy-900);
  transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 1.4rem; height: 1.4rem;
  margin-top: .2rem;
  background:
    linear-gradient(var(--red-600), var(--red-600)) center/100% 2px no-repeat,
    linear-gradient(var(--red-600), var(--red-600)) center/2px 100% no-repeat;
  transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--red-600); }
.faq__answer { padding: 0 0 1.5rem; max-width: 60ch; color: var(--ink-soft); }

/* --- 14. Kontaktaufforderung ------------------------------------------- */
.cta {
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
}
.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 4.75rem);
}
.cta h2 { color: #fff; }
.cta .lead { color: rgba(255,255,255,.85); }
.cta__actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: flex-end; }
.cta__mail { width: 100%; text-align: right; margin: 0; font-size: .92rem; }
.cta__mail a { color: rgba(255,255,255,.85); }
.cta__mail a:hover { color: #fff; }

/* Sekundaere Schaltflaechen auf dunklem Grund immer hell darstellen. */
.cta .button--outline, .cta .button--ghost,
.hero .button--outline, .hero .button--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-border: rgba(255,255,255,.5);
}
.cta .button--outline:hover, .cta .button--ghost:hover,
.hero .button--outline:hover, .hero .button--ghost:hover {
  --btn-bg: #fff;
  --btn-fg: var(--navy-900);
  --btn-border: #fff;
}

/* --- 15. Kontaktseite -------------------------------------------------- */
.section--contact { padding-block: var(--section-y); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.contact__details {
  position: sticky;
  top: 7rem;
  background: var(--sand-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.contact__details h2 { font-size: 1.4rem; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.contact__list li { display: flex; gap: 1rem; }
.contact__list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .25rem; }
.contact__list p, .contact__list address { margin: 0; font-style: normal; }
.contact__list a { color: var(--navy-800); font-weight: 600; text-decoration: none; }
.contact__list a:hover { color: var(--red-600); text-decoration: underline; }
.contact__icon {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy-700);
}
.contact__promise {
  display: flex; align-items: flex-start; gap: .85rem;
  margin-top: 1.75rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--muted);
}
.contact__promise .icon { color: var(--navy-600); flex: none; }
.contact__promise p { margin: 0; }

/* --- 16. Formulare ----------------------------------------------------- */
.form { margin-top: 2rem; }
.form__row { margin-bottom: 1.25rem; }
.form__row--two { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field { display: block; }
.field__label {
  display: block;
  margin-bottom: .45rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy-900);
}
.field__hint { font-weight: 400; color: var(--muted); }
.req { color: var(--red-600); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
textarea { min-height: 10rem; resize: vertical; line-height: 1.6; }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy-800) 50%),
                    linear-gradient(135deg, var(--navy-800) 50%, transparent 50%);
  background-position: calc(100% - 1.3rem) 1.35rem, calc(100% - .95rem) 1.35rem;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.75rem;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(18,61,104,.14);
  outline: none;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--red-600);
  outline-offset: 2px;
}
input:user-invalid, textarea:user-invalid, select:user-invalid { border-color: var(--red-600); }

.checkbox { display: flex; align-items: flex-start; gap: .75rem; font-size: .93rem; color: var(--ink-soft); }
.checkbox input {
  flex: none;
  width: 1.3rem; height: 1.3rem;
  margin-top: .15rem;
  accent-color: var(--red-600);
}

.form__note { font-size: .85rem; color: var(--muted); margin: 1.25rem 0; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form__required { margin: 0; font-size: .85rem; color: var(--muted); }

.notice {
  margin: 1.75rem 0;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  border-left: 4px solid;
}
.notice h3 { margin-bottom: .4em; font-size: 1.15rem; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice--success { background: #eef7f0; border-color: #2e7d4f; }
.notice--success h3 { color: #1f5c39; }
.notice--error { background: var(--red-100); border-color: var(--red-600); }
.notice--error h3 { color: var(--red-700); }
.notice ul { margin: 0; padding-left: 1.2rem; }

/* --- 17. Platzhalter / Einbindungen ------------------------------------ */
.empty-state {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--sand-50);
}
.empty-state .icon { color: var(--navy-600); opacity: .5; margin-bottom: 1rem; }
.empty-state p { max-width: 36rem; margin-inline: auto; color: var(--ink-soft); }
.empty-state .button { margin-top: 1.5rem; }

.consent-embed__notice {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sand-50);
}
.consent-embed__notice p { max-width: 42rem; margin-inline: auto; color: var(--ink-soft); }
.consent-embed__notice .button { margin-top: 1.25rem; }

/* --- 18. Lesbarer Fliesstext (Recht) ----------------------------------- */
.prose--legal h2 {
  font-size: clamp(1.3rem, 1.2rem + .6vw, 1.7rem);
  margin-top: 2.5em;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.prose--legal h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose--legal h3 { margin-top: 2em; font-size: 1.15rem; color: var(--navy-700); }
.prose--legal p { color: var(--ink-soft); }
.prose--legal a { word-break: break-word; }

/* --- 19. Fusszeile ----------------------------------------------------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.78); margin-top: 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(1.75rem, 3vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer h2 {
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
}
.footer__brand img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 1rem; }
.footer__name { font-family: var(--font-display); font-size: 1.2rem; color: #fff; margin-bottom: .5rem; }
.footer__note { font-size: .92rem; max-width: 24rem; }
.footer address { font-style: normal; line-height: 1.8; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .95rem; }
.footer__hours { margin-top: 1.25rem; font-size: .92rem; }
.footer__hours strong, .footer__area strong { color: #fff; }
.footer__area { margin-top: 1.5rem; font-size: .88rem; line-height: 1.7; }
.footer .linklike { color: rgba(255,255,255,.85); }
.footer .linklike:hover { color: #fff; }

.footer__bar { border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.footer__bar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1.5rem; padding-block: 1.25rem;
}
.footer__bar p { margin: 0; }

/* --- 20. Mobile Schnellkontaktleiste ----------------------------------- */
.mobile-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 95;
  display: none;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(6,24,43,.1);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  min-height: 3.75rem;
  padding: .5rem .25rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy-800);
  text-decoration: none;
}
.mobile-bar a:active { background: var(--sand-100); }
.mobile-bar__cta { background: var(--red-600); color: #fff !important; }
.mobile-bar .icon { width: 1.3rem; height: 1.3rem; }

/* --- 21. Cookie-Hinweis ------------------------------------------------ */
.cookie {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 200;
  padding: 1rem;
  display: flex;
  justify-content: center;
}
.cookie[hidden] { display: none; }
.cookie__box {
  width: min(100%, 44rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.cookie h2 { font-size: 1.2rem; margin-bottom: .5em; }
.cookie p { font-size: .92rem; color: var(--ink-soft); }
.cookie__choices { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 1.1rem 0 1.4rem; }
.cookie__choice { display: flex; align-items: center; gap: .6rem; font-size: .92rem; }
.cookie__choice input { width: 1.2rem; height: 1.2rem; accent-color: var(--red-600); }
.cookie__choice small { color: var(--muted); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.cookie__actions .button { min-height: 2.9rem; padding: .6rem 1.2rem; font-size: .92rem; }

/* --- 21b. Partner und Siegel -------------------------------------------- */
.partner__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.partner__item { flex: 0 1 auto; }
.partner__badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 5.25rem;
  padding: 1rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
a.partner__badge:hover {
  border-color: var(--navy-700);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.partner__logo img { width: auto; max-width: 160px; max-height: 64px; object-fit: contain; }
.partner__mark { color: var(--red-600); display: inline-flex; }
.partner__text { display: grid; gap: .15rem; }
.partner__text strong { font-size: 1rem; line-height: 1.3; }
.partner__text small { color: var(--ink-soft); font-size: .86rem; }

/* --- 22. Sanfte Einblendungen ------------------------------------------ */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

/* --- 23. Darstellung auf kleineren Bildschirmen ------------------------- */
@media (max-width: 1080px) {
  .nav__cta .button--ghost { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .pagehead--media .pagehead__inner,
  .split__inner,
  .cta__inner,
  .contact__grid { grid-template-columns: 1fr; }

  .split:nth-of-type(even) .split__media { order: 0; }
  .cta__actions { justify-content: flex-start; }
  .cta__mail { text-align: left; }
  .contact__details { position: static; }
  .topbar__claim { display: none; }
  .topbar__inner { justify-content: center; }
  .frame img { aspect-ratio: 16 / 10; }

  /* Auf schmalen Bildschirmen laeuft der Text ueber die ganze Breite:
     deshalb gleichmaessig abdunkeln, damit er auf jedem Bild lesbar bleibt. */
  .hero::after {
    background: linear-gradient(180deg, rgba(6,24,43,.9) 0%, rgba(6,24,43,.82) 55%, rgba(6,24,43,.74) 100%);
  }
}

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; position: relative; z-index: 2; }

  /* Ohne Weichzeichner, damit das ausklappbare Menue die volle Hoehe nutzen kann. */
  .header { background: #fff; backdrop-filter: none; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(22rem, 86vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5.5rem 1.5rem 2rem;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    overflow-y: auto;
    visibility: hidden;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { padding: 1rem .25rem; font-size: 1.05rem; }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { color: var(--red-600); }

  .nav__item--has-children { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .nav__expand {
    display: block;
    width: 2.75rem; height: 2.75rem;
    border: 0; background: none; cursor: pointer;
    position: relative;
  }
  .nav__expand::before, .nav__expand::after {
    content: ""; position: absolute; inset: 50% auto auto 50%;
    width: 12px; height: 2px; background: var(--navy-800);
    transform: translate(-50%, -50%);
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  .nav__expand::after { transform: translate(-50%, -50%) rotate(90deg); }
  .nav__expand[aria-expanded="true"]::after { opacity: 0; }

  .nav__sub {
    grid-column: 1 / -1;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--red-100);
    border-radius: 0;
    margin: 0 0 .75rem .25rem;
    padding: 0 0 0 .85rem;
    display: none;
  }
  .nav__sub.is-open { display: block; }

  .nav__cta { margin-top: 1.75rem; flex-direction: column; align-items: stretch; }
  .nav__cta .button { width: 100%; }

  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(6,24,43,.5);
  }

}

@media (max-width: 820px) {
  .header__inner { min-height: 4.5rem; }
  .logo img { width: 46px; height: 46px; }
  .logo__text strong { font-size: 1.05rem; }
  .logo__text span { font-size: .68rem; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 4rem; }
  .cookie { bottom: 4rem; }
  html { scroll-padding-top: 5rem; }
}

@media (max-width: 560px) {
  .shell, .shell--narrow { width: calc(100% - 2rem); }
  /* Groessere Tippflaechen fuer Fusszeile und Kontaktzeile */
  .footer__links a,
  .footer__col a,
  .footer__bar a,
  .cta__mail a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
  }
  .footer__links { gap: .2rem; }

  .topbar__contact { gap: 1rem; font-size: .8rem; }
  .topbar__contact li:nth-child(2) { display: none; }
  .hero__inner { min-height: auto; padding-block: 3.5rem; }
  .hero__badges { gap: .75rem; }
  .hero__badges li { max-width: none; width: 100%; }
  .actions .button { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 2rem; }
  .review { padding: 1.5rem; }
}

/* --- 24. Bedienhilfen und Druck ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .nav, .nav-toggle, .mobile-bar, .cookie, .cta, .breadcrumb { display: none !important; }
  body { padding: 0; color: #000; }
  .hero { background: none; color: #000; }
  .hero::after, .hero__media { display: none; }
  .hero h1, .hero__text { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
