/* ==========================================================================
   BK-PERFECTION — Stylesheet
   Anpassbare Werte stehen ALLE in :root unten. Farben, Schriften, Abstände
   und Animationsdauer können dort zentral geändert werden.
   ========================================================================== */

/* ------------------------------ FONTS ------------------------------------ */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cormorant-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/kanit-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/kanit-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/kanit-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/kanit-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/kanit-700.woff2') format('woff2');
}

/* ------------------------------ TOKENS ----------------------------------- */
:root {
  /* === FARBEN (hier alles ändern, wenn der Look angepasst werden soll) === */
  --color-bg:            #0a0a0c;
  --color-bg-elevated:   #131318;
  --color-bg-card:       #16161c;
  --color-surface:       #1f1f27;
  --color-border:        rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.18);

  --color-text:          #fef1f1;
  --color-text-dim:      rgba(254, 241, 241, 0.72);
  --color-text-faint:    rgba(254, 241, 241, 0.50);
  --color-text-on-accent:#ffffff;

  --color-accent:        #ff6422;
  --color-accent-hover:  #ff7a3f;
  --color-accent-soft:   rgba(255, 100, 34, 0.14);
  --color-accent-glow:   rgba(255, 100, 34, 0.35);

  --gradient-cta:        linear-gradient(90deg, #ff2f22 0%, #ff2272 100%);
  --gradient-cta-hover:  linear-gradient(90deg, #ff4234 0%, #ff3a85 100%);

  /* === SCHRIFTEN === */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Kanit', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* === SCHRIFTGRÖSSEN (fluid, mobile-first) === */
  --fs-label:   clamp(0.72rem, 0.7vw + 0.6rem, 0.85rem);
  --fs-small:   clamp(0.875rem, 0.4vw + 0.8rem, 0.95rem);
  --fs-body:    clamp(1rem, 0.5vw + 0.9rem, 1.125rem);
  --fs-lead:    clamp(1.125rem, 0.8vw + 1rem, 1.375rem);
  --fs-h3:      clamp(1.375rem, 1.5vw + 1rem, 1.875rem);
  --fs-h2:      clamp(1.875rem, 3vw + 1rem, 3rem);
  --fs-h1:      clamp(2.5rem, 5vw + 1rem, 5rem);
  --fs-stat:    clamp(2.75rem, 5vw + 1rem, 4.5rem);

  /* === ABSTÄNDE === */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* === LAYOUT === */
  --container-max:  1280px;
  --container-pad:  clamp(20px, 4vw, 64px);
  --section-pad-y:  clamp(64px, 9vw, 144px);
  --header-h:       72px;

  /* === FORMEN === */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* === SCHATTEN === */
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md:   0 8px 28px rgba(0, 0, 0, 0.35);
  --shadow-lg:   0 24px 64px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 80px var(--color-accent-glow);

  /* === ÜBERGÄNGE === */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast:  180ms;
  --t-med:   320ms;
  --t-slow:  600ms;
}

/* ------------------------------ RESET ------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
* { margin: 0; padding: 0; }

html {
  scroll-behavior: auto; /* wird per JS gesteuert für sanfteren Effekt */
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
  overscroll-behavior-y: none; /* verhindert iOS-Bounce-Overscroll der ganzen Seite */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Touch-Geräte: keine Hover-Effekte als Standardzustand kleben lassen */
@media (hover: none) {
  a:hover, button:hover { transition: none !important; }
}

/* iOS: 16px Mindest-Schriftgröße in Inputs verhindert Auto-Zoom beim Fokus */
@supports (-webkit-touch-callout: none) {
  input, select, textarea { font-size: 16px !important; }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}

ul, ol { list-style: none; }

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

input, textarea, select {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--color-accent);
  color: var(--color-text-on-accent);
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  padding: 12px 20px;
  background: var(--color-accent);
  color: var(--color-text-on-accent);
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ------------------------------ HELFER ----------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

/* ------------------------------ TYPOGRAFIE ------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

h1 { font-size: var(--fs-h1); font-weight: 500; }
h2 { font-size: var(--fs-h2); font-weight: 500; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-body); font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-dim); }

em {
  font-style: italic;
  color: var(--color-accent);
  font-weight: 500;
}

p { color: var(--color-text-dim); }
p strong { color: var(--color-text); font-weight: 500; }

/* Section heads */
.section-head {
  max-width: 760px;
  margin-bottom: var(--space-8);
}
.section-head h2 + .section-lead {
  margin-top: var(--space-5);
}
.section-lead {
  font-size: var(--fs-lead);
  color: var(--color-text-dim);
  max-width: 60ch;
}

/* ------------------------------ BUTTONS ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 48px;            /* Touch-Target garantieren */
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  transition: transform var(--t-fast) var(--ease-out),
              background var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              color var(--t-fast) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  touch-action: manipulation;  /* entfernt 300ms Tap-Delay auf älteren iOS */
  user-select: none;
}

.btn svg { transition: transform var(--t-med) var(--ease-out); }

.btn-primary {
  background: var(--gradient-cta);
  color: var(--color-text-on-accent);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 4px;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

/* Touch-Feedback (alle Geräte) */
.btn:active {
  transform: translateY(1px) scale(0.985);
  transition-duration: 80ms;
}

/* Hover-Effekte nur auf echten Pointer-Geräten */
@media (hover: hover) {
  .btn:hover svg { transform: translateX(4px); }
  .btn-primary:hover {
    background: var(--gradient-cta-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 100px var(--color-accent-glow);
  }
  .btn-ghost:hover {
    background: var(--color-surface);
    border-color: var(--color-text-dim);
  }
}

/* ------------------------------ HEADER ----------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px);
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
}
.site-header.scrolled {
  background: rgba(10, 10, 12, 0.92);
  border-bottom-color: var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-5);
}

.logo img {
  height: 28px;
  width: auto;
}

.nav-primary ul {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}
.nav-primary a {
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-dim);
  position: relative;
  padding: 8px 0;
}
.nav-primary a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}
@media (hover: hover) {
  .nav-primary a:hover { color: var(--color-text); }
  .nav-primary a:hover::after { transform: scaleX(1); }
}

.nav-cta {
  padding: 10px 20px !important;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  color: var(--color-text) !important;
}
.nav-cta::after { display: none; }
@media (hover: hover) {
  .nav-cta:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text-on-accent) !important;
  }
}

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  position: relative;
  touch-action: manipulation;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform var(--t-med) var(--ease-out),
              opacity var(--t-fast) var(--ease-out),
              top var(--t-med) var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(90vw, 420px);
  background: var(--color-bg);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + var(--space-6))
           var(--container-pad)
           calc(env(safe-area-inset-bottom, 0px) + var(--space-6));
  border-left: 1px solid var(--color-border);
  z-index: 99;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease-out),
              transform 380ms var(--ease-out);
  box-shadow: -32px 0 80px rgba(0, 0, 0, 0.5);
}
.nav-mobile[data-open="true"] {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Backdrop hinter dem mobilen Menü */
.nav-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease-out);
}
.nav-mobile-backdrop[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.nav-mobile a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 2.75rem);
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
  min-height: 64px;
  display: flex;
  align-items: center;
}
.nav-mobile a:active { color: var(--color-accent); }

/* ------------------------------ HERO ------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;             /* dynamic viewport height: ohne Browser-Chrome-Sprünge */
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + var(--space-8));
  padding-bottom: var(--space-9);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 60%;       /* Desktop: leichte Verschiebung nach rechts */
  display: block;
}

/* Dunkle Überlagerung — sorgt für Lesbarkeit der Schrift auf dem hellen Bild */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg,
      rgba(10, 10, 12, 0.92) 0%,
      rgba(10, 10, 12, 0.78) 35%,
      rgba(10, 10, 12, 0.45) 70%,
      rgba(10, 10, 12, 0.30) 100%),
    linear-gradient(180deg,
      rgba(10, 10, 12, 0.55) 0%,
      transparent 30%,
      transparent 70%,
      rgba(10, 10, 12, 0.85) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
.hero-title em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-lead {
  font-size: var(--fs-lead);
  color: var(--color-text);
  max-width: 60ch;
  margin-bottom: var(--space-7);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ------------------------------ SECTIONS --------------------------------- */
.services,
.team,
.process,
.contact {
  padding: var(--section-pad-y) 0;
}
.stats {
  padding: var(--space-9) 0;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* ------------------------------ SERVICES --------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-7) var(--space-6);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-accent-soft) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-out);
  pointer-events: none;
}
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-md);
  }
  .service-card:hover::before { opacity: 1; }
}

.service-icon {
  color: var(--color-accent);
  margin-bottom: var(--space-6);
}

.service-card h3 {
  margin-bottom: var(--space-4);
}
.service-card > p {
  margin-bottom: var(--space-5);
}

.service-list {
  margin-bottom: var(--space-6);
  flex: 1;
}
.service-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: var(--space-2);
  font-size: var(--fs-small);
  color: var(--color-text-dim);
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 1px;
  background: var(--color-accent);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  align-self: flex-start;
  touch-action: manipulation;
}
.card-link svg { transition: transform var(--t-med) var(--ease-out); }
@media (hover: hover) {
  .card-link:hover { color: var(--color-accent-hover); }
  .card-link:hover svg { transform: translateX(6px); }
}
.card-link:active svg { transform: translateX(6px); }

/* ------------------------------ STATS ------------------------------------ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-7);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border);
}
.stat-value {
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  font-weight: 500;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  font-feature-settings: "tnum" 1;
}
.stat-label {
  font-size: var(--fs-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
}

/* ------------------------------ TEAM ------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: center;
}
.team-text p {
  margin-bottom: var(--space-4);
  max-width: 50ch;
}
.team-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.team-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

/* ------------------------------ PROCESS ---------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
  counter-reset: step;
}
.process-step {
  padding: var(--space-6);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: border-color var(--t-med) var(--ease-out);
}
.process-step:hover { border-color: var(--color-border-strong); }
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-5);
  font-style: italic;
}
.process-step h3 { margin-bottom: var(--space-3); }

/* ------------------------------ CONTACT ---------------------------------- */
.contact {
  background: var(--color-bg-elevated);
}
.contact-head {
  text-align: center;
  margin-inline: auto;
}
.contact-head .section-lead {
  margin-inline: auto;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-7) var(--space-6);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  text-decoration: none;
  transition: transform var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              background var(--t-med) var(--ease-out);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 240px;
  touch-action: manipulation;
}
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-accent-soft) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-out);
  z-index: -1;
}
.contact-card-icon {
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.contact-card-label {
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
}
.contact-card-value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.6vw, 1.625rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-text);
  word-break: break-word;
}
.contact-card-cta {
  margin-top: auto;
  padding-top: var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.contact-card-cta svg { transition: transform var(--t-med) var(--ease-out); }

@media (hover: hover) {
  .contact-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md), 0 0 60px rgba(255, 100, 34, 0.15);
  }
  .contact-card:hover::before { opacity: 1; }
  .contact-card:hover .contact-card-cta svg { transform: translateX(6px); }
}
.contact-card:active {
  transform: scale(0.99);
  transition-duration: 80ms;
}

.contact-mobile-hint {
  text-align: center;
  margin-top: var(--space-7);
  font-size: var(--fs-small);
  color: var(--color-text-faint);
}
.contact-mobile-hint a {
  color: var(--color-text-dim);
  font-weight: 500;
}
.contact-mobile-hint a:hover { color: var(--color-accent); }

/* ------------------------------ STICKY MOBILE CTA ------------------------ */
.mobile-cta {
  position: fixed;
  left: var(--space-4);
  right: var(--space-4);
  bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 56px;
  padding: 0 var(--space-6);
  background: var(--gradient-cta);
  color: var(--color-text-on-accent);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-body);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(255, 47, 34, 0.32),
              0 4px 16px rgba(0, 0, 0, 0.4);
  z-index: 90;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 400ms var(--ease-out),
              opacity 400ms var(--ease-out);
  touch-action: manipulation;
  user-select: none;
}
.mobile-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-cta:active { transform: scale(0.98); transition-duration: 80ms; }

/* ------------------------------ FOOTER ----------------------------------- */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: var(--space-9) 0
           calc(var(--space-6) + env(safe-area-inset-bottom, 0px));
  color: var(--color-text-dim);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-7);
  margin-bottom: var(--space-8);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.footer-tag {
  margin-top: var(--space-4);
  max-width: 30ch;
  font-size: var(--fs-small);
}
.footer-logo img { height: 28px; width: auto; }
.footer-col address {
  font-style: normal;
  font-size: var(--fs-small);
  line-height: 1.7;
}
.footer-col address a:hover { color: var(--color-accent); }
.footer-nav { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-nav a {
  font-size: var(--fs-small);
  color: var(--color-text-dim);
}
.footer-nav a:hover { color: var(--color-text); }

.footer-bottom {
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-label);
  color: var(--color-text-faint);
}

/* ------------------------------ REVEAL ----------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-out),
              transform 800ms var(--ease-out);
  transition-delay: var(--card-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 960px) {
  .team-grid    { grid-template-columns: 1fr; gap: var(--space-7); }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: var(--space-7); }
}

@media (max-width: 720px) {
  :root {
    --header-h: 60px;
    --section-pad-y: clamp(56px, 12vw, 96px);
    --container-pad: clamp(18px, 5vw, 28px);
  }

  .nav-primary { display: none; }
  .nav-toggle  { display: block; }

  .logo img { height: 22px; }
  .footer-logo img { height: 24px; }

  .hero {
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + var(--space-6));
    padding-bottom: var(--space-8);
  }
  .hero-bg img { object-position: 60% center; }
  .hero-title { line-height: 1.08; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: var(--space-3); }
  .hero-actions .btn { width: 100%; }

  .service-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .service-card { padding: var(--space-6) var(--space-5); }

  .stat-grid { grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-4); }
  .stat { padding: var(--space-4) 0; }

  .process-grid { gap: var(--space-4); }
  .process-step { padding: var(--space-5); }

  .contact-cards { gap: var(--space-4); margin-top: var(--space-6); }
  .contact-card { padding: var(--space-6) var(--space-5); min-height: 200px; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); margin-bottom: var(--space-7); }
  .footer-bottom { font-size: var(--fs-small); }

  /* Sticky-CTA aktivieren */
  .mobile-cta { display: inline-flex; }

  /* Damit der Footer nicht vom Sticky-CTA überdeckt wird */
  body { padding-bottom: 0; }
}

@media (max-width: 420px) {
  :root { --container-pad: 16px; }
  .hero-title { font-size: clamp(2.25rem, 11vw, 3rem); }
  .stat-value { font-size: clamp(2.25rem, 12vw, 3rem); }
}

/* Sehr breite Bildschirme — Container limitieren, mehr Atemraum */
@media (min-width: 1600px) {
  :root { --container-max: 1440px; }
}
