/* ═══════════════════════════════════════════════════════════════
 * KOPFPUNK Groku — Main Stylesheet
 * 1:1 aus den Mockup-HTMLs konsolidiert
 *
 * Sektionen:
 *   01 — Variables, Reset, Base
 *   02 — Custom Cursor
 *   03 — Site Header (mit Phase-Logik)
 *   04 — Site Footer (Lime BG)
 *   05 — Marker, Container, Shared
 *   06 — Hook-Stage (Frontpage)
 *   07 — Frontpage: Wer-sind-wir, Projekte-Carousel, Statement, Leistungen, Blog, Kontakt
 *   08 — Listing-Pages: Projects, Tools, Academy
 *   09 — Single: Projekt-Detail
 *   10 — Single: Leistung-Detail (Markenbereiche)
 *   11 — Mobile / Responsive
 * ═══════════════════════════════════════════════════════════════ */

/* ─── 01 · Variables, Reset, Base ─────────────────────────────── */

:root {
  --black: #0A0A0A;
  --paper: #FAFAFA;
  --lime:  #CCFF00;
  --font-display: "din-2014-narrow", "din-2014", "Bebas Neue", "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  background: var(--paper);
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Frontpage hat schwarzen Hook-Hintergrund — body BG dunkel */
body.page-front {
  background: var(--black);
  color: var(--paper);
}

/* ─── 02 · Custom Cursor ──────────────────────────────────────── */

@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, [role="button"], .projekt-card, .blog-card, .project-card, .tool-card, .academy-card, .next-card, .video-wrapper, .kontakt-form button { cursor: none; }
  input, textarea, select { cursor: text; }
}

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  mix-blend-mode: difference;
  will-change: transform;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
}

.cursor-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  z-index: 10000;
  transition: opacity 0.2s ease;
}

.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid #FFFFFF;
  border-radius: 50%;
  background: transparent;
  z-index: 9999;
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.3s ease,
              background 0.3s ease,
              opacity 0.2s ease;
}

.cursor-ring.is-hovering {
  width: 72px; height: 72px;
  border-color: var(--lime);
  background: var(--lime);
  mix-blend-mode: normal;
}

.cursor-dot.is-hovering { opacity: 0; }
.cursor-dot.is-hidden, .cursor-ring.is-hidden { opacity: 0; }

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ─── 03 · Site Header ────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.8rem 2rem;
  transition: padding 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease;
}

/* Default-Background für ALLE non-front Seiten: Backdrop-Blur über paper */
body:not(.page-front) .site-header {
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.site-header .logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  /* font-size steuert die SVG-Höhe (1em) — wird per Phase überschrieben */
  font-size: 1.4rem;
  line-height: 1;
  color: var(--black); /* Default — wird per Phase/BG überschrieben */
  transition: font-size 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* SVG-Wortmarke: Höhe an font-size gekoppelt, fill via currentColor */
.logo-svg {
  display: block;
  height: 1em;
  width: auto;
  /* Ratio aus dem SVG-File: ca. 6.62:1 (139.8 / 21.1) */
}

.logo-svg path,
.logo-svg polygon {
  fill: currentColor;
  transition: fill 0.3s ease;
}

/* Text-Fallback (wenn SVG fehlt) */
.logo-text-fallback {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: currentColor;
  font-size: 1em;
  line-height: 1;
}

/* — Frontpage: PHASE 1 (Hero-Phase) — Logo zentriert, groß, Lime — */
body.page-front .site-header:not(.is-compact) {
  padding-top: 4.5rem;
}
body.page-front .site-header:not(.is-compact) .logo {
  margin: 0 auto;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--lime);
}
body.page-front .site-header:not(.is-compact) .header-actions {
  display: none;
}

/* — Frontpage Compact + alle anderen Seiten: Logo links, klein — */
.site-header.is-compact .logo,
body:not(.page-front) .site-header .logo {
  margin-right: auto;
  font-size: 1.4rem;
}

/* GSAP fadet das Logo in Phase 2 der Hook-Animation aus.
   Dadurch landet inline-style="opacity: 0" auf .logo. Beim Wechsel in Phase 3
   (is-compact) muss das Logo wieder sichtbar sein — !important überschreibt
   das von GSAP gesetzte inline-style. */
.site-header.is-compact .logo {
  opacity: 1 !important;
}

/* Header-Farben je nach data-bg-Section (Logo + Buttons färben sich gemeinsam) */
.site-header.is-compact.on-light .logo { color: var(--black); }
.site-header.is-compact.on-dark  .logo { color: var(--lime); }
.site-header.is-compact.on-light .header-cta,
.site-header.is-compact.on-light .header-tel { color: var(--black); }
.site-header.is-compact.on-dark  .header-cta,
.site-header.is-compact.on-dark  .header-tel { color: var(--paper); }

/* Mobile-Adjustment: bei sehr schmaler Compact-Phase Logo etwas kleiner */
@media (max-width: 480px) {
  .site-header.is-compact .logo,
  body:not(.page-front) .site-header .logo {
    font-size: 1.2rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-cta, .header-tel {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  padding: 0.7rem 1.4rem;
  border: 1.5px solid currentColor;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.header-cta:hover, .header-tel:hover {
  background: var(--lime);
  color: var(--black) !important;
  border-color: var(--lime);
}

@media (max-width: 768px) {
  .site-header { padding: 1rem 1.2rem; }
  .header-cta { padding: 0.5rem 1rem; font-size: 0.8rem; }
  .header-tel-text { display: none; }
  .header-actions { gap: 0.8rem; }
  body.page-front .site-header:not(.is-compact) .logo {
    font-size: clamp(2rem, 9vw, 3rem);
  }
}

/* ─── 04 · Site Footer (Lime BG) ─────────────────────────────── */

.site-footer {
  background: var(--lime);
  color: var(--black);
  padding: 7rem 0 3rem;
}

.site-footer .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 0.4rem; }

.footer-col a {
  font-family: var(--font-display);
  text-decoration: none;
  color: var(--black);
  display: inline-block;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.25s ease;
}

.footer-col-main a {
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  padding: 0 0.15em;
  margin-left: -0.15em;
}

.footer-col-main a:hover {
  background: var(--black);
  color: var(--lime);
}

.footer-col-meta a {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
}

.footer-col-meta a:hover { border-bottom-color: var(--black); }
.footer-col-meta li { margin-bottom: 0.7rem; }

.footer-bottom {
  margin-top: 6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(10, 10, 10, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(10, 10, 10, 0.7);
}

@media (max-width: 768px) {
  .site-footer { padding: 5rem 0 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-col-meta { order: 2; }
  .footer-col-main:nth-of-type(2) { order: 0; }
  .footer-col-main:nth-of-type(3) { order: 1; }
  .footer-bottom { margin-top: 3rem; }
}

/* ─── 05 · Marker, Container, Shared ─────────────────────────── */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.marker {
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0.05em 0.35em 0.15em;
  line-height: 1.7;
}

/* Default Marker (Listing- und Detail-Seiten): schwarz mit weißem/limem Text */
.marker-white { background: var(--black); color: var(--paper); }
.marker-lime  { background: var(--lime);  color: var(--black); }
.marker-black-lime { background: var(--black); color: var(--lime); }

/* Frontpage Hook-Stage Marker: Container schwarz, Text weiß/lime — gleicher Look */
body.page-front .hook-stage .marker {
  background: var(--black);
}
body.page-front .hook-stage .marker-white { color: var(--paper); }
body.page-front .hook-stage .marker-lime  { color: var(--lime); }

/* Page-Hero Marker (Listing-Seiten): alle schwarz */
.page-headline .marker-white { background: var(--black); color: var(--paper); }
.page-headline .marker-lime  { background: var(--black); color: var(--lime); }

/* Single-Detail "anderen Bereiche" Headline: Lime-Marker */
.next-headline .marker-lime { background: var(--lime); color: var(--black); }

/* Helper: einzelne Buchstaben lowercase trotz uppercase Headline */
.keep-lower { text-transform: lowercase; }

/* Bei Naked-Marker (für schwarzen BG): kein Background, aber Text-Farbe für Lesbarkeit setzen */
.intro-headline-naked .marker {
  background-color: transparent;
  padding: 0;
  line-height: 1;
}
.intro-headline-naked .marker-lime  { color: var(--lime); }
.intro-headline-naked .marker-white { color: var(--paper); }
.intro-headline-naked .marker-black-lime { color: var(--lime); }

/* ─── 06 · Hook-Stage (Frontpage) ────────────────────────────── */

.hook-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--black);
}

.layer {
  position: absolute;
  inset: 0;
  will-change: opacity, transform;
}

.layer-bg-1, .layer-bg-2 {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden; /* schneidet Video bei object-fit: cover sauber */
}
.layer-bg-1 { z-index: 2; }
.layer-bg-2 { z-index: 1; opacity: 1; }

/* Optional Video-Hintergrund — gleiches Verhalten wie background-image cover */
.layer .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none; /* damit Clicks durchgehen (z.B. zum Cursor-Tracker) */
}

.layer-overlay {
  z-index: 3;
  background:
    linear-gradient(180deg,
      rgba(10,10,10,0.20) 0%,
      rgba(10,10,10,0)    25%,
      rgba(10,10,10,0)    65%,
      rgba(10,10,10,0.45) 100%);
  pointer-events: none;
}

.layer-clouds {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: visible;
}

.cloud {
  position: absolute;
  height: auto;
  will-change: transform, opacity;
  mix-blend-mode: screen;
}

.cloud-1 { top: -5%;  left: -25%; width: 95%;  opacity: 0.35; }
.cloud-2 { top: 18%;  left:  35%; width: 85%;  opacity: 0.40; }
.cloud-3 { top: 38%;  left: -20%; width: 100%; opacity: 0.30; }
.cloud-4 { top: 55%;  left:  45%; width: 80%;  opacity: 0.42; }
.cloud-5 { top: 72%;  left:  -5%; width: 90%;  opacity: 0.32; }
.cloud-6 { top: 25%;  left: -30%; width: 110%; opacity: 0.28; }

.layer-text {
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 0 2rem;
  pointer-events: none;
}

.text-1, .text-2 {
  grid-area: 1 / 1;
  text-align: center;
  max-width: 1200px;
  width: 100%;
  will-change: opacity, transform;
}

.text-2 { opacity: 0; }

.headline {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.headline-1 { font-size: clamp(2.4rem, 7.5vw, 6.5rem); }
.headline-2 { font-size: clamp(1.4rem, 3.8vw, 3.2rem); line-height: 1.5; }

.scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(250,250,250,0.6);
  will-change: opacity;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.scroll-hint::after {
  content: '';
  width: 1px;
  height: 28px;
  background: currentColor;
  animation: kpg-pulse 2.2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes kpg-pulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.5); }
  50%      { opacity: 1;   transform: scaleY(1);   }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint::after { animation: none; }
}

/* ─── 07 · Frontpage Sections ────────────────────────────────── */

.wer-sind-wir,
.projekte,
.blog,
.statement-section,
.kontakt {
  background: #FFFFFF;
  color: var(--black);
  padding: 8rem 0;
}

/* — Wer sind wir Split — */
.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.team-photo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 640px;
}

.placeholder-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(10,10,10,0.4);
  line-height: 1.6;
  text-align: center;
}

.split-text .statement,
.wer-sind-wir .statement,
.wer-sind-wir .split-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--black);
}

/* — Section Intros — */
.section-intro {
  margin-bottom: 4rem;
  max-width: 900px;
}

.intro-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 2rem;
}

.intro-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: rgba(10,10,10,0.85);
  max-width: 600px;
  margin: 0;
}

.intro-text-large {
  max-width: none;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.45;
}

.intro-headline-double {
  line-height: 1.5;
}

/* — Projekte Auto-Carousel — */
.slider-wrap {
  overflow: hidden;
  padding: 1rem 0 2rem;
}

.slider {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: kpg-scroll-x 80s linear infinite;
}

.slider-wrap:hover .slider {
  animation-play-state: paused;
}

@keyframes kpg-scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 1rem)); }
}

.projekt-card {
  flex: 0 0 auto;
  width: 720px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}

.projekt-card.blog-card {
  width: 480px;
  max-width: 90vw;
  align-self: flex-start; /* Cards starten oben, unterschiedliche Höhen erlaubt */
}

.projekt-card.blog-card .card-image {
  /* Kein fixes height — natürliche Bildhöhe */
  height: auto;
  width: 100%;
  aspect-ratio: auto; /* Override des Defaults von .card-image (4/3) */
  min-width: 0;
  margin-bottom: 1.4rem;
}

/* Img innerhalb Blog-Card: natürliche Aspect-Ratio, keine Crop-Verzerrung */
.projekt-card.blog-card .card-image-img,
.projekt-card.blog-card .card-image > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: unset;
}

.projekt-card.blog-card .card-text {
  width: 100%;
  max-width: 100%;
}

.projekt-card:hover { transform: translateY(-4px); }
.projekt-card:hover .card-image { filter: brightness(1.05); }

.card-image {
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: 4px;
  margin-bottom: 1.4rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  transition: filter 0.3s ease;
}

/* Img-Tag innerhalb der Card-Image (statt Background-Image) */
.card-image-img,
.card-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1);
}

.card-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--black);
  margin: 0 0 0.5rem;
}

.card-text p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.45;
  color: rgba(10,10,10,0.7);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .slider { animation: none; }
}

/* — Blog Manueller Slider mit Drag — */
.slider-manual {
  display: flex;
  align-items: flex-start; /* Cards oben starten — erlaubt unterschiedliche Card-Höhen */
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 1rem 2rem 2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(10,10,10,0.25) transparent;
  cursor: grab;
  user-select: none;
}

.slider-manual.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.slider-manual::-webkit-scrollbar { height: 8px; }
.slider-manual::-webkit-scrollbar-track { background: transparent; }
.slider-manual::-webkit-scrollbar-thumb {
  background: rgba(10,10,10,0.2);
  border-radius: 4px;
}
.slider-manual::-webkit-scrollbar-thumb:hover { background: rgba(10,10,10,0.35); }

.slider-manual .projekt-card { scroll-snap-align: start; }

/* — Statement — */
.statement-section {
  padding-bottom: 14rem; /* mehr Atemraum nach unten */
}

.big-statement,
.big-statement p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--black);
  margin: 0;
}
.big-statement p + p { margin-top: 1.2em; }

@media (max-width: 768px) {
  .statement-section { padding: 5rem 0; }
}

/* — Leistungen (Frontpage Black BG, 4 Cards) — */
.leistungen {
  background: #000000;
  color: var(--paper);
  padding: 8rem 0;
}

.leistungen-intro {
  margin-bottom: 5rem;
  max-width: 900px;
}

/* Frontpage Leistungen-Eyebrow + Headline (überschreibt das schwarze für Single-Detail) */
.leistungen .leistungen-eyebrow,
.marke-leistungen .leistungen-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--lime);
  margin-bottom: 1.5rem;
}

.leistungen .leistungen-headline,
.marke-leistungen .leistungen-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0;
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.leistung {
  padding: 2.5rem 1.8rem;
  border-left: 1px solid rgba(250,250,250,0.12);
  border-top:  1px solid rgba(250,250,250,0.12);
  transition: background 0.4s ease;
  position: relative;
}

.leistung:nth-child(odd)  { border-left: none;  padding-left: 0; }
.leistung:nth-child(even) { padding-right: 0; }
.leistung:nth-child(-n+2) { border-top: none; padding-top: 0; }

.leistung:hover { background: rgba(204,255,0,0.03); }

.leistungen .intro-text { color: rgba(250,250,250,0.85); }

.l-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--lime);
  margin-bottom: 1.8rem;
}

.l-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 1.8rem;
}

.l-desc {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.45;
  color: var(--paper);
  margin: 0 0 2rem;
}

.l-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime);
  text-decoration: none;
  padding-bottom: 0.4rem;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.3s ease, gap 0.3s ease;
}

.l-more:hover {
  border-bottom-color: var(--lime);
  gap: 0.9rem;
}

.l-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.l-more:hover .l-arrow { transform: translateX(2px); }

/* — Kontakt-Formular — */
.kontakt-form {
  margin-top: 4rem;
  max-width: 900px;
}

.kontakt-form .form-row { margin-bottom: 2.5rem; }

.kontakt-form input,
.kontakt-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(10,10,10,0.25);
  padding: 0.6rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--black);
  outline: none;
  transition: border-color 0.3s ease, border-bottom-width 0.2s ease;
  border-radius: 0;
  -webkit-appearance: none;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
  border-bottom-color: var(--lime);
  border-bottom-width: 2px;
}

.kontakt-form input::placeholder,
.kontakt-form textarea::placeholder {
  color: rgba(10,10,10,0.35);
  font-weight: 400;
}

.kontakt-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-display);
}

.kontakt-form .form-actions { margin-top: 3rem; }

.kontakt-form button {
  background: var(--black);
  color: var(--lime);
  border: none;
  padding: 1.1rem 3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.kontakt-form button:hover {
  background: var(--lime);
  color: var(--black);
}

/* — Fluent Forms im Kontakt-Wrapper — KOPFPUNK-Design — */
.kontakt-form-wrap .fluentform { max-width: 900px; margin: 4rem 0 0; }
.kontakt-form-wrap .fluentform .ff-el-group { margin-bottom: 2.5rem; }

.kontakt-form-wrap .fluentform .ff-el-input--label label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
  margin-bottom: 0.5rem;
  display: block;
}

.kontakt-form-wrap .fluentform input[type="text"],
.kontakt-form-wrap .fluentform input[type="email"],
.kontakt-form-wrap .fluentform input[type="tel"],
.kontakt-form-wrap .fluentform input[type="url"],
.kontakt-form-wrap .fluentform input[type="number"],
.kontakt-form-wrap .fluentform textarea,
.kontakt-form-wrap .fluentform select {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(10,10,10,0.3) !important;
  border-radius: 0 !important;
  padding: 0.6rem 0 !important;
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  font-size: 1rem !important;
  color: var(--black) !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease;
}

.kontakt-form-wrap .fluentform input:focus,
.kontakt-form-wrap .fluentform textarea:focus,
.kontakt-form-wrap .fluentform select:focus {
  outline: none !important;
  border-bottom-color: var(--black) !important;
  box-shadow: none !important;
}

.kontakt-form-wrap .fluentform input::placeholder,
.kontakt-form-wrap .fluentform textarea::placeholder {
  color: rgba(10,10,10,0.4);
  font-family: var(--font-display);
}

.kontakt-form-wrap .fluentform textarea {
  min-height: 120px;
  resize: vertical;
}

/* Telefon-Feld mit intl-tel-input */
.kontakt-form-wrap .fluentform .iti { width: 100%; display: block; }
.kontakt-form-wrap .fluentform .iti--allow-dropdown .iti__tel-input,
.kontakt-form-wrap .fluentform input[type="tel"].iti__tel-input { padding-left: 52px !important; }
.kontakt-form-wrap .fluentform .iti__country-container { z-index: 2; }
.kontakt-form-wrap .fluentform .iti__selected-flag { background: transparent !important; padding: 0 8px !important; }
.kontakt-form-wrap .fluentform .iti__country-list { background: var(--paper); border: 1px solid rgba(10,10,10,0.2); border-radius: 0; font-family: var(--font-display); }

/* Required-Asterisk */
.kontakt-form-wrap .fluentform .ff-el-is-required.asterisk-right label::after,
.kontakt-form-wrap .fluentform .ff-el-is-required .ff-el-input--label label::after {
  color: var(--black);
}

/* Submit Button */
.kontakt-form-wrap .fluentform .ff-btn,
.kontakt-form-wrap .fluentform .ff-btn-submit,
.kontakt-form-wrap .fluentform button[type="submit"] {
  background: var(--black) !important;
  color: var(--lime) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 1.1rem 3rem !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  box-shadow: none !important;
  width: auto !important;
  display: inline-block;
}

.kontakt-form-wrap .fluentform .ff-btn:hover,
.kontakt-form-wrap .fluentform .ff-btn-submit:hover,
.kontakt-form-wrap .fluentform button[type="submit"]:hover {
  background: var(--lime) !important;
  color: var(--black) !important;
}

/* Fehler-/Erfolgsmeldungen */
.kontakt-form-wrap .fluentform .error,
.kontakt-form-wrap .fluentform .ff-el-is-error .text-danger {
  color: #c00;
  font-family: var(--font-display);
  font-size: 0.85rem;
  margin-top: 0.4rem;
}
.kontakt-form-wrap .fluentform .ff-message-success {
  background: var(--lime);
  color: var(--black);
  padding: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .kontakt { padding: 5rem 0; }
}

@media (max-width: 768px) {
  .leistungen { padding: 5rem 0; }
  .leistungen-grid { grid-template-columns: 1fr; }
  .leistung {
    padding: 2.5rem 0;
    border-left: none;
    border-top: 1px solid rgba(250,250,250,0.12);
  }
  .leistung:first-child { border-top: none; padding-top: 0; }
}

@media (max-width: 768px) {
  .wer-sind-wir, .projekte { padding: 5rem 0; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .team-photo { max-width: 320px; margin: 0 auto; }
  .container { padding: 0 1.5rem; }
  .projekt-card { width: 85vw; }
  .card-text h3 { font-size: 1.5rem; }
  .card-text p { font-size: 1rem; }
  .slider { animation-duration: 50s; }
}

/* ─── 08 · Listing-Pages: Projects, Tools, Academy ───────────── */

/* Page-Hero (gemeinsam für Listings) */
.page-hero { padding: 9rem 0 5rem; }

.page-hero .container,
.page-hero .container-wide {
  max-width: 1400px;
  padding: 0 2rem;
  margin: 0 auto;
}

.page-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 2rem;
  letter-spacing: 0;
}

.page-subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.5;
  color: var(--black);
  max-width: 850px;
}

/* Projects-Grid */
.projects-grid-section { padding: 3rem 0 6rem; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.project-card {
  text-decoration: none;
  color: var(--black);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.project-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #E6E6E0;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1);
}
.project-image-img,
.project-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.project-card:hover .project-image { transform: scale(1.02); }
.project-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.55);
}
.project-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--black);
}
.project-excerpt {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.5;
  color: rgba(10,10,10,0.75);
}
.project-card.is-large .project-image { aspect-ratio: 3 / 2; }
.project-card.is-tall  .project-image { aspect-ratio: 4 / 5; }

@media (max-width: 768px) {
  .projects-grid { grid-template-columns: 1fr; gap: 3rem 0; }
  .page-hero { padding: 7rem 0 3rem; }
}

/* Tools-Grid */
.tools-grid-section { padding: 3rem 0 6rem; }
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.tool-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2.5rem;
  background: #FFFFFF;
  border: 1.5px solid rgba(10,10,10,0.1);
  text-decoration: none;
  color: var(--black);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  min-height: 320px;
}
.tool-card:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--paper);
}
.tool-card:hover .tool-num,
.tool-card:hover .tool-link { color: var(--lime); }
.tool-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: rgba(10,10,10,0.5);
  transition: color 0.3s ease;
}
.tool-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.tool-desc {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.5;
  flex-grow: 1;
}
.tool-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-top: 1rem;
  transition: color 0.3s ease;
}

@media (max-width: 900px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tools-grid { grid-template-columns: 1fr; } }

/* Academy-Grid */
.academy-grid-section { padding: 3rem 0 0; }
.academy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.academy-card {
  text-decoration: none;
  color: var(--black);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.academy-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #E6E6E0;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1);
}
.academy-card:hover .academy-image { transform: scale(1.02); }
.academy-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.55);
}
.academy-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--black);
}
.academy-excerpt {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(10,10,10,0.75);
}

@media (max-width: 1000px) { .academy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .academy-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ─── 08b · Academy-Liste (Schlagwort-Glossar) ───────────────── */
/* Alternative Darstellung für Academy-Listing: kein Bento-Grid sondern
   eine klare Schlagwort-Liste. Jeder Beitrag eine Zeile, großer Titel
   links, optionale Meta rechts. SEO-optimal weil alle Links sichtbar. */

.academy-list-section {
  padding: 4rem 0 8rem;
}
.academy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
.academy-list-item {
  border-top: 1px solid rgba(10, 10, 10, 0.12);
}
.academy-list-item:last-child {
  border-bottom: 1px solid rgba(10, 10, 10, 0.12);
}
.academy-list-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 0.5rem;
  text-decoration: none;
  color: var(--black);
  transition: padding-left 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}
.academy-list-link:hover {
  padding-left: 1.5rem;
  background-color: rgba(195, 247, 58, 0.18);
}
.academy-list-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  flex: 1;
  min-width: 0;
}
.academy-list-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
  white-space: nowrap;
  flex-shrink: 0;
}
.academy-list-empty {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: rgba(10, 10, 10, 0.5);
  text-align: center;
  padding: 4rem 0;
}

@media (max-width: 600px) {
  .academy-list-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1.25rem 0;
  }
  .academy-list-link:hover { padding-left: 0.75rem; }
}

/* Academy: Download-Button am Ende des Single-Beitrags */
.academy-download {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(10, 10, 10, 0.12);
}
.academy-download .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.academy-download .btn-lime {
  background: var(--lime);
  color: var(--black);
}
.academy-download .btn:hover { transform: translateY(-2px); }


/* ─── 09 · Single: Projekt-Detail ────────────────────────────── */

.projekt-detail { padding-top: 6rem; }

.projekt-back,
.marke-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  margin-bottom: 4rem;
  transition: opacity 0.25s ease;
}
.projekt-back:hover,
.marke-back:hover { opacity: 0.5; }

.projekt-intro,
.marke-intro {
  padding: 4rem 0 5rem;
}

.projekt-eyebrow,
.marke-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  letter-spacing: 0;
  color: rgba(10, 10, 10, 0.6);
  margin-bottom: 1.5rem;
}

/* Schlagworte (Tags) untereinander im Sidebar-Label des Single-Blog-Posts.
   Erbt den Mono/uppercase-Stil von .text-label. */
.text-label .post-tags {
  list-style: none;
  margin: 0;
  padding: 0;
}
.text-label .post-tags li {
  display: block;
  margin-bottom: 0.4em;
}
.text-label .post-tags li:last-child { margin-bottom: 0; }
.text-label .post-tags a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.text-label .post-tags a:hover { color: var(--black); }

.projekt-headline,
.marke-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 2.5rem;
  max-width: 1100px;
}

.marke-subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.5;
  color: var(--black);
  max-width: 850px;
}

/* Hero-Bild */
.projekt-hero {
  max-width: 1400px;
  margin: 0 auto 6rem;
  padding: 0 2rem;
}
.projekt-hero img,
.projekt-hero video,
.projekt-hero .hero-media {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
}

/* Info-Block */
.projekt-info { padding: 2rem 0 7rem; }

.projekt-info-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.info-meta dl {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.info-meta dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.3rem;
}

.info-meta dd {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--black);
}

.info-leistungen {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.info-leistungen a {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1.5px solid var(--black);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.info-leistungen a:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
  background: var(--black);
  padding: 0 0.2em 1px;
}

.info-body {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.5;
  color: var(--black);
}
.info-body p { margin-bottom: 1.5em; }
.info-body p:last-child { margin-bottom: 0; }
.info-body p strong,
.info-body strong { font-weight: 700; }

/* Testimonial */
.projekt-testimonial {
  background: #000000;
  color: var(--paper);
  padding: 8rem 2rem;
  margin-bottom: 6rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-grid.no-image {
  grid-template-columns: 1fr;
  max-width: 1000px;
  text-align: center;
}

.testimonial-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  background: #1A1A1A;
  flex-shrink: 0;
}

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

.testimonial-quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.5;
  color: var(--paper);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime);
  display: block;
}

.testimonial-role {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  letter-spacing: 0;
  color: var(--paper);
  display: block;
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .projekt-testimonial { padding: 5rem 1.5rem; margin-bottom: 4rem; }
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .testimonial-image {
    margin: 0 auto;
    width: 140px;
    height: 140px;
  }
}

/* Galerie */
.projekt-galerie { padding: 0 0 7rem; }

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 1rem;
  padding: 0 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.gal-item {
  width: 100%;
  height: 100%;
  display: block;
  background: #E6E6E0;
  position: relative;
  overflow: hidden;
}

.gal-item img,
.gal-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gal-item:nth-child(8n+1) { grid-column: span 8;  aspect-ratio: 16 / 9; }
.gal-item:nth-child(8n+2) { grid-column: span 4;  aspect-ratio: 3 / 4; }
.gal-item:nth-child(8n+3) { grid-column: span 4;  aspect-ratio: 1 / 1; }
.gal-item:nth-child(8n+4) { grid-column: span 8;  aspect-ratio: 4 / 3; }
.gal-item:nth-child(8n+5) { grid-column: span 12; aspect-ratio: 21 / 9; }
.gal-item:nth-child(8n+6) { grid-column: span 5;  aspect-ratio: 4 / 3; }
.gal-item:nth-child(8n+7) { grid-column: span 7;  aspect-ratio: 3 / 2; }
.gal-item:nth-child(8n+8) { grid-column: span 6;  aspect-ratio: 1 / 1; }

.galerie-grid.single .gal-item {
  grid-column: span 12;
  aspect-ratio: 16 / 9;
}

/* Projekt-Next */
.projekt-next { padding: 2rem 0 7rem; }

.next-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 3.5rem;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Projekt-Detail next-cards (mit Bild) */
.projekt-detail .next-card {
  text-decoration: none;
  color: var(--black);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.projekt-detail .next-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #E6E6E0;
  transition: transform 0.5s ease;
  overflow: hidden;
}

.projekt-detail .next-card:hover .next-image { transform: scale(1.02); }

.projekt-detail .next-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--black);
}

.projekt-detail .next-card p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.4;
  color: rgba(10, 10, 10, 0.7);
}

@media (max-width: 900px) {
  .projekt-info-grid { grid-template-columns: 1fr; gap: 3rem; }
  .next-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .galerie-grid { grid-template-columns: repeat(6, 1fr); }
  .gal-item:nth-child(8n+1),
  .gal-item:nth-child(8n+4),
  .gal-item:nth-child(8n+5),
  .gal-item:nth-child(8n+7) { grid-column: span 6; }
  .gal-item:nth-child(8n+2),
  .gal-item:nth-child(8n+3),
  .gal-item:nth-child(8n+6),
  .gal-item:nth-child(8n+8) { grid-column: span 3; }
}

/* ─── 10 · Single: Leistung-Detail (Markenbereiche) ─────────── */

.marke-detail { padding-top: 6rem; }

/* Video — Reinhard erklärt */
.marke-video {
  max-width: 1400px;
  margin: 0 auto 7rem;
  padding: 0 2rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1A1A1A;
  overflow: hidden;
}

.video-wrapper video,
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0A0A0A 0%, #2A2A2A 100%);
  color: rgba(250, 250, 250, 0.7);
}

.video-placeholder.has-poster {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.video-placeholder.has-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 100%);
  z-index: 0;
}
.video-placeholder.has-poster .play-icon {
  display: none;
}
.video-placeholder.has-poster .video-label {
  position: relative;
  z-index: 1;
}

.play-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon svg { margin-left: 4px; }

.video-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Marke-Text */
.marke-text { padding: 0 0 8rem; }

.text-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
  position: sticky;
  top: 7rem;
}

.text-body {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.5;
  color: var(--black);
}
.text-body p { margin-bottom: 1.5em; }
.text-body p:last-child { margin-bottom: 0; }
.text-body p strong,
.text-body strong { font-weight: 700; }

@media (max-width: 900px) {
  .text-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .text-label { position: static; }
}

/* Marke-Leistungen (schwarzer Block mit nummerierten Items) */
.marke-leistungen {
  background: #000000;
  color: var(--paper);
  padding: 8rem 0;
}

.marke-leistungen .leistungen-intro {
  max-width: 1400px;
  margin: 0 auto 5rem;
  padding: 0 2rem;
}

.leistungen-list {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  list-style: none;
}

.leistung-item {
  display: grid;
  grid-template-columns: 100px 1fr 2fr;
  gap: 3rem;
  align-items: start;
  padding: 2.8rem 0;
  border-top: 1px solid rgba(250, 250, 250, 0.15);
}

.leistung-item:last-child {
  border-bottom: 1px solid rgba(250, 250, 250, 0.15);
}

.leistung-num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--lime);
  padding-top: 0.5rem;
}

.leistung-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--paper);
}

.leistung-desc {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.5;
  color: rgba(250, 250, 250, 0.75);
}

@media (max-width: 768px) {
  .marke-leistungen { padding: 5rem 0; }
  .leistung-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }
  .leistung-num { padding-top: 0; }
}

/* Marke-CTA */
.marke-cta {
  padding: 8rem 2rem;
  text-align: center;
}

.cta-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  padding: 1.2rem 3rem;
  background: var(--lime);
  border: 1.5px solid var(--lime);
  transition: background 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
  background: var(--black);
  color: var(--lime);
  border-color: var(--black);
}

/* Marke-Next (drei andere Bereiche) */
.marke-next { padding: 4rem 0 7rem; }

.marke-next .next-card {
  text-decoration: none;
  color: var(--black);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2rem;
  border: 1.5px solid rgba(10, 10, 10, 0.12);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.marke-next .next-card:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--paper);
}

.marke-next .next-card:hover .next-card-num { color: var(--lime); }

.next-card-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: rgba(10, 10, 10, 0.5);
  transition: color 0.3s ease;
}

.next-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.next-card-desc {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.5;
}

.next-card-arrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 1rem;
}

@media (max-width: 900px) {
  .marke-next .next-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
  .marke-detail { padding-top: 5rem; }
  .marke-cta { padding: 5rem 1.5rem; }
}

/* ─── 11 · Reduced Motion Final ──────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ─────────────────────────────────────────────────────────────
 * 12 · About-Seite
 * ───────────────────────────────────────────────────────────── */

/* ─── INTRO (dark) ─── */
.about-intro {
  padding: 8rem 0 5rem;
  background: var(--black);
  color: var(--paper);
}
.about-intro-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 3rem;
}
.about-intro-headline .marker {
  background-color: transparent;
  padding: 0;
  line-height: 1;
}
.about-intro-headline .marker-white { color: var(--paper); }
.about-intro-headline .marker-lime  { color: var(--lime); }
.about-intro-lead {
  width: 100%;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  line-height: 1.5;
  color: rgba(250, 250, 250, 0.85);
}
.about-intro-lead p { margin: 0 0 1rem; }
.about-intro-lead p:last-child { margin-bottom: 0; }

/* ─── Section-Headline ─── */
.about-section-headline {
  margin: 0 0 4rem;
}

/* ─── PERSONEN (light) ─── */
.about-personen {
  padding: 6rem 0 7rem;
  background: var(--paper);
  color: var(--black);
}
.personen-grid {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.person-card {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}
.person-card:nth-child(even) {
  grid-template-columns: 2fr 3fr;
}
.person-card:nth-child(even) .person-foto {
  order: 2;
}
.person-foto {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.06);
}
.person-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.person-foto-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(10, 10, 10, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.person-text { min-width: 0; padding-top: 0.5rem; }
.person-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  margin: 0 0 1rem;
  color: var(--black);
  text-transform: uppercase;
}
.person-tags {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 400;
  color: rgba(10, 10, 10, 0.7);
  margin: 0 0 2rem;
  line-height: 1.4;
}
.person-qa { margin: 0; }
.person-qa dt {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 700;
  color: var(--black);
  margin-top: 1.5rem;
  line-height: 1.3;
}
.person-qa dt:first-of-type { margin-top: 0; }
.person-qa dd {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
  margin: 0.4rem 0 0;
  color: rgba(10, 10, 10, 0.85);
}

/* ─── ARBEITSWEISE (dark, großes Bild links + Text rechts) ─── */
.about-arbeitsweise {
  padding: 6rem 0 7rem;
  background: var(--black);
  color: var(--paper);
}
.arbeitsweise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.arbeitsweise-grid.arbeitsweise-grid-nobild {
  grid-template-columns: 1fr;
}
.arbeitsweise-bild {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: rgba(250, 250, 250, 0.06);
}
.arbeitsweise-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.arbeitsweise-content { min-width: 0; align-self: center; }
.arbeitsweise-content .about-section-headline {
  margin: 0 0 2rem;
}
.arbeitsweise-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  line-height: 1.5;
  color: rgba(250, 250, 250, 0.85);
}
.arbeitsweise-text p { margin: 0 0 1rem; }
.arbeitsweise-text p:last-child { margin-bottom: 0; }

/* ─── WERTE (light, Accordion) ─── */
.about-werte {
  padding: 6rem 0 7rem;
  background: var(--paper);
  color: var(--black);
}
.werte-accordion {
  display: flex;
  flex-direction: column;
}
.wert-item {
  border-top: 1px solid rgba(10, 10, 10, 0.18);
}
.wert-item:last-child {
  border-bottom: 1px solid rgba(10, 10, 10, 0.18);
}
.wert-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0;
  cursor: pointer;
  list-style: none;
}
.wert-summary::-webkit-details-marker { display: none; }
.wert-titel {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--black);
}
.wert-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  position: relative;
}
.wert-icon::before,
.wert-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--black);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.wert-icon::before { width: 24px; height: 2px; }
.wert-icon::after  { width: 2px;  height: 24px; }
.wert-item[open] .wert-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.wert-body {
  padding: 0 0 2rem;
  max-width: 800px;
}
.wert-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  line-height: 1.5;
  margin: 0;
  color: rgba(10, 10, 10, 0.85);
}

/* ─── CTA (ohne Hintergrund, "Lass uns reden") ─── */
.about-cta {
  padding: 6rem 0 7rem;
  background: transparent;
  color: var(--black);
  text-align: center;
}
.about-cta-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 1.5rem;
  color: var(--black);
}
.about-cta-text {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.85);
}
.about-cta-button {
  display: inline-block;
  background: var(--black);
  color: var(--lime);
  padding: 1.1rem 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.about-cta-button:hover { opacity: 0.85; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .person-card,
  .person-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .person-card:nth-child(even) .person-foto { order: 0; }
  .arbeitsweise-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .personen-grid { gap: 4rem; }
  .about-intro { padding: 5rem 0 3rem; }
  .about-personen,
  .about-arbeitsweise,
  .about-werte,
  .about-cta { padding: 4rem 0 5rem; }
  .wert-summary { padding: 1.5rem 0; }
}


/* ─── Header on-dark/on-light auf Non-Frontpage-Seiten ─── */
/* (Frontpage hat eigene Logik in main.js; hier nur Sub-Pages) */
body:not(.page-front) .site-header.on-dark {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body:not(.page-front) .site-header.on-dark .logo {
  color: var(--lime);
}
body:not(.page-front) .site-header.on-dark .header-cta {
  color: var(--paper);
  border-color: var(--paper);
}
body:not(.page-front) .site-header.on-dark .header-tel {
  color: var(--paper);
}
body:not(.page-front) .site-header.on-dark .header-tel svg {
  fill: var(--paper);
}
body:not(.page-front) .site-header.on-light {
  background: rgba(250, 250, 250, 0.9);
}


/* ─────────────────────────────────────────────────────────────
 * 13 · Visitenkarte (page-reinhard.php)
 * ───────────────────────────────────────────────────────────── */

/* Standalone-Body: kein vom Theme erzwungenes top-padding für fixed header */
body.page-visitenkarte {
  padding: 0;
  margin: 0;
}
/* Custom-Cursor des Themes hier deaktivieren — Visitenkarte hat keinen Header,
   in dem das Cursor-Element steckt; ohne Override würde der Mauszeiger verschwinden */
body.page-visitenkarte,
body.page-visitenkarte * {
  cursor: auto;
}
body.page-visitenkarte a,
body.page-visitenkarte button,
body.page-visitenkarte summary {
  cursor: pointer;
}
.visitenkarte-standalone {
  display: block;
  min-height: 100vh;
}
.visitenkarte {
  background: var(--black);
  color: var(--paper);
  min-height: 100vh;
  padding: 6rem 0 6rem;
  display: flex;
  align-items: center;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}
.visit-foto {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: rgba(250, 250, 250, 0.06);
}
.visit-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.visit-foto-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(250, 250, 250, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.visit-content { min-width: 0; text-align: left; }
.visit-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--lime);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.visit-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 2rem;
  /* Marker-Padding rechts kompensieren, damit Block links bündig sitzt */
  margin-left: -0.35em;
}
.visit-name .marker {
  line-height: 1.05;
  padding: 0.05em 0.35em 0.15em;
}
.visit-meta { margin-bottom: 3rem; }
.visit-position {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-style: normal;
  margin: 0 0 0.5rem;
  color: rgba(250, 250, 250, 0.95);
}
.visit-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-style: normal;
  margin: 0;
  color: rgba(250, 250, 250, 0.6);
}
.visit-links {
  display: flex;
  flex-direction: column;
}
.visit-link {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(250, 250, 250, 0.18);
  text-decoration: none;
  color: var(--paper);
  transition: padding-left 0.25s ease, color 0.2s ease;
}
.visit-link:last-of-type {
  border-bottom: 1px solid rgba(250, 250, 250, 0.18);
}
.visit-link:hover {
  padding-left: 1rem;
  color: var(--lime);
}
.visit-link-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--lime);
  letter-spacing: 0.1em;
  width: 2.5rem;
  flex-shrink: 0;
}
.visit-link-label {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1;
}
.visit-link-arrow {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--lime);
  transition: transform 0.25s ease;
}
.visit-link:hover .visit-link-arrow {
  transform: translateX(8px);
}

@media (max-width: 900px) {
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .visit-foto {
    max-width: 360px;
    margin: 0 auto;
  }
  .visitenkarte {
    padding: 5rem 0 4rem;
    min-height: 0;
  }
}
