/* === DQcoding — Premium Dark Theme === */

:root {
  /* Surfaces */
  --bg: #0a0e1a;
  --bg-2: #0d1220;
  --bg-3: #111827;
  --surface: #131a2b;
  --surface-2: #182135;
  --border: rgba(203, 213, 225, 0.10);
  --border-strong: rgba(203, 213, 225, 0.18);

  /* Text */
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Accent */
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --accent-glow: rgba(59, 130, 246, 0.35);
  --silver: #cbd5e1;

  /* Type scale */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: clamp(20px, 2.2vw, 24px);
  --text-2xl: clamp(28px, 4vw, 44px);
  --text-3xl: clamp(36px, 5.5vw, 60px);
  --text-hero: clamp(44px, 8vw, 96px);

  /* Spacing */
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;

  /* Layout */
  --max: 1240px;
  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* === Reset / Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.muted { color: var(--text-muted); }
.small { font-size: var(--text-sm); }

/* === Type === */
.h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-6);
}
.h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 var(--space-4);
}
.lead {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 var(--space-6);
}
.body {
  color: var(--text-muted);
  margin: 0 0 var(--space-4);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-6);
}
.eyebrow .line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--silver);
  opacity: 0.5;
}

/* === Navigation === */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: 18px clamp(20px, 5vw, 48px);
  background: rgba(10, 14, 26, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(10, 14, 26, 0.85);
  border-bottom-color: var(--border);
  padding-block: 12px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--text);
}
.nav__wordmark-light {
  color: var(--text-muted);
  font-weight: 500;
}

.nav__links {
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.nav__links a {
  position: relative;
  padding: 6px 2px;
  transition: color 0.25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: var(--text-sm);
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav__cta:hover {
  background: var(--surface-2);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.nav__cta svg { color: #25D366; }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__cta span { display: none; }
  .nav__cta { padding: 10px; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav.is-open .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    color: var(--text);
  }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--text);
  color: var(--bg);
  position: relative;
}
.btn--primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(226, 232, 240, 0.4);
}
.btn--primary svg { color: #128C7E; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--silver);
  background: rgba(255,255,255,0.03);
}
.btn--lg {
  padding: 18px 28px;
  font-size: var(--text-base);
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.85) contrast(1.02);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(10,14,26,0.55) 60%, var(--bg) 100%),
    linear-gradient(180deg, rgba(10,14,26,0.55) 0%, rgba(10,14,26,0.35) 40%, var(--bg) 100%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.4) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-12) clamp(20px, 5vw, 48px);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-6);
}
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 var(--space-6);
  max-width: 18ch;
}
.hero__title-accent {
  background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 60%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 var(--space-8);
  line-height: 1.6;
}
.hero__sub strong {
  color: var(--text);
  font-weight: 500;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--space-12);
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  max-width: 720px;
}
.hero__meta > div {
  font-size: var(--text-sm);
  color: var(--text);
}
.hero__meta span {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  z-index: 2;
  display: none;
}
.hero__scroll span {
  display: block;
  width: 2px; height: 8px;
  background: var(--silver);
  border-radius: 1px;
  margin: 8px auto 0;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
@media (min-width: 880px) { .hero__scroll { display: block; } }

/* === Sections === */
.section {
  padding: clamp(80px, 12vw, 160px) 0;
}
.section--dark {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section__head {
  max-width: 760px;
  margin-bottom: var(--space-16);
}

.grid-2 {
  display: grid;
  gap: clamp(40px, 8vw, 96px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}

.value-list {
  margin-top: var(--space-6);
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
}
.value-list li {
  font-size: var(--text-base);
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
}
.value-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 14px; height: 1px;
  background: var(--accent);
}
.value-list strong { color: var(--text); font-weight: 600; margin-right: 6px; }

/* === Bildband === */
.bildband {
  position: relative;
  height: clamp(280px, 40vw, 480px);
  overflow: hidden;
}
.bildband img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) saturate(0.9);
  transform: scale(1.02);
}
.bildband::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 15%, transparent 85%, var(--bg-2) 100%);
}
.bildband__caption {
  position: absolute;
  bottom: 28px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver);
  z-index: 1;
}

/* === Services === */
.services {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .services { grid-template-columns: 1fr 1fr; }
}
.service {
  background: var(--bg-2);
  padding: clamp(28px, 4vw, 48px);
  transition: background 0.4s var(--ease);
  position: relative;
}
.service:hover { background: var(--surface); }
.service__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}
.service__icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(59,130,246,0.25);
}
.service__icon svg { width: 28px; height: 28px; }
.service__num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  color: var(--text-dim);
}
.service__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 0 0 var(--space-3);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.service__desc {
  color: var(--text-muted);
  margin: 0 0 var(--space-6);
  font-size: var(--text-base);
}
.service__list {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
}
.service__list li {
  position: relative;
  padding-left: 18px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.service__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--silver);
  opacity: 0.5;
  border-radius: 1px;
  transform: rotate(45deg);
}

/* === Strip === */
.strip {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-2);
}
@media (min-width: 900px) {
  .strip { grid-template-columns: 1fr 1fr; }
}
.strip__col img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: brightness(0.7);
}
.strip__text {
  padding: clamp(40px, 7vw, 96px) clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* === Brands === */
.brands {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
}
.brand {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: var(--space-6);
  padding: clamp(20px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s var(--ease);
  cursor: default;
}
.brand:hover {
  padding-left: 16px;
}
.brand__num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--text-dim);
  letter-spacing: 0.2em;
}
.brand__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color 0.3s var(--ease);
}
.brand:hover .brand__name {
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand__tag {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.brands__note {
  margin-top: var(--space-8);
  font-size: var(--text-xs);
  color: var(--text-dim);
  max-width: 70ch;
  line-height: 1.6;
}

/* === Steps === */
.steps {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--bg);
  padding: clamp(28px, 4vw, 40px);
  position: relative;
  min-height: 240px;
}
.step__num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: var(--space-6);
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 4px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 0 0 var(--space-3);
  color: var(--text);
  letter-spacing: -0.01em;
}
.step p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: 0;
  line-height: 1.6;
}

/* === Kontakt === */
.info-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  gap: var(--space-4);
}
.info-card__row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}
.info-card__row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.info-card__label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-top: 2px;
}
.info-card__value {
  font-size: var(--text-base);
  color: var(--text);
  font-weight: 500;
}
.map {
  margin-top: var(--space-6);
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
  border: 1px solid var(--border);
  position: relative;
  filter: grayscale(0.6) brightness(0.9) contrast(1.05);
}
.map iframe { width: 100%; height: 100%; border: 0; }

/* === Footer === */
.footer {
  border-top: 1px solid var(--border);
  padding-top: var(--space-16);
  background: var(--bg);
}
.footer__grid {
  display: grid;
  gap: var(--space-12);
  grid-template-columns: 1fr;
  padding-bottom: var(--space-16);
}
@media (min-width: 760px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--space-16);
  }
}
.footer__desc {
  color: var(--text-muted);
  font-size: var(--text-sm);
  max-width: 36ch;
  line-height: 1.6;
  margin-top: var(--space-4);
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text);
  margin: 0 0 8px;
  font-weight: 500;
}
.footer__col a:hover { color: var(--text); }

.footer__bottom {
  padding: var(--space-8) clamp(20px, 5vw, 48px);
  border-top: 1px solid var(--border);
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .footer__bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.footer__disclaimer {
  font-size: var(--text-xs);
  color: var(--text-dim);
  margin: 0;
  max-width: 80ch;
  line-height: 1.5;
}
.footer__copy {
  font-size: var(--text-xs);
  color: var(--text-dim);
  margin: 0;
  letter-spacing: 0.05em;
}

/* === Reveal Animations === */
.reveal, [data-anim="fade"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible, [data-anim="fade"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, [data-anim="fade"] { opacity: 1; transform: none; }
}

/* ============================================================
   Language switcher
   ============================================================ */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 16px;
  padding: 4px;
  border: 1px solid rgba(203, 213, 225, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font: 600 11px/1 'Inter', system-ui, sans-serif;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.lang-btn:hover { color: #e2e8f0; }
.lang-btn.is-active {
  background: linear-gradient(135deg, #e2e8f0, #94a3b8);
  color: #0a0e1a;
}
@media (max-width: 960px) {
  .lang-switcher {
    margin: 18px 0 0 0;
    align-self: flex-start;
  }
}
