:root {
  --color-bg: #FFFFFF;
  --color-bg-alt: #F2F2F2;
  --color-fg: #000000;
  --color-accent: #E1272C;
  --font-headline: 'Benzin', 'Arial Black', sans-serif;
  --font-body: 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
}

@font-face {
  font-family: 'Benzin';
  src: url('../assets/fonts/Benzin-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

body {
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: 16px;
  overflow-x: hidden;
}

section { padding: 96px 24px; max-width: var(--max-width); margin: 0 auto; }

h1, h2, h3 { font-family: var(--font-headline); text-transform: uppercase; line-height: 1.05; overflow-wrap: break-word; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 14px 32px;
  background: var(--color-accent);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 4px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(225,39,44,0.35); }
.btn:focus-visible { outline: 3px solid var(--color-fg); outline-offset: 2px; }

.btn--pill {
  background: transparent;
  border: 1.5px solid var(--color-fg);
  border-radius: 999px;
  color: var(--color-fg);
}
.btn--pill:hover { background: var(--color-fg); color: var(--color-bg); box-shadow: none; transform: none; }

#site-nav {
  --color-bg: #000000;
  --color-fg: #FFFFFF;
  color: var(--color-fg);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  transition: background 400ms ease, backdrop-filter 400ms ease;
}
#site-nav.nav-scrolled { background: transparent; backdrop-filter: none; }
#site-nav.nav-scrolled ul a,
#site-nav.nav-scrolled .nav-cta { text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
#site-nav.nav-scrolled .nav-cta { background: rgba(0,0,0,0.35); }
#site-nav .logo { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
#site-nav .logo img { height: 32px; width: auto; display: block; transition: height 400ms ease; }
#site-nav.nav-scrolled .logo img { height: 16px; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6)); }
#site-nav .nav-cta { margin-left: 24px; padding: 10px 24px; font-size: 0.9rem; }
#site-nav ul { display: flex; gap: 32px; }
#site-nav a { min-height: 44px; display: flex; align-items: center; }
#site-nav a:hover { color: var(--color-accent); }
#site-nav a:focus-visible { outline: 3px solid var(--color-fg); outline-offset: 2px; }
#nav-toggle { display: none; }
#nav-toggle:focus-visible { outline: 3px solid var(--color-fg); outline-offset: 2px; }

@media (max-width: 767px) {
  #site-nav ul {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--color-bg);
    transform: translateY(-150%);
    transition: transform 300ms ease;
  }
  #site-nav ul.open { transform: translateY(0); }
  #site-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; }
  #site-nav ul li a { padding: 16px 24px; width: 100%; }
  #site-nav .nav-cta { display: none; }
  #nav-toggle { display: block; min-width: 44px; min-height: 44px; color: var(--color-fg); font-size: 1.5rem; }
}

#hero {
  --color-bg: #000000;
  --color-fg: #FFFFFF;
  background: var(--color-bg);
  color: var(--color-fg);
  min-height: 100dvh;
  max-width: none;
  margin: 0;
  padding: 96px 0 0;
  position: relative;
  overflow: hidden;
  transform-origin: center top;
}
#hero .hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  opacity: 1;
  transition: opacity 700ms ease;
}
#hero .hero-bg--commercial {
  background: url('../assets/images/hero-bg.jpg') center/cover;
}
#hero .hero-bg--commercial::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.85));
  z-index: 1;
}
#hero .hero-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
#hero .hero-bg--wedding {
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.75)), url('../assets/images/wedding/hero.jpg') center/cover;
  opacity: 0;
}
#hero .hero-content {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  opacity: 1;
  transition: opacity 700ms ease;
}
#hero .hero-content--wedding {
  opacity: 0;
  pointer-events: none;
}
#hero[data-hero-mode="wedding"] .hero-bg--commercial,
#hero[data-hero-mode="wedding"] .hero-content--commercial {
  opacity: 0;
  pointer-events: none;
}
#hero[data-hero-mode="wedding"] .hero-bg--wedding,
#hero[data-hero-mode="wedding"] .hero-content--wedding {
  opacity: 1;
  pointer-events: auto;
}
#hero h1 { font-size: clamp(2.5rem, 8vw, 5rem); max-width: 900px; }
#hero .hero-content--commercial p { margin-top: 24px; max-width: 560px; font-size: 1.125rem; }
#hero .hero-content--commercial .btn { margin-top: 40px; align-self: flex-start; }
#hero .hero-content--wedding h2 {
  font-family: 'Playfair Display', Georgia, serif;
  text-transform: none;
  font-size: clamp(2rem, 6vw, 3.5rem);
  max-width: 640px;
  color: #FAF8F5;
}
#hero .hero-content--wedding p {
  margin-top: 20px;
  max-width: 480px;
  font-size: 1.05rem;
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  color: rgba(250,248,245,0.85);
}
#hero .hero-content--wedding .btn { margin-top: 40px; align-self: flex-start; }
.btn.btn--wedding { background: #C9A876; color: #3A3530; }
.btn.btn--wedding:hover { box-shadow: 0 8px 20px rgba(201,168,118,0.35); }

.hero-switch {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-switch-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 700ms ease;
}
.hero-switch-toggle {
  width: 56px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  position: relative;
  cursor: pointer;
}
.hero-switch-toggle::before {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 56px; height: 30px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  transition: background 300ms ease;
}
.hero-switch-toggle:focus-visible { outline: 3px solid var(--color-fg); outline-offset: 3px; }
.hero-switch-knob {
  position: absolute;
  top: 50%; left: 3px;
  width: 24px; height: 24px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #fff;
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
#hero[data-hero-mode="wedding"] .hero-switch-toggle::before { background: #C9A876; }
#hero[data-hero-mode="wedding"] .hero-switch-knob { transform: translateY(-50%) translateX(26px); }

#kundenlogos {
  max-width: none;
  margin: 0;
  padding: 48px 0;
  overflow: hidden;
}
#kundenlogos .logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
#kundenlogos .logo-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: logo-scroll 28s linear infinite;
}
#kundenlogos .logo-marquee:hover .logo-track { animation-play-state: paused; }
#kundenlogos .logo-card {
  flex: none;
  width: 168px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
}
#kundenlogos .logo-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* one-studio.png is white artwork baked onto a black background (not real
   transparency). Keying the black out via Pillow would leave invisible
   white-on-white marks against this now-white section, so instead give this
   card an intentional dark chip so it reads as a badge rather than a bug. */
#kundenlogos .logo-card:has(img[src*="one-studio"]) {
  background: #000;
  border-radius: 8px;
}
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

#leistungen h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 48px; }
#leistungen .service-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
#leistungen .service-item { border-top: 1px solid rgba(0,0,0,0.15); }
#leistungen .service-item:last-child { border-bottom: 1px solid rgba(0,0,0,0.15); }
#leistungen .service-toggle {
  width: 100%; min-height: 44px;
  display: flex; align-items: center; gap: 20px;
  padding: 20px 0; background: transparent; border: none; color: var(--color-fg);
  text-align: left; cursor: pointer; font-size: 1.1rem;
}
#leistungen .service-toggle:hover { color: var(--color-accent); }
#leistungen .service-toggle:focus-visible { outline: 3px solid var(--color-fg); outline-offset: -3px; }
#leistungen .service-toggle .num { font-family: var(--font-headline); color: var(--color-accent); font-size: 1.5rem; flex: none; }
#leistungen .service-detail { overflow: hidden; height: 0; padding: 0; }
#leistungen .service-item.is-open .service-detail { padding: 0 0 24px 44px; height: auto; }
#leistungen .service-detail p { color: rgba(0,0,0,0.75); max-width: 44ch; }
#leistungen .service-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; height: 420px; }
#leistungen .service-collage-block { width: 100%; height: 100%; border-radius: 4px; background: var(--color-bg-alt); }
#leistungen .service-collage-block:nth-child(1) { clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%); }
#leistungen .service-collage-block:nth-child(3) { clip-path: polygon(0 0, 85% 0, 100% 100%, 15% 100%); }
@media (max-width: 900px) {
  #leistungen .service-layout { grid-template-columns: 1fr; }
  #leistungen .service-collage { display: none; }
}

#projekte .case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-card {
  position: relative;
  border-radius: 4px;
  background: var(--color-bg-alt);
}
.case-card.is-expanded { grid-column: 1 / -1; }
.case-media {
  --color-fg: #FFFFFF;
  color: var(--color-fg);
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-media--placeholder {
  background: #0d0d0d;
  display: flex;
  align-items: flex-end;
}
.case-media .case-index {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-headline);
  font-size: 0.85rem;
  color: var(--color-fg);
  background: rgba(0,0,0,0.5);
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 2;
}
.case-media .case-info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
}
.case-media .case-info h3 { font-size: 1.1rem; }
.case-media .case-info .case-category { color: var(--color-accent); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.case-media .case-info .stats { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 4px; }

.case-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(0,0,0,0.1);
  color: var(--color-fg);
  font-size: 0.85rem;
  cursor: pointer;
}
.case-toggle:hover { color: var(--color-accent); }
.case-toggle:focus-visible { outline: 3px solid var(--color-fg); outline-offset: -3px; }
.case-toggle-icon { position: relative; width: 10px; height: 10px; flex: none; }
.case-toggle-icon::before, .case-toggle-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
}
.case-toggle-icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.case-toggle-icon::after {
  top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%);
  transition: transform 200ms ease, opacity 200ms ease;
}
.case-card.is-expanded .case-toggle-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.case-detail {
  height: 0;
  overflow: hidden;
  padding: 0 20px;
}
.case-card.is-expanded .case-detail { padding: 4px 20px 24px; }
.case-detail p { color: rgba(0,0,0,0.8); font-size: 0.95rem; margin-bottom: 16px; }
.case-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.case-detail-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.case-detail video { width: 100%; border-radius: 4px; margin-top: 16px; display: block; }

@media (max-width: 767px) {
  #projekte .case-grid { grid-template-columns: 1fr; }
}

#prozess { padding-top: 160px; padding-bottom: 160px; padding-left: 72px; padding-right: 72px; }
#prozess .process-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
#prozess .process-pinned { align-self: start; position: sticky; top: 120px; }
#prozess .process-logo { height: 20px; width: auto; margin-bottom: 20px; }
#prozess .process-pinned h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 14px; }
#prozess .process-pinned p { color: rgba(0,0,0,0.75); max-width: 30ch; font-size: 0.9rem; }
#prozess .process-track { position: relative; display: flex; gap: 32px; }
#prozess .process-line { position: relative; width: 2px; background: rgba(0,0,0,0.15); flex: none; }
#prozess .process-dot { position: absolute; left: 50%; top: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--color-fg); }
#prozess .process-steps { flex: 1; display: flex; flex-direction: column; gap: 360px; padding: 240px 0 8px; }
#prozess .step .num { font-family: var(--font-headline); color: var(--color-accent); font-size: 1.15rem; }
#prozess .step h3 { margin: 6px 0; font-size: 0.9rem; }
#prozess .step p { color: rgba(0,0,0,0.75); font-size: 0.85rem; max-width: 40ch; }
@media (max-width: 900px) {
  #prozess { padding-left: 24px; padding-right: 24px; }
  #prozess .process-layout { grid-template-columns: 1fr; gap: 32px; }
  #prozess .process-pinned { position: static; }
  #prozess .process-line { display: none; }
  #prozess .process-steps { gap: 280px; padding: 8px 0; }
}

#kundenstimmen { text-align: center; }
#kundenstimmen p.placeholder-note {
  color: rgba(0,0,0,0.5);
  font-style: italic;
}

#ueber-mich { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
#ueber-mich .text { flex: 1 1 480px; }
#ueber-mich img { flex: 1 1 320px; max-width: 420px; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; border-radius: 4px; }
#ueber-mich h2 { margin-bottom: 24px; }
#ueber-mich p { color: rgba(0,0,0,0.8); font-size: 1.05rem; }

#kontakt { text-align: center; }
#kontakt .whatsapp-cta { margin: 24px 0 48px; }
#kontakt form {
  display: grid;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}
#kontakt label { font-size: 0.9rem; color: rgba(0,0,0,0.75); }
#kontakt input, #kontakt textarea {
  width: 100%;
  min-height: 44px;
  padding: 12px;
  background: var(--color-bg-alt);
  border: 1px solid rgba(0,0,0,0.2);
  color: var(--color-fg);
  border-radius: 4px;
}
#kontakt textarea { min-height: 120px; }
#kontakt input:focus-visible, #kontakt textarea:focus-visible { outline: 2px solid var(--color-accent); }
footer {
  position: relative;
  background: #FFFFFF;
  color: #000000;
  text-align: center;
  padding: 96px 48px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
footer .footer-logo { height: 52px; width: auto; margin-bottom: 28px; }
footer .footer-center p { color: rgba(0,0,0,0.7); margin-top: 14px; }
footer .footer-center p:first-of-type { margin-top: 0; }
footer .footer-social {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #000000;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: underline;
  min-height: 44px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
footer .footer-social--left { left: 40px; }
footer .footer-social--right { right: 40px; }
footer .footer-social:focus-visible { outline: 3px solid #000000; outline-offset: 2px; }
.legal-links { margin-top: 8px; }
.legal-links a { color: #000000; text-decoration: underline; }
.legal-links a:focus-visible { outline: 3px solid #000000; outline-offset: 2px; }

.wedding-teaser {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  margin-top: 16px;
  background: transparent;
  border: 1px solid #8A6D3B;
  color: #8A6D3B;
  border-radius: 4px;
  transition: background 200ms ease, color 200ms ease;
}
.wedding-teaser:hover { background: #C9A876; color: #3A3530; }
.wedding-teaser:focus-visible { outline: 3px solid #000000; outline-offset: 2px; }

@media (max-width: 600px) {
  footer { flex-direction: column; gap: 24px; padding: 48px 24px 96px; }
  footer .footer-social { position: static; transform: none; }
}

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.cursor-dot { width: 8px; height: 8px; background: #FFFFFF; mix-blend-mode: difference; }
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid #FFFFFF;
  mix-blend-mode: difference;
  transition: width 200ms ease, height 200ms ease, border-color 200ms ease;
}
.cursor-ring.is-active { width: 56px; height: 56px; }

/* IMPORTANT: cursor:none is gated behind this class, added by JS only when the
   effect actually initializes (not a blanket pointer:fine media query) — this
   guarantees the native cursor is never hidden while our custom cursor fails
   to render (e.g. reduced-motion, touch, or JS disabled). Do not "simplify"
   this into `@media (pointer: fine) { body { cursor: none; } }`. */
html.custom-cursor-active { cursor: none; }
html.custom-cursor-active .cursor-dot,
html.custom-cursor-active .cursor-ring { opacity: 1; }
html.custom-cursor-active .cursor-ring { opacity: 0.6; }
html.custom-cursor-active .cursor-ring.is-active { opacity: 1; }

.typed-cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink-cursor 900ms steps(1) infinite;
}
@keyframes blink-cursor { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .typed-cursor { animation: none; opacity: 0; }
  #hero .hero-bg,
  #hero .hero-content,
  .hero-switch-label,
  .hero-switch-toggle::before,
  .hero-switch-knob { transition: none; }
  #hero .hero-bg-video { display: none; }
  #kundenlogos .logo-track { animation: none; }
  #site-nav,
  #site-nav.nav-scrolled .logo img,
  #site-nav .logo img { transition: none; }
}
