
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-var.woff2") format("woff2-variations"),
       url("assets/fonts/montserrat-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
    --ink:          #14161a;    --ink-soft:     #2a2e35;
  --steel:        #5a6068;    --mist:         #f2f1ef;    --line:         #e0dedb;
  --paper:        #ffffff;
  --bordeaux:     #7e1a17;    --bordeaux-lit: #9b2b26;  
    --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(1.9rem, 1.5rem + 2vw, 3rem);
  --step-4:  clamp(2.3rem, 1.6rem + 3.4vw, 4.2rem);

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 22, 26, .04), 0 12px 28px rgba(20, 22, 26, .06);
  --shadow-lift: 0 4px 10px rgba(20, 22, 26, .07), 0 24px 48px rgba(20, 22, 26, .12);
  --ease: cubic-bezier(.2, .6, .2, 1);
}

body.theme-safehome {
  --bordeaux:     #1f6e3f;
  --bordeaux-lit: #278a4f;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; }
[id] { scroll-margin-top: 88px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.7;
  color: var(--steel);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--bordeaux-lit); }
:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 1000;
  background: var(--bordeaux);
  color: #fff;
  padding: .8rem 1.4rem;
  border-radius: .3rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform .15s ease;
}
.skip-link:focus {
  transform: translateY(0);
}
.skip-link:hover {
  color: #e7e7e7;
}

h1, h2, h3 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); letter-spacing: -0.012em; }
p  {
  margin: 0 0 1.2em;
  max-width: 68ch;
  text-align: left;
}
strong { color: var(--ink); font-weight: 600; }
.hero-lead strong,
.page-lead strong,
.cta-lead strong { color: #fff; }
.testimonial blockquote strong { color: var(--ink); font-weight: 700; }

.eyebrow, .cta-eyebrow {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin: 0 0 .9rem;
}

.rule {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--bordeaux);
  margin: 0 0 1.6rem;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.text-link span { transition: transform .25s var(--ease); display: inline-block; }
.text-link:hover span { transform: translateX(4px); }

.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 2.4rem; }

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.narrow { max-width: 780px; }

.section { padding-block: clamp(3rem, 6.5vw, 5.5rem); }
.section-grey { background: var(--mist); }

main { display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: .7rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand img { height: 48px; width: auto; max-width: 200px; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-inline-start: auto;
  padding: .5rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--bordeaux);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.header-phone:hover { background: var(--mist); border-color: var(--bordeaux); }
.header-phone-icon { font-size: 1.05em; }
.nav-list-phone { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  cursor: pointer;
  padding: 11px 10px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle-bar {
  display: block; height: 2px; width: 100%;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  padding: 0;
}
.nav-list > li { position: relative; }
.nav-list a,
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: .75rem .85rem;
  background: none;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
}
.nav-list a:hover,
.dropdown-toggle:hover,
.nav-list a.is-active,
.dropdown-toggle.is-active {
  color: var(--bordeaux);
}
.nav-list a { position: relative; }
.dropdown-toggle { position: relative; }
.dropdown-toggle.is-active::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .3rem;
  height: 2px;
  background: var(--bordeaux);
}
.nav-safehome { color: #1f6e3f; }
.nav-safehome:hover,
.nav-safehome.is-active { color: #278a4f; }
.nav-list a.is-active::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .55rem;
  height: 2px;
  background: var(--bordeaux);
}

.chevron {
  width: 7px; height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s var(--ease);
}
.has-dropdown[data-open="true"] .chevron { transform: rotate(-135deg) translateY(-2px); }

.dropdown {
  list-style: none;
  margin: 0;
  padding: .45rem;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-dropdown[data-open="true"] .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block;
  width: 100%;
  text-transform: none;
  letter-spacing: 0;
  font-size: .93rem;
  padding: .6rem .8rem;
}
.dropdown a:hover { background: var(--mist); }
.dropdown a.is-active { background: var(--mist); }
.dropdown a.is-active::after { display: none; }

.dropdown-mega {
  display: flex;
  gap: 1.75rem;
  padding: .9rem 1rem;
  min-width: 520px;
}
.dropdown-group { flex: 1 1 0; min-width: 225px; }
.dropdown-group ul { list-style: none; margin: 0; padding: 0; }
.dropdown-heading {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--bordeaux) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  padding: .35rem .8rem .5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: .3rem;
}
.dropdown-heading:hover { color: var(--bordeaux-lit) !important; }
.dropdown-group ul a { font-size: .93rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.7rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent { background: var(--bordeaux); color: var(--paper); }
.btn-accent:hover { background: var(--bordeaux-lit); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--mist); color: var(--ink); }
.btn-outline-light {
  border-color: rgba(255, 255, 255, .45);
  color: var(--paper);
  background: transparent;
}
.btn-outline-light:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, .1);
  color: var(--paper);
}

.hero {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  padding-block: clamp(4.5rem, 14vw, 8.5rem) clamp(3.5rem, 9vw, 6.5rem);
  min-height: clamp(30rem, 40vw, 56rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/images/hero-banner.jpg");
  background-image: image-set(url("assets/images/hero-banner.webp") type("image/webp"), url("assets/images/hero-banner.jpg") type("image/jpeg"));
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 73% 46%;
  opacity: .34;
  filter: grayscale(1) contrast(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--ink) 0%, rgba(20,22,26,.72) 45%, rgba(20,22,26,.35) 100%),
    radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(20,22,26,.55) 100%);
}
@media (max-width: 640px) {
  .hero {
    min-height: 30rem;
    padding-block: 6.5rem 3rem;
    align-items: flex-end;
  }
  .hero::before {
    background-image: url("assets/images/hero-banner-mobile.jpg");
    background-image: image-set(url("assets/images/hero-banner-mobile.webp") type("image/webp"), url("assets/images/hero-banner-mobile.jpg") type("image/jpeg"));
    opacity: .55;
    background-position: 47% top;
  }
  .hero::after {
    background:
      linear-gradient(to bottom, rgba(20,22,26,.2) 0%, rgba(20,22,26,.6) 40%, var(--ink) 72%);
  }
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--paper); max-width: 19ch; font-size: var(--step-3); font-weight: 700; }
.hero .eyebrow { color: #d99a97; }
.hero-lead {
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.55;
  max-width: 52ch;
  color: rgba(255, 255, 255, .84);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin: 1.8rem 0 1.4rem;
}
.hero-note {
  font-size: var(--step--1);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin: 0;
}
.hero-note a {
  color: #ff8a84;
  font-weight: 700;
}
.hero-note a:hover { color: #ffb3af; }
.hero-note-break { display: none; }
@media (max-width: 640px) {
  .hero-note-break { display: block; content: ""; margin-bottom: .25rem; }
}

.page-hero {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  padding-block: clamp(2.4rem, 5.5vw, 4rem);
}
.page-hero h1 { color: var(--paper); font-size: var(--step-3); }
.page-hero .eyebrow { color: #d99a97; }
.page-hero + .section { padding-block-start: clamp(1.6rem, 3.5vw, 2.8rem); }
.service-banner {
  position: relative;
  width: 100%;
  height: clamp(170px, 22vw, 320px);
  overflow: hidden;
}
.service-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 26, 0) 45%, rgba(20, 22, 26, .5) 100%);
}
.service-banner::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--bordeaux);
  z-index: 1;
}
.service-banner + .section { padding-block-start: clamp(1.6rem, 3.5vw, 2.8rem); }

.parallax-banner {
  position: relative;
  width: 100%;
  height: clamp(220px, 30vw, 620px);
  overflow: hidden;
  background-color: var(--paper);
  margin-block: 0;
}
.parallax-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.parallax-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 13, .1);
  transition: background .4s var(--ease), opacity .4s var(--ease);
}
.parallax-banner:hover::after { background: rgba(10, 11, 13, .3); }
/* Sections immediately before/after the banner have their spacing tightened
   so the banner sits flush against the highlight box above, but the section
   below keeps normal breathing room. */
.banner-lead-out { padding-block-end: clamp(1rem, 2.5vw, 1.6rem) !important; }
@media (max-width: 700px) {
  .parallax-banner {
    height: clamp(160px, 55vw, 260px);
  }
}
.parallax-banner--safeline::before {
  background-image: url("assets/images/safeline.jpg");
  background-image: image-set(url("assets/images/safeline.webp") type("image/webp"), url("assets/images/safeline.jpg") type("image/jpeg"));
  background-position: center center;
}
.parallax-banner--safehome::before {
  background-image: url("assets/images/safehome/safehome.jpg");
  background-image: image-set(url("assets/images/safehome/safehome.webp") type("image/webp"), url("assets/images/safehome/safehome.jpg") type("image/jpeg"));
  background-position: center center;
}
@media (max-width: 700px) {
  .parallax-banner--safeline {
    height: clamp(120px, 34vw, 190px);
  }
  .parallax-banner--safeline::before {
    background-position: left center;
  }
  .parallax-banner--safehome::before {
    background-position: 26% center;
  }
}
.inline-figure {
  margin: 1.6rem 0 0;
}
.inline-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
.page-lead {
  font-size: var(--step-1);
  font-weight: 300;
  color: rgba(255, 255, 255, .82);
  max-width: 56ch;
  margin: 0;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  margin-top: 2.4rem;
}
.card {
  flex: 1 1 300px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: transparent; color: inherit; }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); }
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.85) contrast(1.02);
  transition: transform .5s var(--ease), filter .4s var(--ease);
}
.card:hover .card-media img { transform: scale(1.05); filter: grayscale(0); }
.card-body { padding: 1.6rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .55rem; }
.card-body p { font-size: .95rem; margin-bottom: 1.4rem; }
.card-more {
  margin-top: auto;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bordeaux);
}
.card-more span { display: inline-block; transition: transform .25s var(--ease); }
.card:hover .card-more span { transform: translateX(5px); }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.feature-list li {
  position: relative;
  padding: .7rem 0 .7rem 1.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.28rem;
  width: 10px; height: 2px;
  background: var(--bordeaux);
}

.toc-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0 0 2.8rem;
  padding: 0;
}
.toc-list a {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  text-decoration: none;
  background: var(--mist);
  padding: .6rem 1.1rem;
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.toc-list a:hover { background: var(--bordeaux); color: var(--paper); }

.service-list { margin: 0 0 2rem; }
.service-list dt {
  color: var(--ink);
  font-weight: 700;
  font-size: var(--step-0);
  margin-top: 1.7rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--bordeaux);
}
.service-list dd { margin: .5rem 0 0 1.1rem; }

.highlight-box {
  background: var(--mist);
  border-left: 3px solid var(--bordeaux);
  padding: 1.8rem 1.8rem .6rem;
  margin: 2.5rem 0;
  border-radius: var(--radius-sm);
}
.highlight-box h2 { font-size: var(--step-1); }

.pull-quote {
  margin: 3rem 0 1rem;
  padding: 0;
  font-size: var(--step-2);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-align: center;
}

.split-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  margin-top: 2.5rem;
}
.split-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.rounded-media {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split-card-text { padding: 1.4rem 1.5rem; }
.split-card-text p { margin: 0; }

.testimonial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.testimonial-media { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.testimonial blockquote { margin: 0; padding: 0 1.6rem 1.6rem; }
.testimonial blockquote p { font-size: 1.1rem; font-style: italic; color: var(--ink-soft); }
.testimonial blockquote footer { font-size: var(--step--1); font-weight: 600; color: var(--bordeaux); }
@media (min-width: 640px) {
  .testimonial { grid-template-columns: 1fr 1fr; align-items: center; }
  .testimonial-media { aspect-ratio: auto; height: 100%; }
  .testimonial blockquote { padding: 1.6rem 1.6rem 1.6rem 0; }
}

.safehome-brand-intro { text-align: center; padding-bottom: 0; }
.safehome-logo { height: 64px; width: auto; margin: 0 auto 1.4rem; display: block; }
.safehome-brand-intro p { max-width: 62ch; margin-inline: auto; }
.split-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--mist); }
.split-card h3 { margin: 1.3rem 1.4rem .4rem; }
.split-card p { margin: 0 1.4rem 1.5rem; font-size: .95rem; }

/* App-Screenshot ist Hochformat (Handyformat) – eigener "Phone-Frame"-Look
   statt der generischen 4:3-Kachel, damit nichts abgeschnitten wird. */
.safehome-app-block { align-items: stretch; }
@media (min-width: 640px) {
  .safehome-app-block { grid-template-columns: minmax(200px, 280px) 1fr; }
}
.safehome-app-block .split-card:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #101114;
  padding: clamp(1.4rem, 4vw, 2.4rem);
}
.safehome-app-block .split-card:first-child img {
  aspect-ratio: auto;
  width: auto;
  max-width: 190px;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 20px;
  border: 6px solid #05060a;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .4);
}
@media (max-width: 520px) {
  .safehome-app-block .split-card:first-child img { max-width: 180px; max-height: 340px; }
}
.safehome-app-block .split-card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-band {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  padding-block: clamp(2.4rem, 5.5vw, 4rem);
  text-align: center;
  border-top: 3px solid var(--bordeaux);
}
.cta-band .cta-eyebrow { color: #d99a97; max-width: none; margin-inline: auto; text-align: center; }
.cta-band h2 {
  color: var(--paper);
  max-width: 22ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-info address { font-style: normal; color: var(--ink); font-weight: 500; margin-bottom: 1.6rem; }
.contact-list { list-style: none; margin: 0 0 1.8rem; padding: 0; }
.contact-list li { padding: .9rem 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-label {
  display: block;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: .2rem;
}
.contact-list a {
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.contact-list a:hover { color: var(--bordeaux); }
.contact-note {
  font-size: var(--step--1);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
}
.map-embed {
  margin-top: 1.75rem;
  border: 1px solid var(--line, #e2ddd9);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper, #f7f4f3);
}
.map-embed-full {
  width: 100%;
  margin-top: 2.5rem;
}
.map-embed-full.is-loaded { aspect-ratio: 21 / 9; }
.map-embed-full iframe { min-height: 380px; }
.map-embed.is-loaded { aspect-ratio: 16 / 9; }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(1) contrast(1.05); }
.map-embed-load {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 2.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: var(--bordeaux);
  text-align: center;
}
.map-embed-load:hover { text-decoration: underline; }
.map-embed-icon { font-size: 1.3em; }
.map-embed-hint {
  margin: 0 1.5rem 1.25rem;
  font-size: var(--step--2, .8rem);
  color: var(--steel);
  text-align: center;
}

.contact-form { max-width: 560px; }
.form-field { margin-bottom: 1.3rem; }
.form-field label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .5rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: .85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--bordeaux);
  box-shadow: 0 0 0 3px rgba(126, 26, 23, .12);
}
.form-optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--steel); }
.form-privacy { font-size: .85rem; color: var(--steel); }

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

.form-status {
  margin: 1.1rem 0 0;
  font-size: .92rem;
  font-weight: 600;
  min-height: 1.3em;
  scroll-margin-top: 6.5rem;
}
.form-status:empty { margin: 0; }
.form-status.is-success,
.form-status.is-error {
  display: block;
  padding: .85rem 1.1rem;
  border-radius: var(--radius-sm);
  color: #fff;
}
.form-status.is-success { background: #2e7d4f; }
.form-status.is-error { background: var(--bordeaux); }

.legal { font-size: .97rem; }
.legal h2 { font-size: var(--step-1); margin-top: 2.6rem; }
.legal h3 { font-size: var(--step-0); margin-top: 1.8rem; font-weight: 700; }
.legal p { max-width: none; }
.legal-list dt {
  color: var(--ink);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 1.6rem;
}
.legal-list dd { margin: .35rem 0 0; }
.legal-stand {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--steel);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .62);
  font-size: .93rem;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 980px) {
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand img { display: block; height: 68px; width: auto; max-width: 240px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .93rem; max-width: 30ch; }
.footer-title {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1.1rem;
}
.footer-title-spaced { margin-top: 1.6rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.site-footer address strong { color: var(--paper); }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 1.4rem var(--gutter);
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  font-size: .84rem;
}
.footer-bottom p { margin: 0; }
.credit { color: rgba(255, 255, 255, .5); }
.cookie-settings-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  cursor: pointer;
}
.cookie-settings-link:hover { color: var(--paper); text-decoration: underline; }

.reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.reveal-init { opacity: 0; transform: translateY(18px); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal.reveal-init { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1300px) {
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .nav-list-phone {
    display: block;
    border-bottom: 1px solid var(--line);
  }
  .nav-list-phone a {
    color: var(--bordeaux) !important;
    font-weight: 700;
  }

  .nav-list {
    position: fixed;
    inset: 64px 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    padding: 1rem var(--gutter) 3rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
  }
  .nav-list[data-open="true"] { transform: translateX(0); }

  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list a,
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 1.05rem .2rem;
    font-size: .95rem;
  }
  .nav-list a.is-active { box-shadow: none; }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 .6rem .2rem;
    min-width: 0;
    display: none;
  }
  .has-dropdown[data-open="true"] .dropdown { display: block; }
  .dropdown a { padding: .65rem .2rem; color: var(--steel); }
}

@media (max-width: 520px) {
  .hero-actions .btn,
  .cta-actions .btn { width: 100%; }
  .pull-quote { text-align: left; }
}

@media print {
  .site-header, .cta-band, .site-footer, .hero-actions { display: none; }
  body { color: #000; }
  .hero, .page-hero { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
  .hero::before, .hero::after { display: none; }
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.5rem 4.6rem;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.4rem;
  top: 1.35rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  background: var(--bordeaux);
  color: var(--paper);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
}
.steps h3 { margin-bottom: .3rem; font-size: 1.05rem; }
.steps p { margin: 0; font-size: .97rem; }

.usp-band { background: var(--mist); }
.usp-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 2rem;
}
.usp {
  flex: 1 1 240px;
  max-width: 300px;
  background: var(--paper);
  border-top: 3px solid var(--bordeaux);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.usp h3 { font-size: 1rem; margin-bottom: .4rem; }
.usp p { font-size: .93rem; margin: 0; }
/* SafeHome has 5 USP cards – widen slightly so they form a 3+2 grid like
   the SafeLine card pattern instead of an uneven 4+1 row. */
body.theme-safehome .usp { flex: 1 1 300px; max-width: 345px; }

/* SafeHome outdoor feature tiles: narrow enough that 4 fit per row on
   desktop instead of wrapping to 3+1. */
body.theme-safehome .component { flex: 1 1 230px; max-width: 265px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
  text-align: center;
}
@media (min-width: 700px) {
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.stat-tile {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem 1.2rem;
  box-shadow: var(--shadow);
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
.stat-number {
  font-family: var(--font-display, inherit);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--bordeaux);
  margin: 0 0 .3rem;
  line-height: 1.1;
}
.stat-label {
  font-size: .88rem;
  margin: 0;
  color: var(--ink-soft, inherit);
}
.about-band p { font-size: 1.02rem; line-height: 1.7; }

.breadcrumb {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 auto;
  padding: .7rem 1.4rem;
  max-width: var(--container-max, 1200px);
  font-size: .85rem;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: .4rem;
  color: var(--line);
}
.breadcrumb li { display: flex; gap: .4rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li[aria-current="page"] { color: var(--ink-soft, #666); }
.cta-lead { max-width: 42rem; margin: .6rem auto 1.8rem; opacity: .92; text-align: center; }

.component-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  margin-top: 2.4rem;
}
.component {
  flex: 1 1 280px;
  max-width: 340px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}
.component-compact .component-media { aspect-ratio: 4 / 3; margin-bottom: .9rem; }
.component-compact { padding: 1.2rem 1.2rem 1.4rem; }
.component-compact h3 { font-size: .95rem; padding-bottom: .4rem; margin-bottom: .5rem; }
.component-compact p { font-size: .88rem; }
.component-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--mist);
  border-radius: calc(var(--radius) - 4px);
  margin: -0.2rem -0.1rem 1rem;
}
.component-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.component h3 {
  font-size: 1.02rem;
  padding-bottom: .55rem;
  border-bottom: 2px solid var(--bordeaux);
  margin-bottom: .8rem;
}
.component p { font-size: .95rem; margin: 0; }

.spec-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
.spec-list li {
  padding: .85rem 0 .85rem 1.9rem;
  border-top: 1px solid var(--line);
  position: relative;
  color: var(--ink-soft);
}
.spec-list li:last-child { border-bottom: 1px solid var(--line); }
.spec-list li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: 1.45rem;
  width: .55rem;
  height: .55rem;
  background: var(--bordeaux);
  border-radius: 1px;
  transform: rotate(45deg);
}

.faq { margin-top: 2rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3rem 1.15rem 1.4rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  width: .6rem;
  height: .6rem;
  border-right: 2px solid var(--bordeaux);
  border-bottom: 2px solid var(--bordeaux);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq-body { padding: 0 1.4rem 1.3rem; }
.faq .faq-body p { margin-bottom: .8rem; }

.download-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.download-list li { border-top: 1px solid var(--line); }
.download-list li:last-child { border-bottom: 1px solid var(--line); }
.download-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem .2rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}
.download-list a:hover { color: var(--bordeaux); }
.download-meta { font-size: .85rem; color: var(--steel); font-weight: 400; white-space: nowrap; }

/* Mobile: 2 Karten pro Zeile statt 1, für USP- und Komponenten-Kacheln
   sowie den Zentralen-Vergleich. Text wird etwas verkleinert, damit
   nichts überläuft; falls es zu klein wirkt, hier wieder anpassen. */
@media (max-width: 640px) {
  .usp-grid,
  .component-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
  }
  .usp,
  .component {
    flex: none;
    max-width: none;
    min-width: 0;
    padding: 1rem .9rem 1.1rem;
  }
  .usp h3,
  .component h3 { font-size: .88rem; margin-bottom: .3rem; padding-bottom: .4rem; }
  .usp p,
  .component p { font-size: .82rem; line-height: 1.45; }
  body.theme-safehome .usp,
  body.theme-safehome .component { flex: none; max-width: none; }

  /* 5. USP-Karte (SafeHome) mittig unter das 2x2-Raster setzen */
  .usp-grid-5 .usp:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 260px;
    margin-inline: auto;
  }

  /* Zentralen-Vergleich: immer 2 nebeneinander, auch mobil */
  .split-cards-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem;
  }
  .split-cards-2col .split-card h3 { font-size: .92rem; margin: .8rem .8rem .3rem; }
  .split-cards-2col .split-card p { font-size: .78rem; margin: 0 .8rem 1rem; line-height: 1.4; }

  /* "Weitere Produkte" Karten etwas kompakter, damit 2 pro Zeile passen */
  .component-compact .component-media { aspect-ratio: 4 / 3; margin-bottom: .6rem; }
  .component-compact h3 { font-size: .82rem; }
  .component-compact p { font-size: .76rem; }
}
