/* =========================================
   BUMILLER ZAHNTECHNIK – Main Stylesheet
   Multi-Page Edition · Orange · Clean & Bold
   ========================================= */

/* =========================================
   LOCAL FONT (Inter Variable, kein CDN)
   ========================================= */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/Inter-Variable.woff2') format('woff2-variations'),
       url('fonts/Inter-Variable.woff2') format('woff2');
}

/* =========================================
   PAGE LOADER
   ========================================= */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1), visibility 0.55s;
}
#page-loader.loader--done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.loader-logo {
  height: 48px;
  animation: loaderFadeIn 0.5s ease forwards;
}
/* Neue Logo-Kombination im Loader: Signet links + Wortmarke rechts */
.loader-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  animation: loaderFadeIn 0.5s ease forwards;
}
.loader-signet {
  display: block;
  width: 58px;
  height: 58px;
  background: none;
  object-fit: contain;
}
.loader-wordmark {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--c-dark);
}
.loader-wordmark-accent {
  color: var(--c-orange);
  font-weight: 700;
}
@keyframes loaderFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.loader-percent {
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
  display: flex;
  align-items: baseline;
  gap: 1px;
}
#loader-num {
  font-variant-numeric: tabular-nums;
  min-width: 2.5ch;
  text-align: right;
  color: var(--c-orange);
}
.loader-pct-sign { font-size: .65rem; color: #C7C7C7; }
.loader-bar-wrap {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: #f0f0f0;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--c-orange);
  transition: width 0.08s linear;
}

/* =========================================
   TOKENS & RESET
   ========================================= */
:root {
  --c-orange:       #FFA480;
  --c-orange-light: #FFC2AB;
  --c-orange-dark:  #F2865C;
  /* Abgedunkeltes Cantaloupe – nur fuer kleine Textlinks auf hellem Grund,
     damit sie lesbar bleiben (Cantaloupe pur hat auf Weiss zu wenig Kontrast). */
  --c-orange-text:  #B35429;

  --c-dark:    #2F2F2F;
  --c-dark2:   #3F3F3F;
  --c-navy:    #2F2F2F;
  --c-white:   #ffffff;
  --c-offwhite:#ffffff;
  --c-mid:     #ECECEC;
  --c-text:    #2F2F2F;
  --c-muted:   #9A9A9A;
  --c-line:    rgba(0,0,0,0.08);

  --green-grad:  linear-gradient(135deg, var(--c-orange) 0%, var(--c-orange-dark) 100%);
  --accent-grad: linear-gradient(135deg, #3A3A3A 0%, #2F2F2F 100%);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.05);
  --shadow-md: 0 8px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12);
  --shadow-xl: 0 30px 90px rgba(0,0,0,.16);

  --nav-h: 115px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: var(--font-sans);
  color: var(--c-text);
  background: #fff;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #fff; }
::-webkit-scrollbar-thumb { background: var(--c-orange); border-radius: 2px; }

/* =========================================
   NAVIGATION – skewed full-screen menu
   ========================================= */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  height: var(--nav-h);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
}
#main-header.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: calc(var(--nav-h) * 0.85);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Auf Unterseiten ist Header sofort weiß sichtbar */
body.subpage #main-header {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

body.menu-open #main-header {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

.nav-container {
  max-width: none;
  margin: 0;
  padding: 0 6vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 600;
}

/* Neue Logo-Kombination: Signet (auf wei&szlig;em Grund) + Wortmarke */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}
.nav-signet {
  display: block;
  width: 52px;
  height: 52px;
  background: none;
  object-fit: contain;
  transition: width 0.4s ease, height 0.4s ease, filter 0.3s ease;
}
/* Startseite: Signet liegt auf dem dunklen Hero-Bild -> leichter Schatten,
   damit die Zahn-Aussparung sauber abgesetzt bleibt. */
body:not(.subpage):not(.menu-open) #main-header:not(.scrolled) .nav-signet {
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.55));
}
/* Menü offen: Cantaloupe auf Cantaloupe waere unsichtbar -> Signet dunkel,
   passend zur dunklen Menueschrift. Der Zahn bleibt als Aussparung stehen. */
body.menu-open .nav-signet,
body.menu-open #main-header .nav-signet {
  filter: brightness(0) opacity(0.82);
}
.nav-wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.0;
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-dark);
}
.nav-wordmark-line {
  display: block;
  font-size: 1.15rem;
  line-height: 1.05;
}
.nav-wordmark-line--accent {
  color: var(--c-orange);
  font-weight: 700;
}

/* Auf der Startseite (Hero ist dunkel): Wortmarke hell, bis gescrollt wird */
body:not(.subpage) #main-header:not(.scrolled) .nav-wordmark {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}

#main-header.scrolled .nav-logo,
body.menu-open .nav-logo,
body.subpage .nav-logo {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Menü offen: Wortmarke liegt auf Cantaloupe -> komplett dunkel, auch die Akzentzeile */
body.menu-open .nav-wordmark,
body:not(.subpage) body.menu-open #main-header:not(.scrolled) .nav-wordmark,
body.menu-open .nav-wordmark-line,
body.menu-open .nav-wordmark-line--accent {
  color: var(--c-dark);
  text-shadow: none;
}

#main-header.scrolled .nav-signet,
body.subpage #main-header.scrolled .nav-signet {
  width: 44px;
  height: 44px;
}
body.subpage .nav-signet { width: 46px; height: 46px; }
body.subpage .nav-wordmark-line { font-size: 1.05rem; }


.navTrigger {
  position: relative;
  z-index: 600;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.navTrigger svg {
  width: 48px;
  height: 36px;
  stroke: #2F2F2F;
  stroke-width: 4px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: block;
}
.navTrigger.hero-mode svg { stroke: #fff; }

/* Startseite: solange der dunkle Hero im Hintergrund liegt, muss das
   Burger-Icon hell sein – sonst geht es im Bild unter. */
body:not(.subpage) #main-header:not(.scrolled) .navTrigger svg {
  stroke: #fff;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.55));
}

#main-header.scrolled .navTrigger svg,
body.subpage .navTrigger svg {
  stroke: #2F2F2F;
  filter: none;
}

/* Menü offen: heller Cantaloupe-Hintergrund -> dunkles Icon */
body.menu-open .navTrigger svg,
body:not(.subpage) #main-header:not(.scrolled) .navTrigger.open svg {
  stroke: #2F2F2F;
  filter: none;
}

.navTrigger svg path {
  transition:
    stroke-dasharray 0.85s ease var(--delay, 0s),
    stroke-dashoffset 0.85s ease var(--delay, 0s);
  stroke-dasharray: var(--array-1, 26px) var(--array-2, 100px);
  stroke-dashoffset: var(--offset, 126px);
  transform: translateZ(0);
}
.navTrigger svg path:nth-child(2) {
  --duration: 0.7s; --offset: 100px; --array-2: 74px;
}
.navTrigger svg path:nth-child(3) {
  --offset: 133px; --array-2: 107px;
}
.navTrigger.open svg path {
  --offset: 57px;
}
.navTrigger.open svg path:nth-child(1),
.navTrigger.open svg path:nth-child(3) {
  --delay: 0.15s; --easing: cubic-bezier(0.2, 0.4, 0.2, 1.1);
}
.navTrigger.open svg path:nth-child(2) {
  --offset: 2px; --array-1: 1px;
}
.navTrigger.open svg path:nth-child(3) {
  --offset: 58px;
}
.navTrigger.open svg { stroke: #2F2F2F; }

/* ---- Full-screen skewed nav menu ---- */
.navMenu {
  position: fixed;
  inset: 0;
  z-index: 550;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}
.navMenu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.navMenu::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 0; right: -15px;
  background: var(--c-orange);
  transform-origin: 0 0;
  transform: skew(-8deg) translateX(-110%);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1) 0.05s;
}
.navMenu.open::before {
  transform: skew(-8deg) translateX(0);
}
.navMenu ul {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding-right: 10vw;
  transform: skew(-8deg);
}
.navMenu ul li {
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  margin: 0.45rem 0;
}
.navMenu.open ul li { opacity: 1; transform: translateY(0); }
.navMenu.open ul li:nth-child(1) { transition-delay: 0.18s; }
.navMenu.open ul li:nth-child(2) { transition-delay: 0.22s; }
.navMenu.open ul li:nth-child(3) { transition-delay: 0.26s; }
.navMenu.open ul li:nth-child(4) { transition-delay: 0.30s; }
.navMenu.open ul li:nth-child(5) { transition-delay: 0.34s; }
.navMenu ul li a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(1.7rem, 4.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #2F2F2F;
  text-transform: uppercase;
  line-height: 1;
  padding: 6px 0;
  transform: skew(8deg);
  transition: color 0.2s ease, transform 0.2s ease;
}
.navMenu ul li a:hover {
  color: #000;
  transform: skew(8deg) translateX(-8px);
}
/* Aktiver Menüpunkt – dezenter Punkt */
.navMenu ul li a.is-active::before {
  content: '';
  display: inline-block;
  width: clamp(8px, 1vw, 14px);
  height: clamp(8px, 1vw, 14px);
  border-radius: 50%;
  background: #2F2F2F;
  flex-shrink: 0;
  opacity: .9;
}

.navMenu-footer {
  position: absolute;
  bottom: 6vh;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px) skew(-8deg);
  transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s;
}
.navMenu.open .navMenu-footer {
  opacity: 1;
  transform: translateY(0) skew(-8deg);
}
.navMenu-footer a {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(47,47,47,0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: skew(8deg);
}
.navMenu-footer a:hover { color: #000; }
.navMenu-footer a.is-active { color: #000; }
.navMenu-footer .sep {
  color: rgba(47,47,47,0.35);
  transform: skew(8deg);
}

/* =========================================
   HERO – Schwarzwald-Bild + Logo (Startseite)
   ========================================= */
.hero-section {
  min-height: 100vh;
  background: #0d1418;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('images/bumiller-hero-schwarzwald.jpg');
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: heroBgZoom 18s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,15,20,0.55) 0%, rgba(10,15,20,0.35) 35%, rgba(10,15,20,0.65) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0) 35%, rgba(0,0,0,0.45) 100%);
}
@keyframes heroBgZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.10); }
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4vh 6vw 6vh;
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-headline-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  animation: heroIn 0.9s var(--ease-out-expo) 0.1s both;
}

/* Legacy Logo-Wrap (auf der Startseite nicht mehr verwendet, bleibt für etwaige Unterseiten) */
.hero-logo-wrap {
  display: inline-block;
  background: #fff;
  padding: clamp(20px, 3vw, 36px) clamp(28px, 4vw, 56px);
  border-radius: 6px;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.35),
    0 6px 20px rgba(0,0,0,0.25);
  margin-bottom: clamp(28px, 4vh, 44px);
  animation: heroLogoIn 1s var(--ease-out-expo) 0.15s both;
}
.hero-logo-img {
  display: block;
  height: clamp(120px, 18vw, 220px);
  width: auto;
  object-fit: contain;
}

/* =========================================
   HERO BRAND – Logo auf weißem Grund + großer Schriftzug
   Das Logo wird unbeschnitten in einer sauberen
   weißen Karte präsentiert. Falls später eine
   reine Bildmarke geliefert wird, einfach die src
   im HTML austauschen – Layout und Karte bleiben.
   ========================================= */
.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3.4vw, 48px);
  margin-bottom: clamp(20px, 3.2vh, 36px);
  animation: heroLogoIn 1s var(--ease-out-expo) 0.15s both;
  width: 100%;
}
.hero-brand-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  padding: 0;
  flex-shrink: 0;
}
.hero-brand-img {
  display: block;
  width: clamp(200px, 19vw, 265px);
  height: clamp(200px, 19vw, 265px);
  object-fit: contain;
  filter: drop-shadow(0 14px 40px rgba(0,0,0,0.5));
}
.hero-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  text-align: left;
  line-height: 0.92;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.55);
}
.hero-wordmark-line {
  display: block;
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(2.4rem, 6.0vw, 5.4rem);
  letter-spacing: -0.025em;
  line-height: 0.95;
}
.hero-wordmark-line--accent {
  color: var(--c-orange);
  font-weight: 700;
}

/* Markenlinie unter Bildmarke/Schriftzug */
.hero-claim {
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
  margin: 0;
}

.hero-line {
  display: flex;
  align-items: center;
  gap: 20px;
  line-height: 1;
}

.hero-line--meta {
  line-height: 1;
  gap: 14px;
  animation: heroIn 0.9s var(--ease-out-expo) 0.3s both;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-eyebrow {
  font-size: clamp(.78rem, 1.05vw, 1rem);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hero-eyebrow-sep {
  color: var(--c-orange);
  font-weight: 700;
}

.hero-foot {
  margin-top: clamp(28px, 4vh, 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  animation: heroIn 0.9s var(--ease-out-expo) 0.4s both;
}
.hero-sub {
  font-size: clamp(.95rem, 1.15vw, 1.08rem);
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
  max-width: 620px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-hero-new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--c-orange);
  color: #2F2F2F;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 4px;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.2s var(--ease-spring), box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(255,164,128,.35);
}
.btn-hero-new:hover {
  background: var(--c-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,164,128,.5);
}
.btn-hero-new.btn-hero-new--ghost {
  background: transparent;
  color: #2F2F2F;
  border: 1.5px solid #2F2F2F;
  box-shadow: none;
}
.btn-hero-new.btn-hero-new--ghost:hover {
  background: #2F2F2F;
  color: #fff;
}
.btn-hero-new.btn-hero-new--ghost-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.btn-hero-new.btn-hero-new--ghost-light:hover {
  background: #fff;
  color: #2F2F2F;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.18);
}

.hero-bar-accent {
  height: 4px;
  background: var(--c-orange);
  width: 100%;
  position: relative;
  z-index: 2;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================
   PAGE HERO (Unterseiten)
   ========================================= */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 60px) 6vw 80px;
  background: #fff;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--c-orange);
}
.page-hero .hero-bg-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .35;
}
.page-hero .hero-bg-deco svg {
  width: 100%;
  height: 100%;
  display: block;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
  gap: 60px;
  align-items: center;
}
.page-hero-text { animation: heroIn .7s var(--ease-out-expo) .05s both; }

.page-hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #2F2F2F;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.page-hero h1 .accent { color: var(--c-orange); }
.page-hero p.lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--c-muted);
  line-height: 1.65;
  max-width: 560px;
}

.page-hero-visual {
  position: relative;
  animation: heroIn .9s var(--ease-out-expo) .15s both;
}
.page-hero-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
}
.page-hero-visual .corner-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--c-orange);
  color: #2F2F2F;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(255,164,128,.3);
}

@media (max-width: 900px) {
  .page-hero { padding: calc(var(--nav-h) + 40px) 6vw 56px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-visual img { height: 300px; }
}

/* =========================================
   SECTIONS BASE
   ========================================= */
.section {
  padding: 100px 0;
  position: relative;
}
.section--light { background: #fff; }
.section--soft  { background: #fafafa; }
.section--accent { background: var(--accent-grad); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-header--left {
  text-align: left;
  margin: 0 0 48px;
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 14px;
}
.section-label--white { color: rgba(255,255,255,0.65); }

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 800;
  color: var(--c-dark);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.section-title--white { color: white; }

.section-sub {
  font-size: 1.05rem;
  color: var(--c-muted);
  line-height: 1.75;
}

/* =========================================
   SERVICES GRID (Startseite Teaser)
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-line);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--c-orange) 0%, var(--c-orange-dark) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255,164,128,0.25), rgba(255,164,128,0.10));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background 0.3s ease;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--c-orange);
  transition: color 0.3s ease, transform 0.35s var(--ease-spring);
}
.service-card:hover .service-icon svg {
  transform: scale(1.15) rotate(-5deg);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: .92rem;
  color: var(--c-muted) !important;
  line-height: 1.7;
}

.service-line {
  position: absolute;
  bottom: 0; left: 32px; right: 32px;
  height: 1px;
  background: var(--c-line);
}

/* =========================================
   STÄRKEN-KACHELN (Startseite)
   ========================================= */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.strength-tile {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s ease, border-color .3s ease;
}
.strength-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,164,128,.4);
}
.strength-tile .strength-num {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--c-orange);
}
.strength-tile h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--c-dark);
}
.strength-tile p {
  font-size: .92rem;
  color: var(--c-muted);
  line-height: 1.65;
}
@media (max-width: 900px) { .strength-grid { grid-template-columns: 1fr; } }

/* =========================================
   LEISTUNGEN – Detailansicht (Vollversion)
   ========================================= */
.leistung-block {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--c-line);
}
.leistung-block:last-child { border-bottom: none; }
.leistung-block--reverse { grid-template-columns: 1fr 1.05fr; }
.leistung-block--reverse .leistung-text { order: 2; }
.leistung-block--reverse .leistung-photo { order: 1; }

.leistung-text { padding-right: 8px; }
.leistung-text .leistung-num {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 14px;
}
.leistung-text h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--c-dark);
  line-height: 1.18;
  margin-bottom: 18px;
}
.leistung-text p {
  font-size: 1rem;
  color: var(--c-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.leistung-text ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 8px;
  margin-top: 18px;
}
.leistung-text ul li {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-dark);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 7px 14px;
  letter-spacing: .02em;
}
.leistung-photo {
  position: relative;
}
.leistung-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
}
.leistung-photo--portrait img { height: 520px; }

@media (max-width: 900px) {
  .leistung-block, .leistung-block--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
  }
  /* Mobil: immer Text zuerst, Bild danach – unabhängig von der Desktop-Reihenfolge */
  .leistung-block .leistung-text,
  .leistung-block--reverse .leistung-text { order: 1; }
  .leistung-block .leistung-photo,
  .leistung-block--reverse .leistung-photo { order: 2; }
  .leistung-photo img, .leistung-photo--portrait img { height: 300px; }
}

/* =========================================
   ÜBER UNS – Erweiterte Layouts
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-text { padding-right: 24px; }
.about-desc {
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 18px;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.stat-item {
  text-align: left;
  min-width: 90px;
}
.stat-value-row { display: flex; align-items: baseline; gap: 2px; }
.stat-number {
  font-family: var(--font-sans);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: white;
  display: inline-block;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 3ch;
}
.stat-suffix {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-orange);
  margin-left: 2px;
}
.stat-label {
  display: block;
  font-size: .78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 6px;
}

.about-visual { position: relative; }
.about-photo-frame {
  position: relative;
  border-radius: 4px;
  overflow: visible;
}
.about-photo {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 4px;
  display: block;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.about-photo-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--c-orange);
  color: #2F2F2F;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(255,164,128,.3);
}
.about-photo-badge svg { width: 16px; height: 16px; stroke: #2F2F2F; fill: none; flex-shrink: 0; }

/* Über uns – Standorte */
.standorte-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}
/* Variante für nur einen Standort: mittig, maßvolle Breite */
.standorte-grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* Marken-Claim ("Bääm Boom Bumiller …") als Subline auf Unterseiten */
.claim-line {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-orange);
  letter-spacing: 0.01em;
}
.standort-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 32px 30px;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s ease, border-color .3s ease;
}
.standort-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,164,128,.45);
}
.standort-card .ort-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 10px;
}
.standort-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--c-dark);
  margin-bottom: 12px;
}
.standort-card address {
  font-style: normal;
  color: var(--c-muted);
  line-height: 1.7;
  font-size: .95rem;
}
@media (max-width: 700px) {
  .standorte-grid { grid-template-columns: 1fr; }
}

/* Text-Block (lange Texte auf Über uns) */
.long-text {
  max-width: 760px;
  margin: 0 auto;
}
.long-text h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--c-dark);
  margin: 36px 0 14px;
}
.long-text h2:first-child { margin-top: 0; }
.long-text p {
  font-size: 1rem;
  color: var(--c-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* =========================================
   QUALITÄT
   ========================================= */
.qual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.qual-photo-col { position: relative; }
.qual-photo {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 4px;
  display: block;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12);
}
.qual-content-col { padding-right: 12px; }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 31px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-orange), var(--c-orange));
  border-radius: 2px;
}
.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  align-items: flex-start;
  padding: 20px 0;
  position: relative;
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--c-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 800;
  color: var(--c-orange);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s var(--ease-spring), box-shadow 0.3s ease;
}
.process-step:hover .step-num {
  background: var(--c-orange);
  color: #2F2F2F;
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(255,164,128,0.25);
}
.step-body { padding: 12px 0; }
.step-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}
.process-step:hover .step-body h3 { color: var(--c-orange); }
.step-body p {
  font-size: .94rem;
  color: var(--c-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* =========================================
   CTA BAND
   ========================================= */
.cta-band {
  background: linear-gradient(135deg, var(--c-orange) 0%, var(--c-orange-dark) 40%, var(--c-orange) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}
.cta-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: #2F2F2F;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.cta-text p {
  color: rgba(47,47,47,0.85);
  font-size: 1rem;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: white;
  color: var(--c-dark);
  font-size: .95rem;
  font-weight: 700;
  border-radius: 50px;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}
.btn-primary.btn--full { width: 100%; justify-content: center; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: white;
  font-size: .95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: background 0.3s ease, transform 0.25s var(--ease-spring);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}
/* Im CTA-Band liegt der Ghost-Button auf Cantaloupe -> dunkle Schrift */
.cta-band .btn-ghost {
  color: #2F2F2F;
  background: rgba(255,255,255,0.45);
  border-color: rgba(47,47,47,0.25);
}
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.72); }

/* =========================================
   KONTAKT
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: stretch;
}
.contact-info {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
}
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 14px;
  padding: 18px 20px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255,164,128,0.25), rgba(255,164,128,0.10));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; color: var(--c-orange); }
.contact-item strong {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 4px;
}
.contact-item span,
.contact-item a {
  font-size: .95rem;
  color: var(--c-text);
  line-height: 1.6;
  transition: color 0.2s ease;
}
.contact-item a:hover { color: var(--c-orange-text); }

/* Kontaktformular */
.contact-form {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.contact-form h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--c-dark);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.contact-form .form-intro {
  color: var(--c-muted);
  font-size: .92rem;
  line-height: 1.6;
  margin-bottom: 22px;
}
.form-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}
.form-group--full { flex: 1; margin-bottom: 18px; }
.form-group--full textarea {
  flex: 1;
  min-height: 120px;
  resize: vertical;
}
label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-muted);
}
input, textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--c-mid);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--c-text);
  background: var(--c-offwhite);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
input::placeholder, textarea::placeholder { color: var(--c-muted); opacity: 0.55; }
input:focus, textarea:focus {
  border-color: var(--c-orange);
  background: white;
  box-shadow: 0 0 0 4px rgba(255,164,128,0.18);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .82rem;
  color: var(--c-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.form-consent input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--c-orange);
}
.form-consent a { color: var(--c-orange-text); text-decoration: underline; }
.contact-form .btn-primary {
  background: linear-gradient(135deg, var(--c-orange) 0%, var(--c-orange-dark) 100%);
  color: #2F2F2F;
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 16px;
}
.contact-form .btn-primary:hover {
  box-shadow: 0 14px 40px rgba(255,164,128,0.25);
}
.form-note {
  font-size: .78rem;
  color: var(--c-muted);
  line-height: 1.55;
  margin-top: 14px;
  opacity: .8;
}

/* Großer Map-/Standorte-Block (statisch ohne externe Karte) */
.map-block {
  margin-top: 40px;
  background: linear-gradient(135deg, #f5f5f5 0%, #ececec 100%);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.map-block h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-dark);
  margin-bottom: 12px;
}
.map-block p {
  font-size: .95rem;
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.map-block a.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--c-orange-text);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.map-block a.map-link:hover { color: var(--c-orange-text); }
@media (max-width: 800px) { .map-block { grid-template-columns: 1fr; } }

/* =========================================
   PARALLAX IMAGE BAND
   ========================================= */
.parallax-band {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.parallax-band__img {
  position: absolute;
  inset: -15% 0;
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  will-change: transform;
}
.parallax-band__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,10,5, 0.45);
}
.parallax-band__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}
.pband-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-orange);
  flex-shrink: 0;
}

/* =========================================
   LEGAL PAGES (Impressum/Datenschutz)
   ========================================= */
.legal {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 8px;
}
.legal h2 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--c-dark);
  margin: 40px 0 14px;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--c-dark);
  margin: 24px 0 8px;
}
.legal p,
.legal address {
  font-size: .98rem;
  font-style: normal;
  color: #333;
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal a {
  color: var(--c-orange-text);
  border-bottom: 1px solid rgba(255,164,128,.3);
}
.legal a:hover { color: #7E3A1B; border-bottom-color: #7E3A1B; }
.legal ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
  color: #333;
}
.legal ul li { line-height: 1.75; margin-bottom: 6px; font-size: .98rem; }
.legal .placeholder {
  display: inline-block;
  background: rgba(255,164,128,.12);
  border: 1px dashed rgba(255,164,128,.55);
  color: #8A4229;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--c-navy);
  color: rgba(255,255,255,0.7);
}
.footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}
.footer-logo {
  height: 64px;
  margin-bottom: 22px;
  border-radius: 4px;
  background: #fff;
  padding: 8px 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  display: inline-block;
  width: auto;
}
/* Neue Footer-Logo-Kombination: Signet auf wei&szlig;em Grund + Wortmarke */
.footer-logo-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.footer-signet {
  display: block;
  width: 64px;
  height: 64px;
  background: none;
  object-fit: contain;
}
.footer-wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.0;
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}
.footer-wordmark-line {
  display: block;
  font-size: 1.25rem;
  line-height: 1.05;
}
.footer-wordmark-line--accent {
  color: var(--c-orange);
  font-weight: 700;
}
.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  max-width: 320px;
}
.footer-nav h4,
.footer-contact-col h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: .9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.footer-nav a:hover { color: var(--c-orange); transform: translateX(4px); }
.footer-contact-col p,
.footer-contact-col a {
  display: block;
  font-size: .9rem;
  margin-bottom: 8px;
  line-height: 1.6;
  transition: color 0.2s ease;
}
.footer-contact-col a:hover { color: var(--c-orange); }
.footer-bottom { padding: 24px 0 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 40px;
}
.footer-bottom-inner span {
  font-size: .82rem;
  color: rgba(255,255,255,0.35);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: .82rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-claim {
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,0.28);
  padding: 14px 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.heart-icon {
  width: 14px;
  height: 14px;
  color: #e05353;
  display: inline-block;
  animation: heartbeat 1.8s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  10% { transform: scale(1.25); }
  20% { transform: scale(1); }
  30% { transform: scale(1.15); }
  40% { transform: scale(1); }
}
.footer-claim a {
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer-claim a:hover { color: var(--c-orange); }

/* =========================================
   SCROLL REVEAL
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
  transition-delay: var(--d, 0s);
}
.reveal--right { transform: translateX(30px); }
.reveal.visible { opacity: 1; transform: translate(0, 0); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .qual-grid { grid-template-columns: 1fr; gap: 50px; }
  .qual-content-col { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .about-text { padding-right: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .qual-photo { height: 380px; }
  .about-photo { height: 360px; }
  .about-stats { gap: 28px; flex-wrap: wrap; }
}

@media (max-width: 680px) {
  .section { padding: 70px 0; }
  .container { padding: 0 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; padding: 20px 24px; }
  .about-stats { flex-direction: column; gap: 22px; }
}

@media (max-width: 440px) {
  .cta-actions { flex-direction: column; width: 100%; }
  .btn-ghost, .btn-primary { justify-content: center; }
  .leistung-text ul li { font-size: .75rem; padding: 6px 12px; }
}

/* =========================================
   MOBILE NAVIGATION – vollflächig orange ohne Schräge
   ========================================= */
@media (max-width: 768px) {
  /* Schräges Pseudo-Element wird durch eine vollflächige orange Fläche ersetzt */
  .navMenu::before {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1) 0.05s;
  }
  .navMenu.open::before {
    transform: translateX(0);
  }

  /* Liste mittig statt rechtsbündig + skew, damit nichts rechts überläuft */
  .navMenu ul {
    align-items: center;
    justify-content: center;
    padding: clamp(80px, 14vh, 120px) 24px 24px;
    transform: none;
    text-align: center;
  }
  .navMenu ul li { margin: 0.4rem 0; }
  .navMenu ul li a {
    transform: none;
    font-size: clamp(1.5rem, 7vw, 2.6rem);
    letter-spacing: -0.02em;
    line-height: 1.05;
    word-break: break-word;
    text-align: center;
    justify-content: center;
  }
  .navMenu ul li a:hover {
    transform: none;
  }

  /* Footer (Impressum/Datenschutz) – kein skew, sauber zentriert, darf umbrechen */
  .navMenu-footer {
    left: 24px;
    right: 24px;
    bottom: 5vh;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 12px;
    transform: translateY(10px);
  }
  .navMenu.open .navMenu-footer {
    transform: translateY(0);
  }
  .navMenu-footer a,
  .navMenu-footer .sep {
    transform: none;
    font-size: 0.8rem;
  }

  /* Sicherheitsnetz gegen horizontalen Scroll wenn Menü offen */
  body.menu-open { overflow-x: hidden; }
}

/* =========================================
   MOBILE HEADER – Logo kleiner, kein Überstand
   ========================================= */
@media (max-width: 768px) {
  :root { --nav-h: 84px; }
  .nav-container { padding: 0 20px; }
  .nav-logo { gap: 10px; }
  .nav-signet { width: 46px; height: 46px; }
  body.subpage .nav-signet,
  #main-header.scrolled .nav-signet,
  body.subpage #main-header.scrolled .nav-signet {
    width: 42px;
    height: 42px;
  }
  .nav-wordmark-line { font-size: 1rem; }
  body.subpage .nav-wordmark-line { font-size: 0.95rem; }
  .navTrigger { width: 40px; height: 40px; }
  .navTrigger svg { width: 38px; height: 28px; }
}

@media (max-width: 480px) {
  :root { --nav-h: 76px; }
  .nav-signet { width: 40px; height: 40px; }
  body.subpage .nav-signet,
  #main-header.scrolled .nav-signet,
  body.subpage #main-header.scrolled .nav-signet {
    width: 38px;
    height: 38px;
  }
  .nav-wordmark-line { font-size: 0.92rem; }
  body.subpage .nav-wordmark-line { font-size: 0.88rem; }
}

/* Sehr schmale Geräte: Wortmarke verkleinern, ggf. nur "Bumiller" + "Zahntechnik" untereinander */
@media (max-width: 360px) {
  .nav-wordmark-line { font-size: 0.85rem; }
}

/* =========================================
   MOBILE HERO – Text sauber umbrechen
   ========================================= */
@media (max-width: 768px) {
  .hero-section { overflow-x: hidden; }
  .hero-inner { padding: 2vh 24px 4vh; }
  .hero-headline-block { width: 100%; max-width: 100%; }
  .hero-line { gap: 8px; flex-wrap: wrap; }
  .hero-word {
    font-size: clamp(2.4rem, 13vw, 5rem);
    letter-spacing: -0.035em;
    line-height: 0.92;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .hero-line--3-title .hero-word {
    font-size: clamp(2rem, 11vw, 4.4rem);
  }
  .hero-line--meta {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-eyebrow,
  .hero-eyebrow-sep {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }
  .hero-foot { gap: 18px; }
  .hero-sub { font-size: 0.95rem; max-width: 100%; }
  .hero-claim { font-size: 1.02rem; }
  .btn-hero-new { padding: 13px 22px; font-size: 0.9rem; }

  /* Hero-Brand auf Mobile: Logo-Karte und Schriftzug untereinander */
  .hero-brand {
    flex-direction: column;
    gap: 22px;
    margin-bottom: 26px;
  }
  .hero-brand-card {
    padding: 18px;
    border-radius: 8px;
  }
  .hero-brand-img {
    width: clamp(140px, 36vw, 180px);
    height: clamp(140px, 36vw, 180px);
  }
  .hero-wordmark {
    text-align: center;
  }
  .hero-wordmark-line {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }
}

@media (max-width: 380px) {
  .hero-wordmark-line { font-size: 1.95rem; }
  .hero-brand-img { width: 130px; height: 130px; }
  .hero-brand-card { padding: 14px; }
}

@media (max-width: 380px) {
  .hero-word { font-size: 2.1rem; letter-spacing: -0.03em; }
  .hero-line--3-title .hero-word { font-size: 1.85rem; }
  .nav-signet { width: 38px; height: 38px; }
}

/* =========================================
   KONTAKT – Standorte + Maps in zwei Karten
   ========================================= */
.standorte-maps {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
/* Single-Standort-Variante: nur eine Karte, mittig und in maßvoller Breite */
.standorte-maps--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.standort-mapcard {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 28px 28px 0;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s ease, border-color .3s ease;
}
.standort-mapcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,164,128,.4);
}
.standort-mapcard h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-dark);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.standort-mapcard p {
  font-size: .95rem;
  color: var(--c-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}
.standort-mapcard .map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-orange-text);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 22px;
  align-self: flex-start;
}
.standort-mapcard .map-link:hover { color: var(--c-orange-text); }
.standort-mapcard .map-frame {
  position: relative;
  margin: 0 -28px;
  border-top: 1px solid var(--c-line);
  background: #f5f5f5;
  line-height: 0;
}
.standort-mapcard .map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}
.map-embed-note {
  margin-top: 16px;
  font-size: .82rem;
  color: var(--c-muted);
  line-height: 1.6;
}
.map-embed-note a {
  color: var(--c-orange-text);
  text-decoration: underline;
}
.map-embed-note a:hover { color: var(--c-orange-text); }

@media (max-width: 800px) {
  .standorte-maps { grid-template-columns: 1fr; gap: 20px; }
  .standort-mapcard .map-frame iframe { height: 280px; }
}

/* =========================================
   KONTAKTFORMULAR – Status nach PHP-Versand
   ========================================= */
.form-status {
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: .9rem;
  line-height: 1.5;
  margin-bottom: 18px;
}
.form-status--ok {
  background: rgba(86,176,78,.12);
  border: 1px solid rgba(86,176,78,.5);
  color: #2e6d22;
}
.form-status--error {
  background: rgba(240,90,0,.10);
  border: 1px solid rgba(240,90,0,.45);
  color: #8A4229;
}

/* Honeypot – für Nutzer unsichtbar, aber nicht display:none */
.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* =========================================
   MOBILE PARALLAX BAND – Wörter sauber umbrechen
   ========================================= */
@media (max-width: 768px) {
  .parallax-band {
    height: auto;
    min-height: 200px;
    padding: 56px 20px;
    overflow: hidden;
  }
  .parallax-band__img {
    background-attachment: scroll;
    background-position: center 40%;
  }
  .parallax-band__text {
    position: relative;
    inset: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 16px;
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-align: center;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .parallax-band__text span:not(.pband-dot) {
    display: block;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .pband-dot { display: none; }
}

@media (max-width: 480px) {
  .parallax-band__text {
    font-size: 0.88rem;
    letter-spacing: 0.12em;
    gap: 12px;
  }
}

/* =========================================
   LEGAL – dezente Platzhalter (ohne Warn-Optik)
   ========================================= */
.legal .placeholder-soft {
  display: inline;
  color: var(--c-muted);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

/* =========================================
   LOADER – auf Unterseiten komplett deaktivieren
   ========================================= */
body.subpage #page-loader {
  display: none !important;
}

/* =========================================
   KONTAKTFORMULAR – Inline-Feldfehler (dezent)
   ========================================= */
.form-group.field-error input,
.form-group.field-error textarea {
  border-color: var(--c-orange-dark);
  background: #FFF6F1;
  box-shadow: 0 0 0 3px rgba(240, 90, 0, 0.12);
}
.form-group.field-error input:focus,
.form-group.field-error textarea:focus {
  border-color: var(--c-orange);
  box-shadow: 0 0 0 4px rgba(255,164,128, 0.22);
}

.form-error-text {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #8A4229;
  line-height: 1.45;
}
.form-error-text:empty { display: none; }

.form-consent.field-error {
  color: #8A4229;
}
.form-consent.field-error input[type="checkbox"] {
  outline: 2px solid var(--c-orange-dark);
  outline-offset: 2px;
}
.form-consent.field-error .form-error-text {
  margin-top: 4px;
  margin-left: 26px;
}

/* =========================================
   GALERIE / SLIDER (Über uns)
   ========================================= */
.gallery-slider {
  position: relative;
  margin-top: 24px;
  padding: 0 6vw;
  user-select: none;
}
.gallery-viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;
}
.gallery-viewport.is-dragging { cursor: grabbing; }

.gallery-track {
  display: flex;
  gap: 18px;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-track.is-dragging { transition: none; }

.gallery-slide {
  flex: 0 0 calc((100% - 36px) / 3);
  aspect-ratio: 4 / 3;
  background: #efe9e3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform .35s var(--ease-out-expo), box-shadow .35s ease;
}
.gallery-slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.14);
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-dark);
  cursor: pointer;
  z-index: 5;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-spring), box-shadow 0.25s ease, border-color 0.25s ease;
}
.gallery-nav svg {
  width: 22px;
  height: 22px;
}
.gallery-nav:hover {
  background: var(--c-orange);
  color: #2F2F2F;
  border-color: var(--c-orange);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 12px 32px rgba(255,164,128,0.32);
}
.gallery-nav:focus-visible {
  outline: 3px solid rgba(255,164,128,0.45);
  outline-offset: 3px;
}
.gallery-nav--prev { left: clamp(8px, 2vw, 24px); }
.gallery-nav--next { right: clamp(8px, 2vw, 24px); }

@media (max-width: 1100px) {
  .gallery-slide { flex: 0 0 calc((100% - 18px) / 2); }
}
@media (max-width: 700px) {
  .gallery-slider { padding: 0 16px; }
  .gallery-track { gap: 12px; }
  .gallery-slide {
    flex: 0 0 100%;
    aspect-ratio: 4 / 3;
  }
  .gallery-nav {
    width: 44px;
    height: 44px;
  }
  .gallery-nav svg { width: 18px; height: 18px; }
  .gallery-nav--prev { left: 4px; }
  .gallery-nav--next { right: 4px; }
}
