/*
Theme Name: Zenker Design
Theme URI: https://zenker.design
Author: Zenker Design GmbH
Description: Dunkler One-Pager für Zenker Design – Marken, die verbinden und wachsen.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: zenker-design
*/

:root {
  --bg: #1f1f1f;
  --bg-0: #212121;
  --card: #2b2b2b;
  --fg: #f5f5f5;
  --muted: #a6a6a6;
  --hairline: rgba(255, 255, 255, 0.10);
  --border: rgba(255, 255, 255, 0.18);
  --accent: #333333;
  --primary: #ffffff;
  --primary-fg: #111111;
  --radius: 1.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .font-display {
  font-family: "Krona One", "Outfit", sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: 1600px; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.section { padding-top: 4rem; padding-bottom: 4rem; }
.eyebrow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.35em; color: var(--muted); }
.muted { color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--hairline); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 0.875rem 2rem;
  font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--primary); color: var(--primary-fg); transition: opacity .2s;
}
.btn:hover { opacity: 0.85; }
.btn-outline { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--accent); opacity: 1; }
.btn-sm { padding: 0.5rem 1.25rem; text-transform: none; letter-spacing: normal; }

/* Nav */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 0 1rem; }
.nav-inner {
  max-width: 80rem; margin: 1rem auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-radius: 999px; border: 1px solid var(--hairline);
  background: rgba(31, 31, 31, 0.7); backdrop-filter: blur(18px);
  padding: 0.75rem 1.25rem;
}
.nav-links { display: none; gap: 2rem; }
.nav-links a { font-size: 0.875rem; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.logo { height: 1.25rem; width: auto; filter: invert(1); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-cta { display: none; }
.burger {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  height: 2.5rem; width: 2.5rem; border-radius: 999px; border: 1px solid var(--hairline);
  background: transparent; cursor: pointer; transition: background .2s;
}
.burger:hover { background: var(--accent); }
.burger span { display: block; height: 1px; width: 1rem; background: var(--fg); transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  max-width: 80rem; margin: 0.5rem auto 0; display: flex; flex-direction: column;
  border-radius: 1.75rem; border: 1px solid var(--hairline);
  background: rgba(31,31,31,0.95); backdrop-filter: blur(18px); padding: 0.75rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { border-radius: 1rem; padding: 0.75rem 1rem; font-size: 1rem; color: var(--muted); }
.mobile-menu a:hover { background: var(--accent); color: var(--fg); }

/* Rechtstexte */
.legal { max-width: 56rem; margin: 0 auto; padding: 4rem 1rem; }
.legal h1 { margin-top: 1.5rem; font-size: 1.875rem; line-height: 1.2; }
.legal h2 { margin-top: 2.5rem; font-size: 1.25rem; }
.legal p { margin-top: 1.25rem; color: var(--muted); font-weight: 300; line-height: 1.75; }
.legal p strong { color: var(--fg); font-weight: 500; }
.legal a { color: var(--fg); text-decoration: underline; }
.legal-header { max-width: 56rem; margin: 0 auto; padding: 0 1rem; }
.legal-header .nav-inner { max-width: 56rem; }
.legal-nav { position: static; padding: 0 1rem; }

/* Hero */
.hero { padding: 6rem 1rem 0; }
.hero-inner {
  position: relative; max-width: 1600px; margin: 0 auto;
  min-height: 86vh; display: flex; align-items: flex-end;
  overflow: hidden; border-radius: 2.5rem;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), rgba(31,31,31,0.7) 45%, rgba(31,31,31,0.1)); }
.hero-content { position: relative; width: 100%; padding: 0 1.5rem 3.5rem; }
.hero h1 { margin-top: 1.5rem; max-width: 56rem; font-size: 2.25rem; line-height: 1.05; }
.hero-sub { margin-top: 1.5rem; max-width: 34rem; font-size: 1.125rem; color: var(--muted); }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Stats */
.stats { display: grid; gap: 1rem; }
.stat { border-radius: 1.5rem; padding: 2rem 1.5rem; text-align: center; }
.stat .v { font-family: "Krona One", sans-serif; font-size: 1.875rem; }
.stat .l { margin-top: 0.75rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); }

/* Über uns */
.about { display: grid; gap: 1.5rem; align-items: stretch; }
.about-text { border-radius: 2rem; padding: 2rem; }
.about-text h2 { margin-top: 1.5rem; font-size: 1.75rem; line-height: 1.25; }
.about-body { margin-top: 1.5rem; display: grid; gap: 1.25rem; color: var(--muted); line-height: 1.75; }
.about-body .claim { color: var(--fg); }
.about-img { width: 100%; height: 100%; object-fit: cover; border-radius: 2rem; min-height: 320px; }

/* Leistungen */
.center-head { max-width: 42rem; margin: 0 auto; text-align: center; }
.center-head h2 { margin-top: 1.5rem; font-size: 1.75rem; line-height: 1.25; }
.offer-grid { margin-top: 3.5rem; display: grid; gap: 1rem; }
.offer { border-radius: 2rem; padding: 2rem; transition: background .2s; }
.offer:hover { background: var(--accent); }
.offer .mark { height: 2.5rem; width: 2.5rem; filter: invert(1); }
.offer .no { margin-top: 2rem; font-family: "Krona One", sans-serif; font-size: 0.75rem; letter-spacing: 0.3em; color: var(--muted); }
.offer h3 { margin-top: 0.75rem; font-size: 1.5rem; }
.offer p { margin-top: 1rem; font-size: 0.875rem; line-height: 1.7; color: var(--muted); }
.offer ul { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline); display: grid; gap: 0.5rem;
  font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }

/* Referenzen Marquee */
.marquee {
  position: relative; margin-top: 3.5rem; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track { display: flex; width: max-content; gap: 1rem; animation: zd-marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes zd-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.project { width: 260px; flex-shrink: 0; overflow: hidden; border-radius: 1.5rem; }
.project .thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.project .thumb img { width: 100%; height: 100%; object-fit: cover; }
.project .meta { padding: 1rem 1.25rem; }
.project .tag { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--muted); }
.project h3 { margin-top: 0.5rem; font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* PassDeck */
.passdeck { display: grid; gap: 2rem; align-items: center; border-radius: 2.5rem; padding: 2rem; }
.passdeck-logo { margin-top: 1.5rem; height: 5rem; width: auto; }
.passdeck p.copy { margin-top: 1.5rem; max-width: 32rem; line-height: 1.75; color: var(--muted); }
.passdeck .btn { margin-top: 2.25rem; }
.passdeck-img { width: 100%; max-height: 20rem; object-fit: cover; border-radius: 1.5rem; }

/* Kontakt */
.contact-box { position: relative; overflow: hidden; border-radius: 2.5rem; }
.contact-box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-shade { position: absolute; inset: 0; background: rgba(31, 31, 31, 0.7); }
.contact-inner { position: relative; padding: 5rem 1.5rem; }
.contact-inner h2 { text-align: center; font-size: 1.875rem; line-height: 1.2; }
.contact-inner .lead { margin: 1.25rem auto 0; max-width: 36rem; text-align: center; color: var(--muted); }
.contact-grid { margin: 3.5rem auto 0; max-width: 64rem; display: grid; gap: 1rem; }
.contact-item { border-radius: 1.5rem; padding: 1.75rem; background: rgba(43, 43, 43, 0.8);
  border: 1px solid var(--hairline); backdrop-filter: blur(6px); }
.contact-item .k { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); }
.contact-item .v { margin-top: 0.75rem; font-size: 1.05rem; }

/* Footer */
.site-footer { max-width: 1600px; margin: 0 auto; padding: 0 1rem 2.5rem; }
.footer-inner { display: grid; gap: 1.5rem; align-items: center; border-radius: 2.5rem; padding: 2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: 0.875rem; color: var(--muted); }
.footer-links a:hover { color: var(--fg); }

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 3.75rem; }
  .hero-content { padding: 0 3rem 5rem; }
  .about-text { padding: 3rem; }
  .about-text h2, .center-head h2 { font-size: 2.25rem; }
  .contact-inner { padding: 7rem 3.5rem; }
  .contact-inner h2 { font-size: 3rem; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .passdeck { padding: 3.5rem; }
  .passdeck-logo { height: 6rem; }
  .footer-inner { grid-template-columns: auto 1fr; padding: 3rem; }
  .footer-links { justify-content: flex-end; }
  .offer { padding: 2.5rem; }
}
@media (min-width: 768px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .section { padding-top: 6rem; padding-bottom: 6rem; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .burger, .mobile-menu { display: none !important; }
  .hero h1 { font-size: 4.5rem; }
  .about { grid-template-columns: repeat(2, 1fr); }
  .passdeck { grid-template-columns: 1.1fr 1fr; }
}
@media (min-width: 1280px) { .offer-grid { grid-template-columns: repeat(4, 1fr); } }
