/* ═══════════════════════════════════════════════════════════════
   EBERLE + PECK METALLBAU — Premium Design System
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #f3f4f7;
  --surface: #ffffff;
  --text: #0a0e1a;
  --muted: #4a5568;
  --subtle: #8896a8;
  --border: rgba(10, 14, 26, 0.09);
  --border-dark: rgba(10, 14, 26, 0.14);
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-glow: rgba(194, 65, 12, 0.28);
  --gold: #d4a15a;
  --deep: #070a14;
  --navy: #0f172a;
  --teal: #22b8e0;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(10,14,26,0.07), 0 1px 3px rgba(10,14,26,0.04);
  --shadow-md: 0 8px 28px rgba(10,14,26,0.09), 0 2px 8px rgba(10,14,26,0.05);
  --shadow-lg: 0 24px 64px rgba(10,14,26,0.13), 0 4px 16px rgba(10,14,26,0.06);
  --shadow-accent: 0 14px 40px rgba(194,65,12,0.32);
  --max: 1180px;
  --header-h: 72px;
  --font: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 3px solid rgba(34,184,224,0.5); outline-offset: 3px; }

.container {
  width: min(100% - 36px, var(--max));
  margin-inline: auto;
}
@media (min-width: 480px) { .container { width: min(100% - 48px, var(--max)); } }

/* ═══════════════════════════════════════
   TOPBAR
═══════════════════════════════════════ */
.topbar {
  display: none;
  background: var(--deep);
  color: rgba(255,255,255,0.88);
  font-size: 0.84rem;
}
@media (min-width: 860px) {
  .topbar { display: block; }
  .topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    gap: 16px;
  }
  .topbar a { color: inherit; text-decoration: none; transition: color 0.18s; }
  .topbar a:hover { color: var(--teal); }
  .topbar-links { display: flex; align-items: center; gap: 10px; }
}

.topbar-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.status-dot--teal { background: var(--teal); }

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,184,224,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(34,184,224,0); }
}

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 8px 32px rgba(10,14,26,0.07);
}

.nav-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: 0;
}
.brand:hover { text-decoration: none; }

.brand-logo {
  width: 118px;
  max-height: 64px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .brand-logo {
    width: 98px;
    max-height: 56px;
  }
}

.brand-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, #c2410c 0%, #922f0a 100%);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(194,65,12,0.35);
  font-family: var(--font);
}
.brand-mark--sm {
  width: 34px;
  height: 34px;
  font-size: 0.75rem;
  border-radius: 8px;
}

.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-name {
  font-weight: 750;
  font-size: clamp(1rem, 3vw, 1.1rem);
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.brand-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 600;
}

/* Legacy brand selectors (for din-en-1090 etc.) */
.brand-line1 {
  font-weight: 750;
  letter-spacing: -0.03em;
  font-size: clamp(1.05rem, 4vw, 1.2rem);
  line-height: 1.15;
  color: var(--text);
}
.brand-line2 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 600;
}
.ep { color: var(--accent); }

.nav-desktop { display: none; align-items: center; gap: 2px; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-desktop a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
}
.nav-desktop a:hover { background: rgba(10,14,26,0.06); color: var(--text); }
.nav-desktop a.is-active { color: var(--accent); }

.nav-cta { display: none; }
@media (min-width: 1024px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  padding: 0 11px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.22s;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7,10,20,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
  z-index: 60;
}
body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

.nav-panel {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow: auto;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 28px;
  z-index: 70;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s, transform 0.24s;
}
body.nav-open .nav-panel:not([hidden]) { transform: translateY(0); opacity: 1; pointer-events: auto; }

@media (min-width: 1024px) {
  .nav-panel { display: none !important; }
  .nav-backdrop { display: none !important; }
  body.nav-open { overflow: visible; }
}

.nav-panel a {
  display: block;
  padding: 13px 12px;
  color: var(--text);
  font-weight: 650;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  min-height: 48px;
  display: flex;
  align-items: center;
}
.nav-panel a:hover { background: rgba(10,14,26,0.05); }
.nav-panel .btn { margin-top: 12px; justify-content: center; }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  font-weight: 700;
  font-size: 0.94rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, filter 0.18s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97) !important; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }

.btn-lg { min-height: 52px; padding: 0 28px; font-size: 0.975rem; }
.btn-full { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #a83708 100%);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { color: #fff; }
@media (hover: hover) {
  .btn-primary:hover { filter: brightness(1.07); box-shadow: 0 18px 48px rgba(194,65,12,0.42); }
}

.btn-soft {
  background: rgba(10,14,26,0.07);
  color: var(--text);
}
.btn-soft:hover { background: rgba(10,14,26,0.11); color: var(--text); }

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.94);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; }

.btn-ghost {
  background: rgba(255,255,255,0.9);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.6);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: min(95vh, 820px);
  display: grid;
  align-items: stretch;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #08101e url("../assets/imported/hero-metallbau.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5,9,18,0.93) 0%,
    rgba(5,9,18,0.72) 40%,
    rgba(10,16,30,0.65) 100%
  );
}

.hero-inner {
  position: relative;
  padding: clamp(72px, 13vw, 140px) 0 clamp(80px, 14vw, 120px);
  display: grid;
  align-items: end;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.58);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-headline {
  margin: 0 0 20px;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: #fff;
  font-weight: 800;
  max-width: 14ch;
}

.headline-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.025em;
}

.hero-lead {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  max-width: 46ch;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  margin-top: 52px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.05);
  max-width: 660px;
}

.hero-stat-item {
  flex: 1;
  min-width: 130px;
  padding: 18px 20px;
  text-align: center;
}
.hero-stat-item strong {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.hero-stat-item span {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  display: block;
}
.hero-stat-div {
  width: 1px;
  background: rgba(255,255,255,0.12);
  margin: 12px 0;
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scroll-anim 2.2s ease-in-out infinite;
}
.scroll-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}

@keyframes scroll-anim {
  0% { transform: scaleY(0); transform-origin: top; }
  48% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 640px) {
  .hero-scroll { display: none; }
  .hero-stat-div { display: none; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════
   MARQUEE
═══════════════════════════════════════ */
.marquee-strip {
  background: var(--deep);
  overflow: hidden;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  user-select: none;
}
.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: marquee-run 35s linear infinite;
}
.marquee-track span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding: 0 18px;
}
.marquee-track .mdot {
  color: var(--accent);
  padding: 0 2px;
  font-size: 1rem;
}

@keyframes marquee-run {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ═══════════════════════════════════════
   SECTION BASE
═══════════════════════════════════════ */
.section { padding: clamp(60px, 11vw, 116px) 0; }

.section-muted { background: #eaecf1; }

.section-head { max-width: 52ch; margin-bottom: clamp(36px, 6vw, 56px); }

.section-kicker {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 800;
}

.title-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 14px 0 0;
  font-size: 1.04rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

/* ═══════════════════════════════════════
   STATS SECTION
═══════════════════════════════════════ */
.section-stats {
  background: linear-gradient(160deg, #090d1c 0%, #0d1527 100%);
  padding: clamp(48px, 8vw, 80px) 0;
  position: relative;
  overflow: hidden;
}
.section-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100%);
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, rgba(34,184,224,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
}
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
  background: rgba(255,255,255,0.02);
  padding: clamp(28px, 4vw, 44px) 20px;
  text-align: center;
  position: relative;
  transition: background 0.25s;
}
.stat-card:hover { background: rgba(255,255,255,0.05); }

.stat-number {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 800;
  color: #f8fafc;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat-text {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 650;
  color: rgba(148,163,184,0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.stat-accent-bar {
  position: absolute;
  bottom: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.stat-card:hover .stat-accent-bar { opacity: 1; }

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
.grid-services {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-services { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform 0.26s cubic-bezier(0.25,0.46,0.45,0.94),
              box-shadow 0.26s cubic-bezier(0.25,0.46,0.45,0.94);
}
@media (hover: hover) {
  .service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
  .service-card:hover .service-img { transform: scale(1.04); }
}

.service-num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(10,14,26,0.55);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 4px 8px;
  font-variant-numeric: tabular-nums;
}

.service-img-wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
  background: #dde1e9;
}

.service-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.service-body h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
}
.service-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ═══════════════════════════════════════
   PROCESS
═══════════════════════════════════════ */
.section-process {
  background-color: #eaecf1;
  background-image: radial-gradient(circle, rgba(10,14,26,0.055) 1px, transparent 1px);
  background-size: 26px 26px;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 860px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

.process-step {
  padding: 32px 28px 36px;
  border-top: 3px solid var(--border-dark);
  position: relative;
  background: transparent;
  transition: background 0.22s;
}
.process-step:first-child { border-top-color: var(--accent); }
.process-step:hover { background: rgba(255,255,255,0.6); }

.process-num {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.22s;
}
.process-step:hover .process-num { opacity: 0.35; }

.process-content h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 750;
  color: var(--text);
  letter-spacing: -0.015em;
}
.process-content p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   DIN PANEL
═══════════════════════════════════════ */
.din-panel {
  display: grid;
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
@media (min-width: 800px) { .din-panel { grid-template-columns: 190px 1fr; gap: 40px; } }

.din-logo { max-width: 190px; margin: 0 auto; }

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
.about-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 60px; } }

.about-img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}
.about-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -18px;
  right: -12px;
  background: linear-gradient(135deg, var(--accent) 0%, #9a3412 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
  box-shadow: 0 14px 36px rgba(194,65,12,0.38);
}
.about-badge strong { display: block; font-size: 1rem; font-weight: 800; margin-bottom: 3px; line-height: 1.1; }
.about-badge span { font-size: 0.7rem; font-weight: 600; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.1em; }

.about-text { padding-top: 24px; }

.prose p { margin: 0 0 1rem; color: var(--muted); font-size: 1.02rem; line-height: 1.68; }
.prose p:last-child { margin-bottom: 0; }

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(194,65,12,0.09);
  color: #9a3412;
  border: 1px solid rgba(194,65,12,0.18);
}

/* ═══════════════════════════════════════
   FEATURES (DARK)
═══════════════════════════════════════ */
.section-features {
  background: linear-gradient(160deg, #0d1120 0%, #0a0e18 100%);
  position: relative;
  overflow: hidden;
}
.section-features::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(34,184,224,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 600px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background 0.22s, border-color 0.22s, transform 0.22s;
}
@media (hover: hover) {
  .feature-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(34,184,224,0.25);
    transform: translateY(-3px);
  }
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(34,184,224,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 18px;
}
.feature-card h3 { color: #f1f5f9; font-size: 1.08rem; margin: 0 0 10px; font-weight: 700; }
.feature-card p { color: rgba(203,213,225,0.82); font-size: 0.91rem; line-height: 1.58; margin: 0; }

/* ═══════════════════════════════════════
   CTA BAND
═══════════════════════════════════════ */
.cta-band {
  background: linear-gradient(155deg, #07090f 0%, #0d1424 100%);
  padding: clamp(64px, 12vw, 112px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(194,65,12,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
  position: relative;
}
@media (min-width: 840px) {
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-actions { flex-shrink: 0; }
}

.cta-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: #f8fafc;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 800;
}
.cta-sub { color: rgba(226,232,240,0.65); margin: 12px 0 0; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ═══════════════════════════════════════
   REFERENCES
═══════════════════════════════════════ */
.ref-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 720px) { .ref-grid { grid-template-columns: 1fr 1fr; } }

.ref-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.26s, box-shadow 0.26s;
}
@media (hover: hover) { .ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } }

.ref-img-wrap { position: relative; overflow: hidden; }
.ref-img-wrap img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.ref-card:hover .ref-img-wrap img { transform: scale(1.04); }

.ref-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,9,20,0.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.ref-card:hover .ref-overlay { opacity: 1; }
.ref-overlay span {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ref-body { padding: 20px 22px 24px; }
.ref-body h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; }
.ref-body p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ═══════════════════════════════════════
   STANDORT
═══════════════════════════════════════ */
.standort-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 860px) { .standort-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; } }

.standort-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.standort-img-wrap img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center 40%;
}

.address-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  border: 1px solid var(--border);
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.address-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}
.address-row svg { color: var(--accent); flex-shrink: 0; }
.address-row a { color: var(--text); text-decoration: none; font-weight: 600; }
.address-row a:hover { color: var(--accent); }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.05fr 1.2fr; align-items: start; gap: 32px; } }

.contact-info {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.contact-list li {
  display: grid;
  gap: 3px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.contact-list li:last-child { border-bottom: none; padding-bottom: 0; }

.cl-label {
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.cl-value {
  font-weight: 650;
  font-size: 1.08rem;
  color: var(--text);
  text-decoration: none;
}
.cl-value:hover { color: var(--accent); }

.hours-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.hours-title {
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 12px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.93rem;
  color: var(--muted);
  padding: 5px 0;
}
.hours-row strong { color: var(--text); }

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(194,65,12,0.08);
  color: var(--accent);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.875rem;
  transition: background 0.18s;
}
.social-row a:hover { background: rgba(194,65,12,0.14); color: var(--accent); }

/* Contact Form */
.contact-form-wrap {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.contact-form { display: grid; gap: 18px; }

.form-row-2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .form-row-2 { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}
.form-optional { color: var(--muted); font-weight: 400; }

.form-field input,
.form-field textarea {
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 12px 15px;
  font-size: 0.96rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194,65,12,0.1);
  background: var(--surface);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #a8b2c1; }
.form-field textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: 0.84rem; color: var(--muted); text-align: center; margin: 0; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  background: var(--deep);
  color: rgba(220,228,242,0.88);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  padding-bottom: 20px;
}

.footer-col--brand { max-width: 320px; }

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 14px;
}
.footer-brand-logo {
  width: 84px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-brand-text strong { color: #f8fafc; font-size: 1.05rem; }
.footer-brand-text span { color: rgba(220,228,242,0.55); font-size: 0.78rem; }

.footer-col p, .footer-col a {
  color: rgba(220,228,242,0.75);
  font-size: 0.92rem;
  line-height: 1.65;
}
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--teal); }
.footer-col strong { display: block; color: #f8fafc; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
.footer-col p { margin: 0 0 8px; }

.footer-nav { display: flex; flex-direction: column; gap: 6px; }
.footer-nav a {
  color: rgba(220,228,242,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.18s;
  padding: 2px 0;
}
.footer-nav a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(220,228,242,0.1);
  padding: 16px 0;
  margin-top: 16px;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(220,228,242,0.5);
}

.footer-powered { color: rgba(220,228,242,0.5); }
.wowobot-link { color: #22b8e0 !important; text-decoration: none; font-weight: 600; }
.wowobot-link:hover { color: #4dd4f7 !important; text-decoration: underline; }

@media (max-width: 600px) {
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

/* ═══════════════════════════════════════
   LEGAL PAGES
═══════════════════════════════════════ */
.legal-layout { padding: clamp(40px, 8vw, 80px) 0 clamp(72px, 12vw, 100px); }
.legal-layout h1 { margin: 0 0 12px; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.legal-layout .meta { color: var(--muted); margin-bottom: 28px; font-size: 0.95rem; }
.legal-prose { max-width: 72ch; }
.legal-prose h2 { margin: 2.2rem 0 0.75rem; font-size: 1.2rem; }
.legal-prose p { margin: 0 0 1rem; color: var(--muted); }
.legal-prose ul { margin: 0 0 1rem 1.1rem; color: var(--muted); padding: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; margin-bottom: 22px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════
   TOPBAR LEGACY (din-en-1090 etc.)
═══════════════════════════════════════ */
.topbar .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 0;
}
.topbar .inner a { color: inherit; text-decoration: none; }
.topbar .inner a:hover { text-decoration: underline; color: var(--teal); }

/* ═══════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(10,14,26,0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(10,14,26,0.32); }
