/* ==========================================================
   KNK Bau GmbH — 2026 Edition
   Modern multi-page architecture
   ========================================================== */

:root {
  --bg: #0a0a0c;
  --bg-2: #111114;
  --bg-3: #18181c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --fg: #f5f5f7;
  --fg-dim: #a1a1aa;
  --fg-mute: #71717a;

  --accent: #b91c1c;
  --accent-2: #dc2626;
  --accent-dark: #7f1d1d;
  --accent-deep: #8B2C2C;
  --accent-glow: rgba(185, 28, 28, 0.35);
  --grad-accent: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #7f1d1d 100%);

  /* Logo color variables */
  --logo-dark: #f5f5f7;
  --logo-red: #ef4444;

  /* Premium tipografi: tek aile odaklı, hiyerarşi weight + tracking ile */
  --font-display: 'Outfit', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Inter', system-ui, sans-serif; /* mono kaldırıldı, Inter + tracking kullanılıyor */

  --max: 1440px;
  --gutter: clamp(20px, 4vw, 60px);
  --radius: 16px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --nav-h: 76px;
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11', 'liga' 1;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea { font: inherit; color: inherit; background: none; border: 0; outline: 0; }
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============= SCROLL PROGRESS ============= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  width: 0%;
  z-index: 9100;
  transition: width 0.1s linear;
}

/* ============= NAV ============= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  padding: 16px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(10, 10, 12, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.nav__brand {
  display: flex;
  align-items: center;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav__brand:hover { opacity: 0.82; transform: translateY(-1px); }
.nav__logo {
  width: auto;
  height: 42px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
}
.nav__brand-text {
  display: none; /* SVG logosu zaten KNK Bau yazısını içeriyor */
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--fg-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
.nav__links a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--fg); }
.nav__links a:hover::before, .nav__links a.is-active::before { width: 100%; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.4s var(--ease);
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 7900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: center;
}
.mobile-menu__inner a {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.mobile-menu__inner a.is-active {
  color: var(--accent);
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .menu-btn { display: flex; }
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  position: relative;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--fg);
  background: var(--surface);
}

.btn--light {
  background: var(--fg);
  color: var(--bg);
}
.btn--light:hover {
  background: var(--accent);
  color: #fff;
}

.magnetic { will-change: transform; }

/* ============= HERO COMMON ============= */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 80px) 0 80px;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0.4) 0%, rgba(10,10,12,0.85) 70%, var(--bg) 100%);
}
.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  opacity: 0.35;
}
.page-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.page-hero__orb--1 {
  top: 10%;
  left: -10%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, #dc2626 0%, transparent 70%);
  animation: orb1 22s ease-in-out infinite alternate;
}
.page-hero__orb--2 {
  bottom: -10%;
  right: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #7f1d1d 0%, transparent 70%);
  animation: orb2 22s ease-in-out infinite alternate;
}
@keyframes orb1 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(60px,-40px) scale(1.1); }
}
@keyframes orb2 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-50px,30px) scale(1.05); }
}
.page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.page-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-dim);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.page-hero__label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 140px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.page-hero__title .accent,
.page-hero__title .red {
  color: var(--accent);
}
.page-hero__sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--fg-dim);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
}

/* ============= HOME HERO (video bg) ============= */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  overflow: hidden;
}
.home-hero__poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/assets/img/ueber-hero.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  filter: blur(0.5px);
}
.home-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.home-hero__video.is-ready { opacity: 1; }
.home-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0.85) 100%),
    radial-gradient(ellipse at center top, rgba(220,38,38,0.18) 0%, transparent 50%);
  z-index: 1;
}
.home-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.home-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.home-hero__meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e;
  animation: dotPulse 2s infinite;
}
.home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 11vw, 180px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin-bottom: 28px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.home-hero__title .red,
.home-hero__title .accent {
  color: var(--accent);
}
.home-hero__sub {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--fg-dim);
  max-width: 720px;
  line-height: 1.55;
  margin: 0 auto 40px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.home-hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.home-hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 500;
  color: var(--fg-mute);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.home-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
}
.home-hero__scroll-line::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 100%; }
}
@media (max-width: 900px) {
  .home-hero__scroll { display: none; }
}

/* ============= SECTION COMMON ============= */
section { position: relative; padding: clamp(70px, 10vw, 140px) 0; }

.section-head {
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-left: 28px;
  position: relative;
}
.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}
.section-title .accent,
.section-title .red,
.section-title .gradient {
  color: var(--accent);
  font-weight: 700;
}
.section-sub {
  margin-top: 18px;
  color: var(--fg-dim);
  font-size: 17px;
  max-width: 620px;
  line-height: 1.6;
  font-weight: 400;
}

/* ============= SERVICE CARDS ============= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--ease), background 0.4s, border-color 0.4s;
  cursor: default;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(220,38,38,0.12) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  background: var(--surface-hover);
  border-color: var(--border-strong);
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(220,38,38,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card__num {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--fg);
}
.service-card p {
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

/* ============= STATS ============= */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

.stat-item {
  padding: 48px 28px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: 0; }
@media (max-width: 900px) {
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }
}
.stat-item__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  color: var(--accent);
}
.stat-item__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ============= REFERENZEN / PROJECTS ============= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .projects-grid { grid-template-columns: 1fr; } }
.project-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
  display: block;
}
.project-card--lg { grid-column: span 2; aspect-ratio: 16/10; }
@media (max-width: 600px) {
  .project-card--lg { grid-column: span 1; aspect-ratio: 4/5; }
}
.project-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
}
.project-card:hover .project-card__img { transform: scale(1.06); }
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.project-card__info {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0.9;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.project-card:hover .project-card__info {
  transform: translateY(0);
  opacity: 1;
}
.project-card__status {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.project-card__info h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #fff;
}
.project-card__meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-dim);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  letter-spacing: 0.01em;
}
.project-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.project-card__meta span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
}
.project-card__meta span:first-child::before { display: none; }
.project-card__scope {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
  color: var(--fg-dim);
  font-weight: 500;
  letter-spacing: 0.01em;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.4s, margin-top 0.4s;
}
.project-card:hover .project-card__scope {
  max-height: 80px;
  opacity: 1;
}

.empty-state {
  padding: 100px 40px;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.empty-state svg {
  width: 64px;
  height: 64px;
  color: var(--fg-mute);
  margin: 0 auto 24px;
  opacity: 0.4;
}
.empty-state h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--fg);
}
.empty-state p {
  color: var(--fg-dim);
  max-width: 460px;
  margin: 0 auto;
  font-size: 15px;
}

/* ============= AKTUELLES / NEWS ============= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-hover);
}
.news-card--featured {
  grid-column: span 2;
}
.news-card--featured .news-card__img {
  aspect-ratio: 21/9;
}
.news-card--featured h3 {
  font-size: 28px;
}
.news-card--featured p {
  font-size: 15px;
  -webkit-line-clamp: 4;
}
@media (max-width: 900px) {
  .news-card--featured { grid-column: span 2; }
  .news-card--featured h3 { font-size: 24px; }
}
@media (max-width: 600px) {
  .news-card--featured { grid-column: span 1; }
  .news-card--featured h3 { font-size: 22px; }
}
.news-card__img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-3);
  position: relative;
  overflow: hidden;
}
.news-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
}
.news-card__body {
  padding: 26px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card__date {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.news-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--fg);
  line-height: 1.25;
}
.news-card p {
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__more {
  align-self: flex-start;
  font-size: 13px;
  color: var(--accent-2);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s var(--ease);
}
.news-card:hover .news-card__more { gap: 10px; }

/* ============= ABOUT TEAM/VALUE CARDS ============= */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr; } }

.value-card {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), background 0.4s, border-color 0.4s;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--surface-hover);
}
.value-card__num {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.value-card p {
  color: var(--fg-dim);
  line-height: 1.65;
  font-size: 15px;
}

/* About hero image */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1000px) { .about-hero-grid { grid-template-columns: 1fr; } }

.about-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/6;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 22px 30px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.3);
}
.about-img__badge small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-top: 6px;
  text-transform: uppercase;
  opacity: 0.9;
  font-family: var(--font-body);
}

.leistungs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 800px) { .leistungs-grid { grid-template-columns: 1fr; } }
.leistungs-card {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.leistungs-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.leistungs-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.leistungs-card li {
  padding-left: 22px;
  color: var(--fg-dim);
  position: relative;
  font-size: 15px;
}
.leistungs-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 1px;
  background: var(--accent);
}

/* ============= MARQUEE ============= */
.marquee {
  padding: 36px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee__track {
  display: flex;
  gap: 60px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}
.marquee__group {
  display: flex;
  gap: 60px;
  align-items: center;
  flex-shrink: 0;
}
.marquee__group span {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 92px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg-mute);
  cursor: default;
  transition: color 0.4s;
}
.marquee__group span:hover { color: var(--accent); }
.marquee__group i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============= CONTACT ============= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info__card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.4s, background 0.4s;
}
.contact-info__card:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
}
.contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(220,38,38,0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-info__card h4 {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-mute);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.contact-info__card p, .contact-info__card a {
  font-size: 16px;
  color: var(--fg);
  line-height: 1.5;
  transition: color 0.3s;
}
.contact-info__card a:hover { color: var(--accent); }
.contact-info__card pre {
  font: inherit;
  white-space: pre-line;
}

.contact-form {
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.contact-form > * { position: relative; z-index: 1; }
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.contact-form__sub {
  color: var(--fg-mute);
  font-size: 14px;
  margin-bottom: 28px;
}

.field {
  position: relative;
  margin-bottom: 18px;
}
.field input, .field textarea {
  width: 100%;
  padding: 18px 0 12px;
  border-bottom: 1px solid var(--border-strong);
  font-size: 16px;
  transition: border-color 0.3s;
  resize: none;
}
.field textarea { padding-top: 24px; min-height: 110px; }
.field label {
  position: absolute;
  left: 0;
  top: 18px;
  font-size: 15px;
  color: var(--fg-mute);
  pointer-events: none;
  transition: transform 0.3s var(--ease), color 0.3s;
  transform-origin: left;
}
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-20px) scale(0.78);
  color: var(--accent);
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.form-msg {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  display: none;
}
.form-msg.is-success {
  display: block;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #22c55e;
}
.form-msg.is-error {
  display: block;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #ef4444;
}

.contact-map {
  margin-top: 50px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  aspect-ratio: 16/7;
}
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.7);
}

/* ============= CTA SECTION ============= */
.cta-section {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(60px, 8vw, 100px);
  background: linear-gradient(135deg, #18181c 0%, #0a0a0c 100%);
  border: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(220,38,38,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section > * { position: relative; }
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.cta-section h2 .red { color: var(--accent); }
.cta-section p {
  color: var(--fg-dim);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.55;
  font-weight: 400;
}

/* ============= FOOTER ============= */
.footer {
  position: relative;
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 800px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand img {
  width: 200px;
  height: auto;
  margin-bottom: 22px;
}
.footer__brand-text { display: none; }
.footer__brand p {
  color: var(--fg-dim);
  max-width: 320px;
  font-size: 14px;
  line-height: 1.6;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 600px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
.footer__cols h4 {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__cols a, .footer__cols p {
  display: block;
  padding: 5px 0;
  color: var(--fg-dim);
  font-size: 14px;
  transition: color 0.3s;
  line-height: 1.55;
}
.footer__cols a:hover { color: var(--fg); }
.footer__cols pre { font: inherit; white-space: pre-line; color: var(--fg-dim); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 13px;
  color: var(--fg-mute);
  flex-wrap: wrap;
  gap: 10px;
}
.footer__legal {
  display: flex;
  gap: 24px;
}
.footer__legal a {
  color: var(--fg-mute);
  transition: color 0.3s;
}
.footer__legal a:hover { color: var(--fg); }

.footer__mega {
  font-family: var(--font-display);
  font-size: clamp(70px, 16vw, 240px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.065em;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-strong);
  text-align: center;
  margin-top: 40px;
  user-select: none;
}

/* ============= LEGAL PAGE ============= */
.legal-page {
  padding: calc(var(--nav-h) + 80px) 0 100px;
}
.legal-page__content {
  max-width: 820px;
  margin: 0 auto;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  line-height: 1;
}
.legal-page__intro {
  font-size: 17px;
  color: var(--fg-dim);
  margin-bottom: 60px;
  line-height: 1.7;
  font-weight: 400;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 50px 0 18px;
  color: var(--accent);
}
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page p, .legal-page pre {
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-page pre {
  font: inherit;
  white-space: pre-line;
}
.legal-page a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-page a:hover { color: var(--accent); }
.legal-page__updated {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--fg-mute);
  font-style: italic;
}

/* ============= REVEAL ANIMATIONS ============= */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============= MOBILE FINE-TUNING ============= */
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .nav__logo { width: 36px; height: 36px; }
  .nav__brand-text { font-size: 17px; }

  .home-hero { min-height: auto; padding: calc(var(--nav-h) + 40px) 0 60px; }
  .home-hero__title { font-size: clamp(38px, 11vw, 64px); }
  .home-hero__cta { gap: 10px; }
  .btn { padding: 14px 22px; font-size: 13px; }

  .page-hero { padding: calc(var(--nav-h) + 50px) 0 50px; min-height: auto; }
  .page-hero__title { font-size: clamp(38px, 11vw, 56px); }

  .section-title { font-size: clamp(30px, 9vw, 50px); }

  .value-card, .leistungs-card, .contact-info__card { padding: 24px; }
  .contact-form { padding: 26px; }
  .stat-item { padding: 32px 20px; }
  .stat-item__num { font-size: 50px; }

  .footer__mega { font-size: clamp(50px, 18vw, 110px); }
}

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