/*
Theme Name: Agency Theme
Version: 1.0
*/

/* ================================
   RESET & BASE
================================ */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #0b0b0b;
  color: #ffffff;
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ================================
   DESIGN TOKENS
================================ */

:root {
  --bg-main: #0b0b0b;
  --bg-surface: rgba(255,255,255,0.06);

  --text-main: #ffffff;
  --text-muted: rgba(255,255,255,0.65);

  --accent: #ff2a2a;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 128px;
  --space-xxl: 160px;

  --container: 1280px;
}

/* ================================
   TYPOGRAPHY
================================ */

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(28px, 4.5vw, 60px); line-height: 1.05; }
h2 { font-size: clamp(32px, 5vw, 56px); }
h3 { font-size: 22px; }

p { margin: 0; color: var(--text-muted); }

/* ================================
   LAYOUT
================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Default Section Spacing */
section { padding: var(--space-xxl) 0; }

/* ================================
   BUTTONS
================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  background: var(--bg-surface);
  transition: background 0.25s ease;
}

.btn:hover { background: rgba(255,255,255,0.12); }

/* ================================
   HERO
================================ */

.agency-hero {
  position: relative;
  min-height: 0;             /* überschreibt 100vh */
  height: auto;
  aspect-ratio: 2.35 / 1;    /* ✅ Verhältnis */
  width: 100%;
  display: flex;
  align-items: center;
  padding-bottom: 60px;      /* bleibt exakt wie gehabt */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.3)),
    url("https://awakemedia.de/wp-content/uploads/2026/02/Header-Cover-temp-scaled.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-left: clamp(32px, 8vw, 160px);
  padding-right: 32px;
}

.hero-label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.hero-subline {
  max-width: 420px;
  margin: var(--space-md) 0;
}

/* ================================
   LOGO BANNER
================================ */

.logo-banner {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #141414;
  padding: 0;
}

.logo-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 96px;
}

.logo-img {
  height: 56px;
  width: auto;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.logo-img:hover {
  opacity: 0.6;
  transform: translateY(-2px);
}

/* ================================
   FEATURED WORK – FIXED SPACING
================================ */

/* EXAKT DER GEWÜNSCHTE ABSTAND */
.logo-banner + section {
  padding-top: var(--space-xl); /* 👈 Luft über dem Video Grid */
}

/* ================================
   VIDEO GRID
================================ */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

/* ================================
   VIDEO CARDS
================================ */

.video-card {
  display: block;
  background: #0e0e0e;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.video-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.video-card:hover .video-thumb img { transform: scale(1.05); }

.video-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
}

.video-meta {
  padding: 20px 22px;
  background: rgba(255,255,255,0.03);
}

.video-title { font-size: 18px; letter-spacing: 0.04em; margin: 0; }

.video-category {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.video-card:hover .video-category {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  section { padding: var(--space-xl) 0; }
  .video-grid { grid-template-columns: 1fr; }
  .logo-img { height: 40px; }
}

/* ================================
   WHAT WE DO → SERVICES EDITORIAL
================================ */

.what-we-do {
  background: #0b0b0b;
  padding-top: 160px;
  padding-bottom: 160px;
}

/* Small red label */
.what-we-do .eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 12px;
}

/* Big white headline "Services" */
.what-we-do .eyebrow::after {
  content: "Services";
  display: block;
  margin-top: 8px;

  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

/* Eyebrow – global (CREATIVE, PROCESS, etc.) */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent); /* ROT */
  margin-bottom: 16px;
}

/* Safety override speziell für Process */
.process .eyebrow { color: var(--accent); }

/* Intro text */
.what-we-do .what-intro {
  max-width: 520px;
  margin-top: 24px;
  margin-bottom: 96px;

  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

/* Divider container */
.what-we-do .what-list {
  border-top: 1px solid rgba(255,255,255,0.25);
}

/* Service row */
.what-we-do .what-item {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;

  padding: 56px 0;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

/* Left headline */
.what-we-do .what-item h3 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0;
}

/* Right text */
.what-we-do .what-item p {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}

/* ================================
   WHAT WE DO – LINE & SPACING REFINEMENT
================================ */

/* Top divider (faded to right) */
.what-we-do .what-list {
  border-top: none;
  position: relative;
}

.what-we-do .what-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.0)
  );
}

/* Service rows */
.what-we-do .what-item {
  position: relative;
  padding-top: 40px;   /* weniger Abstand oben */
  padding-bottom: 56px;
  border-bottom: none;
}

/* Divider under each item (except last) */
.what-we-do .what-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.0)
  );
}

/* Remove LAST line completely */
.what-we-do .what-item:last-child::after { display: none; }

/* Pull titles closer to line above */
.what-we-do .what-item h3 { margin-top: -12px; }

/* ================================
   MOBILE
================================ */

@media (max-width: 900px) {
  .what-we-do { padding-top: 96px; padding-bottom: 96px; }
  .what-we-do .what-item { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .what-we-do .what-intro { margin-bottom: 48px; }
}

/* ================================
   PROCESS – TIMELINE
================================ */

.process {
  background: #0b0b0b;
  position: relative;
}

.process-title {
  margin-top: 12px;
  margin-bottom: 96px;
}

/* Timeline wrapper */
.process-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

/* Center vertical line */
.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.2),
    rgba(255,255,255,0.05)
  );
  transform: translateX(-50%);
}

/* Timeline item */
.process-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* Left / Right alignment */
.process-item.left .process-content {
  grid-column: 1 / 2;
  padding-right: 80px;
  text-align: right;
}

.process-item.right .process-content {
  grid-column: 2 / 3;
  padding-left: 80px;
  text-align: left;
}

/* Step number (circle on line) */
.process-step {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.15);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  z-index: 2;
}

/* Content card */
.process-content { max-width: 420px; }

.process-content h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.process-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ================================
   PROCESS – MOBILE
================================ */

@media (max-width: 900px) {
  .process-timeline { gap: 64px; }
  .process-timeline::before { left: 24px; transform: none; }
  .process-item { grid-template-columns: 1fr; padding-left: 64px; }

  .process-item.left .process-content,
  .process-item.right .process-content {
    grid-column: auto;
    padding: 0;
    text-align: left;
  }

  .process-step { left: 24px; transform: none; }
}

/* ================================
   PROCESS – DISCOVERY CTA
================================ */

.process-item.is-discovery .process-btn {
  display: inline-block;
  margin-top: 16px;

  padding: 12px 20px;
  background: var(--accent);
  color: #fff;

  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  border-radius: 0; /* eckig */
  text-decoration: none;

  transition: background 0.25s ease, transform 0.25s ease;
}

.process-item.is-discovery .process-btn:hover {
  background: #ff3b3b;
  transform: translateY(-2px);
}

/* ================================
   SENJA TESTIMONIALS – AWAKE STYLE
================================ */

.testimonial-section {
  background: #8e1b1b;
  padding: 60px 0;
}

.testimonial-heading {
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 66px;
  color: #ffffff;
}

/* Senja Embed Container */
.testimonial-section .senja-embed,
.testimonial-section iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
  display: block;
}

/* Cut-Fix: iFrame bekommt genug Höhe */
.testimonial-section iframe {
  height: 760px;      /* Desktop – anpassen */
  min-height: 760px;
}

@media (max-width: 900px) {
  .testimonial-section iframe {
    height: 980px;    /* Mobile – anpassen */
    min-height: 980px;
  }
}
@media (max-width: 900px) {
  .testimonial-section { padding: 96px 0; }
  .testimonial-heading { margin-bottom: 64px; }
  .testimonial-section iframe { min-height: 640px; }
}

/* 3-Spalten Grid */
.testimonial-section .senja-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

/* iFrames sauber */
.testimonial-section .senja-grid iframe{
  width: 100%;
  border: 0;
  display: block;

  height: 520px;      /* Cut-Fix pro Karte */
  min-height: 520px;
}

/* Responsive: stack */
@media (max-width: 900px){
  .testimonial-section .senja-grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonial-section .senja-grid iframe{
    height: 640px;
    min-height: 640px;
  }
}

/* ================================
   BOTTOM CTA SECTION
================================ */

.bottom-cta{
  padding: 160px 0;
  background: #0b0b0b; /* oder dein rot, falls du willst */
}

/* ================================
   SPLIT CTA
================================ */

.cta-split{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: stretch;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
}

.cta-copy{
  padding: 56px;
}

.cta-eyebrow{
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.cta-title{
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.0;
  margin-bottom: 20px;
  color: #fff;
}

.cta-text{
  max-width: 520px;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 22px;
  background: var(--accent);
  color: #fff;

  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  border-radius: 999px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.cta-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Bild rechts */
.cta-image{
  position: relative;
  min-height: 420px;
  background: rgba(255,255,255,0.02);
}

.cta-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================================
   MARQUEE (RIGHT -> LEFT)
================================ */

.marquee{
  margin-top: 48px;
  position: relative;
  overflow: hidden;

  border-radius: 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);

  /* schöne „Fade“-Kanten */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track{
  display: flex;
  align-items: center;
  gap: 18px;

  padding: 18px 18px;

  /* Animation */
  width: max-content;
  animation: marquee-left 35s linear infinite;
}

.marquee-track img{
  width: 120px;         /* Thumb-Größe */
  height: 76px;
  object-fit: cover;

  border-radius: 12px;
  opacity: 0.95;

  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

/* Pause on hover (nice UX) */
.marquee:hover .marquee-track{
  animation-play-state: paused;
}

@keyframes marquee-left{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* funktioniert wegen Duplikat-Liste */
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px){
  .bottom-cta{ padding: 96px 0; }

  .cta-split{
    grid-template-columns: 1fr;
  }

  .cta-copy{
    padding: 32px;
  }

  .cta-image{
    min-height: 320px;
  }

  .marquee-track img{
    width: 96px;
    height: 64px;
  }
}

/* ================================
   TOPBAR (TRANSPARENT OVER HERO)
   -> DESKTOP HEADER (Agency Topbar)
================================ */

.agency-topbar{
  position: absolute; /* sitzt direkt über dem Hero */
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;

  /* KEIN bar-look */
  background: transparent;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  /* FIX: prevent accidental clipping */
  overflow: visible;
}

.agency-topbar-inner{
  /* FIX: was 50px (pushed/clipped logo); now normal topbar height */
  padding: 22px 32px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 18px;
}

/* LEFT NAV */
.agency-nav-left{
  display: flex;
  align-items: center;
  gap: 44px;
  min-width: 0;
}

/* RIGHT NAV (About + Contact) */
.agency-nav-right{
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 44px;
}

/* NAV LINKS (wie gehabt – keine Farb/Font Änderungen) */
.agency-nav-link{
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;

  /* FIX: align baseline with logo */
  line-height: 1;
}

.agency-nav-link:hover{
  color: rgba(255,255,255,0.95);
}

/* ACTIVE LOOK: [ AGENCY ] */
.agency-nav-link.is-active{
  color: rgba(255,255,255,0.95);
  position: relative;
}

.agency-nav-link.is-active::before{ content: "[ "; color: rgba(255,255,255,0.85); }
.agency-nav-link.is-active::after { content: " ]"; color: rgba(255,255,255,0.85); }

/* CENTER LOGO: ohne pill/hintergrund */
.agency-nav-center{
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;         /* kein Container */
  border: 0;
  border-radius: 0;
  background: transparent;
}

.agency-nav-center img,
.agency-nav-center svg{
  height: 20px; /* FIX: keep visually aligned with links */
  width: auto;
  display: block;
  opacity: 0.92;
}

/* Responsive */
@media (max-width: 900px){
  .agency-topbar-inner{
    padding: 18px 18px;
    grid-template-columns: 1fr auto;
    row-gap: 10px;
  }

  .agency-nav-center{ justify-self: end; }

  .agency-nav-left{
    grid-column: 1 / -1;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 22px;
    padding-bottom: 6px;
  }

  .agency-nav-right{
    display: none; /* optional: auf mobile ausblenden */
  }
}

/* ================================
   HERO SOCIAL (RIGHT VERTICAL)
================================ */

.agency-hero { position: relative; } /* safety: falls irgendwo überschrieben */

.hero-social{
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  top: 50%;
  transform: translateY(-50%);

  display: flex;
  flex-direction: column;
  gap: 18px;

  z-index: 3;
}

.hero-social-link{
  width: 28px;
  height: 28px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* ✅ keine Kreise */
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;

  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-social-link svg{
  width: 26px;
  height: 26px;
  fill: #ffffff;
}

.hero-social-link:hover{
  transform: translateY(-2px);
  opacity: 1;
}

/* Mobile optional */
@media (max-width: 900px){
  .hero-social-link{
    width: 24px;
    height: 24px;
  }
  .hero-social-link svg{
    width: 22px;
    height: 22px;
  }
}

/* ================================
   MOBILE TYPO + HERO SPACING
================================ */
@media (max-width: 900px){

  /* Global container etwas tighter */
  .container{ padding: 0 20px; }

  /* Headings kleiner (dein Desktop bleibt unverändert) */
  h1{ font-size: clamp(34px, 10vw, 56px); line-height: 1.05; }
  h2{ font-size: clamp(26px, 7vw, 40px); }
  h3{ font-size: 18px; }

  /* Hero: weniger “links padding”, weniger “bottom padding” */
  .agency-hero{
    padding-bottom: 64px;
  }

  .hero-content{
    padding-left: 20px;   /* statt clamp(...) */
    padding-right: 20px;
  }

  .hero-label{
    font-size: 11px;
    margin-bottom: 10px;
  }

  .hero-subline{
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
    margin: 18px 0;
  }

  .btn{
    padding: 11px 18px;
    font-size: 11px;
  }
}

/* ================================
   MOBILE LOGO BANNER – RESPONSIVE
================================ */
@media (max-width: 900px){

  .logo-banner-inner{
    padding: 14px 16px;
  }

  .logo-row{
    /* ✅ dynamisch in die Breite */
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;          /* ✅ wrap statt overflow-cut */
    gap: 18px 28px;           /* row-gap / column-gap */
  }

  .logo-img{
    /* ✅ automatisch kleiner auf mobile */
    height: clamp(22px, 5vw, 34px);
    opacity: 0.35;
  }
}
/* ================================
   TOPBAR (OVER HERO)
   -> DESKTOP TOPBAR + MOBILE BURGER/DRAWER
   SINGLE SOURCE OF TRUTH: .site-topbar
================================ */

/* Topbar sitzt über dem Hero */
.site-topbar{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  /* wichtig: muss über hero-bg liegen */
  z-index: 9999;

  /* Hero bleibt klickbar, aber Header-Inner bleibt klickbar */
  pointer-events: none;

  /* ✅ gibt Luft nach oben, damit Logo nicht "klebt" */
  padding-top: 14px;
}

.topbar-inner{
  pointer-events: auto;
  max-width: var(--container);
  margin: 0 auto;

  /* ✅ klare Header-Höhe + echte Zentrierung */
  min-height: 72px;

  /* ✅ nur horizontal padding (vertical kommt über min-height) */
  padding: 0 var(--space-md);

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 18px;
}

/* Logo */
.topbar-logo{
  grid-column: 2 / 3;
  justify-self: center;

  display: inline-flex;
  align-items: center;

  gap: 10px;
  line-height: 1;
}

.topbar-logo img{
  height: 22px;
  width: auto;
  display: block;

  /* ✅ optisches Baseline-Matching zu Textlinks */
  vertical-align: middle;
  transform: translateY(1px);

  opacity: 0.95;
}

/* Desktop Nav */
.topbar-nav{
  grid-column: 1 / 4;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;

  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.topbar-nav a{
  opacity: 0.85;
  transition: opacity .2s ease;
}

.topbar-nav a:hover{ opacity: 1; }

/* Spacer to push ABOUT/CONTACT right */
.topbar-nav .nav-spacer{
  flex: 1;
}

/* Burger default hidden on desktop */
.burger{ display: none; }

/* Drawer/Backdrop default hidden on desktop */
.mobile-drawer,
.drawer-backdrop{
  display: none;
}

/* ================================
   MOBILE TOPBAR + DRAWER
================================ */
@media (max-width: 900px){

  .site-topbar{
    padding-top: 8px; /* ✅ weniger Luft auf Mobile */
  }

  .topbar-inner{
    /* ✅ kompakter Header auf Mobile */
    min-height: 60px;

    padding: 0 18px;
    grid-template-columns: 42px 1fr 42px; /* burger | logo | spacer */
  }

  /* Desktop nav off on mobile */
  .topbar-nav{ display: none; }

  /* Burger on */
  .burger{
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    justify-self: start;
  }

  .burger span{
    display: block;
    height: 2px;
    width: 22px;
    background: rgba(255,255,255,0.9);
    border-radius: 2px;
  }

  .topbar-logo img{
    height: 20px;
    transform: translateY(0px); /* ✅ Mobile braucht meist kein Baseline-Fix */
  }

  /* Drawer */
  .mobile-drawer{
    display: block;
    position: fixed;
    top: 0;
    left: 0;

    height: 100vh;
    width: min(78vw, 320px);

    transform: translateX(-105%);
    transition: transform .28s ease;

    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-right: 1px solid rgba(255,255,255,0.08);
    padding: 92px 18px 18px;

    z-index: 10001;
  }

  .drawer-nav{
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .drawer-nav a{
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.92);
    padding: 10px 8px;
  }

  /* Backdrop */
  .drawer-backdrop{
    display: none; /* hidden until open */
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 10000;
  }

  /* Open state */
  body.menu-open .mobile-drawer{
    transform: translateX(0);
  }

  body.menu-open .drawer-backdrop{
    display: block;
  }

  body.menu-open{
    overflow: hidden;
  }
}

/* ================================
   HERO MOBILE FIXES
================================ */
@media (max-width: 900px){

  .agency-hero{
    min-height: 72vh;
    height: auto;
    aspect-ratio: auto;
  }

@media (max-width: 900px){
  .hero-content{
    padding-top: 44px !important;   /* nur Topbar-Luft */
    padding-bottom: 0 !important;
  }
}


  .agency-hero h1{
    font-size: clamp(34px, 9.2vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.02em;
  }

  .hero-subline{
    font-size: 14px;
    max-width: 320px;
  }

  .agency-hero .btn{
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 5;
  }
}
/* =========================================
   HARD FIX: Logo sitzt zu hoch → runter schieben
   (Overrides all previous rules)
========================================= */

.site-topbar{ z-index: 9999 !important; }

.topbar-logo{
  position: relative !important;
  top:35px !important;          /* <- hier kannst du feinjustieren (6–12px) */
}

.topbar-logo img{
  display: block !important;
  height: 22px !important;
}

@media (max-width: 900px){
  .topbar-logo{ top: 4px !important; }  /* Mobile weniger Verschiebung */
  .topbar-logo img{ height: 20px !important; }
}
/* =========================================================
   FINAL MOBILE FIXES (append at END of CSS)
   Fixes:
   1) Burger visible, desktop nav hidden
   2) Hero ratio not squashed
   3) Button no longer behind subheadline
========================================================= */

@media (max-width: 900px){

  /* ---------- 1) TOPBAR: Burger ON, Desktop Links OFF ---------- */
  .topbar-nav{ 
    display: none !important; 
  }

  .burger{
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    justify-self: start;
  }

  .burger span{
    display: block;
    height: 2px;
    width: 22px;
    background: rgba(255,255,255,0.9);
    border-radius: 2px;
  }

  /* Topbar spacing */
  .site-topbar{ 
    padding-top: 8px !important; 
  }
  .topbar-inner{
    min-height: 60px !important;
    padding: 0 18px !important;
    grid-template-columns: 42px 1fr 42px !important;
    align-items: center !important;
  }

  .topbar-logo img{
    height: 20px !important;
    transform: none !important;
  }

  /* ---------- 2) HERO: correct aspect / not squashed ---------- */
  .agency-hero{
    /* Auf Mobile NICHT das Desktop-aspect-ratio erzwingen */
    aspect-ratio: auto !important;

    /* Stattdessen eine sinnvolle Höhe */
    min-height: 78vh !important;
    height: auto !important;

    /* damit Inhalte nicht abgeschnitten wirken */
    padding-bottom: 48px !important;
  }

  /* Background: optional – passt das framing an */
  .hero-bg{
    background-position: 65% center !important; /* tweak falls Gesicht abgeschnitten */
    background-size: cover !important;
  }

  /* ---------- 3) BUTTON: flow layout statt absolute overlay ---------- */
  .agency-hero .btn{
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;

    margin-top: 18px !important;
    z-index: 5 !important;
  }

  /* Stelle sicher, dass Text/Button über dem BG liegt */
  .hero-content{
    position: relative !important;
    z-index: 3 !important;

    /* Platz für Topbar */
    padding-top: 185px !important;
  }
}
/* =========================================
   MOBILE FIXES: Burger clickable + Hero less tall
   (append at END of CSS)
========================================= */

@media (max-width: 900px){

  /* -------- 1) Burger Menü klickbar machen -------- */
  .site-topbar{
    pointer-events: auto !important;   /* <- DAS ist der entscheidende Fix */
    z-index: 99999 !important;
  }

  /* optional: sorgt dafür, dass nichts "durchklickt" */
  .topbar-inner{ pointer-events: auto !important; }

  /* Drawer + Backdrop müssen ebenfalls klickbar sein */
  .mobile-drawer,
  .drawer-backdrop{
    pointer-events: auto !important;
  }

  /* -------- 2) Hero weniger hoch (breiter wirkend) -------- */
  .agency-hero{
    min-height: 58vh !important;  /* vorher 78vh -> zu hoch */
    height: 58vh !important;      /* macht es wirklich flacher */
    aspect-ratio: auto !important;
    padding-bottom: 36px !important;
  }

  /* optional: framing feinjustieren */
  .hero-bg{
    background-position: 60% center !important;
    background-size: cover !important;
  }
}
/* =========================================
   MOBILE: Burger erzwingen + Desktop Nav killen
   (Append at END of CSS)
========================================= */

@media (max-width: 900px){

  /* Topbar muss klickbar sein */
  .site-topbar{
    pointer-events: auto !important;
    z-index: 999999 !important;
  }
  .topbar-inner{ pointer-events: auto !important; }

  /* 1) Desktop-Menü wirklich AUS (auch nicht "über" dem Burger liegen) */
  .topbar-nav{
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* 2) Burger wirklich AN + klickbar + über allem */
  .burger{
    display: inline-flex !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1000000 !important;

    flex-direction: column;
    justify-content: center;
    gap: 6px;

    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    justify-self: start;
  }

  .burger span{
    display: block !important;
    height: 2px;
    width: 22px;
    background: rgba(255,255,255,0.9);
    border-radius: 2px;
  }

  /* Drawer muss ebenfalls klickbar sein */
  .mobile-drawer,
  .drawer-backdrop{
    pointer-events: auto !important;
  }
}
/* =========================================================
   NUCLEAR MOBILE HEADER FIX
   - Burger ALWAYS visible + clickable
   - Desktop nav ALWAYS hidden on mobile
   - Burger positioned top-left so nothing can cover it
========================================================= */
@media (max-width: 900px){

  /* Topbar must accept taps */
  .site-topbar{
    pointer-events: auto !important;
    z-index: 999999 !important;
  }

  /* Kill desktop nav on mobile (prevents overlay) */
  header.site-topbar nav.topbar-nav{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Force burger to exist visually and sit above everything */
  header.site-topbar button.burger{
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;

    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    z-index: 1000000 !important;

    width: 44px !important;
    height: 44px !important;

    flex-direction: column !important;
    justify-content: center !important;
    gap: 6px !important;

    border: 0 !important;
    background: rgba(0,0,0,0.25) !important; /* nur für Sichtbarkeit, kannst du später entfernen */
    border-radius: 12px !important;          /* optional */
    padding: 0 !important;
    cursor: pointer !important;
  }

  header.site-topbar button.burger span{
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    margin-left: 11px !important; /* zentriert im 44px button */
    background: rgba(255,255,255,0.95) !important;
    border-radius: 2px !important;
  }

  /* Keep logo centered */
  .topbar-inner{
    min-height: 60px !important;
    padding: 0 18px !important;
    grid-template-columns: 1fr !important;
    align-items: center !important;
  }

  .topbar-logo{
    grid-column: 1 / -1 !important;
    justify-self: center !important;
  }

  .topbar-logo img{
    height: 20px !important;
    transform: none !important;
  }

  /* Drawer/backdrop should be tappable */
  .mobile-drawer,
  .drawer-backdrop{
    pointer-events: auto !important;
  }
}
@media (max-width: 900px){
  .mobile-drawer{ transform: translateX(-105%); }
  body.menu-open .mobile-drawer{ transform: translateX(0); }
}
/* === HERO: Mobile – Subheadline + Button höher (FINAL) === */
@media (max-width: 900px){

  /* Subheadline näher an H1 / weniger "hängend" */
  .hero-subline{
    margin: 4px 0 14px !important;   /* <- Regler */
  }

  /* Button NICHT mehr am unteren Rand kleben */
  .agency-hero .btn{
    position: relative !important;    /* <- macht ihn wieder "normal" */
    left: auto !important;
    bottom: auto !important;
    transform: none !important;

    margin-top: 2px !important;      /* <- Regler: höher/tiefer */
  }
}
@media (max-width: 900px){

  /* Drawer muss existieren (falls irgendwo display:none hängen bleibt) */
  .mobile-drawer{ 
    display: block !important;
  }

  /* Backdrop wird sichtbar wenn offen */
  body.menu-open .drawer-backdrop{
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Drawer fährt rein */
  body.menu-open .mobile-drawer{
    transform: translateX(0) !important;
  }
}
@media (max-width: 900px){
  .mobile-drawer{
    display: block !important;
    transform: translateX(-105%) !important;
  }

  body.menu-open .mobile-drawer{
    transform: translateX(0) !important;
  }

  .drawer-backdrop{
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9999998;
  }

  body.menu-open .drawer-backdrop{
    display: block !important;
  }
}

/* ================================
   FOOTER
================================ */
.site-footer{
  background: #f3f2ef;
  color: #111;
  padding: 120px 0 60px;
}

.site-footer a{
  color: inherit;
  text-decoration: none;
}

.footer-title{
  font-size: clamp(28px, 8vw, 120px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0 0 32px;
}

.footer-divider{
  height: 1px;
  background: rgba(0,0,0,0.35);
  margin-bottom: 40px;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.footer-links{
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
}

.footer-contact{
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  text-align: right;
}

.footer-top{
  display: inline-flex;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  font-size: 22px;

  margin: 0 auto 24px; /* ← zentriert */
}

.footer-bottom{
  text-align: center;  /* ← zentriert */
  font-size: 14px;
  color: rgba(0,0,0,0.7);
}

.footer-social svg{
  width: 22px;
  height: 22px;
  fill: #111;
  opacity: 0.9;
  transition: opacity .2s ease, transform .2s ease;
}

.footer-social a:hover svg{
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 900px){
  .footer-social{
    justify-content: flex-start;
  }
}
/* Force center arrow + copyright */
.site-footer .footer-top{
  display: flex !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-items: center !important;
  justify-content: center !important;
}

.site-footer .footer-bottom{
  text-align: center !important;
}/* ================================
   TESTIMONIAL CARDS (Custom)
================================ */
.testimonial-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
  align-items: start;
}

.t-card{
  background: #fff;
  color: #222;
  border-radius: 20px;
  padding: 26px 26px 22px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.t-head{
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
}

.t-avatar{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.t-name{
  font-weight: 700;
  font-size: 15px;
  color: #1b1b1b;
}

.t-role{
  font-size: 13px;
  color: #5b6472;
}

.t-stars{
  color: #f5b301;
  font-size: 18px;
  letter-spacing: 2px;
  margin: 6px 0 10px;
}

.t-title{
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #2b2f37;
}

.t-text{
  color: #4a4f57;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.t-date{
  color: #9aa0a6;
  font-size: 13px;
}

/* Mobile */
@media (max-width: 900px){
  .testimonial-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .t-card{
    padding: 22px;
  }
}/* Mobile: Process – mehr Abstand zwischen Linie, Kreis und Text */
@media (max-width: 900px){
  .process-timeline::before{
    left: 20px !important;     /* Linie etwas weiter links */
  }

  .process-step{
    left: 20px !important;     /* Kreis bündig zur Linie */
  }

  .process-item{
    padding-left: 72px !important;  /* Text weiter weg vom Kreis */
  }

  .process-content h3{
    margin-bottom: 10px !important;
  }
}
/* Process heading size like Services */
.process-title{
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
/* Mobile: Featured Work näher an Logo-Banner */
@media (max-width: 900px){
  .logo-banner + section{
    padding-top: 24px !important; /* vorher var(--space-xl) */
  }
}
/* ================================
   CASE PAGE
================================ */
.case-hero{
  padding: 140px 0 40px;
  text-align: center;
}
.case-kicker{
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: 14px;
}
.case-title{
  font-size: clamp(48px, 8vw, 35px);
  font-weight: 900;
  letter-spacing: -0.02em;
}


/* Video */
.case-video .video-frame{
  max-width: 960px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,0.6);
}
.case-video video{
  width: 100%;
  display: block;
}

/* Approach */
.case-approach{
  padding: 40px 0 140px;
}
.case-approach h2{
  font-size: clamp(28px, 5vw, 56px);
  margin-bottom: 12px;
}
.case-approach p{
  max-width: 720px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* Mobile */
@media (max-width: 900px){
  .case-hero{ padding: 110px 0 24px; }
  .stack-deck{ height: 320px; }
  .case-approach{ padding: 60px 0 100px; }
}
.case-approach{
  text-align: center;
}

.case-approach p{
  margin-left: auto;
  margin-right: auto;
}.case-video{ padding-bottom: 24px !important; }
.case-approach{ padding-top: 2px !important; }.footer-grid{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}

.footer-center{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-bottom{
  text-align: center;
}

@media (max-width: 900px){
  .footer-grid{
    grid-template-columns: 1fr;
    align-items: start;
  }
  .footer-center{
    order: 3;
    margin-top: 24px;
  }
}
