/*
 * OpForge · style.css
 * Fonts: self-hosted aus assets/fonts/
 */

/* Exo 2 – Headlines & Display */
@font-face {
  font-family: 'Exo 2';
  src: url('../fonts/exo-2-v26-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Exo 2';
  src: url('../fonts/exo-2-v26-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* DM Sans – Body */
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-v17-latin_latin-ext-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-v17-latin_latin-ext-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* DM Mono – Code & Adressen */
@font-face {
  font-family: 'DM Mono';
  src: url('../fonts/dm-mono-v16-latin_latin-ext-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ================================================================
   CSS CUSTOM PROPERTIES
   ================================================================ */

:root {
  /* Colors */
  --c-midnight:       #000715;
  --c-dark-navy:      #0A1628;
  --c-surface:        #112240;
  --c-navy:           #1A3A7A;
  --c-brand:          #0066CC;
  --c-cyan:           #00AAFF;
  --c-border:         #1E3A5F;
  --c-border-subtle:  rgba(30, 58, 95, 0.6);

  /* Text */
  --c-text:           #E8F0FE;
  --c-text-sub:       #94A3B8;
  --c-text-muted:     #64748B;

  /* Status */
  --c-success:        #10B981;
  --c-error:          #EF4444;
  --c-warning:        #F59E0B;

  /* Typography */
  --f-display:        'Exo 2', 'Exo', sans-serif;
  --f-body:           'DM Sans', system-ui, sans-serif;
  --f-mono:           'DM Mono', 'Fira Mono', monospace;

  /* Layout */
  --nav-h:            64px;
  --max-w:            1280px;
  --max-w-narrow:     800px;

  /* Gradients */
  --grad-brand:       linear-gradient(90deg, #0066CC 0%, #00AAFF 100%);
  --grad-brand-diag:  linear-gradient(135deg, #0066CC 0%, #00AAFF 100%);
  --grad-dark:        linear-gradient(180deg, #000715 0%, #0A1628 100%);
  --grad-hero:        linear-gradient(180deg,
                        rgba(0,7,21,0.55) 0%,
                        rgba(0,7,21,0.30) 40%,
                        rgba(0,7,21,0.70) 100%);

  /* Shadows */
  --shadow-sm:        0 1px 3px rgba(0,7,21,0.4);
  --shadow:           0 4px 12px rgba(0,7,21,0.5);
  --shadow-md:        0 8px 24px rgba(0,7,21,0.5);
  --shadow-brand:     0 4px 20px rgba(0,102,204,0.35);
  --shadow-glow:      0 0 40px rgba(0,170,255,0.12);

  /* Shape */
  --r:                8px;
  --r-lg:             12px;
  --r-xl:             16px;

  /* Transitions */
  --t:                0.22s ease;
  --t-slow:           0.4s ease;
}

/* ================================================================
   RESET & BASE
   ================================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  background-color: var(--c-midnight);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--c-cyan);
  text-decoration: none;
  transition: color var(--t);
}

a:hover {
  color: var(--c-brand);
}

ul, ol {
  list-style: none;
}

/* ================================================================
   TYPOGRAPHY UTILITIES
   ================================================================ */

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.font-display { font-family: var(--f-display); }
.font-mono    { font-family: var(--f-mono); }

/* ================================================================
   LAYOUT UTILITIES
   ================================================================ */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--narrow {
  max-width: var(--max-w-narrow);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ================================================================
   NAVIGATION
   ================================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background var(--t-slow), box-shadow var(--t-slow), backdrop-filter var(--t-slow);
}

.nav.scrolled {
  background: rgba(0, 7, 21, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--c-border-subtle);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 36px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--c-text-sub);
  padding: 8px 14px;
  border-radius: var(--r);
  text-decoration: none;
  transition: color var(--t), background var(--t);
}

.nav__link:hover {
  color: var(--c-text);
  background: rgba(255,255,255,0.06);
}

.nav__cta {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--c-brand);
  padding: 8px 18px;
  border-radius: var(--r);
  text-decoration: none;
  transition: background var(--t), box-shadow var(--t), transform var(--t);
  margin-left: 8px;
}

.nav__cta:hover {
  background: var(--c-cyan);
  color: #fff;
  box-shadow: var(--shadow-brand);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  border-radius: 4px;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

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

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(0, 7, 21, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  z-index: 99;
  transform: translateY(-10px);
  opacity: 0;
  transition: opacity var(--t), transform var(--t);
  pointer-events: none;
}

.nav__mobile.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__mobile-link {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--c-text-sub);
  padding: 12px 8px;
  border-bottom: 1px solid var(--c-border-subtle);
  text-decoration: none;
  transition: color var(--t);
}

.nav__mobile-link:hover, .nav__mobile-link:last-child {
  color: var(--c-cyan);
  border-color: transparent;
}

/* ================================================================
   HERO
   ================================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* Base dark gradient */
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%,   rgba(0,102,204,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 80% 80%,   rgba(0,170,255,0.07) 0%, transparent 60%),
    linear-gradient(170deg, #000715 0%, #07111F 45%, #000715 100%);
}

/* Subtle circuit-trace tiling pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cg stroke='%230066CC' stroke-width='1.2' fill='none' stroke-linecap='round'%3E%3Cpath d='M0 25 L35 25 L35 0'/%3E%3Cpath d='M65 100 L65 65 L100 65'/%3E%3Cpath d='M0 75 L25 75 L25 50 L50 50'/%3E%3Cpath d='M75 0 L75 35 L100 35'/%3E%3Cpath d='M50 50 L50 100'/%3E%3Cpath d='M100 0 L100 25'/%3E%3C/g%3E%3Cg fill='%2300AAFF'%3E%3Ccircle cx='35' cy='25' r='2.5'/%3E%3Ccircle cx='65' cy='65' r='2.5'/%3E%3Ccircle cx='25' cy='75' r='2.5'/%3E%3Ccircle cx='25' cy='50' r='2.5'/%3E%3Ccircle cx='50' cy='50' r='2.5'/%3E%3Ccircle cx='75' cy='35' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100px 100px;
  pointer-events: none;
}

/* Bottom fade into next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, var(--c-midnight));
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-h) + 48px) 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  animation: heroFadeIn 1s ease forwards;
}

.hero__logo {
  width: min(180px, 45vw);
  height: auto;
  filter: drop-shadow(0 0 32px rgba(0,170,255,0.35));
  mix-blend-mode: screen;
  animation: heroFadeIn 0.8s ease 0.1s both;
}

.hero__headline {
  font-family: var(--f-display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--c-text);
  animation: heroFadeIn 0.8s ease 0.2s both;
}

.hero__headline em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--c-text-sub);
  line-height: 1.6;
  max-width: 600px;
  animation: heroFadeIn 0.8s ease 0.35s both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: heroFadeIn 0.8s ease 0.5s both;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease-in-out 1.5s infinite;
  opacity: 0.5;
  cursor: pointer;
}

.hero__scroll svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--c-cyan);
  stroke-width: 2;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ================================================================
   BUTTONS
   ================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  padding: 13px 28px;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t), color var(--t), box-shadow var(--t), transform var(--t);
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--c-navy);
  color: #fff;
  box-shadow: var(--shadow-brand);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--c-cyan);
  border: 1.5px solid var(--c-brand);
}

.btn--secondary:hover {
  background: rgba(0, 102, 204, 0.1);
  color: var(--c-cyan);
  transform: translateY(-2px);
}

/* ================================================================
   SECTION BASE
   ================================================================ */

.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--c-dark-navy);
}

.section__label {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: 16px;
  display: block;
}

.section__title {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: 16px;
}

.section__sub {
  font-size: 18px;
  color: var(--c-text-sub);
  line-height: 1.6;
  max-width: 560px;
}

.section__header {
  margin-bottom: 56px;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__sub {
  margin-inline: auto;
}

/* ================================================================
   LEISTUNGEN / CARDS
   ================================================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}

.card:hover {
  border-color: var(--c-brand);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.card--featured {
  border-color: var(--c-brand);
  box-shadow: var(--shadow-glow);
}

.card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r);
  background: rgba(0, 102, 204, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--c-cyan);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
}

.card__price {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 700;
  margin: 16px 0 4px;
}

.card__price--gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card__price-note {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 24px;
}

.card__desc {
  font-size: 15px;
  color: var(--c-text-sub);
  line-height: 1.6;
  margin-bottom: 24px;
}

.card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--c-text-sub);
  line-height: 1.4;
}

.card__list li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6' stroke='%2300AAFF' stroke-width='1.5' fill='none'/%3E%3Cpath d='M5.5 8l1.8 1.8L10.5 6' stroke='%2300AAFF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ================================================================
   ANSATZ / PILLARS
   ================================================================ */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--r-xl);
  background: var(--c-surface);
  border: 1px solid var(--c-border-subtle);
  transition: border-color var(--t), box-shadow var(--t);
}

.pillar:hover {
  border-color: var(--c-border);
  box-shadow: var(--shadow-glow);
}

.pillar__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-lg);
  background: rgba(0, 102, 204, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: background var(--t), box-shadow var(--t);
}

.pillar:hover .pillar__icon {
  background: rgba(0, 102, 204, 0.22);
  box-shadow: 0 0 20px rgba(0,170,255,0.15);
}

.pillar__icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--c-cyan);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar__title {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 12px;
}

.pillar__text {
  font-size: 15px;
  color: var(--c-text-sub);
  line-height: 1.65;
}

/* ================================================================
   ÜBER MICH
   ================================================================ */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__label {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: 16px;
}

.about__title {
  font-family: var(--f-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: 8px;
}

.about__tagline {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.about__text {
  font-size: 16px;
  color: var(--c-text-sub);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__visual {
  position: relative;
}

.about__visual-inner {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.about__visual-inner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,102,204,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.about__logo {
  width: 140px;
  margin: 0 auto 24px;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about__stat {
  text-align: center;
  padding: 16px;
  background: rgba(0,7,21,0.3);
  border-radius: var(--r);
  border: 1px solid var(--c-border-subtle);
}

.about__stat-value {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.about__stat-label {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.3;
}

/* ================================================================
   KONTAKT
   ================================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info__title {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
}

.contact-info__text {
  font-size: 16px;
  color: var(--c-text-sub);
  line-height: 1.65;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border-subtle);
}

.contact-detail:last-of-type {
  border-bottom: none;
}

.contact-detail__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r);
  background: rgba(0, 102, 204, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail__icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--c-cyan);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail__label {
  font-size: 12px;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.contact-detail__value {
  font-size: 15px;
  color: var(--c-text);
}

/* Form */
.form {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 40px;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form__field--full {
  grid-column: 1 / -1;
}

.form__label {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--c-text-sub);
  text-transform: uppercase;
}

.form__label span {
  color: var(--c-cyan);
}

.form__input,
.form__textarea {
  background: var(--c-dark-navy);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r);
  padding: 12px 16px;
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--c-text);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  width: 100%;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--c-text-muted);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.form__input.error,
.form__textarea.error {
  border-color: var(--c-error);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form__checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}

.form__checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--c-brand);
  cursor: pointer;
}

.form__checkbox-label {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.form__checkbox-label a {
  color: var(--c-cyan);
}

.form__checkbox-label a:hover {
  color: var(--c-brand);
}

.form__message {
  display: none;
  padding: 14px 18px;
  border-radius: var(--r);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.form__message--success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--c-success);
}

.form__message--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--c-error);
}

/* ================================================================
   TCO – WIRTSCHAFTLICHKEIT
   ================================================================ */

.tco-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 24px;
}

.tco-vs {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-text-muted);
  padding: 0 24px;
  text-align: center;
}

.tco-card {
  border-radius: var(--r-xl);
  overflow: hidden;
}

.tco-card--saas {
  border: 1px solid var(--c-border);
  background: var(--c-surface);
}

.tco-card--opforge {
  border: 1.5px solid var(--c-brand);
  background: var(--c-surface);
  box-shadow: var(--shadow-glow);
}

.tco-card__header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--c-border-subtle);
}

.tco-card__label {
  display: block;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}

.tco-card--opforge .tco-card__label {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tco-card__sub {
  font-size: 12px;
  color: var(--c-text-muted);
}

.tco-card__body {
  padding: 20px 24px 24px;
}

.tco-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border-subtle);
  font-size: 14px;
  color: var(--c-text-sub);
}

.tco-line--total {
  border-bottom: none;
  padding-top: 12px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-text);
}

.tco-value {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--c-text);
}

.tco-value--brand {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tco-risks,
.tco-benefits {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.tco-risks li,
.tco-benefits li {
  font-size: 13px;
  color: var(--c-text-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}

.tco-risks li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--c-error);
  font-size: 11px;
  top: 1px;
}

.tco-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-success);
  font-size: 11px;
  top: 1px;
}

.tco-note {
  font-size: 13px;
  color: var(--c-text-muted);
  text-align: center;
  margin-top: 8px;
}

.tco-note a {
  color: var(--c-cyan);
}

/* ================================================================
   TOOLS – TECHNOLOGIEN
   ================================================================ */

.tools-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tools-category {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tools-cat-label {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.tools-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-tag {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--c-text-sub);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 99px;
  padding: 5px 14px;
  transition: border-color var(--t), color var(--t), box-shadow var(--t);
  cursor: default;
}

.tool-tag:hover {
  border-color: var(--c-brand);
  color: var(--c-cyan);
  box-shadow: 0 0 12px rgba(0,102,204,0.2);
}

/* ================================================================
   CONTACT TABS
   ================================================================ */

.contact-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 0;
  background: var(--c-dark-navy);
  border: 1px solid var(--c-border);
  border-bottom: none;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 6px 6px 0;
}

.contact-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-text-muted);
  background: transparent;
  border: none;
  border-radius: var(--r) var(--r) 0 0;
  padding: 10px 18px;
  cursor: pointer;
  transition: color var(--t), background var(--t);
}

.contact-tab:hover {
  color: var(--c-text-sub);
  background: rgba(255,255,255,0.04);
}

.contact-tab--active {
  color: var(--c-cyan) !important;
  background: var(--c-surface) !important;
  position: relative;
}

.contact-tab--active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--c-surface);
}

#tab-form .form,
#tab-booking .booking-wrapper {
  border-radius: 0 var(--r-xl) var(--r-xl) var(--r-xl);
}

.booking-wrapper {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 0 var(--r-xl) var(--r-xl) var(--r-xl);
  overflow: hidden;
}

.booking-wrapper iframe {
  display: block;
}

/* ================================================================
   FOOTER
   ================================================================ */

.footer {
  background: var(--c-midnight);
  border-top: 1px solid var(--c-border-subtle);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo {
  height: 28px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--t);
}

.footer__logo:hover {
  opacity: 1;
}

.footer__copy {
  font-size: 13px;
  color: var(--c-text-muted);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  font-size: 13px;
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color var(--t);
}

.footer__link:hover {
  color: var(--c-cyan);
}

/* ================================================================
   INNER PAGES (Impressum, Datenschutz)
   ================================================================ */

.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 64px;
  background: var(--c-dark-navy);
  border-bottom: 1px solid var(--c-border-subtle);
}

.page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--c-text-muted);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color var(--t);
}

.page-hero__back:hover {
  color: var(--c-cyan);
}

.page-hero__back svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-hero__title {
  font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--c-text);
  margin-bottom: 8px;
}

.page-hero__sub {
  font-size: 16px;
  color: var(--c-text-muted);
}

.page-content {
  padding: 64px 0 96px;
}

.prose {
  max-width: 720px;
}

.prose h2 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text);
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-border-subtle);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text-sub);
  margin: 28px 0 10px;
}

.prose p {
  font-size: 15px;
  color: var(--c-text-sub);
  line-height: 1.75;
  margin-bottom: 14px;
}

.prose p strong {
  color: var(--c-text);
  font-weight: 500;
}

.prose a {
  color: var(--c-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--c-brand);
}

.prose ul {
  list-style: none;
  margin-bottom: 14px;
}

.prose ul li {
  font-size: 15px;
  color: var(--c-text-sub);
  line-height: 1.65;
  padding: 4px 0 4px 22px;
  position: relative;
}

.prose ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--c-brand);
  font-size: 13px;
}

.prose .address-block {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text-sub);
  margin: 16px 0;
}

.prose .address-block .address-name {
  display: block;
  margin-bottom: 6px;
  color: var(--c-text);
}

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

@media (max-width: 1024px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .pillars {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__visual {
    max-width: 480px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tco-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tco-vs {
    padding: 4px 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__mobile {
    display: flex;
  }

  .form__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

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

  .form {
    padding: 24px 20px;
  }
}

/* ================================================================
   SCROLL REVEAL
   ================================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
