/* Patrik Webdesign – Stylesheet (Indigo → Cyan, dark tech) */

/* Schriften lokal eingebunden (kein externer Request beim Seitenaufruf –
   schont die Privatsphäre der Besucher:innen, siehe datenschutz.html) */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/space-grotesk-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/space-grotesk-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/space-grotesk-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}

:root {
  --bg-0: #0B0D12;
  --bg-1: #0E1016;
  --bg-2: #14161F;
  --color-indigo: #6366F1;
  --color-indigo-light: #818CF8;
  --color-violet: #8B5CF6;
  --color-cyan: #22D3EE;
  --color-cyan-light: #67E8F9;

  --text: #EAECF5;
  --text-body: #A6AEC6;
  --text-muted: #737B9A;

  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(129, 140, 248, 0.4);

  --grad-brand: linear-gradient(115deg, #818CF8 0%, #22D3EE 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(34, 211, 238, 0.85));
  --grad-line: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.7), transparent);
  --glass: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));

  --shadow-soft: 0 12px 36px rgba(5, 8, 20, 0.5);
  --shadow-lift: 0 26px 60px rgba(4, 6, 18, 0.65);
  --shadow-glow: 0 10px 40px rgba(99, 102, 241, 0.35);

  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1160px;
  font-size: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  color: var(--text-body);
  background:
    radial-gradient(circle at 82% 6%, rgba(99, 102, 241, 0.14), transparent 42%),
    radial-gradient(circle at 8% 22%, rgba(34, 211, 238, 0.10), transparent 46%),
    radial-gradient(circle at 72% 82%, rgba(139, 92, 246, 0.12), transparent 52%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 60%, var(--bg-1) 100%);
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -0.5px;
}

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

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

::selection {
  background: rgba(129, 140, 248, 0.4);
  color: #fff;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-0);
}

::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.35);
  border-radius: 8px;
  border: 3px solid var(--bg-0);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.6);
}

:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Sprung zum Inhalt – nur sichtbar, wenn er per Tastatur fokussiert wird */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.7rem 1.2rem;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--color-cyan);
  border-radius: 8px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

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

/* ---------- Scroll-Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ---------- Header / Navigation ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(14, 16, 22, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(11, 13, 18, 0.9);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.3s var(--ease);
}

.site-header.scrolled .header-inner {
  padding-top: 9px;
  padding-bottom: 9px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.5px;
}

.logo img {
  height: 38px;
  width: auto;
  transition: transform 0.4s var(--ease);
}

.logo:hover img {
  transform: rotate(8deg) scale(1.06);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.1px;
  color: var(--text-body);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links .nav-cta {
  padding: 9px 20px;
  border-radius: 30px;
  background: var(--grad-brand-soft);
  color: #0B0D12;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.25);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-links .nav-cta::after { display: none; }

.nav-links .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.4);
  color: #0B0D12;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-indigo-light);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 40px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.1px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-brand-soft);
  color: #08101F;
  box-shadow: 0 8px 26px rgba(99, 102, 241, 0.3);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(99, 102, 241, 0.45);
}

.btn-primary:hover::after {
  left: 125%;
}

.btn-outline {
  border-color: rgba(129, 140, 248, 0.45);
  color: var(--text);
  background: rgba(129, 140, 248, 0.04);
}

.btn-outline:hover {
  background: rgba(129, 140, 248, 0.12);
  border-color: var(--color-indigo-light);
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 94vh;
  min-height: 94svh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 9rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(129, 140, 248, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 140, 248, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--bg-0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-copy { max-width: 620px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 7px 16px 7px 12px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  color: var(--text);
  margin-bottom: 1.4rem;
  text-wrap: balance;
  letter-spacing: -1.5px;
}

.hero p {
  max-width: 540px;
  font-size: 1.12rem;
  color: var(--text-body);
  margin-bottom: 2.2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-top: 2.6rem;
}

.hero-meta .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
}

.hero-meta .lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Hero-Visual: schwebendes Code-/Browser-Fenster */

.hero-visual {
  position: relative;
}

.code-window {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(30, 33, 48, 0.9), rgba(16, 18, 26, 0.95));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

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

.code-window::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(160deg, rgba(129, 140, 248, 0.5), transparent 40%, transparent 70%, rgba(34, 211, 238, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.window-bar .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.window-bar .dot.r { background: #FF5F57; }
.window-bar .dot.y { background: #FEBC2E; }
.window-bar .dot.g { background: #28C840; }

.window-bar .addr {
  margin-left: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 12px;
  border-radius: 20px;
  flex: 1;
}

.code-body {
  padding: 22px 24px 26px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.86rem;
  line-height: 1.9;
}

.code-body .ln { display: block; white-space: pre; }
.code-body .k { color: var(--color-violet); }
.code-body .t { color: var(--color-cyan); }
.code-body .s { color: #9DE8B4; }
.code-body .c { color: var(--text-muted); }
.code-body .p { color: var(--color-indigo-light); }

.hero-visual .glow-orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
}
.hero-visual .glow-orb.a {
  top: -40px; right: -30px;
  background: rgba(99, 102, 241, 0.5);
}
.hero-visual .glow-orb.b {
  bottom: -50px; left: -40px;
  background: rgba(34, 211, 238, 0.35);
}

/* ---------- Sections ---------- */

section {
  padding: 6.5rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-cyan-light);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--grad-line);
}

.section-header .section-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--grad-line);
}

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  margin-bottom: 1.4rem;
  text-wrap: balance;
  letter-spacing: -1px;
}

.section-intro {
  max-width: 680px;
  color: var(--text-body);
  font-size: 1.06rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-header .section-label {
  justify-content: center;
}

/* ---------- Intro-Split ---------- */

.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-visual {
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(99, 102, 241, 0.18), rgba(34, 211, 238, 0.1));
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3.2;
}

.intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.intro-visual:hover img {
  transform: scale(1.05);
}

.intro-text p {
  color: var(--text-body);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.check-list {
  list-style: none;
  margin-top: 1.8rem;
  display: grid;
  gap: 0.9rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--text-body);
}

.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 7px;
  background:
    var(--grad-brand-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 15px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 15px no-repeat;
  background-color: transparent;
}

/* ---------- Cards (Leistungen / Features) ---------- */

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

.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lift);
}

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

.card .icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.3rem;
  background: linear-gradient(155deg, rgba(99, 102, 241, 0.18), rgba(34, 211, 238, 0.12));
  border: 1px solid var(--border-glow);
  border-radius: 14px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  color: var(--text);
}

.card p {
  color: var(--text-body);
  font-size: 0.97rem;
}

.card .card-meta {
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  color: var(--color-cyan-light);
  font-weight: 500;
}

/* ---------- Prozess-Schritte ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 2rem 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.step:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
}

.step .step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  display: block;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.93rem;
  color: var(--text-body);
}

/* ---------- Tech-Stack Pills ---------- */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.pill {
  padding: 9px 20px;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-body);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.pill:hover {
  transform: translateY(-2px);
  border-color: var(--border-glow);
  color: var(--text);
}

/* ---------- Stat-Band ---------- */

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  padding: 2.6rem;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.stat {
  text-align: center;
}

.stat .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.stat .lbl {
  color: var(--text-body);
  font-size: 0.92rem;
  margin-top: 0.4rem;
}

/* ---------- Portfolio / Projekte ---------- */

.gallery-filters {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-body);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.filter-btn:hover {
  border-color: var(--border-glow);
  color: var(--text);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--grad-brand-soft);
  border-color: transparent;
  color: #08101F;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.gallery-item.no-zoom { cursor: default; }

.gallery-item .thumb {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  position: relative;
}

.gallery-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lift);
}

.gallery-item:hover .thumb img {
  transform: scale(1.05);
}

/* Platzhalter-Vorschau, wenn (noch) kein Screenshot vorhanden ist */
.gallery-item .placeholder-art {
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.gallery-item .placeholder-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}

.gallery-item[data-cat="landingpage"] .placeholder-art { background: linear-gradient(150deg, #6366F1, #22D3EE); }
.gallery-item[data-cat="business"] .placeholder-art { background: linear-gradient(150deg, #8B5CF6, #6366F1); }
.gallery-item[data-cat="shop"] .placeholder-art { background: linear-gradient(150deg, #0EA5E9, #22D3EE); }
.gallery-item[data-cat="portfolio"] .placeholder-art { background: linear-gradient(150deg, #6366F1, #8B5CF6); }

.gallery-item .pages-badge {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 1;
  font-size: 0.68rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 15, 25, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  backdrop-filter: blur(4px);
}

.gallery-item .item-body {
  padding: 1.3rem 1.4rem 1.5rem;
}

.gallery-item .item-tag {
  font-size: 0.74rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-cyan-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gallery-item .item-body h3 {
  font-size: 1.18rem;
  margin-bottom: 0.4rem;
}

.gallery-item .item-body p {
  font-size: 0.92rem;
  color: var(--text-body);
}

.gallery-empty {
  display: none;
  text-align: center;
  color: var(--text-body);
  padding: 3rem 1rem;
  font-size: 0.98rem;
}

.gallery-empty.visible {
  display: block;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(6, 8, 18, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox figure {
  max-width: min(1000px, 92vw);
  text-align: center;
  transform: scale(0.96);
  transition: transform 0.35s var(--ease);
}

.lightbox.open figure {
  transform: scale(1);
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  max-height: 80svh;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-glow);
}

.lightbox figcaption {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-body);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-glow);
  background: rgba(20, 22, 31, 0.8);
  color: var(--color-indigo-light);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 2;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(99, 102, 241, 0.28);
  transform: scale(1.08);
}

.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.08);
}

/* ---------- Pricing / Pakete ---------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lift);
}

.price-card.featured {
  border-color: var(--border-glow);
  background: linear-gradient(165deg, rgba(99, 102, 241, 0.12), rgba(34, 211, 238, 0.05));
  box-shadow: var(--shadow-glow);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  border-radius: 30px;
  background: var(--grad-brand-soft);
  color: #08101F;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.price-card .plan {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.price-card .plan-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 1.6rem;
  min-height: 2.6em;
}

.price-card .price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.price-card .price .from {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.price-card .price .cur {
  font-size: 1.1rem;
  color: var(--text-body);
  font-weight: 500;
}

.price-card .price-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.6rem 0 1.8rem;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.94rem;
  color: var(--text-body);
}

.price-card ul li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 6px;
  background: var(--grad-brand-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 13px no-repeat;
}

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

/* ---------- Hinweis-Kasten ---------- */

.notice {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  max-width: 860px;
  margin: 0 auto;
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(99, 102, 241, 0.14), rgba(34, 211, 238, 0.06));
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-soft);
}

.notice .notice-icon {
  font-size: 1.5rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.notice h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.notice p {
  color: var(--text-body);
  font-size: 0.97rem;
  margin: 0;
}

.notice strong {
  color: var(--text);
}

/* ---------- Leistungsumfang (Das mache ich / nicht) ---------- */

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.scope-col {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  box-shadow: var(--shadow-soft);
}

.scope-col.do { border-color: rgba(52, 211, 153, 0.32); }
.scope-col.dont { border-color: rgba(255, 120, 120, 0.24); }

.scope-col h3 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.2rem;
  margin-bottom: 1.4rem;
}

.scope-ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.scope-col.do .scope-ic {
  background: rgba(52, 211, 153, 0.16);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.42);
}

.scope-col.dont .scope-ic {
  background: rgba(255, 120, 120, 0.12);
  color: #FF8080;
  border: 1px solid rgba(255, 120, 120, 0.38);
}

.scope-col ul {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.scope-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-body);
  font-size: 0.96rem;
}

.scope-col li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 14px;
  mask-size: 14px;
}

.scope-col.do li::before {
  background: #34D399;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.scope-col.dont li::before {
  background: #FF8080;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}

.faq-item[open] {
  border-color: var(--border-glow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 1.6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-indigo-light);
  transition: transform 0.3s var(--ease);
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-body {
  padding: 0 1.6rem 1.4rem;
  color: var(--text-body);
  font-size: 0.97rem;
}

/* ---------- CTA-Band ---------- */

.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 4rem 2.5rem;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(99, 102, 241, 0.16), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--border-glow);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 75%);
  pointer-events: none;
}

.cta-band > * { position: relative; z-index: 1; }

.cta-band h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 1rem;
}

.cta-band p {
  color: var(--text-body);
  max-width: 540px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ---------- About-Seite ---------- */

.about-hero {
  padding-top: 9.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.portrait {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(99, 102, 241, 0.25), rgba(34, 211, 238, 0.15));
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  position: sticky;
  top: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  margin-bottom: 1.2rem;
}

.about-content p {
  color: var(--text-body);
  margin-bottom: 1.2rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.tag-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--color-cyan-light);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.tag-pill:hover {
  border-color: var(--border-glow);
  transform: translateY(-1px);
}

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-body);
  margin-bottom: 1.8rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}

.contact-detail .icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: linear-gradient(155deg, rgba(99, 102, 241, 0.18), rgba(34, 211, 238, 0.12));
  border: 1px solid var(--border-glow);
  border-radius: 13px;
}

.contact-detail strong {
  display: block;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.social-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.social-row a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.social-row a:hover {
  border-color: var(--border-glow);
  background: rgba(99, 102, 241, 0.12);
  transform: translateY(-2px);
}

form {
  background: var(--glass);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.3rem;
}

label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

input, textarea, select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  resize: vertical;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-indigo-light);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22);
}

select option {
  background: var(--bg-2);
  color: var(--text);
}

.form-preselect {
  margin-bottom: 1.4rem;
  padding: 11px 16px;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(99, 102, 241, 0.16), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--border-glow);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--color-cyan-light);
  display: none;
}

.form-note.visible {
  display: block;
}

.form-note.error {
  color: #FF8080;
}

/* ---------- Rechtliche Seiten ---------- */

.legal {
  padding-top: 9.5rem;
}

.legal .container {
  max-width: 820px;
}

.legal h2 {
  font-size: 1.5rem;
  margin-top: 2.6rem;
  margin-bottom: 0.9rem;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p {
  color: var(--text-body);
  margin-bottom: 1rem;
}

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

.legal ul {
  color: var(--text-body);
  margin: 0 0 1rem 1.3rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal .placeholder-note {
  display: inline-block;
  margin-top: 3rem;
  padding: 1rem 1.3rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--color-indigo-light);
}

/* ---------- Footer ---------- */

footer {
  background: var(--bg-0);
  color: var(--text-muted);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 70vw);
  height: 1px;
  background: var(--grad-line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

.footer-logo::before {
  content: '';
  width: 30px;
  height: 30px;
  background: url('../images/logo.png') no-repeat center / contain;
}

.footer-nav {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--color-cyan-light);
}

.footer-bottom {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--color-cyan-light); }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  section { padding: 4.8rem 0; }
  .header-inner { padding: 12px 24px; }
  .nav-links { gap: 1.3rem; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual { max-width: 520px; }

  .about-grid { grid-template-columns: 0.8fr 1fr; gap: 2.5rem; }
  .intro-split { gap: 2.5rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .contact-grid { gap: 2.5rem; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.4rem; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(11, 13, 18, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 28px 2rem;
    gap: 1.1rem;
    transform: translateY(-140%);
    opacity: 0;
    transition: all 0.3s var(--ease);
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 66px);
    max-height: calc(100svh - 66px);
    overflow-y: auto;
  }

  .nav-links a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.05rem;
  }

  .nav-links .nav-cta {
    padding: 11px 22px;
    margin-top: 0.4rem;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-toggle { display: flex; }

  .intro-split,
  .about-grid,
  .contact-grid,
  .scope-grid {
    grid-template-columns: 1fr;
  }

  .intro-split { gap: 2rem; }
  .intro-split .intro-visual { order: -1; }

  .portrait {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero { padding: 7.5rem 0 3rem; }
  .about-hero, .legal { padding-top: 7rem; }
  section { padding: 3.8rem 0; }
  .section-header { margin: 0 auto 2.5rem; }
  form { padding: 1.8rem; }

  .lightbox { padding: 1rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 12px; right: 12px; }

  .cta-band { padding: 3rem 1.6rem; }
}

@media (max-width: 520px) {
  html { font-size: 15px; }

  .logo { font-size: 1.15rem; gap: 8px; }
  .logo img { height: 32px; }

  .gallery-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; padding: 2rem 1.4rem; }

  .hero { min-height: auto; padding: 7rem 0 3rem; }
  .hero p { font-size: 1rem; }
  .hero-meta { gap: 1.4rem; }

  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }

  .filter-btn { padding: 10px 16px; font-size: 0.85rem; }

  .code-body { font-size: 0.76rem; padding: 18px 16px 20px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-nav { gap: 1rem 1.4rem; }
}

/* ---------- Reduzierte Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .reveal { opacity: 1; transform: none; }
}
