/* ============================================
   S&D — Siepen & Dohmen
   Design System & Styles
   Editorial Consulting × Modern Software House
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- Design Tokens --- */
:root {
  /* Palette */
  --bg:           #F6F3ED;
  --bg-warm:      #EDE9E1;
  --bg-card:      #FFFFFF;
  --bg-dark:      #141E33;
  --bg-dark-soft: #1B2745;

  --text:         #1E2A3E;
  --text-muted:   #6E6960;
  --text-light:   #9B958C;
  --text-on-dark: #F6F3ED;
  --text-on-dark-muted: #A8A49D;

  --accent:       #1E3156;
  --accent-hover: #162643;
  --accent-light: #E8ECF2;
  --accent-glow:  rgba(30, 49, 86, 0.12);

  --warm:         #C99A2E;
  --warm-light:   #F5EDD6;

  --gold:         #C99A2E;
  --gold-hover:   #B58A28;
  --gold-light:   #F5EDD6;

  --border:       #DDD8D0;
  --border-light: #EAE6DE;

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Layout */
  --max-width:  1280px;
  --max-text:   720px;
  --nav-height: 72px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration: 0.6s;
  --duration-fast: 0.3s;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Grain overlay for texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

::selection {
  background: var(--accent);
  color: var(--text-on-dark);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  max-width: var(--max-text);
  color: var(--text-muted);
  font-size: 1.05rem;
}

.text-large {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.65;
}

.text-small {
  font-size: 0.875rem;
  letter-spacing: 0.03em;
}

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

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

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--tight {
  padding: var(--space-2xl) 0;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.flex {
  display: flex;
  align-items: center;
}

.flex--between {
  justify-content: space-between;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(201, 154, 46, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--ghost {
  background: transparent;
  color: var(--gold);
  padding: 0.9rem 0;
}

.btn--ghost::after {
  content: '\2192';
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn--ghost:hover::after {
  transform: translateX(4px);
}

.btn--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.btn--dark:hover {
  background: #2a2f30;
  transform: translateY(-1px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--duration-fast) var(--ease-out);
}

.nav--scrolled {
  background: rgba(246, 243, 237, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 20px rgba(30,49,86,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-top {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav__logo-amp {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
}

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

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--duration-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--duration-fast) var(--ease-out);
}

.nav__link:hover,
.nav__link--active {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  font-size: 0.85rem;
  padding: 0.65rem 1.5rem;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-out);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.hero__bg-shape--1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(30,49,86,0.12) 0%, rgba(30,49,86,0.04) 60%, transparent 100%);
  top: -15%;
  right: -10%;
}

.hero__bg-shape--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,154,46,0.15) 0%, rgba(201,154,46,0.05) 60%, transparent 100%);
  bottom: 5%;
  left: -8%;
}

.hero__bg-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: auto;
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--space-3xl) 0;
}

.hero__label {
  margin-bottom: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--gold);
}

.hero h1 {
  margin-bottom: var(--space-md);
  max-width: 900px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

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

/* --- Divider Line --- */
.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: var(--space-md) 0;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Section Header --- */
.section-header {
  margin-bottom: var(--space-xl);
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin-left: auto;
  margin-right: auto;
}

.section-header .label {
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--duration) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease-out);
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(201, 154, 46, 0.1), 0 8px 20px rgba(30, 49, 86, 0.06);
}

.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent) 0%, #2A4470 100%);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.3rem;
}

.card h3 {
  margin-bottom: var(--space-xs);
}

.card p {
  font-size: 0.95rem;
}

/* --- Service Pillars --- */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pillar {
  background: var(--bg-card);
  padding: var(--space-xl);
  position: relative;
  transition: all var(--duration) var(--ease-out);
}

.pillar:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--gold-light) 100%);
}

.pillar__number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: var(--space-md);
  transition: color var(--duration) var(--ease-out);
}

.pillar:hover .pillar__number {
  color: var(--gold);
  opacity: 0.3;
}

.pillar h3 {
  margin-bottom: var(--space-sm);
}

.pillar__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: var(--space-md);
}

.pillar__list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 1.2rem;
  position: relative;
}

.pillar__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 1.5px;
  background: var(--gold);
}

/* --- Software Section --- */
.software-showcase {
  background: linear-gradient(135deg, #0F1A2E 0%, #1E3156 40%, #253D68 70%, #1B3050 100%);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.software-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,154,46,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.software-showcase::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,154,46,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.software-showcase h2,
.software-showcase h3,
.software-showcase h4 {
  color: var(--text-on-dark);
}

.software-showcase p {
  color: var(--text-on-dark-muted);
}

.software-showcase .label {
  color: var(--warm);
}

.software__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.software__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.software__mockup {
  background: var(--bg-dark-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  position: relative;
}

.software__mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.software__mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.software__mockup-dot:first-child { background: #ff5f57; }
.software__mockup-dot:nth-child(2) { background: #febc2e; }
.software__mockup-dot:nth-child(3) { background: #28c840; }

.software__mockup-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.software__mockup-row {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}

.software__mockup-block {
  height: 10px;
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
}

.software__mockup-block--accent {
  background: var(--gold);
  opacity: 0.6;
}

.software__mockup-block--warm {
  background: var(--warm);
  opacity: 0.4;
}

.software__mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  margin-top: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
}

.software__mockup-bar-item {
  flex: 1;
  background: var(--gold);
  border-radius: 3px 3px 0 0;
  opacity: 0.5;
  transition: opacity var(--duration-fast);
}

.software__mockup:hover .software__mockup-bar-item {
  opacity: 0.8;
}

.software__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.software__feature {
  padding: var(--space-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}

.software__feature:hover {
  background: rgba(201, 154, 46, 0.08);
  border-color: rgba(201, 154, 46, 0.3);
}

.software__feature h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.software__feature p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* --- Founder Section --- */
.founders__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.founder {
  display: flex;
  flex-direction: column;
}

.founder__image {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--accent-light) 0%, var(--gold-light) 60%, var(--bg-warm) 100%);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
}

.founder__image-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder__image-placeholder {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: var(--accent);
  user-select: none;
  opacity: 0.4;
}

.founder__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.founder__role {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-sm);
}

.founder__bio {
  font-size: 0.95rem;
  line-height: 1.7;
}

.founder__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.founder__tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  background: var(--gold-light);
  color: var(--gold);
  border-radius: 100px;
}

/* --- Vision Section --- */
.vision {
  background: linear-gradient(160deg, var(--bg-warm) 0%, var(--gold-light) 50%, var(--accent-light) 100%);
  position: relative;
}

.vision__content {
  max-width: 800px;
}

.vision__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-left: var(--space-lg);
}

.vision__quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.vision__points {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.vision__point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 1.05rem;
  color: var(--text-muted);
}

.vision__point-marker {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  margin-top: 0.2rem;
  position: relative;
}

.vision__point-marker::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* --- Contact CTA --- */
.cta-section {
  text-align: center;
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg) 40%, var(--gold-light) 100%);
}

.cta-section h2 {
  margin-bottom: var(--space-sm);
}

.cta-section p {
  margin: 0 auto var(--space-lg);
}

.cta-section .hero__actions {
  justify-content: center;
}

/* --- Contact Form --- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
}

.contact__info h3 {
  margin-bottom: var(--space-sm);
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact__detail-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent) 0%, #2A4470 100%);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.contact__detail h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.contact__detail p {
  font-size: 0.9rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form__input,
.form__textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  transition: border-color var(--duration-fast);
  outline: none;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--gold);
}

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

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-xl);
}

.stat {
  background: var(--accent);
  padding: var(--space-lg);
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat__text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

/* --- Footer --- */
.footer {
  background: linear-gradient(180deg, #0F1A2E 0%, #141E33 100%);
  color: var(--text-on-dark);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 3px solid var(--gold);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: #fff;
}

.footer__brand span {
  color: var(--gold);
}

.footer__brand-full {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-on-dark-muted);
  margin-top: 0.15rem;
}

.footer__desc {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  max-width: 300px;
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-md);
}

.footer__link {
  display: block;
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 0.75rem;
  transition: color var(--duration-fast);
}

.footer__link:hover {
  color: var(--text-on-dark);
}

.footer__bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal a {
  color: var(--text-on-dark-muted);
  transition: color var(--duration-fast);
}

.footer__legal a:hover {
  color: var(--text-on-dark);
}

/* --- Page Headers (inner pages) --- */
.page-header {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-2xl);
  background: linear-gradient(160deg, var(--accent-light) 0%, var(--bg-warm) 40%, var(--gold-light) 100%);
  position: relative;
  overflow: hidden;
}

.page-header__bg-line {
  position: absolute;
  top: 50%;
  right: -10%;
  width: 500px;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--gold), transparent);
  opacity: 0.15;
  transform: rotate(-15deg);
}

.page-header .label {
  margin-bottom: var(--space-sm);
}

.page-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: var(--space-sm);
}

.page-header p {
  font-size: 1.1rem;
  max-width: 600px;
}

/* --- Service Detail Blocks --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border-light);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail__sticky {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-lg));
}

.service-detail h3 {
  margin-bottom: var(--space-xs);
}

.service-detail__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-item {
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast);
}

.service-item:hover {
  border-color: var(--accent-light);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.service-item h4 {
  font-family: var(--font-body);
  margin-bottom: 0.35rem;
}

.service-item p {
  font-size: 0.9rem;
}

/* --- Software Page Specifics --- */
.software-hero {
  background: linear-gradient(135deg, #0F1A2E 0%, #1E3156 35%, #253D68 65%, #1A2E50 100%);
  color: var(--text-on-dark);
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.software-hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(201,154,46,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.software-hero h1,
.software-hero h2 {
  color: var(--text-on-dark);
}

.software-hero p {
  color: var(--text-on-dark-muted);
  margin: 0 auto;
}

.software-hero .label {
  color: var(--warm);
}

.software-page-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.software-page-feature {
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--duration);
}

.software-page-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(201, 154, 46, 0.1), 0 8px 20px rgba(30,49,86,0.08);
  border-color: var(--gold);
}

.software-page-feature__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent) 0%, #2A4470 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.4rem;
  color: var(--gold);
}

.software-page-feature h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

/* --- About Page --- */
.about-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-story__visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1E3156 0%, #253D68 50%, #1A2E50 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-story__visual::before {
  content: none;
}

.about-story__visual::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,154,46,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.about-story__photos {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.about-story__photo {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--duration) var(--ease-out);
}

.about-story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-story__photo--1 {
  width: 58%;
  height: 75%;
  top: 0;
  left: 0;
  z-index: 2;
  transform: rotate(-3deg);
}

.about-story__photo--1:hover {
  transform: rotate(-1deg) scale(1.03);
  z-index: 4;
}

.about-story__photo--2 {
  width: 58%;
  height: 75%;
  bottom: 0;
  right: 0;
  z-index: 3;
  transform: rotate(3deg);
}

.about-story__photo--2:hover {
  transform: rotate(1deg) scale(1.03);
  z-index: 4;
}

.about-story__badge {
  position: absolute;
  bottom: 18%;
  left: 38%;
  transform: translateX(-50%);
  z-index: 5;
  width: 72px;
  height: 72px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(201, 154, 46, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.about-story__badge-text {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  color: #fff;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-story__badge-text strong {
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  display: block;
}

.timeline {
  position: relative;
  padding-left: var(--space-lg);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}

.timeline__item {
  position: relative;
  margin-bottom: var(--space-lg);
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-lg) - 4px);
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline__year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.timeline__text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}

.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; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* --- Page Transitions --- */
.page {
  display: none;
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.page--active {
  display: block;
  opacity: 1;
}

.page--entering {
  animation: pageEnter var(--duration) var(--ease-out) forwards;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .software__grid { grid-template-columns: 1fr; }
  .software__visual { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .about-story { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail__sticky { position: static; }
  .software-page-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 5rem;
    --space-2xl: 3.5rem;
  }

  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  /* Mobile menu */
  .nav__links--open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    padding: var(--space-xl) var(--space-lg);
    gap: var(--space-md);
    z-index: 999;
  }

  .nav__links--open .nav__link {
    font-size: 1.3rem;
    font-family: var(--font-display);
  }

  .nav__links--open .nav__cta {
    margin-top: var(--space-md);
    text-align: center;
    justify-content: center;
  }

  .grid--2,
  .grid--3,
  .pillars,
  .founders__grid,
  .contact__grid,
  .software__features,
  .software-page-features {
    grid-template-columns: 1fr;
  }

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

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

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

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

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

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

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .section { padding: var(--space-2xl) 0; }
  .pillar { padding: var(--space-lg); }
}

/* ========== RECHTLICHE SEITEN (Impressum / Datenschutz) ========== */
.legal {
  max-width: 46rem;
}

.legal__block {
  margin-bottom: var(--space-xl);
}

.legal__block h2 {
  font-size: 1.35rem;
  margin-bottom: var(--space-sm);
}

.legal__block h3 {
  font-size: 1.05rem;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.legal__block p {
  margin-bottom: var(--space-sm);
  max-width: none;
}

.legal__address {
  font-style: normal;
  line-height: 1.9;
  color: var(--text);
}

.legal__note {
  padding: var(--space-md);
  background: var(--bg-warm);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.legal a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.legal a:hover {
  border-bottom-color: var(--gold);
}
