/* ═══════════════════════════════════════════
   PSTUDIO — Referenzseite Styles
   Pure Static CSS (no Tailwind CDN)
   ═══════════════════════════════════════════ */

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  --bg: #0A0A0F;
  --bg-alt: #111118;
  --bg-darker: #0C0C12;
  --bg-darkest: #060609;
  --surface: #16161E;
  --surface-elevated: #1C1C26;
  --surface-input: #0f0f17;
  --accent: #FB6C0D;
  --accent-hover: #ff7d24;
  --accent-light: rgba(251, 108, 13, 0.12);
  --accent-glow: rgba(251, 108, 13, 0.06);
  --text: #F5F5F0;
  --text-bright: #E8E8F0;
  --text-sec: #8A8A9A;
  --text-muted: #55555F;
  --text-light: #B0B0BE;
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.04);
  --border-input: rgba(255, 255, 255, 0.08);
  --emerald: #22c55e;
  --emerald-light: rgba(34, 197, 94, 0.15);
  --emerald-border: rgba(34, 197, 94, 0.12);
  --red: #ef4444;
  --red-light: rgba(239, 68, 68, 0.1);
  --red-border: rgba(239, 68, 68, 0.2);
  --font-heading: 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --font-drama: 'Lora', Georgia, serif;
  --font-display: 'Anton', system-ui, sans-serif;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}

::selection { background: rgba(251, 108, 13, 0.15); color: var(--text); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; transition: opacity 0.4s ease; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.15); }

/* ─── TYPOGRAPHY ─── */
.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }
.font-drama { font-family: var(--font-drama); }
.font-display { font-family: var(--font-display); }

/* ─── LAYOUT UTILITIES ─── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── NOISE OVERLAY ─── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
}
.noise-overlay svg { width: 100%; height: 100%; }

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.5s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo { flex-shrink: 0; }
.navbar-logo img { height: 2rem; width: auto; }
.navbar-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-sec);
}
.navbar-links a:hover { color: var(--accent); transition: color 0.2s; }
.navbar-cta-desktop {
  display: none;
  align-items: center;
  height: 2.75rem;
  padding: 0 1.75rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
}
.navbar-cta-desktop:hover { background: var(--accent-hover); }
.hamburger {
  color: rgba(255, 255, 255, 0.8);
  display: block;
}
.hamburger svg { width: 26px; height: 26px; }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-top: 1px solid var(--border-light);
  padding: 2rem 1.5rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.625rem 0;
}
.mobile-menu .mobile-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.875rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 9999px;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .navbar-logo img { height: 2.25rem; }
  .navbar-links { display: flex; }
  .navbar-cta-desktop { display: inline-flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 8rem 1.5rem 5rem;
  overflow: hidden;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(251, 108, 13, 0.03), transparent, transparent);
  pointer-events: none;
}
.hero-bg-glow1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 60vw;
  height: 60vw;
  background: rgba(251, 108, 13, 0.02);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero-bg-glow2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40vw;
  height: 40vw;
  background: rgba(251, 108, 13, 0.015);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero-content {
  max-width: 1152px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}
.hero-inner { max-width: 56rem; }

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}
.hero-badge-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Headline */
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: 0.025em;
  margin-bottom: 2rem;
  color: var(--text);
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--text-bright);
  line-height: 1.625;
  max-width: 42rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .hero-sub { font-size: 1.25rem; }
}

/* CTA Row */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 4rem;
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  height: 3.5rem;
  padding: 0 2.25rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 9999px;
  transition: all 0.3s ease;
}
.hero-cta-btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 50px rgba(251, 108, 13, 0.25);
}
.hero-cta-btn svg { margin-left: 0.5rem; }
.hero-cta-hint {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 28rem;
}
@media (min-width: 768px) { .hero-stats { gap: 2.5rem; } }
.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
}
@media (min-width: 768px) { .hero-stat-number { font-size: 1.875rem; } }
.hero-stat-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}
@media (min-width: 768px) { .hero-stat-label { font-size: 0.875rem; } }

/* ═══════════════════════════════════════════
   LOGO WALL
   ═══════════════════════════════════════════ */
.logo-wall {
  padding: 4rem 1.5rem 4rem;
  background: var(--bg-darker);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .logo-wall { padding: 5rem 1.5rem; } }
.logo-wall-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg), transparent, var(--bg));
  pointer-events: none;
  opacity: 0.3;
}
.logo-wall-header {
  text-align: center;
  margin-bottom: 4rem;
}
.logo-wall-header .label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}
.logo-wall-header h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.025em;
}
@media (min-width: 768px) {
  .logo-wall-header h2 { font-size: 3.75rem; }
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  background: #0E0E15;
}
@media (min-width: 640px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .logo-grid { grid-template-columns: repeat(5, 1fr); } }
.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.5s ease;
}
@media (min-width: 768px) { .logo-cell { padding: 2rem; } }
@media (min-width: 1024px) { .logo-cell { padding: 2.5rem; } }
.logo-cell:hover { background: rgba(255, 255, 255, 0.03); }
.logo-cell img {
  height: 2.5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.8;
  filter: brightness(0) invert(1);
  transition: all 0.5s ease;
}
@media (min-width: 768px) { .logo-cell img { height: 3.5rem; } }
@media (min-width: 1024px) { .logo-cell img { height: 4rem; } }
.logo-cell:hover img { opacity: 1; }
.logo-cell.hide-desktop { display: flex; }
@media (min-width: 768px) { .logo-cell.hide-desktop { display: none; } }

/* ═══════════════════════════════════════════
   CASE OVERVIEW (Cards)
   ═══════════════════════════════════════════ */
.case-overview {
  padding: 7rem 1.5rem;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.case-overview-dots {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
}
.case-overview-header {
  text-align: center;
  margin-bottom: 5rem;
}
.case-overview-header .label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}
.case-overview-header h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.025em;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .case-overview-header h2 { font-size: 3.75rem; }
}
.case-overview-header h2 .accent { color: var(--accent); }
.case-overview-header p {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--text-bright);
  max-width: 42rem;
  margin: 0 auto;
}

/* Case cards grid */
.case-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .case-cards { grid-template-columns: repeat(2, 1fr); } }

.case-card {
  position: relative;
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.5s ease;
}
.case-card:hover {
  border-color: rgba(251, 108, 13, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 40px 80px -20px rgba(251, 108, 13, 0.08);
}
.case-card-content {
  padding: 1.75rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 768px) { .case-card-content { padding: 2.25rem; } }

/* Card top row */
.case-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.case-card-top-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.case-card-logo-wrap {
  width: 5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-input);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0.5rem;
}
.case-card-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.case-card-branche {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}
.case-card-arrow {
  color: rgba(176, 176, 190, 0.5);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.case-card:hover .case-card-arrow {
  color: var(--accent);
  transform: translate(4px, -4px);
}

/* Card name */
.case-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.025em;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .case-card h3 { font-size: 1.875rem; } }

/* Result highlight */
.case-card-result {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid var(--emerald-border);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.case-card-result-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.case-card-result-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: #4ade80;
  font-weight: 700;
}
@media (min-width: 768px) { .case-card-result-text { font-size: 1.25rem; } }

/* Stat row */
.case-card-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
}
.case-card-stats .before {
  color: var(--text-light);
  text-decoration: line-through;
}
.case-card-stats .after {
  color: #4ade80;
  font-weight: 700;
}

/* Hover CTA */
.case-card-hover-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.025em;
  margin-top: 1.25rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}
.case-card:hover .case-card-hover-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Bottom hint */
.case-overview-bottom {
  margin-top: 3rem;
  text-align: center;
}
.case-overview-bottom p {
  font-family: var(--font-body);
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.case-overview-bottom .btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 2rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
}
.case-overview-bottom .btn-accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 40px rgba(251, 108, 13, 0.2);
}

/* ═══════════════════════════════════════════
   CASE STUDY DETAIL BLOCKS
   ═══════════════════════════════════════════ */
.case-detail {
  padding: 7rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.case-detail.bg-dark { background: var(--bg); }
.case-detail.bg-alt { background: var(--bg-alt); }
.case-detail-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  filter: blur(180px);
  pointer-events: none;
  background: rgba(251, 108, 13, 0.024);
}

/* Hero row: Screenshot + Header */
.case-detail-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 5rem;
}
@media (min-width: 768px) {
  .case-detail-hero { grid-template-columns: repeat(2, 1fr); gap: 4rem; }
}
.case-detail-hero.reverse .case-detail-screenshot { order: 1; }
@media (min-width: 768px) {
  .case-detail-hero.reverse .case-detail-screenshot { order: 2; }
}

/* Browser Mockup */
.browser-mockup {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}
.browser-chrome {
  background: #1a1a22;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}
.browser-dots { display: flex; gap: 0.375rem; }
.browser-dots span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1;
  background: var(--surface-input);
  border-radius: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-light);
}
.browser-mockup img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

/* Case detail header */
.case-detail-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}
@media (min-width: 768px) { .case-detail-label { font-size: 1rem; } }
.case-detail h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.025em;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .case-detail h2 { font-size: 3.75rem; } }
.case-detail-branche {
  font-family: var(--font-body);
  color: var(--text-bright);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* Stat Box */
.stat-box {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}
.stat-box.bg-surface { background: var(--surface); }
.stat-box.bg-input { background: var(--surface-input); }
.stat-box-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-bright);
  margin-bottom: 0.75rem;
}
.stat-box-values {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.stat-box-values .before {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-light);
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.5);
}
@media (min-width: 768px) { .stat-box-values .before { font-size: 1.875rem; } }
.stat-box-values .after {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #4ade80;
  font-weight: 700;
}
@media (min-width: 768px) { .stat-box-values .after { font-size: 1.875rem; } }

/* Ausgangssituation */
.ausgangssituation-card {
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 4rem;
}
.ausgangssituation-card.bg-surface { background: var(--surface); }
.ausgangssituation-card.bg-input { background: var(--surface-input); }
.ausgangssituation-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.ausgangssituation-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ausgangssituation-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.025em;
}
@media (min-width: 768px) { .ausgangssituation-header h3 { font-size: 1.5rem; } }
.ausgangssituation-card p {
  font-family: var(--font-body);
  color: var(--text-bright);
  line-height: 1.8;
}

/* Loesung */
.loesung-section { margin-bottom: 4rem; }
.loesung-section h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.025em;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .loesung-section h3 { font-size: 1.5rem; } }
.loesung-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) { .loesung-grid { grid-template-columns: repeat(2, 1fr); } }
.loesung-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: border-color 0.3s ease;
}
.loesung-item.bg-surface { background: var(--surface); }
.loesung-item.bg-input { background: var(--surface-input); }
.loesung-item:hover { border-color: var(--border-input); }
.loesung-check {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.loesung-item span {
  font-family: var(--font-body);
  color: var(--text-bright);
  line-height: 1.625;
}

/* Ergebnis */
.ergebnis-card {
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
@media (min-width: 768px) { .ergebnis-card { padding: 2.5rem; } }
.ergebnis-card.bg-surface { background: var(--surface); }
.ergebnis-card.bg-input { background: var(--surface-input); }
.ergebnis-card-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: linear-gradient(to right, var(--emerald), transparent);
}
.ergebnis-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: #4ade80;
  letter-spacing: 0.025em;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .ergebnis-card h3 { font-size: 1.5rem; } }
.ergebnis-card p {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: #fff;
  line-height: 1.8;
}

/* Mini CTA */
.mini-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(251, 108, 13, 0.032), transparent);
}
@media (min-width: 640px) {
  .mini-cta { flex-direction: row; }
}
@media (min-width: 768px) { .mini-cta { padding: 2rem; } }
.mini-cta p {
  font-family: var(--font-body);
  color: var(--text-bright);
  flex: 1;
  text-align: center;
  line-height: 1.625;
}
@media (min-width: 640px) { .mini-cta p { text-align: left; } }
.mini-cta p strong { color: #fff; font-weight: 600; }
.mini-cta .btn-accent {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 3rem;
  padding: 0 1.75rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
}
.mini-cta .btn-accent:hover { background: var(--accent-hover); }

/* ═══════════════════════════════════════════
   WEITERE PROJEKTE
   ═══════════════════════════════════════════ */
.weitere-projekte {
  background: var(--bg);
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.weitere-header {
  text-align: center;
  margin-bottom: 4rem;
}
.weitere-header .label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}
.weitere-header h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.025em;
}
@media (min-width: 768px) { .weitere-header h2 { font-size: 3rem; } }
.weitere-header h2 .accent { color: var(--accent); }

.weitere-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .weitere-grid { grid-template-columns: repeat(2, 1fr); } }

.weitere-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.5s ease;
}
.weitere-card:hover {
  border-color: rgba(251, 108, 13, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
}
.weitere-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface);
}
.weitere-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.weitere-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--surface), transparent, transparent);
}
.weitere-card-info {
  padding: 1.25rem;
  margin-top: -1.5rem;
  position: relative;
  z-index: 10;
}
.weitere-card-branche {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.25rem;
}
.weitere-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.025em;
}

/* ═══════════════════════════════════════════
   FINAL CTA + CONTACT FORM
   ═══════════════════════════════════════════ */
.final-cta {
  position: relative;
  padding: 7rem 1.5rem;
  overflow: hidden;
}
.final-cta-bg1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(251, 108, 13, 0.04), transparent);
  pointer-events: none;
}
.final-cta-bg2 {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 40vw;
  background: rgba(251, 108, 13, 0.03);
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
}
.final-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .final-cta-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; }
}

/* Left text column */
.final-cta-text .label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}
.final-cta-text h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--text);
  letter-spacing: 0.025em;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
@media (min-width: 768px) { .final-cta-text h2 { font-size: 3rem; } }
.final-cta-text h2 .accent { color: var(--accent); text-transform: none; }
.final-cta-text > p {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--text-bright);
  margin-bottom: 2rem;
  line-height: 1.625;
}
.final-cta-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.final-cta-benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-bright);
}
.benefit-check {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Luca card */
.luca-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 1rem;
}
.luca-card img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  border: 2px solid rgba(251, 108, 13, 0.3);
}
.luca-card-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}
.luca-card-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-light);
}
.luca-card-phone {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 700;
}
.luca-card-phone:hover { text-decoration: underline; }

/* Contact Form */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
}
@media (min-width: 768px) { .contact-form-wrap { padding: 2.5rem; } }
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.025em;
  margin-bottom: 0.5rem;
}
.contact-form-wrap > p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.form-row .form-group { margin-bottom: 0; }
.form-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.5rem;
}
.form-input,
.form-textarea {
  width: 100%;
  background: var(--surface-input);
  border: 1px solid var(--border-input);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(176, 176, 190, 0.4);
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
}
.form-input:disabled,
.form-textarea:disabled {
  opacity: 0.5;
}
.form-textarea { resize: none; }

.form-error {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}
.form-error span {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #f87171;
}

.form-submit {
  width: 100%;
  height: 3.5rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
.form-submit:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 40px rgba(251, 108, 13, 0.25);
}
.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.form-footer {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(176, 176, 190, 0.6);
  text-align: center;
  margin-top: 1.25rem;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 3rem 0;
}
.form-success-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: breathe 2s ease-in-out infinite;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.025em;
  margin-bottom: 0.75rem;
}
.form-success p {
  font-family: var(--font-body);
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}
.form-success p.small {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  background: var(--bg-darkest);
  padding: 4rem 1.5rem 2.5rem;
  border-top: 1px solid var(--border-light);
}
.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-top { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-brand img { height: 1.75rem; margin-bottom: 1rem; }
.footer-brand p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-light);
  max-width: 20rem;
  line-height: 1.625;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-bright);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(176, 176, 190, 0.7);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a { transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */

/* CTA Pulse */
.cta-pulse {
  position: relative;
  z-index: 1;
}
.cta-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--accent);
  z-index: -1;
  opacity: 0;
  filter: blur(12px);
  animation: pulse-glow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.04); }
}
.cta-pulse:hover::after {
  animation: none;
  opacity: 0.4;
  filter: blur(16px);
  transform: scale(1.06);
  transition: all 0.3s ease;
}
.cta-pulse:hover {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}

/* Dot Pulse */
@keyframes dot-p {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(251, 108, 13, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(251, 108, 13, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(251, 108, 13, 0); }
}
.dot-pulse { animation: dot-p 2s infinite; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Spin */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin { animation: spin 1s linear infinite; }

/* Breathe (for success icon) */
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Sweep in */
@keyframes sweep {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* BG Dots Pattern */
.bg-dots {
  background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ═══════════════════════════════════════════
   UTILITY HELPERS
   ═══════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.hidden { display: none !important; }
