/* Multimedia Service Buchmann GmbH - Die Werbeagentur aus Staufen - www.MSBu.de */
/* ============================================================
   BD EUROPA GMBH — STYLESHEET
   ============================================================ */

/* --- Grundwerte --- */
:root {
  --text: rgb(18, 34, 56);
  --text-gedaempft: rgb(64, 73, 90);
  --akzent: rgb(58, 120, 190);
  --stahl: rgb(122, 148, 173);
  --hg-sektion: rgb(243, 244, 248);
  --rand: rgb(226, 230, 238);
  --hg-haupt: rgb(255, 255, 255);
  --header-height: 128px;

  /* Verlauf-Farbtöne (Hex erlaubt laut Absprache, hier zentral definiert) */
  --verlauf-navy-dunkel: #0a1420;
  --verlauf-navy-mittel: #0d2f6b;
  --verlauf-blau-hell: #3a78be;
  --gelb-band: #f2c230;
  --schwarz-band: #1a1a1a;
  --schatten-versatz: rgb(32, 56, 88);
}

html[data-theme="dark"] {
  --text: rgb(205, 213, 222);
  --text-gedaempft: rgb(190, 200, 212);
  --stahl: rgb(140, 170, 205);
  --hg-sektion: rgb(36, 44, 80);
  --rand: rgba(255, 255, 255, 0.12);
  --hg-haupt: rgb(10, 20, 45);
  --navy-hell: rgb(20, 44, 92);
}

html[data-theme="dark"] body { background: linear-gradient(160deg, #05050a, #05193d); }
html[data-theme="dark"] .sektion-grau { background: var(--navy-hell); }

html[data-theme="dark"] .kontakt-info,
html[data-theme="dark"] .formular input,
html[data-theme="dark"] .formular textarea,
html[data-theme="dark"] .formular select { background: rgb(10,30,75); color: rgb(230,235,240); border-color: rgba(255,255,255,0.15); }

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) { html { font-size: 19px; } }

@media (min-width: 1024px) { html { font-size: 20px; } }

body {
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--hg-haupt);
  line-height: 1.6;
  transition: background 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Arial', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 0.6em;
}

h1 {
  font-family: 'Anton', 'Oswald', sans-serif;
  font-size: 2.6rem;
  letter-spacing: 0;
  line-height: 1.2;
}
h2 { font-size: 1.9rem; }
h3 { font-size: 1.5rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.3rem; }
}

p { color: var(--text-gedaempft); margin-bottom: 1em; }

strong { font-family: 'Roboto', sans-serif; font-weight: 700; }

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

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

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Fonts --- */
@font-face {
  font-display: swap;
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/anton-v27-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/oswald-v57-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v51-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v51-latin-700.woff2') format('woff2');
}

/* --- Scroll-Fortschrittsbalken --- */
.progressbar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--text), var(--akzent));
  z-index: 999;
  transition: width 0.1s linear;
}


/* --- Skip Link --- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--text);
  color: var(--hg-haupt);
  padding: 0.6em 1em;
  z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--hg-haupt);
  z-index: 500;
}

.logo { display: flex; align-items: center; height: 32px; }
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo svg { height: 100%; width: auto; }

.header-oben {
  display: flex;
  align-items: center;
  height: 56px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
header.gescrollt .header-oben { border-bottom-color: var(--rand); }
.nav-icons a { width: 34px; height: 34px; margin-left: 0.6rem; }
.nav-icons a svg { width: 16px; height: 16px; }
.theme-toggle { width: 34px; height: 34px; margin-left: 0.6rem; }
.burger { width: 34px; height: 34px; margin-left: 0.6rem; }
:root { --header-height: 57px; }
.header-unten { display: none; }

@media (min-width: 768px) and (max-width: 1023px) {
  .logo { height: 56px; margin-top: 0; }
  .header-oben { height: 72px; }
  header.gescrollt .header-oben { height: 52px; }
  header.gescrollt .logo { height: 36px; }
  :root { --header-height: 130px; }
  .header-unten {
    display: flex;
    align-items: center;
    height: 58px;
    transition: height 0.25s ease, border-color 0.2s ease;
    background: rgb(255,255,255);
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
  }
  header.gescrollt .header-unten { height: 42px; border-top-color: transparent; border-bottom: 1px solid var(--rand); }
  html[data-theme="dark"] .header-unten { background: rgb(10,20,45); }
}

@media (min-width: 1024px) {
  .logo { height: 100px; }
  .header-oben {
    height: 116px;
    border-bottom: none;
    transition: height 0.25s ease;
  }
  header.gescrollt .header-oben { height: 56px; border-bottom-color: transparent; }
  header.gescrollt .logo { height: 42px; }

  .header-unten {
    display: flex;
    align-items: center;
    height: 64px;
    transition: height 0.25s ease, border-color 0.2s ease;
    background: rgb(255,255,255);
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
  }
  header.gescrollt .header-unten { height: 44px; border-top-color: transparent; border-bottom: 1px solid var(--rand); }
  html[data-theme="dark"] .header-unten { background: rgb(10,20,45); }

  .nav-icons a { width: 40px; height: 40px; margin-left: 1rem; }
  .nav-icons a svg { width: 18px; height: 18px; }
  .theme-toggle { width: 40px; height: 40px; margin-left: 1rem; }
  .burger { width: 40px; height: 40px; margin-left: 1rem; }

  :root { --header-height: 180px; }
}

nav {
  display: flex;
  align-items: center;
  width: 100%;
}

.nav-liste {
  display: none;
  list-style: none;
}

.nav-liste > * + * { margin-left: 2.2rem; }

@media (min-width: 1024px) {
  .nav-liste a { font-size: 1.25rem; }
}
.nav-liste a {
  position: relative;
  z-index: 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  padding: 0.15em 0;
}
.nav-liste a::before {
  content: '';
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: -3px;
  height: 14px;
  background: transparent;
  z-index: -1;
  transition: background 0.2s ease;
}
.nav-liste a:hover::before,
.nav-liste a[aria-current="page"]::before {
  background: rgba(58,120,190,0.65);
}
html[data-theme="dark"] .nav-liste a:hover::before,
html[data-theme="dark"] .nav-liste a[aria-current="page"]::before {
  background: rgba(58,120,190,0.5);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1.5px solid var(--rand);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sonne { display: none; }
.theme-toggle .icon-mond { display: block; }
.theme-toggle .icon-mond circle, .theme-toggle .icon-mond path { stroke: rgb(18,34,56); }
html[data-theme="dark"] .theme-toggle .icon-sonne { display: block; }
html[data-theme="dark"] .theme-toggle .icon-mond { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sonne circle, html[data-theme="dark"] .theme-toggle .icon-sonne path { stroke: rgb(232,236,240); }

.logo-svg { display: block; }
.logo-svg-dunkel { display: none; }
html[data-theme="dark"] .logo-svg-hell { display: none; }
html[data-theme="dark"] .logo-svg-dunkel { display: block; }

.logo-text-mobil {
  display: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: rgb(8,51,112);
  line-height: 1;
}
html[data-theme="dark"] .logo-text-mobil { color: rgb(255,255,255); }

@media (max-width: 1023px) {
  header.gescrollt .logo { height: 26px; }
  header.gescrollt .logo-svg { display: none; }
  header.gescrollt .logo-text-mobil { display: block; }
}

.nav-icon {
  width: 20px;
  height: 20px;
  display: block;
  position: relative;
  top: 1px;
}
.nav-liste a.nav-home {
  display: flex;
  align-items: center;
  padding-top: 0.15em;
  padding-bottom: 0.15em;
}
.nav-icons {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.nav-icons > * + * { margin-left: 1rem; }
.nav-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(10, 35, 90);
  transition: background 0.2s ease, border-color 0.2s ease;
  border: 1.5px solid transparent;
}
html[data-theme="dark"] .nav-icons a {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
}
html[data-theme="dark"] .nav-icons a svg path,
html[data-theme="dark"] .nav-icons a svg rect {
  stroke: rgb(232,236,240);
}
.nav-icons a:hover { background: var(--akzent); }

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 600;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  width: 26px;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.6,0.1,0.3,1), opacity 0.2s ease, width 0.2s ease;
  position: absolute;
}
.burger span:nth-child(1) { transform: translateY(-8px); }
.burger span:nth-child(2) { transform: translateY(0); }
.burger span:nth-child(3) { transform: translateY(8px); }

.burger.offen span:nth-child(1) { transform: translateY(0) rotate(45deg); transition-delay: 0.15s; }
.burger.offen span:nth-child(2) { width: 0; opacity: 0; }
.burger.offen span:nth-child(3) { transform: translateY(0) rotate(-45deg); transition-delay: 0.15s; }

@media (min-width: 768px) {
  .nav-liste { display: flex; align-items: center; padding: 0.5rem; justify-content: center; width: 100%; }
  .burger { display: none; }
}

@media (max-width: 1023px) {
  .nav-liste.mobil-offen {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgb(10, 20, 45);
    z-index: 490;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
  }
  .nav-liste.mobil-offen > * + * { margin-left: 0; margin-top: 1.6rem; }
  .nav-liste.mobil-offen a {
    font-family: 'Oswald', sans-serif;
    font-size: 1.7rem;
    color: rgb(232,236,240);
  }
  .nav-liste.mobil-offen a:hover::before,
  .nav-liste.mobil-offen a[aria-current="page"]::before {
    background: rgba(58,120,190,0.55);
  }
}

.logo-gross-mobil { display: none; }
@media (max-width: 767px) {
  .logo-gross-mobil {
    display: block;
    padding: 1.5rem 2rem 0.5rem;
  }
  .logo-gross-mobil svg { width: 100%; height: auto; }
  .logo-gross-mobil polyline,
  .logo-gross-mobil line { stroke: rgb(8,51,112); }
  .logo-gross-mobil rect,
  .logo-gross-mobil text:not(:last-child) { fill: rgb(8,51,112); }
  .logo-gross-mobil text:last-child { fill: rgb(255,255,255); }
  html[data-theme="dark"] .logo-gross-mobil polyline,
  html[data-theme="dark"] .logo-gross-mobil line { stroke: rgb(255,255,255); }
  html[data-theme="dark"] .logo-gross-mobil rect,
  html[data-theme="dark"] .logo-gross-mobil text:not(:last-child) { fill: rgb(255,255,255); }
  html[data-theme="dark"] .logo-gross-mobil text:last-child { fill: rgb(8,51,112); }
  .logo-gross-mobil polyline, .logo-gross-mobil line {
    stroke-dasharray: 1250;
    stroke-dashoffset: 1250;
    animation: logo-zeichnen-linie 1.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  }
}


/* --- Hero --- */
.hero {
  padding-top: calc(var(--header-height) + 2.2rem);
  padding-bottom: 1.2rem;
  background: var(--hg-haupt);
  position: relative;
  overflow: hidden;
}

.hero-schraege-links {
  position: absolute;
  left: 6%;
  right: 5%;
  top: calc(var(--header-height) + 40px);
  bottom: 24px;
  background: linear-gradient(135deg, #eef2f8, #b8c9dd, var(--verlauf-blau-hell));
  clip-path: polygon(clamp(20px, 4vw, 56px) 0, 100% 0, 100% calc(100% - clamp(20px, 4vw, 56px)), calc(100% - clamp(20px, 4vw, 56px)) 100%, 0 100%, 0 clamp(20px, 4vw, 56px));
  z-index: 1;
}
html[data-theme="dark"] .hero-schraege-links {
  background: linear-gradient(-35deg, #000000, var(--verlauf-navy-mittel), var(--verlauf-blau-hell));
}
html:not([data-theme="dark"]) .hero-inner h1,
html:not([data-theme="dark"]) .hero-inner h1 a { color: rgb(20,30,55); }
html:not([data-theme="dark"]) .hero-inner p.lead { color: rgb(50,65,90); }
@media (max-width: 767px) {
    }
@media (max-width: 767px) {
  .hero-schraege-links {
    left: 3%; right: 3%; top: calc(var(--header-height) + 14px); bottom: 16px;
  }
  }
@media (max-width: 767px) {
  .hero { padding-top: calc(var(--header-height) + 1.5rem); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-left: 5%;
  text-align: left;
  padding: 2rem 2.5rem 1.2rem 0;
}
@media (min-width: 768px) {
  .hero-inner { margin-left: 8%; }
}
.hero-inner h1 { color: rgb(232,236,240); }
.hero-inner h1 a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: rgb(58,120,190);
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}
.hero-inner h1 a:hover { text-decoration-color: rgb(122,148,173); }
html[data-theme="dark"] .hero-inner h1 a { text-decoration-color: rgb(38,85,145); }
html[data-theme="dark"] .hero-inner h1 a:hover { text-decoration-color: rgb(58,120,190); }
.hero-inner p.lead { color: rgb(190,200,212); }

.hero-eyebrow {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(230, 235, 240);
  background: rgba(10, 20, 40, 0.55);
  font-size: 0.82rem;
  padding: 0.45em 1.2em;
  border-radius: 0.5rem;
}

.hero p.lead {
  font-size: 1.15rem;
  margin-top: 1.2rem;
  color: var(--text-gedaempft);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 2.2rem;
}
.hero-cta > * + * { margin-left: 1.2rem; }

.btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.7em 1.6em;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: none;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  cursor: pointer;
  line-height: 1;
}
.btn::after {
  content: '';
  width: 8px;
  height: 8px;
  margin-left: 0.6em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 1px;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.btn:hover::after { transform: rotate(45deg) translate(2px, -2px); }
.btn,
.btn-primary,
.btn-pfeil {
  background: linear-gradient(135deg, rgb(10,35,90), rgb(58,120,190));
  color: rgb(255,255,255);
}
.btn:hover,
.btn-primary:hover,
.btn-pfeil:hover {
  background: linear-gradient(135deg, rgb(58,120,190), rgb(10,35,90));
}

.hero-mittig .hero-cta { justify-content: flex-start; }

/* --- Verlauf-Sektionen --- */
.verlauf-1 { background: linear-gradient(160deg, #eef2f8, #ffffff); }
html[data-theme="dark"] .verlauf-1 { background: linear-gradient(160deg, #0a1420, #0a2359); }

.scroll-hinweis {
  display: none;
}
@media (max-width: 1023px) {
  .scroll-hinweis {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0.8;
    pointer-events: none;
  }
  .scroll-hinweis span {
    width: 14px;
    height: 14px;
    border-right: 2px solid rgb(232,236,240);
    border-bottom: 2px solid rgb(232,236,240);
    border-radius: 1px;
    transform: rotate(45deg);
    margin-top: -6px;
    animation: scroll-hinweis-huepfen 1.6s ease-in-out infinite;
  }
  html:not([data-theme="dark"]) .scroll-hinweis span {
    border-color: rgb(20,30,55);
  }
  .scroll-hinweis span:nth-child(2) { animation-delay: 0.2s; }
  body.hat-gescrollt .scroll-hinweis { opacity: 0; }
}
@keyframes scroll-hinweis-huepfen {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}


/* --- Sektionen --- */
section { padding: 5.5rem 0; background: var(--hg-haupt); }
@media (min-width: 1024px) {
  section { padding: 7.5rem 0; }
}
.sektion-grau { background: var(--hg-sektion); }
.sektion-cta { background: var(--hg-haupt); position: relative; overflow: hidden; }
.sektion-cta::before {
  content: '';
  position: absolute;
  inset: -4px;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 44px);
  filter: blur(1px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 82%, transparent 100%);
}
html:not([data-theme="dark"]) .sektion-cta::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(10,20,45,0.05) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(10,20,45,0.05) 0 1px, transparent 1px 44px);
}
.sektion-cta .wrap { position: relative; z-index: 1; }

.sektion-kopf { max-width: 620px; margin-bottom: 2.6rem; }
.sektion-kopf .eyebrow {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stahl);
  font-size: 0.9rem;
}

/* --- 3-Spalten Leistungen --- */
@media (min-width: 768px) {
  }

.sektion-grau 



.logo-svg polyline {
  stroke-dasharray: 1250;
  stroke-dashoffset: 1250;
  animation: logo-zeichnen-linie 1.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.logo-svg line {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: logo-zeichnen-linie 0.6s ease-out forwards;
}
.logo-svg text, .logo-svg rect {
  opacity: 1;
}
@keyframes logo-zeichnen-linie { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .logo-svg polyline, .logo-svg line {
    animation: none; stroke-dashoffset: 0;
  }
}

/* --- Streifen --- */
.streifen {
  height: 80px;
  width: 100%;
  opacity: 0.5;
  background: repeating-linear-gradient(45deg, rgb(58,94,135) 0 12px, rgb(140,170,205) 12px 24px);
}
html[data-theme="dark"] .streifen {
  background: repeating-linear-gradient(45deg, rgb(10,35,90) 0 12px, rgb(58,120,190) 12px 24px);
}


/* --- Zitat-Band --- */
.zitatband {
  position: relative;
  padding: 4rem 0;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--hg-haupt);
}
.zitatband-band {
  position: absolute;
  left: -15%;
  right: -15%;
  height: 230px;
  top: 50%;
  transform: translateY(-50%) rotate(-5deg);
  background: rgb(242, 194, 48);
  border-top: 8px solid;
  border-bottom: 8px solid;
  border-image: repeating-linear-gradient(45deg, rgb(26,26,26) 0 10px, rgb(242,194,48) 10px 20px) 8;
}
html[data-theme="dark"] .zitatband-band {
  background: rgb(196, 152, 30);
  border-image: repeating-linear-gradient(45deg, rgb(20,20,20) 0 10px, rgb(196,152,30) 10px 20px) 8;
}
.zitatband-band-1 { z-index: 1; transform: translateY(-50%) rotate(-2deg); }
.zitatband-band-2 { z-index: 1; transform: translateY(-50%) rotate(2deg); }

/* Schlankes Bauband ohne Zitat, für "Gut zu wissen" -> CTA Übergang */
.bauband {
  position: relative;
  height: 90px;
  margin-top: -20px;
  margin-bottom: -20px;
  overflow-x: hidden;
  overflow-y: visible;
  z-index: 2;
}
.bauband-band {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 46px;
  top: 50%;
  background: repeating-linear-gradient(45deg, rgb(26,26,26) 0 8px, rgb(242,194,48) 8px 16px);
  border-top: 4px solid rgb(26,26,26);
  border-bottom: 4px solid rgb(26,26,26);
}
html[data-theme="dark"] .bauband-band {
  background: repeating-linear-gradient(45deg, rgb(20,20,20) 0 8px, rgb(196,152,30) 8px 16px);
  border-top-color: rgb(20,20,20);
  border-bottom-color: rgb(20,20,20);
}
.bauband-band-1 { transform: translateY(-50%) rotate(-1.2deg); }
.bauband-band-2 { transform: translateY(-50%) rotate(1.2deg); }

.zitatband-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 2.8rem 1.5rem;
}
.zitatband-inner p {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.5rem;
  color: rgb(20,20,20);
  line-height: 1.2;
}
.zitatband-autor {
  display: block;
  margin-top: 1rem;
  color: rgb(60, 50, 20);
  font-family: 'Roboto', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Vorher/Nachher-Vergleichsregler --- */
.vergleich {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}
.vergleich img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vergleich-nachher { z-index: 1; }
.vergleich-vorher {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}
.vergleich-griff {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--hg-haupt);
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
}
.vergleich-griff::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 34px; height: 34px;
  background: var(--hg-haupt);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.vergleich-griff::before {
  content: '\2194';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
}
.vergleich-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  -webkit-appearance: none;
  appearance: none;
}
.vergleich-label {
  position: absolute;
  top: 1rem;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  color: rgb(15, 32, 54);
  font-family: 'Roboto', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35em 0.8em;
}
.vergleich-label-vorher { left: 1rem; }
.vergleich-label-nachher { right: 1rem; }
html[data-theme="dark"] .vergleich-label { background: rgba(10, 20, 45, 0.8); color: rgb(255,255,255); }

/* --- FAQ / Akkordeon (details/summary) --- */
.faq-liste { border-top: 1px solid var(--rand); }
.faq-item {
  border-bottom: 1px solid var(--rand);
  padding: 1.1rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--stahl);
  margin-left: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 0.9rem;
  font-size: 0.98rem;
}


.kernleistungen-zeile {
  padding: 2.5rem 0;
  background: rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
}
html[data-theme="dark"] .kernleistungen-zeile { background: rgba(10, 20, 45, 0.95); }
.kernleistungen-zeile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-8deg, var(--schwarz-band) 0 12px, var(--gelb-band) 12px 24px);
  opacity: 0.14;
  pointer-events: none;
}
.kernleistungen-text { position: relative; z-index: 1; }
.kernleistungen-text {
  font-family: 'Anton', sans-serif;
  font-size: 1.6rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.video-einmalig { position: relative; display: block; }
.video-replay {
  position: absolute;
  bottom: 14px; right: 14px;
  width: 46px; height: 46px;
  border-radius: 2px;
  background: rgba(10,20,45,0.8);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  z-index: 5;
}
.video-replay svg { display: block; width: 20px; height: 20px; }
.video-replay::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 4px;
  border: 1.5px solid rgba(58,120,190,0.6);
  opacity: 0;
  animation: video-replay-puls 2s ease-out infinite;
}
.video-replay.sichtbar::before { opacity: 1; }
.video-replay:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,0.45);
  background: rgba(58,120,190,0.9);
}
@keyframes video-replay-puls {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}
.video-replay.sichtbar { opacity: 0.9; pointer-events: auto; }

/* --- Foto-Karte (Leistungen-Detail) --- */
.leistung-foto {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 7px 7px 0 var(--schatten-versatz);
  position: relative;
}
html[data-theme="dark"] .leistung-foto,
html[data-theme="dark"] .vergleich img { filter: brightness(0.82); }
.foto-rahmen {
  position: relative;
  display: block;
}
.vergleich {
  aspect-ratio: 4 / 3.6;
  box-shadow: 7px 7px 0 var(--schatten-versatz);
  position: relative;
  max-height: 82vh;
}
.vergleich-breit { aspect-ratio: 4 / 3 !important; }
@media (min-width: 768px) and (max-width: 1023px) {
  .vergleich-breit { aspect-ratio: 4 / 3 !important; }
}
@media (min-width: 1024px) {
  .vergleich-breit { aspect-ratio: 21 / 9 !important; }
}
@media (min-width: 768px) {
  .vergleich { aspect-ratio: 4 / 3.3; }
  .leistung-foto { aspect-ratio: 4 / 3; box-shadow: 7px 7px 0 var(--schatten-versatz); }
}
.leistung-label {
  background: var(--text);
  display: flex;
  align-items: center;
  padding: 1rem 1.4rem;
}
.leistung-label .leistung-label h3 { color: var(--hg-haupt); margin-bottom: 0; font-size: 1.1rem; }

/* --- Icon-Flächen allgemein (statt Fotos) --- */

/* --- Zwei-Spalten (Über uns / Geschichte) --- */
.zwei-spalten {
  display: flex;
  flex-direction: column;
}
.zwei-spalten > * + * { margin-top: 2rem; }
@media (min-width: 1024px) {
  .zwei-spalten { flex-direction: row; align-items: center; }
  .zwei-spalten > * + * { margin-top: 0; margin-left: 3.5rem; }
  .zwei-spalten .spalte-38 { width: 46%; }
  .zwei-spalten .spalte-62 { width: 50%; }
  .zwei-spalten .spalte-50 { width: 48%; }
}

/* --- Zeitleiste (Firmengeschichte) --- */
.zeitleiste { list-style: none; border-left: 2px solid var(--rand); }
.zeitleiste li { position: relative; padding: 0 0 2rem 1.8rem; }
.zeitleiste li::before {
  content: '';
  position: absolute;
  left: -6.5px;
  top: 0.35rem;
  width: 11px;
  height: 11px;
  background: var(--stahl);
  border-radius: 50%;
}
.zeitleiste .jahr {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  color: var(--stahl);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

/* --- Platzhalter-Bild-Boxen --- */

.bild-mit-zoom { position: relative; display: inline-block; }
.zoom-icon {
  position: absolute;
  bottom: 6px; right: 6px;
  width: 26px; height: 26px;
  background: rgba(10,20,45,0.75);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,10,20,0.92);
  z-index: 900;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox-overlay.aktiv { display: flex; }
.lightbox-bild {
  max-width: 100%;
  max-height: 90vh;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-schliessen {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 901;
}


.reinigungsleistungen-verlauf { background: linear-gradient(180deg, var(--hg-haupt), var(--hg-sektion)); }
html[data-theme="dark"] .reinigungsleistungen-verlauf { background: linear-gradient(180deg, var(--hg-haupt), rgb(40,54,96)); }



/* --- Kontaktformular --- */
.formular label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.formular > * + * { margin-top: 1.3rem; }
.formular input,
.formular textarea,
.formular select {
  width: 100%;
  border: 1px solid var(--rand);
  background: var(--hg-sektion);
  padding: 0.8em 1em;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
}
.formular input:focus,
.formular textarea:focus,
.formular select:focus {
  outline: 2px solid var(--stahl);
  outline-offset: 1px;
}
.formular textarea { min-height: 140px; resize: vertical; }
.formular .zeile {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .formular .zeile-2 { flex-direction: row; }
  .formular .zeile-2 > * + * { margin-left: 1.3rem; margin-top: 0; }
  .formular .zeile-2 > * { flex: 1; margin-top: 0; }
}

/* --- Kontaktinfos-Karte --- */
.kontakt-info {
  background: var(--hg-sektion);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}
html[data-theme="dark"] .kontakt-info { background: rgb(10,30,75); }
.kontakt-info::before {
  content: '';
  position: absolute;
  inset: -4px;
  background-image:
    repeating-linear-gradient(0deg, rgba(58,120,190,0.08) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(58,120,190,0.08) 0 1px, transparent 1px 36px);
  filter: blur(1px);
  pointer-events: none;
}
.kontakt-info h3, .kontakt-info ul { position: relative; z-index: 1; }
.kontakt-info h3 { margin-bottom: 1rem; }
.kontakt-info ul { list-style: none; }
.kontakt-info li { margin-bottom: 0.8rem; font-size: 0.98rem; color: var(--text-gedaempft); }
.kontakt-info li strong { display: block; color: var(--text); font-family: 'Roboto', sans-serif; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* --- Footer --- */
footer {
  position: relative;
  background: linear-gradient(135deg, rgb(12, 26, 56), rgb(4, 8, 20));
  color: rgb(140, 165, 200);
  padding: 3rem 0 2rem;
  overflow: hidden;
}
html:not([data-theme="dark"]) footer {
  background: linear-gradient(135deg, rgb(58,94,148), rgb(30,54,100));
  color: rgb(225,232,240);
}
html:not([data-theme="dark"]) footer h4 { color: rgba(255,255,255,0.55); }
html:not([data-theme="dark"]) footer li { color: rgb(225,232,240); }
html:not([data-theme="dark"]) .footer-unten { color: rgba(225,232,240,0.55); }
footer .wrap { position: relative; z-index: 1; }
.footer-grid {
  display: flex;
  flex-direction: column;
}
.footer-grid > * + * { margin-top: 2rem; }
@media (min-width: 768px) {
  .footer-grid { flex-direction: row; justify-content: space-between; }
  .footer-grid > * + * { margin-top: 0; }
}
.footer-logo { display: inline-flex; }
.footer-logo svg { height: 48px; width: auto; }
@media (min-width: 1024px) {
  .footer-logo svg { height: 100px; }
}
footer h4 {
  color: rgb(255,255,255);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}
html[data-theme="dark"] footer h4 { color: rgba(255,255,255,0.45); }
html[data-theme="dark"] footer li { color: rgb(210,220,232); }
footer ul { list-style: none; }
footer li { margin-bottom: 0.5rem; font-size: 0.95rem; }
footer a:hover { color: rgb(255,255,255); }
.trenner-quadrat {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: currentColor;
  opacity: 0.6;
  vertical-align: middle;
  margin-bottom: 1px;
}
.footer-unten {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}
.footer-unten > * + * { margin-top: 0.6rem; }
@media (min-width: 768px) {
  .footer-unten { flex-direction: row; justify-content: space-between; }
  .footer-unten > * + * { margin-top: 0; }
}
.footer-unten a + a { margin-left: 1.2rem; }

/* --- Utility --- */
.zentriert { text-align: center; margin-left: auto; margin-right: auto; }

/* --- Scroll Reveal --- */
.js-reveal { opacity: 0; transform: translateY(36px) scale(0.98); transition: opacity 0.7s cubic-bezier(0.2,0.6,0.3,1), transform 0.7s cubic-bezier(0.2,0.6,0.3,1); }
.js-reveal.sichtbar { opacity: 1; transform: translateY(0) scale(1); }
html.js-reveal-aktiv .js-reveal:not(.sichtbar) { opacity: 0; }
html:not(.js-reveal-aktiv) .js-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
