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

:root {
  --bg: #FAFAF8;
  --bg-soft: #EFEFED;
  --text: #16161A;
  --muted: #6B6D72;
  --card-bg: #FFFFFF;
  --card-border: rgba(22,22,26,0.14);
  --accent: #4F5FD6;
  --accent-soft: rgba(79,95,214,0.13);
  --accent-ink: #F4F4F2;
  --navy: #16161A;
  --navy-soft: rgba(22,22,26,0.06);
  --hero-text: #F4F4F2;
  --hero-muted: #D6D6D4;
  --intro-bg: #121319;
  --intro-bg-soft: #1C1E28;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(22,22,26,0.22);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

a { text-decoration: none; color: inherit; }
img, svg { display: block; }

/* ---------- Background ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 15%, rgba(22,22,26,0.05), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(79,95,214,0.05), transparent 50%),
    var(--bg);
}

/* ---------- Logo ---------- */
.logo-icon { width: auto; height: 56px; object-fit: contain; }
.logo-icon.small { height: 52px; margin: 0 auto 0.5rem; }
.brand-mark { position: absolute; left: 1.5rem; top: 50%; transform: translateY(-50%); }
.brand-mark img { width: auto; height: 36px; object-fit: contain; }

/* ---------- Intro animation ---------- */
#intro {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 45%, var(--intro-bg-soft) 0%, var(--intro-bg) 70%);
  transition: opacity 0.9s cubic-bezier(.4,0,.2,1);
}
#intro.intro-hide { opacity: 0; pointer-events: none; }
.intro-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.intro-logo-wrap { position: relative; width: 640px; height: 179px; display: flex; align-items: center; justify-content: center; }
.intro-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.intro-canvas.ready { opacity: 1; }
.intro-logo.intro-logo-hidden { opacity: 0 !important; transition: opacity 0.4s ease; }
/* Logo itself only ever fades + gently scales in — deliberately no rotation/flip/skew, kept calm rather than flashy. */
.intro-logo {
  position: relative; z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.92);
  animation: introLogoIn 0.9s cubic-bezier(.16,.8,.24,1) forwards;
  animation-delay: 0.1s;
}
@keyframes introLogoIn {
  to { opacity: 1; transform: scale(1); }
}
.intro-tagline {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--hero-muted);
  text-align: center;
  max-width: 320px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(14px);
  animation: introTaglineIn 0.9s cubic-bezier(.16,.8,.24,1) forwards;
  animation-delay: 0.95s;
}
@keyframes introTaglineIn {
  to { opacity: 1; transform: translateY(0); }
}
.brand-mark img {
  opacity: 0;
  transform: scale(.96);
  animation: headerLogoIn 0.7s cubic-bezier(.16,.8,.24,1) forwards;
  animation-delay: 2.3s;
}
@keyframes headerLogoIn {
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .intro-logo, .intro-tagline, .brand-mark img {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22,22,26,0.1);
  overflow: visible;
}
.promo-banner {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
}
.promo-banner-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0 1rem;
  text-align: center;
}
.promo-banner-text-short { display: none; }

@media (max-width: 1100px) {
  .promo-banner-text-full { display: none; }
  .promo-banner-text-short { display: inline; }
}

.header-inner {
  position: relative;
  max-width: 1200px;
  height: 58px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
}
.main-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 2.6rem;
}
.main-nav a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-light { background: var(--accent); color: var(--accent-ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 25px -8px rgba(79,95,214,0.45); }
.btn-large { padding: 1rem 2rem; font-size: 1.05rem; }
.arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.header-actions {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-cta { display: inline-flex; }

.lang-switch { position: relative; }
.lang-switch.open .lang-toggle { border-color: var(--accent); }
.lang-toggle .lang-code,
.lang-toggle .lang-caret { display: none; }
.lang-flag { width: 20px; height: 15px; object-fit: cover; border-radius: 2px; display: block; box-shadow: 0 0 0 1px rgba(22,22,26,0.18); }
.lang-menu {
  position: absolute;
  top: 50%;
  right: calc(100% + 0.75rem);
  min-width: 155px;
  margin: 0;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 0.5rem;
  list-style: none;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-50%) translateX(6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.lang-switch.open .lang-menu { opacity: 1; transform: translateY(-50%) translateX(0); pointer-events: auto; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.88rem;
  padding: 0.5rem 0.75rem;
  border-radius: 9px;
  cursor: pointer;
  text-align: left;
  transition: background .15s ease, color .15s ease;
}
.lang-option:hover { background: rgba(22,22,26,0.06); color: var(--text); }
.lang-option.active { color: var(--text); font-weight: 600; }
.lang-option .lang-flag { width: 20px; height: 15px; }

.dock-divider { width: 26px; height: 1px; background: var(--card-border); margin: 0 auto; }

.nav-toggle {
  display: none;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 10.5rem 1.5rem 4rem;
  overflow: hidden;
  background: var(--bg);
}
@media (min-width: 981px) {
  .hero { min-height: 78vh; padding: 9rem 1.5rem 2.5rem; }
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.hero-video.active { opacity: 1; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(100deg, rgba(22,22,26,.94) 0%, rgba(22,22,26,.8) 28%, rgba(22,22,26,.4) 52%, rgba(22,22,26,.08) 72%, transparent 88%),
    linear-gradient(0deg, rgba(22,22,26,.55), transparent 35%);
}
.hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; width: 100%; color: var(--hero-text); }
.hero-heading { max-width: 900px; }
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  max-width: 900px;
}
.hero-sub {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--hero-muted);
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.btn-round {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.btn-round:hover { border-color: var(--accent); transform: translateY(3px); }

/* ---------- Social dock ---------- */
.social-dock {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.social-btn {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text);
  backdrop-filter: blur(10px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.social-btn svg { width: 21px; height: 21px; }
.social-btn:hover {
  transform: translateX(-5px);
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow);
}
.social-btn-label {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.social-btn:hover .social-btn-label { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- Section shared ---------- */
.section-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.section-kicker::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 0.5rem;
  background-image: linear-gradient(90deg, var(--navy) 0 6px, transparent 6px 10px);
  background-size: 10px 2px;
  background-repeat: repeat-x;
}
.projekte-page-head .section-kicker::after { margin-left: auto; margin-right: auto; }
.projekte, .kontakt {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  position: relative;
}
.projekte { padding-top: 1.5rem; }
.projekte-intro {
  max-width: 680px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.projekte-intro-text {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.projekte-intro-tagline {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  color: var(--accent);
  font-size: 1.05rem;
  position: relative;
  padding-top: 1.25rem;
}
.projekte-intro-tagline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 2px;
  background-image: linear-gradient(90deg, var(--navy) 0 6px, transparent 6px 10px);
  background-size: 10px 2px;
  background-repeat: repeat-x;
}
@media (max-width: 760px) {
  .projekte-intro { margin-bottom: 2.5rem; }
  .projekte-intro-text { font-size: 1rem; }
}
.kontakt h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
}
/* ---------- Alle-Projekte page ---------- */
.projekte-page { padding-top: 12.5rem; }

.back-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.back-banner:hover { color: var(--text); border-color: var(--accent); transform: translateX(-3px); }
.back-banner-arrow { font-size: 1rem; transition: transform 0.2s ease; }
.back-banner:hover .back-banner-arrow { transform: translateX(-2px); }

.projekte-page-head { text-align: center; margin-bottom: 2.75rem; }
.projekte-page-head .section-kicker { text-align: center; }
.projekte-page-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 0.75rem; }
.projekte-page-head p { color: var(--muted); font-size: 1.02rem; max-width: 560px; margin: 0 auto; }

/* ---------- Vorschau page ---------- */
.vorschau-hero {
  padding: 12.5rem 1.5rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}
.vorschau-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.vorschau-hero h1 em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  color: var(--accent);
}
.vorschau-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 2rem;
}
.vorschau-tags-label { font-weight: 600; margin-bottom: 1rem; }
.vorschau-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.vorschau-tag {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  font-size: 0.88rem;
  color: var(--text);
}
.vorschau-tag.more { color: var(--accent); font-weight: 600; border-style: dashed; }
.vorschau-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

.vorschau-steps { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem 6rem; }
.vorschau-steps-head { margin-bottom: 2.25rem; }
.vorschau-steps-head h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; margin-bottom: 0.5rem; }
.vorschau-steps-head p { color: var(--muted); font-size: 1rem; }
.vorschau-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.vorschau-step {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.75rem;
}
.vorschau-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy-soft);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 1rem;
}
.vorschau-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.vorschau-step p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

/* ---------- Projekte ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(22,22,26,0.35); box-shadow: var(--shadow); }
.card-link { position: absolute; inset: 0; z-index: 2; }

.card-preview {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--card-border);
}
.card-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(22,22,26,0) 50%, rgba(22,22,26,.88) 100%);
}
.card-preview-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .6s cubic-bezier(.22,1,.36,1), filter .6s ease;
  filter: saturate(1.05) brightness(.92);
}
.card:hover .card-preview-video { transform: scale(1.08); filter: saturate(1.15) brightness(1); }

.card-preview-video.cano-slide { opacity: 0; transition: opacity 1.2s ease, transform .6s cubic-bezier(.22,1,.36,1), filter .6s ease; }
.card-preview-video.cano-slide.active { opacity: 1; }

.card-logo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
}
.card-logo-img { max-width: 55%; max-height: 55%; object-fit: contain; }
.card-logo-fr { max-width: 42%; border-radius: 50%; box-shadow: 0 10px 28px rgba(0,0,0,.55); }
.card-logo-cano {
  max-width: 60%;
  filter: drop-shadow(0 0 6px rgba(255,255,255,.9)) drop-shadow(0 0 14px rgba(255,255,255,.7)) drop-shadow(0 0 26px rgba(255,255,255,.45));
}
.card-logo-bw { max-width: 48%; filter: drop-shadow(0 6px 18px rgba(0,0,0,.65)); }
.card-logo-sparkles {
  text-align: center;
  line-height: 1;
  filter: drop-shadow(0 3px 16px rgba(0,0,0,.9));
}
.card-logo-sparkles .logo-main { font-family: 'Caveat', cursive; font-size: 2.5rem; font-weight: 700; color: #f6efe3; }
.card-logo-sparkles .logo-main .dot { color: #e8b04b; }
.card-logo-sparkles .logo-sub {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f2c46b;
  opacity: .92;
  margin-top: 0.25rem;
}

.card-preview-tag {
  position: absolute;
  left: 1rem; bottom: 0.75rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}
.card:hover .card-preview-tag { opacity: 1; transform: translateY(0); }

.card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
}
.card h3 { font-size: 1.05rem; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(22,22,26,0.06);
  width: fit-content;
}
.status.live { color: #4ade80; }
.status.wip { color: #fbbf24; }

.status-hammer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.status-hammer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 50% 92%;
  animation: hammerSwing 1.4s ease-in-out infinite;
}
@keyframes hammerSwing {
  0% { transform: rotate(-32deg); }
  12% { transform: rotate(-32deg); }
  32% { transform: rotate(22deg); }
  44% { transform: rotate(16deg); }
  100% { transform: rotate(-32deg); }
}
@media (prefers-reduced-motion: reduce) {
  .status-hammer img { animation: none; transform: rotate(-16deg); }
}

.status-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: #4ade80;
}
.status-check svg { width: 22px; height: 22px; }

/* Free-preview CTA banner below the 4-project grid, spanning its full width. */
.projekte-cta-banner {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  background: linear-gradient(120deg, #26262e 0%, var(--navy) 75%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.projekte-cta-banner:hover { border-color: rgba(255,255,255,0.2); box-shadow: var(--shadow); }

.projekte-cta-banner-mock {
  flex-shrink: 0;
  width: 190px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
}

.projekte-cta-banner-heading {
  color: #fff;
  font-size: 1.2rem;
  flex: 1;
  min-width: 130px;
}

.projekte-cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
}
.projekte-cta-banner-btn { white-space: nowrap; padding: 0.7rem 1rem; }
.projekte-cta-banner-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.projekte-cta-banner-whatsapp:hover { color: #fff; }
.projekte-cta-banner-whatsapp svg { width: 17px; height: 17px; flex-shrink: 0; color: #25D366; }

.projekte-cta-banner-more {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: 0.85rem;
  padding: 0.65rem 1.1rem;
  white-space: nowrap;
}
.projekte-cta-banner-more:hover { border-color: #fff; transform: translateY(-2px); }

/* Between the phone breakpoint and full desktop width, the banner stacks its three
   segments (mock / heading / actions) vertically but keeps the action buttons
   themselves in one row — never each button on its own line. */
@media (max-width: 1180px) {
  .projekte-cta-banner { flex-direction: column; text-align: center; }
  .projekte-cta-banner-mock { width: 100%; max-width: 260px; }
  .projekte-cta-banner-actions { justify-content: center; }
}

@media (max-width: 760px) {
  .projekte-cta-banner { flex-direction: column; padding: 1.75rem 1.5rem; text-align: center; }
  .projekte-cta-banner-mock { width: 100%; max-width: 260px; }
  .projekte-cta-banner-actions { flex-direction: column; width: 100%; gap: 0.85rem; }
  .projekte-cta-banner-btn, .projekte-cta-banner-more { width: 100%; text-align: center; justify-content: center; }
}

.browser-mock-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.browser-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.browser-dot-red { background: #ff5f57; }
.browser-dot-yellow { background: #febc2e; }
.browser-dot-green { background: #28c840; }

.browser-mock-url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.4rem 0.6rem 0.55rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.72);
}
.browser-lock { width: 11px; height: 11px; flex-shrink: 0; opacity: 0.7; }
.browser-domain-wrap {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  width: 0;
}
.browser-domain-wrap.typed { transition: width 1.3s steps(22, end); }
.browser-domain { display: inline-block; white-space: nowrap; }
.browser-cursor {
  display: inline-block;
  width: 1px;
  height: 0.95em;
  background: var(--accent);
  margin-left: 1px;
  vertical-align: -0.15em;
  animation: browserCursorBlink 1s step-end infinite;
}
@keyframes browserCursorBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .browser-cursor { animation: none; }
  .browser-domain-wrap { width: auto; }
}

.card-cta-heading {
  color: #fff;
  font-size: 1.05rem;
  text-align: center;
  margin: 1.1rem 0 0;
}

.card-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.25rem 1.35rem;
}
.card-cta-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  font-size: 0.82rem;
  padding: 0.7rem 0.9rem;
}
.card-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}
.card-cta-whatsapp:hover { color: #fff; }
.card-cta-whatsapp svg { width: 15px; height: 15px; flex-shrink: 0; color: #25D366; }

.projekte-group { margin-bottom: 3.25rem; }
.projekte-group:last-child { margin-bottom: 0; }
.projekte-group-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

/* ---------- FAQ page ---------- */
.faq-page { padding-top: 12.5rem; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.faq-item {
  background: #F4F4F2;
  border: 1px solid rgba(22,22,26,0.14);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.open { border-color: var(--navy); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.faq-q-badge {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-q-text { flex: 1; font-weight: 700; color: var(--text); font-size: 0.98rem; }
.faq-chevron { flex-shrink: 0; color: var(--muted); font-size: 1.1rem; transition: transform 0.3s ease; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--navy); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(.22,1,.36,1); }
.faq-answer-inner { padding: 0 1.25rem 1.25rem 3.25rem; }
.faq-answer-inner p { color: var(--text); font-size: 0.92rem; line-height: 1.65; }

/* ---------- Preisliste ---------- */
.preise { background: #ffffff; padding: 6rem 1.5rem; }
.preise-inner {
  max-width: 980px;
  margin: 0 auto;
  color: var(--text);
}
.preise-inner h2 {
  text-align: center;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.preise-sub { text-align: center; color: var(--muted); font-size: 0.98rem; margin-bottom: 1.5rem; }
.preise-divider {
  height: 4px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy), var(--accent));
  margin-bottom: 2.5rem;
}

.preise-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.75rem; }
.preise-card {
  position: relative;
  background: #F4F4F2;
  border: 1px solid rgba(22,22,26,0.14);
  border-radius: 14px;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.preise-card:hover, .preise-card:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 34px -18px rgba(22,22,26,0.35); border-color: var(--navy); }
.preise-card:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.preise-card.featured {
  background: rgba(79,95,214,0.09);
  border: 2px solid var(--accent);
  box-shadow: 0 12px 30px -14px rgba(79,95,214,0.4);
  animation: preiseCardFloat 3s ease-in-out infinite;
}
.preise-card.featured:hover, .preise-card.featured:focus-visible { animation: none; }
@keyframes preiseCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .preise-card.featured { animation: none; }
}
.preise-more {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}
.preise-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.preise-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.preise-price { font-size: 1.7rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }

/* Prices hidden until an Impressum is in place (Preisangaben ohne Anbieterkennzeichnung
   sind rechtlich problematisch) — blurred rather than removed so the layout/structure
   stays intact for a later reveal, and hidden from assistive tech via aria-hidden. */
.price-blur { filter: blur(6px); user-select: none; }
.preise-desc { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.5; }
.preise-card ul { list-style: none; }
.preise-card li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.preise-card li::before { content: "•"; position: absolute; left: 0; color: var(--navy); font-weight: 700; }

.preise-table-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.75rem 0 0.75rem;
}
.preise-table-title::before { content: ""; display: block; width: 4px; height: 1rem; background: var(--navy); border-radius: 2px; }
.preise-table-wrap { overflow-x: auto; border: 1px solid rgba(22,22,26,0.14); border-radius: 10px; }
.preise-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.preise-table thead th {
  text-align: left;
  background: rgba(22,22,26,0.05);
  color: var(--text);
  font-weight: 700;
  padding: 0.5rem 1rem;
}
.preise-table thead th:last-child { text-align: right; }
.preise-table td { padding: 0.75rem 1rem; border-top: 1px solid rgba(22,22,26,0.12); color: var(--text); }
.preise-table td:last-child { text-align: right; font-weight: 700; color: var(--navy); }
.preise-table td.muted { color: var(--muted); font-weight: 600; }

.hosting-block { margin-top: 3.25rem; padding-top: 2.75rem; border-top: 1px solid rgba(22,22,26,0.12); }
.hosting-block h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3.4vw, 1.9rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.hosting-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.hosting-card {
  background: #F4F4F2;
  border: 1px solid rgba(22,22,26,0.14);
  border-radius: 14px;
  padding: 1.5rem;
}
.hosting-card.featured {
  background: rgba(79,95,214,0.09);
  border: 2px solid var(--accent);
  box-shadow: 0 12px 30px -14px rgba(79,95,214,0.4);
  animation: preiseCardFloat 3s ease-in-out infinite;
}
.hosting-card.featured:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .hosting-card.featured { animation: none; }
}
.hosting-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.preise-price-unit { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.hosting-card .preise-desc { margin-top: 0.5rem; }
.hosting-card ul { list-style: none; }
.hosting-card li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.hosting-card li::before { content: "•"; position: absolute; left: 0; color: var(--navy); font-weight: 700; }

.preise-hint {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.85rem;
  color: #78350f;
  line-height: 1.6;
  margin-top: 1.75rem;
}
.preise-hint strong { margin-right: 0.25rem; }

.preise-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(22,22,26,0.12);
}
.preise-footnote { font-size: 0.78rem; color: var(--muted); }
.preise-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: 0 10px 24px -10px rgba(22,22,26,0.5);
}
.preise-cta:hover { transform: translateY(-2px); background: var(--accent); color: var(--accent-ink); }

/* ---------- Package detail modal ---------- */
.package-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(22,22,26,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.package-modal-overlay.open { opacity: 1; pointer-events: auto; }
.package-modal-box {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem 2.25rem;
  color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s ease;
}
.package-modal-overlay.open .package-modal-box { transform: translateY(0) scale(1); }
.package-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(22,22,26,0.14);
  background: #F4F4F2;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.package-modal-close svg { width: 16px; height: 16px; }
.package-modal-close:hover { background: rgba(79,95,214,0.1); border-color: var(--navy); }
.package-modal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; padding-right: 2rem; }
.package-modal-head h3 { font-size: 1.4rem; font-weight: 700; color: var(--text); }
.package-modal-price { font-size: 1.5rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.package-modal-subtitle { font-style: italic; color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.package-modal-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; margin-bottom: 1.5rem; }
.package-modal-columns h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.package-modal-columns ul { list-style: none; }
.package-modal-columns li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.package-modal-columns li::before { content: "✓"; position: absolute; left: 0; color: var(--navy); font-weight: 700; font-size: 0.8rem; }
.package-modal-meta {
  border-top: 1px solid rgba(22,22,26,0.12);
  padding-top: 1rem;
  margin-bottom: 1.25rem;
}
.package-modal-meta p { font-size: 0.85rem; color: var(--text); margin-bottom: 0.25rem; }
.package-modal-meta strong { color: var(--text); }
.package-modal-hint {
  background: #F4F4F2;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ---------- Kontakt ---------- */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}
.kontakt-info h2 { margin-bottom: 0.75rem; }
.kontakt-subheading {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}
.kontakt-text {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 1rem;
}
.kontakt-text-bold { color: var(--text); font-weight: 600; }

/* ---------- Business card flip ---------- */
.business-card {
  margin-top: 2rem;
  max-width: 380px;
  perspective: 1600px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.business-card:hover, .business-card:focus-visible { transform: translateY(-4px); }
.business-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.business-card-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 900 / 583;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(.22,1,.36,1);
}
.business-card.flipped .business-card-inner { transform: rotateY(180deg); }
.business-card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
}
.business-card-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.business-card-back { transform: rotateY(180deg); }
.business-card-hint {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .business-card-inner { transition: none; }
}

.fly-in {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.8s cubic-bezier(.16,.8,.24,1), transform 0.8s cubic-bezier(.16,.8,.24,1);
}
.fly-in.in-view { opacity: 1; transform: translateX(0); }
.fly-in-delay { transition-delay: 0.15s; }
@media (prefers-reduced-motion: reduce) {
  .fly-in { opacity: 1; transform: none; transition: none; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.kontakt-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color .2s ease, background .2s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { outline: none; border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6472' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
}
.form-field select option,
.form-field select optgroup { background: var(--card-bg); color: var(--text); }
.form-field select:invalid,
.form-field select option[value=""] { color: var(--muted); }
.form-note { color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.kontakt-form .btn { align-self: flex-start; margin-top: 0.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid rgba(22,22,26,0.1);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .vorschau-steps-grid { grid-template-columns: 1fr 1fr; }
}

/* Nav/header collapse — breakpoint deliberately wider than the general 760px mobile query below, so mid-width viewports (tablets, phones in landscape) never end up in the cramped "inline nav + lang-switch + CTA all fighting for space" desktop layout, which is what caused Kontakt to become unclickable behind the lang-switch. */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    transform: none;
    background: rgba(250,250,248,0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(22,22,26,0.1);
  }
  .main-nav.open { display: flex; z-index: 105; }
  .nav-toggle { display: flex; right: 0.75rem; }
  .header-actions { right: 1.5rem; }
  .nav-cta { display: none; }
}

@media (max-width: 760px) {
  .brand-mark img { height: 32px; }
  .intro-logo-wrap { width: 380px; height: 106px; }
  .intro-tagline { font-size: 0.95rem; max-width: 260px; }

  .promo-banner { height: 36px; }
  .promo-banner-inner { font-size: 0.72rem; gap: 0.25rem; padding: 0 0.5rem; }
  .promo-banner-text-full { display: none; }
  .promo-banner-text-short { display: inline; }

  .hero { padding-top: 9.75rem; }
  .hero-video { object-position: center center; }
  .grid { grid-template-columns: 1fr; }
  .projekte-page { padding-top: 9.75rem; }
  .vorschau-hero { padding-top: 9.75rem; }
  .vorschau-steps-grid { grid-template-columns: 1fr; }

  .social-dock { right: 0.75rem; gap: 0.5rem; }
  .social-btn { width: 42px; height: 42px; }
  .social-btn svg { width: 18px; height: 18px; }
  .social-btn-label { display: none; }

  .kontakt-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .preise { padding: 3.5rem 1rem; }
  .faq-page { padding-top: 9.75rem; }
  .faq-answer-inner { padding-left: 1.25rem; }
  .preise-cards { grid-template-columns: 1fr; }
  .hosting-cards { grid-template-columns: 1fr; }
  .preise-footer-row { flex-direction: column; align-items: stretch; text-align: center; }
  .preise-cta { justify-content: center; }

  .package-modal-box { padding: 1.75rem 1.25rem; }
  .package-modal-columns { grid-template-columns: 1fr; gap: 1.25rem 0; }
  .package-modal-head { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
}
