/* =============================================================
   successfactor GmbH — Stylesheet
   Kreativ, verspielt, mit Tiefe — und SEO-/Performance-freundlich
   ============================================================= */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand-Farben */
  --c-sky: #00A6FB;
  --c-celestial: #0582CA;
  --c-sapphire: #006494;
  --c-prussian: #003554;
  --c-rich-black: #051923;

  /* Light-Theme Defaults */
  --bg: #fafbfc;
  --bg-soft: #f0f4f8;
  --bg-elev: #ffffff;
  --fg: #051923;
  --fg-muted: #4a6075;
  --fg-soft: #6b7e91;
  --border: rgba(5, 25, 35, 0.08);
  --border-strong: rgba(5, 25, 35, 0.16);

  --primary: var(--c-sapphire);
  --primary-hover: var(--c-prussian);
  --accent: var(--c-sky);
  --accent-soft: rgba(0, 166, 251, 0.12);

  /* Typografie */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --fs-h1: clamp(2.75rem, 7vw, 6rem);
  --fs-h2: clamp(2.25rem, 5vw, 4rem);
  --fs-h3: clamp(1.4rem, 2.5vw, 1.75rem);
  --fs-lead: clamp(1.05rem, 1.4vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-tiny: 0.75rem;

  /* Spacing */
  --container: min(1400px, 92vw);
  --section-y: clamp(4rem, 10vw, 9rem);
  --gap: clamp(1.5rem, 3vw, 2.5rem);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(5, 25, 35, 0.06), 0 1px 2px rgba(5, 25, 35, 0.04);
  --shadow-md: 0 4px 16px rgba(5, 25, 35, 0.08), 0 2px 6px rgba(5, 25, 35, 0.04);
  --shadow-lg: 0 16px 50px rgba(5, 25, 35, 0.12), 0 8px 20px rgba(5, 25, 35, 0.06);
  --shadow-glow: 0 8px 40px rgba(0, 166, 251, 0.25);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --t-fast: 200ms;
  --t-med: 400ms;
  --t-slow: 700ms;
}

[data-theme="dark"] {
  --bg: #051923;
  --bg-soft: #0a2233;
  --bg-elev: #0d2b40;
  --fg: #f0f6fb;
  --fg-muted: #a3b8c9;
  --fg-soft: #6f8499;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);

  --primary: var(--c-sky);
  --primary-hover: #33b8fc;
  --accent: var(--c-sky);
  --accent-soft: rgba(0, 166, 251, 0.18);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 8px 40px rgba(0, 166, 251, 0.4);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Verhindert horizontalen Scroll, wenn ein Kind aus dem Viewport raus ragt
     (z.B. Hero-Blobs mit negativem top/right). overflow-x: clip ist robuster
     als hidden und bricht keine sticky-Layer (header ist hier position:fixed). */
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  overflow-x: clip;
  max-width: 100vw;
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease);
}

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

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
}

em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "SOFT" 50, "WONK" 1;
}

::selection {
  background: var(--accent);
  color: var(--c-rich-black);
}

/* ---------- UTILITIES ---------- */
.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-sm);
  z-index: 1000;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- CUSTOM CURSOR ---------- */
.cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  top: 0;
  left: 0;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.cursor.is-active {
  opacity: 1;
}
.cursor__dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--c-sky);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 80ms var(--ease), width 250ms var(--ease), height 250ms var(--ease), background 250ms var(--ease);
  z-index: 10000;
}
.cursor__ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--c-sky);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 250ms var(--ease), width 350ms var(--ease), height 350ms var(--ease), border-color 250ms var(--ease), background 250ms var(--ease);
  z-index: 9999;
}
.cursor.is-hover .cursor__dot {
  width: 0;
  height: 0;
}
.cursor.is-hover .cursor__ring {
  width: 64px;
  height: 64px;
  background: rgba(0, 166, 251, 0.15);
  border-color: var(--c-sky);
}
.cursor.is-clicking .cursor__ring {
  transform: translate(-50%, -50%) scale(0.8);
}

@media (max-width: 1024px), (hover: none) {
  .cursor { display: none; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  will-change: transform;
}

.btn--lg {
  padding: 1.1rem 1.8rem;
  font-size: 1.05rem;
}

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

.btn--header {
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
}

.btn--primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(0, 100, 148, 0.25);
}
.btn--primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 100, 148, 0.35);
}
.btn--primary:active { transform: translateY(0); }

[data-theme="dark"] .btn--primary {
  background: var(--c-sky);
  color: var(--c-rich-black);
  box-shadow: 0 4px 14px rgba(0, 166, 251, 0.3);
}
[data-theme="dark"] .btn--primary:hover {
  background: #33b8fc;
}

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  background: var(--fg);
  color: var(--bg);
  transform: translateY(-2px);
}

.btn svg { transition: transform var(--t-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.header__logo {
  display: flex;
  align-items: center;
  height: 28px;
  flex-shrink: 0;
}
.logo { height: 100%; width: auto; }
.logo--dark { display: none; }
[data-theme="dark"] .logo--light { display: none; }
[data-theme="dark"] .logo--dark { display: block; }

.nav { display: flex; }
.nav__list {
  display: flex;
  gap: 0.5rem;
}
.nav__link {
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 999px;
  position: relative;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  display: inline-block;
}
.nav__link:hover {
  background: var(--accent-soft);
  color: var(--primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ---------- Language switcher ---------- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  height: 40px;
}
.lang-switcher__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 0.45rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.lang-switcher__link:hover {
  color: var(--fg);
  background: var(--bg-soft);
}
.lang-switcher__link.is-active {
  color: var(--c-rich-black);
  background: var(--c-sky);
}
[data-theme="dark"] .lang-switcher__link.is-active {
  color: var(--c-rich-black);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  position: relative;
}
.theme-toggle:hover {
  border-color: var(--border-strong);
  background: var(--bg-soft);
  transform: rotate(15deg);
}
.theme-toggle svg {
  position: absolute;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.theme-toggle .icon-moon { opacity: 0; transform: rotate(-90deg); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(90deg); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: rotate(0); }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  padding: 6rem 2rem 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease);
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-menu nav[aria-label="Mobile Navigation"] a,
.mobile-menu nav.nav__mobile a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

/* ---------- Sprachumschalter im Mobile-Menue ---------- */
.lang-switcher--mobile {
  display: inline-flex;
  margin-bottom: 2rem;
}

/* Auf Mobile: Header-Switcher ausblenden (er wird ins Mobile-Menue ausgelagert) */
@media (max-width: 1024px) {
  .header__actions > .lang-switcher:not(.lang-switcher--mobile) {
    display: none;
  }
}

/* Auf Desktop: Mobile-Switcher im Mobile-Menue nicht relevant */
@media (min-width: 1025px) {
  .lang-switcher--mobile { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

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

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: blob 20s var(--ease) infinite;
}
.blob--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--c-sky), transparent 70%);
  top: -10%;
  right: -10%;
}
.blob--2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--c-celestial), transparent 70%);
  bottom: -20%;
  left: -10%;
  animation-delay: -7s;
  opacity: 0.4;
}
.blob--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--c-sapphire), transparent 70%);
  top: 40%;
  left: 50%;
  animation-delay: -14s;
  opacity: 0.3;
}

@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  opacity: 0.5;
}

.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 2rem;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-sky);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
.hero__title-accent {
  font-style: italic;
  display: inline-block;
  padding-right: 0.12em;
  padding-bottom: 0.08em;
  margin-right: -0.12em;
  background: linear-gradient(135deg, var(--c-sky), var(--c-celestial), var(--c-sapphire));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variation-settings: "SOFT" 80, "WONK" 1;
}

.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}
.reveal-line span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 900ms var(--ease);
}
.reveal-line.is-visible span {
  transform: translateY(0);
}
.reveal-line:nth-child(2) span { transition-delay: 100ms; }
.reveal-line:nth-child(3) span { transition-delay: 200ms; }

.hero__lead {
  font-size: var(--fs-lead);
  color: var(--fg-muted);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.hero__meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
}
.hero__meta-item strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--primary);
  line-height: 1;
  font-variation-settings: "SOFT" 80;
}
.hero__meta-item span {
  font-size: 0.85rem;
  color: var(--fg-soft);
  margin-top: 0.25rem;
}

/* Hero Visual */
.hero__visual {
  position: relative;
  width: 320px;
  height: 320px;
  display: grid;
  place-items: center;
}
.hero__sf-mark {
  width: 220px;
  height: 220px;
  border-radius: var(--r-xl);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  animation: floaty 6s var(--ease) infinite;
}
.hero__sf-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

.hero__floating {
  position: absolute;
  background: var(--bg-elev);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.hero__floating .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #21759b;
}
.hero__floating .dot--alt { background: #96588a; }
.hero__floating .dot--alt2 { background: #16a34a; }

.hero__floating--1 {
  top: 5%;
  right: -10%;
  animation: floaty 7s var(--ease) infinite;
  animation-delay: -1s;
}
.hero__floating--2 {
  bottom: 10%;
  left: -15%;
  animation: floaty 8s var(--ease) infinite;
  animation-delay: -3s;
}
.hero__floating--3 {
  bottom: 25%;
  right: -5%;
  animation: floaty 6s var(--ease) infinite;
  animation-delay: -2s;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--fg-soft), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 20px;
  background: var(--c-sky);
  top: -20px;
  animation: scroll-line 2s var(--ease) infinite;
}
@keyframes scroll-line {
  0% { top: -20px; }
  100% { top: 100%; }
}

/* ---------- MARQUEE ---------- */
.marquee {
  padding: 2rem 0;
  background: var(--c-prussian);
  color: white;
  overflow: hidden;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}
.marquee__track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
}
.marquee__track span { font-style: italic; }
.marquee__sep {
  font-style: normal !important;
  color: var(--c-sky);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
  .marquee__track {
    animation-duration: 28s;
  }
}

@media (max-width: 640px) {
  .marquee__track {
    animation-duration: 20s;
  }
}

/* ---------- INTRO ---------- */
.intro {
  padding: var(--section-y) 0;
}
.intro__inner {
  max-width: 900px;
}
.intro__label {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 2rem;
  font-weight: 500;
}
.intro__text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-variation-settings: "SOFT" 50;
}
.intro__text strong {
  font-style: italic;
  color: var(--primary);
  font-weight: 400;
  font-variation-settings: "SOFT" 80, "WONK" 1;
}

/* ---------- SECTION HEADER ---------- */
.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  max-width: 700px;
}
.section-header__label {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 1rem;
  font-weight: 500;
}
.section-header__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  font-variation-settings: "SOFT" 30;
}
.section-header__lead {
  font-size: var(--fs-lead);
  color: var(--fg-muted);
}

/* ---------- SERVICES ---------- */
.services {
  padding: var(--section-y) 0;
  background: var(--bg-soft);
  position: relative;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 40%);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before {
  opacity: 1;
}

.service-card--featured {
  background: linear-gradient(135deg, var(--c-prussian), var(--c-sapphire));
  color: white;
  border-color: transparent;
}
.service-card--featured .service-card__num,
.service-card--featured .service-card__icon { color: var(--c-sky); }
.service-card--featured .service-card__list { color: rgba(255, 255, 255, 0.8); }
.service-card--featured .service-card__list li::before { background: var(--c-sky); }

.service-card__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.25rem 0.75rem;
  background: var(--c-sky);
  color: var(--c-rich-black);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
}

.service-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1;
  font-variation-settings: "SOFT" 80, "WONK" 1;
}
.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.service-card--featured .service-card__icon {
  background: rgba(0, 166, 251, 0.2);
  color: var(--c-sky);
}
.service-card__title {
  font-size: var(--fs-h3);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.service-card__text {
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
  flex-grow: 0;
}
.service-card--featured .service-card__text { color: rgba(255, 255, 255, 0.85); }

.service-card__list {
  margin-bottom: 2rem;
  flex-grow: 1;
}
.service-card__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-sky);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  align-self: flex-start;
  position: relative;
}
.service-card--featured .service-card__link { color: var(--c-sky); }
.service-card__link svg { transition: transform var(--t-fast) var(--ease); }
.service-card__link:hover svg { transform: translateX(5px); }

/* ---------- WHY ---------- */
.why { padding: var(--section-y) 0; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.why__item {
  background: var(--bg);
  padding: 2.5rem;
  transition: background var(--t-fast) var(--ease);
}
.why__item:hover { background: var(--bg-soft); }
.why__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-variation-settings: "SOFT" 80;
}
.why__item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.why__item p {
  color: var(--fg-muted);
  font-size: 0.98rem;
}

/* ---------- PROCESS ---------- */
.process {
  padding: var(--section-y) 0;
  background: var(--bg-soft);
  position: relative;
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.process__steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0, var(--border-strong) 6px, transparent 6px, transparent 12px);
  z-index: 0;
}
.process__step {
  position: relative;
  z-index: 1;
}
.process__step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-variation-settings: "SOFT" 80;
  transition: transform var(--t-med) var(--ease-bounce), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.process__step:hover .process__step-num {
  transform: scale(1.1) rotate(-8deg);
  border-color: var(--c-sky);
  background: var(--c-sky);
  color: var(--c-rich-black);
}
.process__step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.process__step p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* ---------- PORTFOLIO ---------- */
.portfolio { padding: var(--section-y) 0; }

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  grid-auto-rows: minmax(280px, auto);
}
.portfolio__grid .project:nth-child(1) { grid-column: span 7; }
.portfolio__grid .project:nth-child(2) { grid-column: span 5; }
.portfolio__grid .project:nth-child(3) { grid-column: span 4; }
.portfolio__grid .project:nth-child(4) { grid-column: span 4; }
.portfolio__grid .project:nth-child(5) { grid-column: span 4; }
.portfolio__grid .project:nth-child(6) { grid-column: span 5; }
.portfolio__grid .project:nth-child(7) { grid-column: span 7; }
.portfolio__grid .project:nth-child(8) { grid-column: span 12; }

.project {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  cursor: pointer;
  border: 1px solid var(--border);
}
.project:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project__media {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.project__img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--t-slow) var(--ease);
}
.project:hover .project__img {
  transform: scale(1.05);
}

.project__info {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  background: var(--bg-elev);
}
.project__info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.project__info p {
  font-size: 0.85rem;
  color: var(--fg-soft);
}
.project__visit {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease);
}
.project:hover .project__visit { transform: translateX(4px); }

/* ---------- CLIENTS ---------- */
.clients { padding: 4rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.clients__label {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 1.5rem;
}
.clients__row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--fg-muted);
  font-variation-settings: "SOFT" 50;
}
.clients__sep { color: var(--c-sky); }

/* ---------- ABOUT ---------- */
.about {
  padding: var(--section-y) 0;
  background: var(--bg-soft);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 480px;
}
.about__photo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  background: var(--bg-elev);
}
.about__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: contrast(1.05);
}
.about__photo-deco {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--c-sky);
  border-radius: var(--r-xl);
  top: 20px;
  left: 20px;
  z-index: 1;
}
.about__sticker {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--c-prussian);
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 400;
  text-align: center;
  line-height: 1.1;
  box-shadow: var(--shadow-lg);
  animation: spin-slow 25s linear infinite;
  z-index: 3;
  font-variation-settings: "SOFT" 80;
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.about__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.5rem;
  font-variation-settings: "SOFT" 30;
}
.about__content p {
  color: var(--fg-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  max-width: 540px;
}

.about__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.about__facts li {
  display: flex;
  flex-direction: column;
}
.about__facts strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: var(--primary);
  font-variation-settings: "SOFT" 80;
}
.about__facts span {
  font-size: 0.85rem;
  color: var(--fg-soft);
  margin-top: 0.25rem;
}

/* ---------- CONTACT ---------- */
.contact { padding: var(--section-y) 0; }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.5rem;
  font-variation-settings: "SOFT" 30;
}
.contact__intro p {
  color: var(--fg-muted);
  font-size: var(--fs-lead);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact__channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.contact__channel:hover {
  border-color: var(--c-sky);
  background: var(--bg-soft);
  transform: translateX(4px);
}
.contact__channel svg { color: var(--primary); flex-shrink: 0; }
.contact__channel span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact__channel strong { font-size: 0.98rem; font-weight: 600; }
.contact__channel em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.82rem;
  color: var(--fg-soft);
  font-variation-settings: normal;
}

/* Callback Form */
.callback {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.callback::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.callback__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 0.5rem;
  font-variation-settings: "SOFT" 80, "WONK" 1;
}
.callback__subtitle {
  color: var(--fg-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.callback__row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
.callback__row--2 { grid-template-columns: 1fr 1fr; }

.form-field {
  margin-bottom: 1rem;
  position: relative;
}
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--fg);
}
.form-field__optional {
  color: var(--fg-soft);
  font-weight: 400;
  font-size: 0.8rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--fg);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-sky);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

/* Textarea: erlaubt nur vertikales Resizing, sinnvolle Mindesthöhe und Zeilenabstand */
.form-field textarea {
  display: block;
  min-height: 140px;
  line-height: 1.55;
  resize: vertical;
}

/* Phone Input */
.phone-input {
  display: flex;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--bg);
  position: relative;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.phone-input:focus-within {
  border-color: var(--c-sky);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.phone-input__country {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 0.85rem;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background var(--t-fast) var(--ease);
}
.phone-input__country:hover { background: var(--bg-soft); }
.phone-input__flag { font-size: 1.2rem; line-height: 1; }
.phone-input__code { color: var(--fg); }

.phone-input input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 0.75rem;
}
.phone-input input:focus { outline: none; }

.phone-input__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  display: none;
}
.phone-input__dropdown.is-open { display: block; }
.phone-input__dropdown li {
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.92rem;
  transition: background var(--t-fast) var(--ease);
}
.phone-input__dropdown li:hover { background: var(--bg-soft); }
.phone-input__dropdown li .flag { font-size: 1.1rem; }
.phone-input__dropdown li .name { flex: 1; }
.phone-input__dropdown li .code { color: var(--fg-soft); font-size: 0.85rem; }

.callback__note {
  font-size: 0.78rem;
  color: var(--fg-soft);
  margin-top: 1rem;
  text-align: center;
}
.callback__note a { color: var(--primary); text-decoration: underline; }

.callback__success {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  border-radius: var(--r-md);
  text-align: center;
}

.callback__error {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border-radius: var(--r-md);
  text-align: center;
  font-size: 0.92rem;
}

/* Honeypot: visuell verborgen, aber für Bots sichtbar */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Form-Loading-State */
.callback.is-loading button[type="submit"] {
  pointer-events: none;
  opacity: 0.6;
}
.callback.is-loading button[type="submit"] span::after {
  content: '...';
  animation: dots 1.4s infinite;
}
@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* ---------- FAQ ---------- */
.faq {
  padding: var(--section-y) 0;
  background: var(--bg-soft);
}
.faq__list {
  max-width: 900px;
  margin-inline: auto;
}
.faq__item {
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast) var(--ease);
}
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  font-variation-settings: "SOFT" 30;
  transition: color var(--t-fast) var(--ease);
}
.faq__item summary:hover { color: var(--primary); }
.faq__item summary::-webkit-details-marker { display: none; }

.faq__icon {
  width: 32px;
  height: 32px;
  position: relative;
  flex-shrink: 0;
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease);
}
.faq__icon::before {
  width: 16px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 2px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__answer { padding: 0 0 1.5rem; color: var(--fg-muted); }
.faq__answer p { font-size: 1rem; line-height: 1.7; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--c-rich-black);
  color: white;
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--c-sapphire), transparent 70%);
  filter: blur(60px);
  opacity: 0.4;
}

.footer__cta {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-bottom: 4rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 30;
}
.footer__cta em {
  display: inline-block;
  padding-right: 0.12em;
  margin-right: -0.12em;
  padding-bottom: 0.04em;
  background: linear-gradient(135deg, var(--c-sky), var(--c-celestial));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variation-settings: "SOFT" 80, "WONK" 1;
}
.footer__cta .btn--primary {
  background: var(--c-sky);
  color: var(--c-rich-black);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.footer__col--brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
  max-width: 320px;
}
.footer__logo {
  display: block;
  height: 28px;
}
.footer__logo .logo--light { display: none; }
.footer__logo .logo--dark { display: block; height: 100%; }

.footer__col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer__col address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.footer__col a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  padding: 0.2rem 0;
  transition: color var(--t-fast) var(--ease);
}
.footer__col a:hover { color: var(--c-sky); }
.footer__col ul { display: flex; flex-direction: column; gap: 0.4rem; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}
.footer__lang { display: flex; gap: 0.5rem; }
.footer__lang a { color: rgba(255, 255, 255, 0.5); padding: 0; }
.footer__lang a.active { color: var(--c-sky); }

/* ---------- MOBILE CTA ---------- */
.mobile-cta {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 90;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-cta__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-fast) var(--ease);
}
.mobile-cta__btn:hover, .mobile-cta__btn:active { transform: scale(1.1); }
.mobile-cta__btn--call { background: var(--primary); }
.mobile-cta__btn--whatsapp { background: #25d366; }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .btn--header { display: none; }

  .hero__container { grid-template-columns: 1fr; }
  .hero__visual { display: none; }

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

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

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .process__steps::before { display: none; }

  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio__grid .project { grid-column: span 1 !important; }

  .about__inner { grid-template-columns: 1fr; }
  .about__visual { max-width: 360px; margin: 0 auto; }

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

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

  .mobile-cta { display: flex; }
}

@media (max-width: 640px) {
  .hero { padding-top: 7rem; min-height: auto; }
  .hero__title { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero__meta { gap: 1.5rem; }
  .hero__meta-item strong { font-size: 1.6rem; }
  .hero__cta .btn { flex: 1; justify-content: center; }

  .marquee__track { font-size: 1.5rem; }

  .callback__row--2 { grid-template-columns: 1fr; }

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

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

  .about__sticker { width: 90px; height: 90px; font-size: 0.9rem; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-line span { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   404 / Error-Page
   ============================================================ */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.error-hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  width: 100%;
}
.error-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.error-hero__bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.error-hero__bg .blob--1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--c-sky), transparent 70%);
  top: -15%;
  right: -10%;
  animation: blob 18s var(--ease) infinite;
}
.error-hero__bg .blob--2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--c-celestial), transparent 70%);
  bottom: -20%;
  left: -10%;
  animation: blob 22s var(--ease) infinite;
  animation-delay: -6s;
  opacity: 0.25;
}
.error-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.error-hero__code {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(7rem, 22vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(135deg, var(--c-sky), var(--c-celestial), var(--c-sapphire));
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 1.5rem;
}
.error-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.error-hero__title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.error-hero__lead {
  font-size: var(--fs-lead);
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.error-hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ============================================================
   reCAPTCHA-Badge ausblenden (Hinweis ist sichtbar im Formular)
   ============================================================ */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  background: var(--bg-elev);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -10px 40px rgba(5, 25, 35, 0.12);
  padding: 1.5rem 0;
  transform: translateY(110%);
  transition: transform 450ms var(--ease);
}
.cookie-banner.is-visible {
  transform: translateY(0);
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  min-width: 280px;
}
.cookie-banner__text h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--fg);
}
.cookie-banner__text p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.cookie-banner__text a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner__actions .btn {
  white-space: nowrap;
}
.cookie-btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.cookie-btn-ghost:hover {
  border-color: var(--primary);
  background: var(--bg-soft);
}

/* Detailbereich (Kategorien) */
.cookie-banner__details {
  display: none;
  width: 100%;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.cookie-banner.is-expanded .cookie-banner__details {
  display: block;
}
.cookie-cat {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.cookie-cat:last-child {
  border-bottom: none;
}
.cookie-cat__info {
  flex: 1;
}
.cookie-cat__info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.2rem;
}
.cookie-cat__info p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.55;
}
/* Toggle-Switch */
.cookie-switch {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch__slider {
  position: absolute;
  inset: 0;
  background: var(--border-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}
.cookie-switch__slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--t-fast) var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cookie-switch input:checked + .cookie-switch__slider {
  background: var(--primary);
}
.cookie-switch input:checked + .cookie-switch__slider::before {
  transform: translateX(20px);
}
.cookie-switch input:disabled + .cookie-switch__slider {
  background: var(--c-sky);
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-banner__details-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .cookie-banner { padding: 1.25rem 0; }
  .cookie-banner__inner { gap: 1rem; }
  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__actions .btn,
  .cookie-banner__actions .cookie-btn-ghost {
    width: 100%;
    flex: none;
    text-align: center;
    justify-content: center;
  }
}
