/* DreiKlick Media — Brand System */
:root {
  --bg: #0a0c0f;
  --bg-elevated: #12151a;
  --bg-soft: #181c23;
  --line: rgba(242, 239, 232, 0.1);
  --text: #f2efe8;
  --text-muted: #9a958c;
  --accent: #c8f542;
  --accent-dim: rgba(200, 245, 66, 0.14);
  --accent-ink: #0a0c0f;
  --danger: #ff6b5a;
  --ok: #6ee7a8;
  --radius: 0;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --max: 1120px;
  --nav-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Atmosphere */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(200, 245, 66, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(80, 120, 255, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(200, 245, 66, 0.05), transparent 55%),
    var(--bg);
}

.bg-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Layout */
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.75rem);
}

h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.lead {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 36rem;
}

.section-head.center .lead {
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
}

.site-header.scrolled {
  background: rgba(10, 12, 15, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  z-index: 101;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.brand span {
  display: none;
}

@media (min-width: 480px) {
  .brand span {
    display: inline;
  }
}

.brand em {
  font-style: normal;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.85em;
}

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

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 880px) {
  .nav-links,
  .nav-cta {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 15, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 99;
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: #d4f76a;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* Hero */
.hero {
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: center;
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, var(--bg) 95%),
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(200, 245, 66, 0.18), transparent 60%);
  z-index: 0;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.05); }
}

.hero-visual {
  position: absolute;
  right: max(-8%, calc(50% - 36rem));
  top: 8%;
  width: min(52vw, 420px);
  aspect-ratio: 1;
  z-index: 0;
  opacity: 0.9;
  animation: floatMark 7s ease-in-out infinite;
}

@keyframes floatMark {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-18px) rotate(-2deg); }
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(200, 245, 66, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.hero-content .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero-content .brand-hero img {
  width: 2.5rem;
  height: 2.5rem;
}

.hero h1 {
  animation: fadeUp 0.8s 0.1s var(--ease) both;
}

.hero .lead {
  animation: fadeUp 0.8s 0.2s var(--ease) both;
}

.hero .btn-row {
  animation: fadeUp 0.8s 0.3s var(--ease) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .hero-visual {
    width: min(70vw, 260px);
    top: 2%;
    right: -5%;
    opacity: 0.45;
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Split / features */
.feature-strip {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-strip > * {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-strip > *:last-child {
  border-bottom: 0;
}

@media (min-width: 760px) {
  .feature-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature-strip > * {
    padding: 2rem 1.75rem;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .feature-strip > *:first-child {
    padding-left: 0;
  }
  .feature-strip > *:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

.feature-strip h3 {
  margin-bottom: 0.6rem;
}

.feature-strip p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.feature-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
}

/* Project showcases — not cards: editorial slabs */
.project-slab {
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--line);
}

.project-slab:last-child {
  border-bottom: 1px solid var(--line);
}

@media (min-width: 860px) {
  .project-slab {
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
    align-items: center;
  }
  .project-slab.reverse {
    direction: rtl;
  }
  .project-slab.reverse > * {
    direction: ltr;
  }
}

.project-visual {
  position: relative;
  min-height: 280px;
  background: var(--bg-elevated);
  overflow: hidden;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--tint, rgba(200, 245, 66, 0.2)), transparent 60%);
}

.project-visual-inner {
  position: relative;
  z-index: 1;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
}

.project-visual .domain {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.project-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.project-body p {
  color: var(--text-muted);
  margin-top: 1rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.project-meta strong {
  color: var(--text);
  font-weight: 600;
}

.tint-cash {
  --tint: rgba(200, 245, 66, 0.25);
}

.tint-karten {
  --tint: rgba(110, 140, 255, 0.28);
}

.project-visual.tint-karten::before {
  background: linear-gradient(135deg, rgba(110, 140, 255, 0.35), transparent 65%);
}

/* About */
.about-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-list {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}

.about-list li {
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
  color: var(--text-muted);
}

.about-list strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.partners {
  display: grid;
  gap: 1px;
  background: var(--line);
  margin-top: 1rem;
}

.partner {
  background: var(--bg);
  padding: 1.75rem 0;
}

.partner h3 {
  margin-bottom: 0.35rem;
}

.partner p {
  color: var(--text-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
  }
}

.contact-details {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-details dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.contact-details dd {
  color: var(--text-muted);
}

.contact-details a:hover {
  color: var(--text);
}

.form {
  display: grid;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 560px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
  color: var(--text-muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  display: none;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
}

.form-status.ok {
  display: block;
  background: rgba(110, 231, 168, 0.12);
  color: var(--ok);
  border: 1px solid rgba(110, 231, 168, 0.3);
}

.form-status.err {
  display: block;
  background: rgba(255, 107, 90, 0.12);
  color: var(--danger);
  border: 1px solid rgba(255, 107, 90, 0.3);
}

.map-wrap {
  margin-top: clamp(3rem, 8vw, 5rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 5vw, 3rem);
}

.map-frame {
  width: 100%;
  height: clamp(280px, 45vw, 420px);
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
  background: var(--bg-elevated);
}

/* Legal */
.legal {
  max-width: 42rem;
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.legal p,
.legal li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.legal ul {
  padding-left: 1.25rem;
  list-style: disc;
  margin-bottom: 1rem;
}

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

/* Page hero (subpages) */
.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
}

.page-hero h1 {
  max-width: 16ch;
}

/* CTA band */
.cta-band {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta-band h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.cta-band .lead {
  margin-inline: auto;
}

.cta-band .btn-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
