/* ============================================================
   virtuetech GmbH — Main Stylesheet
   Colors: #CC0000 (Red), #FFFFFF (White), #0D0D0D (Black)
   Light theme: white/light sections, dark hero & footer
   ============================================================ */

/* ─── Self-hosted Fonts ───────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-var.woff2') format('woff2');
}

/* ─── CSS Custom Properties ──────────────────────────────────── */
:root {
  --red:        #CC0000;
  --red-dark:   #990000;
  --red-light:  #ff3333;

  /* Dark surfaces (hero, footer, CTA) */
  --black:      #0D0D0D;
  --black-mid:  #161616;
  --black-soft: #1E1E1E;
  --grey-900:   #242424;
  --grey-800:   #2E2E2E;
  --grey-700:   #3D3D3D;

  /* Light surfaces (body) */
  --bg-white:   #FFFFFF;
  --bg-light:   #F5F5F7;
  --card-bg:    #FFFFFF;
  --card-border:#E4E4E4;

  /* Text on light bg */
  --text-dark:  #0D0D0D;
  --text-body:  #454545;
  --text-muted: #888888;

  /* Legacy */
  --grey-400:   #888888;
  --grey-200:   #CCCCCC;
  --grey-100:   #F0F0F0;
  --white:      #FFFFFF;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --header-h:  72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.13);
  --shadow-red: 0 8px 32px rgba(204,0,0,0.25);
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--red);
  color: var(--white);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }

/* ─── Utility ───────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text--accent { color: var(--red); }

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  position: relative;
  padding-left: 32px;
}
.section__eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 2px;
  background: var(--red);
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn--outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--card-border);
}
.btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  font-weight: 800;
}
.btn--white:hover {
  background: var(--grey-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.2);
}

.btn--full { width: 100%; justify-content: center; }

.btn__icon { transition: transform var(--transition); }
.btn:hover .btn__icon { transform: translateX(4px); }

/* ─── Scroll Reveal ─────────────────────────────────────────── */
.reveal, .fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible, .fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HEADER / NAV ──────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--bg-white);
  box-shadow: 0 1px 0 var(--card-border);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

.nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
}

.nav__logo {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-right: auto;
  flex-shrink: 0;
}
.logo__virtue { color: var(--text-dark); }
.logo__tech   { color: var(--red); }

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover,
.nav__link.active {
  color: var(--text-dark);
  background: var(--bg-light);
}
.nav__link.active { color: var(--red); }

.nav__chevron {
  font-size: 1.1rem;
  transition: transform var(--transition);
  line-height: 1;
}

/* ─── Dropdown (JS-controlled via .is-open) ─────────────────── */
.nav__item--dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: 100%;          /* flush — no gap to cross */
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  min-width: 240px;
  padding: 8px;
  padding-top: 14px;  /* visible breathing room below the nav bar */
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: var(--shadow-md);
}
.dropdown.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* chevron rotation controlled by JS */

.dropdown__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.dropdown__link::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.dropdown__link:hover {
  color: var(--red);
  background: rgba(204,0,0,0.05);
}
.dropdown__link:hover::before { opacity: 1; }

.nav__cta { display: none; }
@media (min-width: 900px) { .nav__cta { display: inline-flex; } }

/* Language switcher */
.nav__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.nav__lang a {
  color: var(--text-muted);
  transition: var(--transition);
}
.nav__lang a:hover { color: var(--red); }
.nav__lang a.active { color: var(--red); }
.nav__lang-sep { color: var(--card-border); }

/* Burger */
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav__burger { display: none; }
}

/* Mobile Nav */
@media (max-width: 899px) {
  .nav__list {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-white);
    padding: 32px 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    border-top: 1px solid var(--card-border);
  }
  .nav__list.open { transform: translateX(0); }

  .nav__link { font-size: 1.1rem; padding: 12px 16px; width: 100%; }

  .dropdown,
  .dropdown.is-open {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    background: var(--bg-light);
    border: 1px solid var(--card-border);
    margin-top: 4px;
    margin-left: 16px;
    padding-top: 8px;
  }
}

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
  background: var(--black);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(204,0,0,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,0,0,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 120px;
  max-width: 800px;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--red);
}

.hero__title {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  color: var(--white);
}

.hero__title--accent {
  background: linear-gradient(135deg, var(--red) 0%, #ff6666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-right: 0.08em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  z-index: 2;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ─── VALUES ────────────────────────────────────────────────── */
.values {
  padding: 100px 0;
  background: var(--bg-white);
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.value-card:hover {
  border-color: rgba(204,0,0,0.25);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 40px rgba(204,0,0,0.06);
}
.value-card:hover::before { transform: scaleX(1); }

.value-card__icon {
  width: 48px;
  height: 48px;
  color: var(--red);
  margin-bottom: 24px;
}
.value-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}
.value-card__text {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── ABOUT ─────────────────────────────────────────────────── */
.about {
  padding: 120px 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(204,0,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .about__container { grid-template-columns: 1fr; gap: 48px; }
}

/* Highlights panel */
.about__highlights {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}
.about__highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.about__highlight:hover {
  border-color: rgba(204,0,0,0.3);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.about__highlight-icon {
  width: 36px;
  height: 36px;
  background: rgba(204,0,0,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.about__highlight-icon svg { width: 20px; height: 20px; }
.about__highlight-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.about__highlight-text {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Stat cards */
.about__stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--red);
  box-shadow: 0 0 20px rgba(204,0,0,0.1);
}
.stat-card__number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-card__suffix {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--red);
}
.stat-card__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* About content */
.about__lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.7;
}
.about__body {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.75;
}
.about__content .btn { margin-top: 8px; }

/* ─── SERVICES ──────────────────────────────────────────────── */
.services {
  padding: 120px 0;
  background: var(--bg-white);
}

.section__header {
  text-align: center;
  margin-bottom: 72px;
}
.section__header .section__eyebrow {
  margin: 0 auto 16px;
  display: block;
  text-align: center;
  padding-left: 0;
}
.section__header .section__eyebrow::before { display: none; }
.section__header .section__title { text-align: center; margin-bottom: 16px; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
@media (max-width: 740px) {
  .services__grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.service-card:hover {
  border-color: rgba(204,0,0,0.2);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  opacity: 0.6;
}
.service-card__icon {
  width: 44px;
  height: 44px;
  color: var(--red);
  margin-bottom: 24px;
}
.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-dark);
}
.service-card__text {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card__list li {
  font-size: 0.825rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-card__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── CTA BAND ──────────────────────────────────────────────── */
.cta-band {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  background: var(--red);
  clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-light) 100%);
  clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
  opacity: 0.85;
}
.cta-band__content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-band__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--white);
}
.cta-band__subtitle {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 40px;
  color: var(--white);
}

/* ─── CONTACT ───────────────────────────────────────────────── */
.contact {
  padding: 120px 0;
  background: var(--bg-light);
}
.contact__container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact__container { grid-template-columns: 1fr; gap: 48px; }
}

.contact__lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.6;
}
.contact__body {
  font-size: 0.975rem;
  color: var(--text-body);
  margin-bottom: 36px;
  line-height: 1.75;
}
.contact__body strong { color: var(--text-dark); font-weight: 700; }
.contact__details { display: flex; flex-direction: column; gap: 20px; }

.contact__detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact__detail-icon {
  width: 44px;
  height: 44px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}
.contact__detail-icon svg { width: 20px; height: 20px; }
.contact__detail-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact__detail-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition);
  display: block;
}
a.contact__detail-value:hover { color: var(--red); }

.contact__detail-sub {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.contact__note {
  margin-top: 32px;
  padding: 18px 20px;
  background: rgba(204,0,0,0.05);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.925rem;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.6;
}

/* Form */
.contact__form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }

.form__group { display: flex; flex-direction: column; gap: 8px; }
.form__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-dark);
}
.form__optional { color: var(--text-muted); font-weight: 400; }

.form__input {
  background: var(--bg-light);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  appearance: none;
}
.form__input::placeholder { color: #BBBBBB; }
.form__input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,0,0,0.10);
  background: var(--bg-white);
}
.form__input.error { border-color: #E03030; }

.form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23888' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 44px;
}

.form__textarea { resize: vertical; min-height: 120px; }

.form__privacy-note {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.form__privacy-note a { color: var(--red); }
.form__privacy-note a:hover { text-decoration: underline; }

.form__success {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1A8C2E;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 18px;
  background: rgba(26,140,46,0.07);
  border: 1px solid rgba(26,140,46,0.2);
  border-radius: var(--radius-sm);
}
.form__success svg { width: 20px; height: 20px; flex-shrink: 0; }
.form__success[hidden] { display: none; }

.form__error {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--red-dark);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 18px;
  background: rgba(204,0,0,0.06);
  border: 1px solid rgba(204,0,0,0.2);
  border-radius: var(--radius-sm);
}
.form__error svg { width: 20px; height: 20px; flex-shrink: 0; }
.form__error a { color: inherit; text-decoration: underline; }
.form__error[hidden] { display: none; }

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  border-top: 1px solid var(--grey-900);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  padding: 64px 24px 48px;
  align-items: start;
}
@media (max-width: 680px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
}

.footer__logo { font-size: 2rem; display: inline-flex; }
.footer__logo .logo__virtue { color: var(--white); }
.footer__tagline {
  font-size: 0.85rem;
  color: var(--grey-400);
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.6;
}

.footer__nav { display: flex; gap: 60px; }
@media (max-width: 480px) { .footer__nav { gap: 32px; } }

.footer__nav-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__nav-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__nav-col li a {
  font-size: 0.875rem;
  color: var(--grey-400);
  transition: color var(--transition);
}
.footer__nav-col li a:hover { color: var(--red); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-top: 1px solid var(--grey-900);
}
.footer__copy {
  font-size: 0.8rem;
  color: var(--grey-700);
}
.footer__legal-links { display: flex; align-items: center; gap: 20px; }
.footer__impressum {
  font-size: 0.8rem;
  color: var(--grey-700);
  transition: color var(--transition);
}
.footer__impressum:hover { color: var(--red); }

/* ─── MODAL ─────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color var(--transition);
}
.modal__close:hover { color: var(--text-dark); }
.modal__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-dark);
}
.modal p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 10px;
  line-height: 1.6;
}
.modal p a { color: var(--red); }
.modal p a:hover { text-decoration: underline; }
.modal__note { margin-top: 20px; font-style: italic; }

/* Impressum-specific modal */
.modal--impressum {
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px 40px 48px;
}
.modal--impressum::-webkit-scrollbar { width: 4px; }
.modal--impressum::-webkit-scrollbar-track { background: var(--bg-light); border-radius: 2px; }
.modal--impressum::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 2px; }

.impressum__section {
  padding: 20px 0;
  border-bottom: 1px solid var(--card-border);
}
.impressum__section:first-of-type { padding-top: 0; }
.impressum__section:last-of-type  { border-bottom: none; padding-bottom: 0; }

.impressum__heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.impressum__section p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 4px;
  line-height: 1.6;
}
.impressum__section p:last-child { margin-bottom: 0; }
.impressum__section a { color: var(--red); transition: opacity var(--transition); }
.impressum__section a:hover { opacity: 0.75; text-decoration: underline; }
.impressum__section strong { color: var(--text-dark); }
