.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 24px rgba(6, 22, 41, 0.18);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.header__logo-img {
  height: clamp(48px, 9vw, 88px);
  width: auto;
  display: block;
}

.header__nav {
  display: none; /* mobile-first: hidden on small */
  align-items: center;
  gap: 1.25rem;
}

.header__link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  padding: 0.5rem 0.25rem;
  outline-offset: 4px;
  transition: color 0.2s ease;
}

.header__link:hover,
.header__link:focus-visible {
  color: #fff;
}

/* Hamburger */
.nav-toggle {
  background: none;
  color: #fff;
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; /* min touch target */
  height: 44px; /* min touch target */
}

.nav-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.nav-toggle__icon { filter: drop-shadow(0 1px 1px rgba(0,0,0,0.35)); }

/* Overlay (no solid background) */
.nav-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  /* Dark background with 85% opacity */
  background: rgba(8, 21, 35, 0.9);
  z-index: 1100; /* above header */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease, transform 220ms ease;
  transform: translateY(-8px);
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-list { list-style: none; margin: 0; padding: 0; text-align: center; }

.nav-link {
  display: block;
  padding: 0.9rem 1.25rem; /* ≥ 12–16px vertical */
  min-height: 44px; /* min touch target */
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1rem, 2.8vw, 1.125rem);
  outline-offset: 4px;
}

.nav-link:hover,
.nav-link:focus-visible { text-decoration: underline; }

/* Desktop breakpoint: show inline nav, hide overlay/toggle */
@media (min-width: 1024px) {
  .header__inner { padding: 1rem 0; }
  .nav-toggle { display: none; }
  .header__nav { display: flex; }
  .nav-overlay { display: none; }
}

/* Tablet tweaks */
@media (min-width: 640px) {
  .header__inner { gap: 1.5rem; }
}

/* No special positioning for toggle while open */
.footer {
  /*margin-top: var(--section-spacing);*/
  background: #000;
  color: rgba(255, 255, 255, 0.82);
}

.footer__inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.footer__info {
  display: grid;
  gap: 1.5rem;
}

.footer__info h4 {
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

.footer__info a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.footer__bottom {
  background: #000;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 580px) {
  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
.hero {
  position: relative;
  padding: calc(var(--section-spacing) + 3rem) 0 var(--section-spacing);
  background: linear-gradient(135deg, rgba(9, 24, 43, 0.94) 0%, rgba(12, 13, 13, 0.9) 25%),
    url('/images/Grundriss.webp') center/cover no-repeat;
  color: #fff;
  /* Fill visible window below sticky header */
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 30, 45, 0.2), rgba(12, 33, 52, 0.55));
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(2rem, 7vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero__content {
  display: grid;
  gap: 1.5rem;
  /*place-items: center;*/
}

@media(max-width: 1024px) {
  .hero__chip {
    align-self: stretch;
    display: flex;
    justify-content: space-between;
    gap: 0;
    width: 100%;
    max-width: 720px;
  }
}


@media(min-width: 1025px) {
  .hero__chip {
    align-self: stretch;
    display: flex;
    justify-content: space-between;
    gap: 0;
    width: 72%;
    max-width: 720px;
  }
}

.hero__chip-sep {
  opacity: 0.85;
}

@media (max-width: 640px) {
  .hero__chip {
    max-width: none;
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.12;
  color: #fff;
}

.hero p {
  font-size: 1.05rem;
  max-width: 500px;
  color: rgba(255, 255, 255, 0.76);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  transition: background 0.2s ease;
}

.hero__secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero__card {
  background: #000;
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(2, 12, 24, 0.45);
  display: grid;
  gap: 1.5rem;
}

.hero__badge {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
  padding: 1rem 1.4rem;
  border-radius: 14px;
  background: rgba(149, 30, 36, 0.2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero__badge span {
  font-size: 2.4rem;
  line-height: 1;
}

.hero__stat h3 {
  color: #fff;
  margin-bottom: 0.4rem;
}

.hero__stat p {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 640px) {
  .hero {
    text-align: center;
    min-height: calc(100vh - 80px);
  }

  .hero__content,
  .hero__actions {
    justify-content: center;
  }

  .hero__card {
    text-align: left;
  }
}
.about {
  padding: var(--section-spacing) 0;
  /* Distinct background for visual separation */
  background: #000000;
  /* Fill viewport minus sticky header so no other section shows */
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
}

.about__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: stretch;
}

.about__media {
  position: relative;
  min-height: 360px;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__image {
  position: absolute;
  inset: 0;
  background: url('/images/Haustechnik.webp') center/cover no-repeat;
  filter: saturate(0.9);
}

.about__overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1.4rem;
  border-radius: 14px;
  background: rgba(5, 16, 30, 0.82);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.about__overlay p {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.about__overlay-badge {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #0b1824;
  font-weight: 600;
}

.about__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--accent);
}

.about h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-top: 0.5rem;
}

.about p {
  font-size: 1.05rem;
}

.about__highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 2rem 0;
  list-style: none;
}

.about__highlights li {
  background: rgba(149, 30, 36, 0.2);
  padding: 1.6rem;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(11, 24, 37, 0.16);
  display: grid;
  gap: 0.4rem;
}

.about__highlights h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin: 0;
}

.about__highlights p {
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
}

.about__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Centered CTA; keep original size, make a bit wider */
.about__cta-button {
  padding-left: 2.8rem;
  padding-right: 2.8rem;
}

.about__phone {
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 560px) {
  .about__overlay {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .about {
    min-height: calc(100vh - 80px);
  }
}
.testimonials {
  padding: var(--section-spacing) 0;
}

.testimonials__header {
  text-align: center;
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.testimonials__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--accent);
}

.testimonials__header h2 {
  font-size: clamp(2rem, 3vw, 2.4rem);
}

.testimonials__grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonials__card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  margin: 0; /* reset default blockquote margins */
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.1rem;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--accent);
}

.testimonials__card::before { content: none; }

.testimonials__card p {
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  color: var(--text);
  margin: 0;
}

.testimonials__card footer {
  font-weight: 600;
  color: var(--primary);
}
.contact {
  padding: var(--section-spacing) 0;
  /* Distinct background for visual separation */
  background: #000000;
  /* Fill viewport minus sticky header so no other section shows */
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
}

.contact__inner {
  background: rgba(149, 30, 36, 0.2);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: 0 30px 70px rgba(6, 16, 30, 0.18);
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact__inner h2,
.contact__inner h3,
.contact__inner span {
  color: rgba(255, 255, 255, 0.76);
}

.contact__inner a,
.contact__inner p {
  color: rgba(255, 255, 255, 0.76);
}

.contact__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.contact__content {
  display: grid;
  gap: 1.5rem;
}

.contact__content h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.contact__options {
  display: grid;
  gap: 1.4rem;
  margin-top: 1rem;
}

.contact__options h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact__options a,
.contact__options .contact__address {
  font-weight: 600;
}

.contact__form {
  display: grid;
  gap: 1.25rem;
}

.contact__group {
  display: grid;
  gap: 0.6rem;
}

.contact__group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.76);
}

.contact__group input,
.contact__group textarea {
  border-radius: 12px;
  border: 1px solid rgba(13, 30, 45, 0.18);
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--text);
  background: rgba(244, 247, 251, 0.7);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.contact__group input:focus,
.contact__group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(149, 30, 36, 0.28);
  background: #fff;
}

.contact__submit {
  justify-content: center;
}

.contact__privacy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 540px) {
  .contact {
    min-height: calc(100vh - 80px);
  }
}
main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: rgba(149, 30, 36, 0.2);
  padding-bottom: 1rem;

}



@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.impressum {
  padding: var(--section-spacing) 0;
}

.impressum__inner {
  background: rgba(149, 30, 36, 0.2);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: 0 30px 70px rgba(6, 16, 30, 0.18);
  padding: clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: 0.8rem;
}

.impressum h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: rgba(255, 255, 255, 0.76);
}

.impressum p {
  color: rgba(255, 255, 255, 0.76);
}

.impressum a {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 600;
}

.impressum__credit {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.76);
}
:root {
  --primary: #951e24;
  --primary-dark: #5f1317;
  --accent: #951e24;
  --background: #f4f7fb;
  --text: #1f2a36;
  --text-light: #546178;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(4, 16, 35, 0.18);
  --section-spacing: clamp(4rem, 6vw, 6rem);
  --space: 1rem;
}

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

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.5; /* mobile-first baseline */
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Make the React root a flex column to push footer down */
#root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  color: var(--primary);
}

/* Fluid type scale with clamp */
h1 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h2 { font-size: clamp(1.25rem, 3.5vw, 1.75rem); }
h3 { font-size: clamp(1.125rem, 3vw, 1.375rem); }

p {
  margin: 0;
  color: var(--text-light);
}

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

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

button {
  font: inherit;
  border: none;
  cursor: pointer;
}

.container {
  width: min(92%, 72rem);
  margin: 0 auto;
}

/* Ensure footer sits at viewport bottom when content is short */
main {
  flex: 1 0 auto;
}

/* Offset anchor scrolling for sticky header */
:where(section[id]) {
  scroll-margin-top: 110px;
}

@media (max-width: 540px) {
  :where(section[id]) {
    scroll-margin-top: 80px;
  }
}

/* Scroll lock when nav open */
.no-scroll { overflow: hidden; }

.accent-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(149, 30, 36, 0.28);
}

.accent-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(149, 30, 36, 0.32);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.legal-page {
  background-color: #000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-page main {
  flex: 1 0 auto;
  background-color: #000;
}
.datenschutz {
  padding: var(--section-spacing) 0;
}

.datenschutz__inner {
  background: rgba(149, 30, 36, 0.2);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: 0 30px 70px rgba(6, 16, 30, 0.18);
  padding: clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: 1rem;
}

.datenschutz h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  color: rgba(255, 255, 255, 0.76);
}

.datenschutz h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: rgba(255, 255, 255, 0.76);
}

.datenschutz h3 {
  margin-top: 0.5rem;
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  color: rgba(255, 255, 255, 0.76);
}

.datenschutz h4 {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.76);
}

.datenschutz p,
.datenschutz ul,
.datenschutz ul li {
  color: rgba(255, 255, 255, 0.76);
}

.datenschutz a {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 600;
}
