@font-face {
  font-family: "Rajdhani";
  src: url("../font/Rajdhani-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rajdhani";
  src: url("../font/Rajdhani-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  font-synthesis: none;
}

:root {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --text: #000000;
  --muted: #000000;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #e43612;
  --header-h: 92px;
  --header-h-scrolled: 72px;

  --font-main: "Rajdhani", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --weight-regular: 500;
  --weight-medium: 500;
  --weight-bold: 700;

  --tracking-copy: 0.005em;
  --tracking-headline: 0;
  --tracking-nav: 0.02em;
  --tracking-button: 0.015em;
  --tracking-kicker: 0.04em;
  --kicker-size: .86rem;

  --news-card-width-total: 480px;
  --news-card-gap: 8px;
  --news-card-height: 152px;

  --news-card-kicker-size: var(--kicker-size);
  --news-card-kicker-line: 1.5;
  --news-card-kicker-top: 16px;

  --news-card-text-size: 1.15rem;
  --news-card-text-line: 1.25;

  --news-card-kicker-size: var(--kicker-size);
  --news-article-title-width: 26rem;
  --news-article-title-size: 2rem;
  --news-article-title-line: 1.08;
  --news-article-title-spacing: .01em;

    color-scheme: only light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  font-weight: var(--weight-medium);
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

button,
input,
textarea,
select {
  font-family: var(--font-main);
  font-weight: inherit;
}

body.menu-open { overflow: hidden; }

main,
footer {
  overflow-x: hidden;
}

main {
  flex: 1;
}

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

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

.wrap {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
}

/* Header / Navigation */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: min-height .25s ease, box-shadow .25s ease, padding .25s ease;
}

.topbar.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.nav {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: min-height .25s ease;
}

.topbar.is-scrolled .nav {
  min-height: var(--header-h-scrolled);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  height: 52px;
  width: auto;
  transform-origin: center;
  transition: opacity .22s ease, transform .22s ease, height .25s ease;
}

.brand-logo--compact {
  display: none;
  height: 34px;
}

.topbar.is-scrolled .brand-logo--full { display: none; }
.topbar.is-scrolled .brand-logo--compact { display: block; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.topbar.is-scrolled .desktop-nav {
  display: none;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .04rem;
  position: relative;
  top: 3px;
  font-weight: var(--weight-bold);
}

.nav-links a {
  position: relative;
  color: #000000;
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -32px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
}

/* Projekte Subnavi: volle Zeile aus dem Sticky Header */
.topbar {
  overflow: visible;
}

.nav-project-link {
  position: relative;
}

.nav-project-link::before {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 38px;
  background: transparent;
}

/* Hauptnavigation: Projekte als Bereich aktiv markieren */
.nav-project-link.active {
  color: var(--accent);
}

.nav-project-link.active::after {
  opacity: 1;
}

/* Projekte-Link bei Hover/Subnavi-Zustand exakt wie normale Hauptnavi */
.topbar:has(.nav-project-link:hover) .nav-project-link,
.topbar:has(.nav-project-subline:hover) .nav-project-link {
  color: var(--accent);
}

.topbar:has(.nav-project-link.active:hover) .nav-project-link.active::after,
.topbar:has(.nav-project-subline:hover) .nav-project-link.active::after {
  opacity: 0;
}

/* Ausfahrende Subnavi */
.nav-project-subline {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 1px);
  z-index: 80;
  height: 54px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
  transition: clip-path .26s cubic-bezier(.22, 1, .36, 1);
}

.topbar:has(.nav-project-link:hover) .nav-project-subline,
.topbar:has(.nav-project-subline:hover) .nav-project-subline {
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
}

.nav-project-subline-inner {
  width: 440px;
  height: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 42px;
  margin-left: var(--project-subline-center, 50%);
  transform: translateX(-50%);
}

.nav-project-subline-inner a:first-child {
  justify-self: end;
}

.nav-project-subline-inner a:last-child {
  justify-self: start;
}

.nav-project-subline a {
  position: relative;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  color: #000000;
  font-size: .86rem;
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.nav-project-subline a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .2s ease;
}

.nav-project-subline a:hover,
.nav-project-subline a.active {
  color: var(--accent);
}

.nav-project-subline a:hover::after,
.nav-project-subline a.active::after {
  opacity: 1;
}

.menu-panel a.active {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 2px 18px 0;
  border: 1px solid var(--text);
  border-radius: 0;
  font-family: "Rajdhani", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: var(--weight-bold);
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  top: 1px;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  transform: none;
}

.btn-secondary {
  background: #ffffff;
  color: #000000;
  border: 1px solid transparent;
}

.btn-secondary:hover {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  transform: none;
}

.btn-white-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-white-outline:hover {
  background: #ffffff;
  color: var(--accent);
  border-color: #ffffff;
}

/* Mobile menu */
.menu-toggle {
  width: 52px;
  height: 52px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
  transition: opacity .2s ease;
}

.topbar.is-scrolled .menu-toggle {
  display: inline-flex;
  opacity: 1;
  pointer-events: auto;
}

.menu-toggle:hover .burger span,
.menu-toggle[aria-expanded="true"] .burger span {
  background: var(--accent);
}

.menu-toggle:hover .burger span:nth-child(1),
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

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

.menu-toggle:hover .burger span:nth-child(3),
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.burger {
  position: relative;
  width: 22px;
  height: 14px;
  display: block;
}

.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #000;
  transform-origin: center;
  transition: transform .25s ease, opacity .25s ease, top .25s ease, background .25s ease;
}
.burger span:nth-child(2) {
  background: var(--accent);
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 7px; }
.burger span:nth-child(3) { top: 14px; }

.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  padding: 110px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: #000000;
  border-left: 1px solid var(--line);
  transform: translate3d(100%, 0, 0);
  transition: transform .28s ease;
  will-change: transform;
  backface-visibility: hidden;
  z-index: 120;
}

.menu-panel.is-open {
  transform: translate3d(0, 0, 0);
}

.menu-panel a {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.03em;
  color: #ffffff;
  transition: color .2s ease;
}
.menu-panel a:not(.btn) {
  font-weight: var(--weight-bold);
}

.menu-panel a:hover { color: var(--accent); }

.menu-sub {
  display: grid;
  gap: 18px;
  margin-top: -12px;
  margin-bottom: 16px;
  padding-left: 18px;
}

.menu-sub a {
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: -.03em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.menu-sub a:hover,
.menu-sub a.active {
  color: var(--accent);
}

.menu-panel .btn {
  font-size: 1.2rem;
  letter-spacing: .04em;
  align-self: flex-start;
  min-height: 56px;
  padding: 2px 22px 0;
}

.menu-close {
  all: unset;
  position: absolute;
  top: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  display: block;
  color: #ffffff;
  cursor: pointer;
  z-index: 10;
}

.menu-close::before,
.menu-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 4px;
  background: currentColor;
  transform-origin: center;
  pointer-events: none;
  transition: background .2s ease;
}

.menu-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-close:hover,
.menu-close:focus-visible {
  color: var(--accent);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 110;
}

.menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* To top */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  z-index: 90;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.to-top.is-inverted {
  background: #ffffff;
  color: var(--accent);
  border-color: #ffffff;
}

.to-top:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

.to-top.is-inverted:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  outline: 2px solid #ffffff;
  outline-offset: -1px;
}

.to-top svg {
  width: 22px;
  height: 22px;
  stroke-width: 3;
}

/* Typography / Base Sections */
section { padding: 120px 0; }

.hero {
  min-height: calc(100dvh - var(--header-h));
  padding: 0;
  display: flex;
  align-items: center;
  background: #000000;
  position: relative;
}


.hero-subline {
  max-width: 52rem;
  margin: 34px 0 0 8px;
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1.6;
}


h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(4.2rem, 11vw, 8.5rem);
  line-height: .84;
  letter-spacing: -.015em;
  text-transform: uppercase;
  font-weight: var(--weight-medium);
  color: #ffffff;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: .95;
  letter-spacing: -.015em;
  text-transform: uppercase;
  font-weight: var(--weight-medium);
}

.hero-actions {
  margin-top: 40px;
  margin-left: 8px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-start;
}


.hero-light { font-weight: var(--weight-medium); }
.hero-bold { font-weight: var(--weight-bold); }

.h2-large {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: .95;
  letter-spacing: -.015em;
  text-transform: none;
  font-weight: var(--weight-bold);
}

.h2-white {
  color: #fff;
  margin-bottom: 30px;
  letter-spacing: -.01em;
}

.h2-reset { text-transform: none; }
.fw-regular { font-weight: var(--weight-medium); }
.fw-semibold { font-weight: var(--weight-bold); }
.mb-22 { margin-bottom: 22px; }

.lead {
  max-width: 44rem;
  margin-bottom: 26px;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.6;
}

.lead-tight {
  margin: 0;
  max-width: 36rem;
}

.claim {
  font-weight: var(--weight-bold);
  font-size: 1.2rem;
  letter-spacing: -.01em;
}

.kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: var(--kicker-size);
  font-weight: var(--weight-bold);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.page-hero .kicker,
.projekte-page-hero .kicker,
.profil-page-hero .kicker,
.aktuelles-page-hero .kicker,
.leistungen-page-hero .kicker,
.werbe-check-page-hero .kicker {
  font-size: .86rem;
}

.kicker-light {
  color: #ffffff;
  opacity: .8;
}

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 60px;
  align-items: start;
}


/* =========================================================
   Page Hero System
   Gemeinsame Basis für Unterseiten-Heros
========================================================= */

.page-hero {
  min-height: calc(100dvh - var(--header-h));
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
}

.page-hero--dark {
  background: #000000;
  color: #ffffff;
}

.page-hero--light {
  background: #ffffff;
  color: #000000;
}

.page-hero--accent {
  background: var(--accent);
  color: #ffffff;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero .kicker {
  margin-left: 8px;
  margin-bottom: 18px;
 font-size: .86rem;
  line-height: 1;
  letter-spacing: .13em;
}

.page-hero--dark .kicker,
.page-hero--light .kicker {
  color: var(--accent);
}

.page-hero--accent .kicker {
  color: #ffffff;
}

.page-hero-title {
  margin: 0;
  max-width: 10.5ch;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: .84;
  letter-spacing: -.015em;
  text-transform: uppercase;
  font-weight: var(--weight-medium);
}

.page-hero--dark .page-hero-title,
.page-hero--accent .page-hero-title {
  color: #ffffff;
}

.page-hero--light .page-hero-title {
  color: #000000;
}

.page-hero-subline {
  max-width: 54rem;
  margin: 34px 0 0 8px;
  color: inherit;
  font-size: 1.2rem;
  line-height: 1.6;
}

.page-hero .scroll-mouse {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
}

.hero .scroll-mouse,
.page-hero .scroll-mouse {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
}

/* =========================================================
   Home Stats
========================================================= */

.home-stats {
  padding: 120px 0 150px;
  background: #ffffff;
  color: #000000;
}

.home-stats-head {
  max-width: 760px;
  margin-bottom: 70px;
}

.home-stats-head .h2-large {
  margin-bottom: 0;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(42px, 7vw, 110px);
}

.home-stat {
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.home-stat-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  margin-bottom: 18px;
}

.home-stat-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #ffffff;
  flex: 0 0 26px;
}

.home-stat-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.home-stat-icon--web svg,
.home-stat-icon--social svg {
  transform: translate(0.5px, 0.5px);
}

.home-stat-category {
  display: inline-flex;
  align-items: center;
  height: 26px;
  margin: 0;
  color: inherit;
  font-size: .86rem;
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: .09em;
  text-transform: uppercase;
  padding-top: 2px;
}

.home-stat-number {
  display: flex;
  align-items: flex-end;
  margin-bottom: 24px;
  color: #000000;
  font-size: clamp(5.8rem, 10vw, 9rem);
  line-height: .78;
  letter-spacing: -.035em;
  font-weight: var(--weight-bold);
}

.home-stat-percent {
  margin-left: 6px;
  font-size: .34em;
  line-height: 1;
  letter-spacing: -.02em;
  transform: translateY(-0.08em);
}

.home-stat-copy {
  margin: 0 0 24px;
  color: #000000;
  font-size: 1.1rem;
  line-height: 1.25;
}

.home-stat-punch {
  margin: 0;
  color: #000000;
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: var(--weight-bold);
}

.home-stat-source {
  margin: auto 0 0;
  color: rgba(0, 0, 0, .42);
  font-size: .86rem;
  line-height: 1.25;
}

/* Intro */
.intro {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding: 190px 0 190px;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .55fr);
  gap: 72px;
  align-items: end;
}

.intro-copy {
  max-width: 54rem;
}

.intro-text {
  display: grid;
  gap: 22px;
  max-width: 48rem;
  margin-top: 34px;
}

.intro-text .lead {
  margin: 0;
}

.intro .claim {
  margin-top: 42px;
}

.intro-spacer {
  min-height: 520px;
}
/* Leistungen */
#leistungen {
  scroll-margin-top: 120px;
}

.leistungen {
  position: relative;
  z-index: 3;
  margin-top: -180px;
  padding: 240px 0 180px;
  background: var(--accent);
  color: #fff;
  overflow: visible;
  transform: translateY(calc((1 - var(--leistungen-progress, 0)) * 150px));
  transition: transform .08s linear;
}

.leistungen .wrap {
  position: relative;
  z-index: 1;
}

.leistungen-top-edge {
  position: absolute;
  top: -520px;
  left: 0;
  right: 0;
  height: 520px;
  pointer-events: none;
  overflow-x: clip;
  overflow-y: visible;
  z-index: 3;
  transform: translateY(calc((1 - var(--leistungen-progress, 0)) * 20px));
  transition: transform .08s linear;
}

.leistungen-top-edge-inner {
  position: relative;
  height: 100%;
}

.leistungen-launch {
  position: absolute;
  right: clamp(-340px, -14vw, -80px);
  bottom: 16px;
  width: clamp(420px, 42vw, 660px);
  height: clamp(260px, 26vw, 420px);
  z-index: 20;
  transform: translateX(calc((1 - var(--launch-progress, 0)) * 72vw));
  transition: transform .08s linear;
}

.leistungen-launch .leistungen-rocket {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56%;
  transform: translateY(0);
  z-index: 2;
}
.leistungen.is-rocket-lift .leistungen-launch .leistungen-rocket {
  transform: translateY(calc(-70px - (var(--leistungen-progress, 0) * 150px)));
  transition: transform .12s linear;
}

.leistungen-launch .launch-ramp {
  position: absolute;
  right: 2px;
  bottom: 0;
  width: 65%;
  transform: none;
  transform-origin: right bottom;
  z-index: 3;
  pointer-events: none;
}

.leistungen-launch .rocket-svg,
.leistungen-launch .ramp-svg {
  display: block;
  width: 100%;
  height: auto;
}


.leistungen-launch .ramp-svg--base {
  position: relative;
  z-index: 1;
}

.leistungen-launch .ramp-svg--bridge {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform: none;
  clip-path: inset(0 0 0 0);
  transition: clip-path .55s cubic-bezier(.22, 1, .36, 1);
}
.leistungen.is-ramp-away .leistungen-launch .ramp-svg--bridge {
  transform: none;
  clip-path: inset(0 0 0 100%);
}

.leistungen-smoke {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: calc(100vw + 80px);
  z-index: 2;
  opacity: 0;
  clip-path: inset(66% 0 0 0);
  transform: translateX(-50%) translateY(calc(60px - var(--leistungen-progress, 0) * 70px));
  transition: opacity .22s ease, clip-path .28s ease;
}

.leistungen-smoke::after {
  content: "";
  position: absolute;
  left: -40px;
  right: -40px;
  bottom: -2px;
  height: 72px;
  background: var(--accent);
  z-index: -1;
  pointer-events: none;
}

.leistungen.is-ignited .leistungen-smoke {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.smoke-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  transform-origin: center bottom;
  will-change: transform;
}

#leistungen p {
  max-width: 28ch;
  font-size: 1.15rem;
  line-height: 1.6;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 0;
}

.card-clean {
  background: transparent;
  border: none;
}

#leistungen .card {
  position: relative;
  overflow: hidden;
  border: none;
  background: var(--accent);
  color: #ffffff;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity .6s ease, transform .6s ease, box-shadow .12s ease, background-color .22s ease;
}

#leistungen .card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#leistungen .card:hover {
  z-index: 2;
  outline: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(-6px);
}

#leistungen .card:hover img {
  filter: brightness(0);
}

#leistungen .card img,
#leistungen .card svg,
#leistungen .card i {
  transition: color .15s ease, filter .15s ease;
}

#leistungen .card:hover h3,
#leistungen .card:hover p {
  color: #ffffff;
}

.icon-wrap {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
}

#leistungen i {
  display: inline-block;
  font-size: 72px;
  line-height: 1;
  color: #ffffff;
  transition: color .15s ease;
}

.service-title,
.step-title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.service-title-white {
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.15;
  text-transform: none;
}

.p-white {
  max-width: 32ch;
  color: #fff;
  line-height: 1.5;
}

.btn-center {
  display: flex;
  justify-content: center;
  margin-top: 90px;
}

/* Leistungen-Section auf Projektseite: wie Startseite, nur weiß */
.leistungen--project {
  margin-top: 0;
  padding: 150px 0 180px;
  background: #ffffff;
  color: #000000;
  transform: none;
  transition: none;
}

.leistungen--project .kicker {
  color: var(--accent);
}

.leistungen--project .h2-large {
  margin-bottom: 54px;
  color: #000000;
}

.leistungen--project .card {
  opacity: 1;
  transform: translateY(0);
  border: none;
  background: #ffffff;
  color: #000000;
  box-shadow: none;
  transition: opacity .6s ease, transform .6s ease, box-shadow .12s ease, background-color .22s ease;
}

.leistungen--project .card:hover {
  z-index: 2;
  background: #ffffff;
  color: #000000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  transform: translateY(-6px);
}

.leistungen--project .card:hover img,
.leistungen--project .card:hover svg {
  filter: none;
}

.leistungen--project .card:hover .icon-wrap {
  color: #000000;
}

.leistungen--project .card:hover .icon-wrap {
  color: #000000;
}

.leistungen--project .service-title-white,
.leistungen--project .p-white {
  color: #000000;
}

.leistungen--project .card:hover .service-title-white,
.leistungen--project .card:hover .p-white {
  color: #000000;
}

.leistungen--project .btn-white-outline {
  color: #000000;
  border-color: #000000;
}

.leistungen--project .btn-white-outline:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Scroll Mouse */
.scroll-mouse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 64px;
  z-index: 2;
}

.scroll-mouse-body {
  position: relative;
  display: block;
  width: 28px;
  height: 44px;
  border: 2px solid #000000;
  border-radius: 18px;
  box-sizing: border-box;
}

.scroll-mouse-wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 10px;
  margin-left: -3px;
  border-radius: 999px;
  background: var(--accent);
  animation: mouseWheelTick 1.6s ease-in-out infinite;
}

.scroll-mouse--light .scroll-mouse-body {
  border-color: #ffffff;
}

.scroll-mouse--light .scroll-mouse-wheel {
  background: var(--accent);
}

.page-hero--accent .scroll-mouse.scroll-mouse--light .scroll-mouse-wheel {
  background: #ffffff;
}

.scroll-mouse {
  transition: opacity .2s ease, visibility .2s ease;
}

.scroll-mouse.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes mouseWheelTick {
  0% {
    opacity: 0;
    transform: translate(-0, 0);
  }

  20% {
    opacity: 1;
    transform: translate(-0, 0);
  }

  55% {
    opacity: 1;
    transform: translate(-0, 10px);
  }

  70% {
    opacity: 0;
    transform: translate(-0, 14px);
  }

  100% {
    opacity: 0;
    transform: translate(-0, 0);
  }
}

/* Leistungen Unterseite */
/*
.leistungen-page-hero {
  min-height: calc(100dvh - var(--header-h));
  padding: 0;
  display: flex;
  align-items: center;
  background: #ffffff;
  color: #000000;
  position: relative;
}
.leistungen-page-title {
  margin: 0;
  max-width: 10.5ch;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: .84;
  letter-spacing: -.05em;
  text-transform: uppercase;
  font-weight: var(--weight-bold);
  color: #000000;
}
.leistungen-word-tight {
  display: inline-block;
  transform: translateY(-0.10em);
}

.leistungen-page-subline {
  max-width: 52rem;
  margin: 34px 0 0 8px;
  color: #000000;
  position: relative;
  top: -24px;
}
.leistungen-page-hero .hero-actions {
  margin-top: 42px;
  margin-left: 0;
}
  */

/* Leistungen Detail */

.leistungen-detail {
  padding: 120px 0 150px;
  background: #000000;
  color: #ffffff;
}

.leistungen-detail .kicker {
  color: var(--accent);
}

.leistungen-detail .section-head {
  max-width: 760px;
  margin-bottom: 82px;
}

.leistungen-detail .service-list {
  display: grid;
  gap: 1px;
  background: #ffffff;
}

.leistungen-detail .service-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 36px;
  padding: 42px 0;
  background: #000000;
  color: #ffffff;
}

.leistungen-detail .service-number {
  color: var(--accent);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: .9;
  letter-spacing: -.05em;
  font-weight: var(--weight-bold);
}

.leistungen-detail .service-content {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) 1fr;
  gap: 46px;
  align-items: start;
}

.leistungen-detail .service-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: .95;
  letter-spacing: -.04em;
  font-weight: var(--weight-bold);
  text-transform: none;
}

.leistungen-detail .service-copy {
  max-width: 46rem;
}

.leistungen-detail .service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.leistungen-detail .service-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 2px 10px 0;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: .82rem;
  font-weight: var(--weight-bold);
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
  transition: color .2s ease, border-color .2s ease;
}

.leistungen-detail .service-tags span:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Klartext / Countdown */
.method {
  padding: 150px 0;
  background: #ffffff;
  color: #000000;
}

.method-head {
  max-width: 860px;
  margin-bottom: 82px;
}

.method-subline {
  max-width: 48rem;
  margin: 28px 0 0;
  color: #000000;
}

.method-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.method-step {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px;
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
}

.method-step > div:last-child {
  margin-top: 118px;
  padding-top: 0;
}

.method-step:last-child {
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
}

.method-step:last-child.is-done {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.method-step.is-flashing {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}

.method-step-number {
  color: var(--accent);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1;
  letter-spacing: .08em;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
}

.method-step.is-flashing .method-step-number {
  color: #ffffff;
}

.method-step:last-child .method-step-number {
  color: var(--accent);
}

.method-step:last-child.is-flashing .method-step-number,
.method-step:last-child.is-done .method-step-number {
  color: #ffffff;
}

.method-step h3 {
  margin: 0 0 16px;
  color: inherit;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  line-height: .95;
  letter-spacing: -.04em;
  font-weight: var(--weight-bold);
}

.method-step p {
  margin: 0;
  color: inherit;
  font-size: 1.05rem;
  line-height: 1.4;
}

/* Aktuelles Unterseite */
.aktuelles-section,
.aktuelles-section button {
  font-family: "Rajdhani", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.aktuelles-page-hero .scroll-mouse-body {
  border-color: #ffffff;
}

.aktuelles-page-hero .scroll-mouse-wheel {
  background: var(--accent);
}
/*
.aktuelles-page-hero {
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  position: relative;
  background: #000000;
  color: #ffffff;
}

.aktuelles-page-hero .kicker {
  color: var(--accent);
  margin-left: 10px;
}

.aktuelles-page-title {
  margin: 0;
  max-width: 10.5ch;
  color: #ffffff;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: .84;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: var(--weight-bold);
}

.aktuelles-page-subline {
  max-width: 54rem;
  margin: 34px 0 0 8px;
  color: #ffffff;
}
*/
.aktuelles-section {
  padding: 150px 0 220px;
  background: #ffffff;
  color: #000000;
}

.aktuelles-layout {
  display: grid;
  grid-template-columns: 520px minmax(0, 1fr);
  gap: 48px;
min-height: 540px;
  align-items: start;
}

.aktuelles-section .aktuelles-head {
  max-width: 58rem;
  margin-bottom: 86px;
}

.aktuelles-section .aktuelles-section-title {
  margin-bottom: 26px;
}

.aktuelles-section .aktuelles-section-subline {
  max-width: 48rem;
  margin: 0;
}

.aktuelles-section .news-sidebar {
  width: 100%;
  padding-top: 0;
}

.aktuelles-section .filter-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  width: max-content;
  max-width: none;
  margin-bottom: 16px;
  overflow: visible;
}

.aktuelles-section .filter-btn,
.aktuelles-section .archive-btn,
.aktuelles-section .read-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 2px 10px 0;
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  font-size: .82rem;
  font-weight: var(--weight-bold);
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.aktuelles-section .filter-btn {
  position: relative;
  flex: 0 0 auto;
}

.aktuelles-section .filter-btn.is-active,
.aktuelles-section .filter-btn:hover,
.aktuelles-section .archive-btn:hover,
.aktuelles-section .read-toggle:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.aktuelles-section .filter-count {
  position: absolute;
  top: -13px;
  right: -4px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: .68rem;
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: 0;
  pointer-events: none;
}

.aktuelles-section .news-card-grid {
  width: min(100%, var(--news-card-width-total));
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--news-card-gap);
}


.aktuelles-section .news-preview-card {
  position: relative;
  width: 100%;
  min-height: var(--news-card-height);
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 10px 14px;
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.aktuelles-section .news-preview-card:hover,
.aktuelles-section .news-preview-card.is-active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.aktuelles-section .news-preview-category {
  display: block;
  margin: 0;
  color: #000000;
  font-size: var(--news-card-kicker-size);
  line-height: var(--news-card-kicker-line);
  font-weight: var(--weight-bold);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.aktuelles-section .news-preview-headline {
  display: block;
  margin: 0;
  color: #000000;
  font-size: 1.12rem;
  line-height: 1.08;
  font-weight: var(--weight-bold);
  letter-spacing: 0;
  text-transform: none;
}

.aktuelles-section .news-preview-title {
  display: -webkit-box;
  margin: auto 0 0;
  color: #000000;
  font-size: 1rem;
  line-height: 1.18;
  font-weight: var(--weight-medium);
  letter-spacing: 0;
  text-transform: none;
 -webkit-line-clamp: 3;
line-clamp: 3;
-webkit-box-orient: vertical;
  overflow: hidden;
}

.aktuelles-section .news-preview-card:hover .news-preview-category,
.aktuelles-section .news-preview-card.is-active .news-preview-category,
.aktuelles-section .news-preview-card:hover .news-preview-headline,
.aktuelles-section .news-preview-card.is-active .news-preview-headline,
.aktuelles-section .news-preview-card:hover .news-preview-title,
.aktuelles-section .news-preview-card.is-active .news-preview-title {
  color: #ffffff;
}


.aktuelles-section .archive-row {
  margin-top: 24px;
}

.aktuelles-section .archive-btn.is-hidden {
  display: none;
}

.aktuelles-section .news-empty {
  display: none;
  margin-top: 18px;
  padding: 16px 0;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  font-size: .9rem;
  line-height: 1.35;
}

.aktuelles-section .news-empty.is-visible {
  display: block;
}

.aktuelles-section .news-article {
  display: block;
  padding-top: 0;
}

.aktuelles-section .article-category {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: var(--kicker-size);
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.aktuelles-section .article-title {
  margin: 0 0 32px;
  max-width: var(--news-article-title-width);
  color: #000000;
  font-size: var(--news-article-title-size);
  line-height: var(--news-article-title-line);
  letter-spacing: var(--news-article-title-spacing);
  font-weight: var(--weight-bold);
  text-transform: none;
  display: -webkit-box;
 -webkit-line-clamp: 3;
line-clamp: 3;
-webkit-box-orient: vertical;
  overflow: hidden;
  padding-bottom: .14em;
}

.aktuelles-section .article-body {
  position: relative;
  max-width: 42rem;
  max-height: 270px;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.22, 1, .36, 1);
}

.aktuelles-section .article-body.is-expanded {
  max-height: 2000px;
}

.aktuelles-section .article-body.has-more:not(.is-expanded)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #ffffff 86%);
  pointer-events: none;
}

.aktuelles-section .article-body p {
  margin: 0 0 22px;
  color: #000000;
  font-size: 1.2rem;
  line-height: 1.55;
}

.aktuelles-section .article-tags {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  color: #000000;
  font-size: var(--news-article-kicker-size);
  line-height: 1;
  font-weight: var(--weight-bold);
}

.aktuelles-section .article-tags.is-visible {
  display: flex;
}

.aktuelles-section .read-row {
  display: none;
  margin-top: 20px;
}

.aktuelles-section .read-row.is-visible {
  display: flex;
}


/* Projekte */
#projekte {
  scroll-margin-top: 90px;
}

.projekte {
  padding: 10px 0;
}

.projekte-grid {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  grid-template-rows: minmax(540px, 44vw) minmax(230px, 20vw);
  gap: 10px;
  width: 100%;
}

.project-stack {
  display: grid;
  gap: 10px;
  min-height: 0;
}

.project-stack-left {
  grid-column: 1;
  grid-row: 1;
  grid-template-rows: 2fr 3fr;
}

.project-center {
  grid-column: 2;
  grid-row: 1;
}

.project-stack-right {
  grid-column: 3;
  grid-row: 1;
  grid-template-rows: 3fr 2fr;
}

.project-stack-bottom {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 2;
  grid-template-columns: 1fr 3fr;
  gap: 10px;
}

.project-split-horizontal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-height: 0;
}

.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
}

.project-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  --start-scale: 1.12;
  --tx: 0;
  --ty: 0;
  transform: scale(var(--start-scale)) translate(var(--tx), var(--ty));
  transform-origin: center center;
  will-change: transform;
  transition: transform 4.5s cubic-bezier(.22, 1, .36, 1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 18px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  opacity: 0;
  z-index: 1;
  transition: opacity .45s ease;
  transition-delay: .12s;
}

.project-label {
  color: var(--accent);
  font-size: .78rem;
  line-height: 1.2;
  font-weight: var(--weight-bold);
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(14px);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
  transition-delay: .14s;
}

.project-title {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  line-height: .95;
  letter-spacing: -.04em;
  font-weight: var(--weight-bold);
  opacity: 0;
  transform: translateY(14px);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
  transition-delay: .18s;
}

.project-desc {
  display: block;
  max-width: 24rem;
  margin-top: 10px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(14px);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
  transition-delay: .22s;
}

.project-note {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #ffffff;
  font-size: .62rem;
  font-weight: var(--weight-bold);
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .65;
}

.project-visual-label {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 7px 9px 5px;
  background: rgba(0, 0, 0, 0.65);
  
  color: #ffffff;
  font-size: .62rem;
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: .11em;
  text-transform: uppercase;
  pointer-events: none;
}

.project-stack-left .project-card:nth-child(1) .project-image { --tx: -3%; }
.project-stack-left .project-card:nth-child(2) .project-image { --tx: 3%; }
.project-center .project-image { --ty: -2%; }
.project-stack-right .project-card:nth-child(1) .project-image { --tx: 2%; }
.project-stack-right .project-card:nth-child(2) .project-image { --ty: 2%; }
.project-split-horizontal .project-card:nth-child(1) .project-image { --tx: 2%; }
.project-split-horizontal .project-card:nth-child(2) .project-image { --tx: -2%; }

.project-card:hover .project-image {
  transform: scale(1) translate(0, 0);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card:hover .project-label,
.project-card:hover .project-title,
.project-card:hover .project-desc {
  opacity: 1;
  transform: translateY(0);
}


/* News */
#news {
  scroll-margin-top: 90px;
}

.news {
  padding: 150px 100px 190px;
  background: #ffffff;
  color: #000000;
}
.news-head {
  max-width: 760px;
  margin-bottom: 70px;
}

.news-lead {
  color: #000000;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.news-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 2px solid #000000;
  background: #ffffff;
  color: #000000;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.news-card:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.news-type {
  margin-bottom: 34px;
  color: var(--accent);
  font-size: var(--kicker-size);
  font-weight: var(--weight-bold);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  line-height: .95;
  letter-spacing: -.015em;
  font-weight: var(--weight-bold);
}

.news-card p {
  margin: 0 0 34px;
  font-size: 1.1rem;
  line-height: 1.45;
}

.news-link {
  margin-top: auto;
  align-self: flex-start;
  color: var(--accent);
  font-size: .85rem;
  font-weight: var(--weight-bold);
  letter-spacing: .13em;
  text-transform: uppercase;
  position: relative;
}

.news-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s ease;
}

.news-link:hover::after {
  transform: scaleX(1);
}

/* Werbe-Check */
#werbe-check-anchor {
  display: block;
  position: relative;
  top: 0;
}
.werbe-check-frame {
  padding-left: 34px;
  border-left: 10px solid var(--accent);
}

.werbe-check {
  padding: 130px 0 260px;
  background: #FFFFFF;
  color: #000000;
}
.werbe-check-layout {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: 70px;
  align-items: center;
}
.desktop-break {
  display: block;
}

.werbe-check .kicker {
  color: var(--accent);
  opacity: 1;
}

.werbe-check-title {
  color: #000000;
  margin-bottom: 30px;
}

.werbe-check-copy {
  max-width: 680px;
}

.werbe-check-text {
  max-width: 42rem;
  margin: 0 0 34px;
  color: #000000;
  font-size: 1.2rem;
  line-height: 1.55;
}

.werbe-check-note {
  max-width: 42rem;
  margin: 54px 0 0;
  color: #000000;
  font-size: 1.2rem;
  line-height: 1.55;
}


.werbe-check-preview {
  border: 2px solid #000000;
  background: #ffffff;
  color: #000000;
  box-shadow: 24px 24px 0 #000000;
}

.preview-browser-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.preview-browser-bar span {
  width: 9px;
  height: 9px;
  display: block;
  background: #000000;
  border-radius: 50%;
}

.preview-url {
  margin: 22px 22px 18px;
  padding: 14px 15px 12px;
  border: 1px solid #000000;
  color: #666666;
  font-size: .95rem;
  line-height: 1;
}

.preview-checks {
  display: grid;
  gap: 1px;
  padding: 0 22px 22px;
}

.preview-checks div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0 14px;
  border-bottom: 1px solid var(--line);
}

.preview-checks span {
  font-weight: var(--weight-bold);
}

.preview-checks strong {
  color: var(--accent);
  font-size: .76rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* Werbe-Check Modal */
body.app-modal-open {
  overflow: hidden;
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.app-modal.is-open {
  display: flex;
}

.app-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.app-modal-panel {
  position: relative;
  width: min(100%, 620px);
  max-height: min(820px, calc(100vh - 48px));
  overflow: auto;
  background: #ffffff;
  color: #000000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.app-modal-close {
  position: sticky;
  top: 0;
  left: 100%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 0;
  background: #000000;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .2s ease, color .2s ease;
}

.app-modal-close:hover {
  background: var(--accent);
  color: #ffffff;
}

.werbe-check-app-placeholder {
  width: min(100%, 540px);
  margin: 0 auto;
  padding: 28px 26px 40px;
}

.werbe-check-app-placeholder h2 {
  margin-bottom: 12px;
  text-transform: none;
}

.werbe-check-app-placeholder p {
  margin: 0;
  color: var(--muted);
}

/* Kontakt */
#kontakt {
  scroll-margin-top: 90px;
}

.kontakt {
  padding: 90px 0 260px;
  background: #ffffff;
  color: #000000;
}

.kontakt-stage {
  background: #ffffff;
}

.kontakt--leistungen {
  padding-top: 10px;
}

.kontakt-title {
  margin-bottom: 20px;
  text-transform: none;
}
.kontakt-subline {
  margin: 0;
  max-width: 44rem;
  color: #000000;
}
.contact-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 52px;
  align-items: end;
  margin-top: clamp(48px, 6vw, 74px);
}

.location-kicker {
  margin-bottom: 8px;
}

.location-kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.location-kicker-row .location-kicker {
  margin: 0;
}

.date-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 8px 3px;
  background: var(--accent);
  color: #ffffff;
  font-size: .68rem;
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: none;
}

.kontakt .date-badge {
  padding: 5px 8px 2px;
}

.location-card h3 {
  margin: 0 0 18px;
  color: #000000;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: .95;
  letter-spacing: -.035em;
  font-weight: var(--weight-bold);
}

.address {
  margin: 0 0 18px;
  color: #000000;
  line-height: 1.35;
}

.location-card a {
  color: #000000;
  text-decoration: none;
  transition: color .2s ease;
}

.location-card a:hover {
  color: var(--accent);
}

.contact-direct {
  align-self: end;
  padding-bottom: 2px;
}

.contact-direct p {
  margin: 0 0 18px;
  color: #000000;
  line-height: 1.3;
}

.phone-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 2px 30px 0;
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
  font-family: "Rajdhani", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: var(--weight-bold);
  letter-spacing: -.01em;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.phone-button:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.map-toggle-row {
  margin-top: 34px;
}

.map-toggle-link {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-family: "Rajdhani", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: var(--weight-bold);
  text-decoration: none;
  cursor: pointer;
}

.map-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  margin-top: 0;
  transition:
    max-height .55s cubic-bezier(.22, 1, .36, 1),
    opacity .24s ease,
    transform .34s ease,
    margin-top .34s ease;
}

.map-panel.is-open {
  max-height: 620px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 28px;
}

.region-map {
  position: relative;
  width: 100%;
  aspect-ratio: 2400 / 960;
  margin-top: 34px;
  background: #ffffff;
  border: 1px solid #000000;
  overflow: hidden;
}

.region-map-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #ffffff;
}


/* Projekte Unterseite */
.projekte-page-hero {
  min-height: calc(100dvh - var(--header-h));
  padding: 0;
  display: flex;
  align-items: center;
  background: var(--accent);
  color: #000000;
  position: relative;
}

.projekte-page-hero .kicker {
  margin-left: 8px;
}

.kicker-hero-red {
  color: #FFFFFF;
}

.projekte-page-title {
  margin: 0;
  max-width: 10ch;
  color: #FFFFFF;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: .84;
  letter-spacing: -.035em;
  font-weight: var(--weight-bold);
 text-transform: uppercase;
}

.hero-word-wide {
  letter-spacing: -.015em;
}

.projekte-page-subline {
  max-width: 48rem;
  margin: 34px 0 0 10px;
  color: #FFFFFF;
}

.scroll-mouse--projects .scroll-mouse-body {
  border-color: #FFFFFF;
}

.scroll-mouse--projects .scroll-mouse-wheel {
  background: #FFFFFF;
}

.project-cases {
  padding: 120px 0 270px;
  background: #ffffff;
}

.project-case {
  margin-bottom: 120px;
  display: grid;
  grid-template-columns: minmax(330px, .9fr) minmax(0, 1.7fr);
  gap: 10px;
  align-items: stretch;
  min-height: 640px;
scroll-margin-top: 130px;
}
.project-case:last-child {
  margin-bottom: 0;
}

.project-case--reverse {
  grid-template-columns: minmax(0, 1.7fr) minmax(330px, .9fr);
}
.project-case--reverse .project-case-media {
  grid-column: 1;
  grid-row: 1;
}

.project-case--reverse .project-case-info {
  grid-column: 2;
  grid-row: 1;
}

.project-case-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
    padding: clamp(32px, 4vw, 56px) clamp(26px, 3vw, 44px);
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
}

.project-case-title {
  margin: 0;
  color: #000000;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: .88;
  letter-spacing: -.05em;
  font-weight: var(--weight-bold);
  text-transform: none;
}
.project-case-title--huber {
  font-size: clamp(2.35rem, 4.35vw, 4.1rem);
  letter-spacing: -.04em;
}.project-case-services {
  margin: 22px 0 56px;
  color: #000000;
  font-size: 1.18rem;
  line-height: 1.35;
  font-weight: var(--weight-bold);
}

.project-facts {
  display: grid;
  gap: 28px;
}

.project-fact strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: var(--weight-bold);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.project-fact p {
  margin: 0;
  color: #000000;
  font-size: 1.05rem;
  line-height: 1.45;
}

.project-case-media {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1.25fr 1fr;
  gap: 10px;
  min-height: 0;
}

.project-case-note {
  margin: 6px 0 0;
  color: #000000;
  font-size: .78rem;
  line-height: 1.35;
}

.project-visual-note {
  color: #000000;
  line-height: 1.35;
}

.project-case-media--four {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
.project-case-media--three-wide {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1.15fr 1fr;
}
.project-case-media--three-bottom-wide {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1.15fr;
}

.project-case-media--three-bottom-wide .project-media-item:nth-child(3) {
  grid-column: 1 / -1;
}

.project-case-media--three-wide .project-media-item:first-child {
  grid-column: 1 / -1;
}

.project-case-media--two-wide {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, 1fr);
}

.project-media-item {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #000000;
}

.project-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: #000000;
  color: #ffffff;
  font-size: .78rem;
  font-weight: var(--weight-bold);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.project-media-placeholder.is-red {
  background: var(--accent);
  color: #ffffff;
}

.project-media-placeholder.is-white {
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
}

/* =========================================================
   Project Gallery
========================================================= */

.project-gallery-section {
  padding: 0;
  margin: 0;
  color: #000000;
}

.project-gallery-section > .wrap {
  width: 100%;
  max-width: none;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, 1fr);
  aspect-ratio: 16 / 9;
  gap: 0;
  margin: 0;
}

.project-gallery-item {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

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

/* Galerie Hover: nicht zugehörige Bilder weich ausblenden */
@media (hover: hover) and (pointer: fine) and (min-width: 721px) {
  .project-gallery-item--image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, .42);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
  }

  .project-gallery:has([data-gallery-trigger="ricki"]:hover) .project-gallery-item--image::after,
  .project-gallery:has([data-gallery-trigger="isarrott"]:hover) .project-gallery-item--image::after,
  .project-gallery:has([data-gallery-trigger="freie-projekte"]:hover) .project-gallery-item--image::after {
    opacity: 1;
  }

  .project-gallery:has([data-gallery-trigger="ricki"]:hover) [data-gallery-image="ricki"]::after,
  .project-gallery:has([data-gallery-trigger="isarrott"]:hover) [data-gallery-image="isarrott"]::after,
  .project-gallery:has([data-gallery-trigger="freie-projekte"]:hover) [data-gallery-image="freie-projekte"]::after {
    opacity: 0;
  }
}

/* =========================================================
   Project Lightbox
========================================================= */

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(22px, 4vw, 70px);
  overflow-y: auto;
}
.project-lightbox.is-open {
  display: flex;
}

.project-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.project-lightbox-card {
  position: relative;
  z-index: 2;
  width: min(100%, 860px);
  max-height: none;
  overflow: visible;
  padding: 48px;
  background: #ffffff;
  color: #000000;
}

.project-lightbox-close {
  all: unset;
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1;
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.project-lightbox-close:hover {
  background: var(--accent);
  color: #ffffff;
}

.project-lightbox-title {
  margin: 0 0 28px;
  color: #000000;
  font-size: clamp(2.8rem, 3.2vw, 3.8rem);
  line-height: .92;
  letter-spacing: -.015em;
  text-transform: none;
  font-weight: var(--weight-bold);
}

.project-lightbox-title span {
  display: block;
}

.project-lightbox-card p {
  max-width: 42rem;
  margin: 0 0 22px;
  color: #000000;
  font-size: 1.16rem;
  line-height: 1.5;
}

.project-lightbox-lead {
  font-size: 1.22rem;
  line-height: 1.45;
}

.project-lightbox-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 38px 0 34px;
  background: #000000;
}

.project-lightbox-facts div {
  min-height: 150px;
  padding: 20px;
  background: #ffffff;
  color: #000000;
}

.project-lightbox-facts strong {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: .9rem;
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-lightbox-facts span {
  display: block;
  color: #000000;
  font-size: clamp(1.08rem, 1.15vw, 1.25rem);
  line-height: 1.45;
}

.project-lightbox-closing {
  margin-bottom: 0;
  font-weight: var(--weight-bold);
}

.project-lightbox-cta {
  width: fit-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 2px 20px 0;
  box-sizing: border-box;
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  font-size: .9rem;
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.project-lightbox-cta:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

body.project-lightbox-open {
  overflow: hidden;
}

/* Galerie bleibt als Bühne sichtbar */
@media (hover: hover) and (pointer: fine) and (min-width: 721px) {
  .project-gallery.is-detail-open .project-gallery-item--image::after {
    opacity: 1;
  }

  .project-gallery.is-detail-ricki [data-gallery-image="ricki"]::after {
    opacity: 0;
  }

  .project-gallery.is-detail-isarrott [data-gallery-image="isarrott"]::after {
    opacity: 0;
  }

  .project-gallery.is-detail-freie-projekte [data-gallery-image="freie-projekte"]::after {
    opacity: 0;
  }
}

@media (max-width: 760px) {
  .project-lightbox {
    align-items: flex-start;
    padding: 20px;
    overflow-y: auto;
  }

  .project-lightbox-card {
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 34px 24px 38px;
  }

  .project-lightbox-facts {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 34px 0 30px;
    background: transparent;
  }

  .project-lightbox-facts div {
    min-height: 0;
    padding: 22px 0;
    border-top: 1px solid #000000;
  }

  .project-lightbox-facts div:last-child {
    border-bottom: 1px solid #000000;
  }
}

.project-gallery-item--text {
  display: flex;
  flex-direction: column;
  padding:
    clamp(18px, 1.75vw, 34px)
    clamp(26px, 2.35vw, 46px)
    clamp(26px, 2.35vw, 46px);
  background: #ffffff;
  color: #000000;
}

.project-gallery-item--text .kicker {
  margin-bottom: clamp(2px, .18vw, 4px);
  font-size: clamp(.72rem, .72vw, .9rem);
}

.project-gallery-item--text h3 {
  margin: 0 0 clamp(12px, .85vw, 18px);
  font-size: clamp(1.55rem, 1.95vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  font-weight: var(--weight-bold);
}

.project-gallery-item--text h3 span {
  display: block;
}

.project-gallery-copy {
  max-width: min(100%, 34rem);
  margin: 0 0 clamp(10px, 1vw, 20px);
  font-size: clamp(1rem, .95vw, 1.15rem);
  line-height: 1.45;
}

.project-gallery-copy--xl,
.project-gallery-copy--short {
  display: none;
}

/* XL: sehr breite Browser */
@media (min-width: 1920px) {
  .project-gallery-item--text {
    justify-content: center;
    padding-top: clamp(44px, 3vw, 72px);
    padding-bottom: clamp(44px, 3vw, 72px);
  }

  .project-gallery-link {
    margin-top: clamp(28px, 2vw, 42px);
  }

  .project-gallery-copy--xl {
    display: block;
  }

  .project-gallery-copy--long,
  .project-gallery-copy--short {
    display: none;
  }
}

/* Long: großer Desktop bis Full-HD */
@media (min-width: 1440px) and (max-width: 1919px) {
  .project-gallery-copy--long {
    display: block;
  }

  .project-gallery-copy--xl,
  .project-gallery-copy--short {
    display: none;
  }
}

/* Short: kleiner Desktop */
@media (min-width: 1180px) and (max-width: 1439px) {
  .project-gallery-copy--short {
    display: block;
  }

  .project-gallery-copy--xl,
  .project-gallery-copy--long {
    display: none;
  }
}

/* Minimal: Copy raus, aber noch vor dem Galerie-Layoutwechsel */
@media (min-width: 1021px) and (max-width: 1179px) {
  .project-gallery-copy {
    display: none;
  }
}

/* Tablet / kleines Desktopfenster: zweispaltige Galerie */
@media (min-width: 721px) and (max-width: 1020px) {
  .project-gallery-item--text {
    padding: 46px 44px 42px;
  }

  .project-gallery-item--text .kicker {
    margin-bottom: 8px;
    font-size: .86rem;
    letter-spacing: .09em;
  }

  .project-gallery-item--text h3 {
    margin-bottom: 22px;
    font-size: clamp(2rem, 3.4vw, 2.7rem);
    line-height: 1.02;
  }

  .project-gallery-copy {
    max-width: 34rem;
    font-size: 1.15rem;
    line-height: 1.5;
  }

  .project-gallery-copy--xl {
    display: block;
  }

  .project-gallery-copy--long,
  .project-gallery-copy--short {
    display: none;
  }
}

/* Mobile: einspaltig, Copy reduziert */
@media (max-width: 720px) {
  .project-gallery-copy--short {
    display: block;
  }

  .project-gallery-copy--xl,
  .project-gallery-copy--long {
    display: none;
  }
}

.project-gallery-link {
  all: unset;
  width: fit-content;
  min-height: clamp(38px, 2.6vw, 48px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 2px clamp(14px, 1vw, 20px) 0;
  box-sizing: border-box;
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #000000;
  font-size: clamp(.78rem, .72vw, .92rem);
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.project-gallery-link:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

/* PDF-Anordnung */

.project-gallery-item--ricki-image {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

.project-gallery-item--ricki-text {
  grid-column: 3;
  grid-row: 1;
}

.project-gallery-item--isarrott-main {
  grid-column: 4;
  grid-row: 1;
}

.project-gallery-item--isarrott-side {
  grid-column: 3;
  grid-row: 2;
}

.project-gallery-item--isarrott-text {
  grid-column: 4;
  grid-row: 2;
}

.project-gallery-item--free-left {
  grid-column: 1;
  grid-row: 3;
}

.project-gallery-item--free-text {
  grid-column: 2;
  grid-row: 3;
}

.project-gallery-item--free-right {
  grid-column: 3;
  grid-row: 3;
}

.project-gallery-item--extra-right {
  grid-column: 4;
  grid-row: 3;
}

@media (max-width: 1020px) {
  .project-gallery-section {
    padding-bottom: 0;
  }

  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    aspect-ratio: auto;
  }

  .project-gallery-item {
    min-height: 320px;
  }

  .project-gallery-item--ricki-image,
  .project-gallery-item--ricki-text,
  .project-gallery-item--isarrott-main,
  .project-gallery-item--isarrott-side,
  .project-gallery-item--isarrott-text,
  .project-gallery-item--free-left,
  .project-gallery-item--free-text,
  .project-gallery-item--free-right,
  .project-gallery-item--extra-right {
    grid-column: auto;
    grid-row: auto;
  }

  .project-gallery-item--ricki-image {
    grid-column: 1 / span 2;
    grid-row: 1;
    min-height: 520px;
  }

  .project-gallery-item--ricki-text {
    grid-column: 1;
    grid-row: 2;
  }

  .project-gallery-item--isarrott-main {
    grid-column: 2;
    grid-row: 2;
  }

  .project-gallery-item--isarrott-side {
    grid-column: 1;
    grid-row: 3;
  }

  .project-gallery-item--isarrott-text {
    grid-column: 2;
    grid-row: 3;
  }

 .project-gallery-item--free-text {
  grid-column: 1;
  grid-row: 4;
}

.project-gallery-item--free-left {
  grid-column: 2;
  grid-row: 4;
}

  .project-gallery-item--free-right {
    grid-column: 1;
    grid-row: 5;
  }

  .project-gallery-item--extra-right {
    grid-column: 2;
    grid-row: 5;
  }
}

@media (max-width: 720px) {
  .project-gallery-section {
    padding-bottom: 0;
  }

  .project-gallery-section > .wrap {
    width: 100%;
  }

  .project-gallery {
    display: flex;
    flex-direction: column;
  }

  .project-gallery-item {
    min-height: 0;
  }

  .project-gallery-item--image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: initial;
  }

  .project-gallery-item--text {
    min-height: 0;
  }

    .leistungen--project {
    padding: 72px 0 76px;
  }

  .leistungen--project .h2-large {
    margin-bottom: 42px;
  }

  .leistungen--project .btn-center {
    margin-top: 54px;
  }

  .kontakt-detail {
    padding-top: 72px;
  }

  .project-gallery-item--ricki-image {
    order: 1;
  }

  .project-gallery-item--ricki-text {
    order: 2;
  }

  .project-gallery-item--isarrott-main {
    order: 3;
  }

  .project-gallery-item--isarrott-side {
    order: 4;
  }

  .project-gallery-item--isarrott-text {
    order: 5;
  }

  .project-gallery-item--free-left {
    order: 6;
  }

  .project-gallery-item--free-right {
    order: 7;
  }

  .project-gallery-item--free-text {
    order: 8;
  }

  .project-gallery-item--extra-right {
    order: 9;
  }
}



/* Profil Unterseite */
/*
.profil-page-hero {
  min-height: calc(100dvh - var(--header-h));
  padding: 0;
  display: flex;
  align-items: center;
  background: #000000;
  color: #ffffff;
  position: relative;
}

.profil-page-hero .wrap {
  transform: translateY(-16px);
}

.profil-page-hero .kicker {
color: var(--accent);
  margin-left: 10px;
}

.profil-page-title {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: .84;
  letter-spacing: .010em;
  text-transform: uppercase;
  font-weight: var(--weight-bold);
  color: #ffffff;
}

.profil-title-tight {
  display: inline-block;
  letter-spacing: -0.06em;
  transform: scaleX(0.94);
  transform-origin: left center;
}
*/
.profil-page-subline {
  max-width: 46rem;
  margin: 34px 0 0 8px;
  color: #ffffff;
}

.dahinter {
  padding: 130px 0;
  background: #ffffff;
  color: #000000;
}

.dahinter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  gap: 70px;
  align-items: end;
}

.dahinter-copy {
  max-width: 720px;
}

.dahinter-title {
  color: #000000;
  margin-bottom: 34px;
}

.dahinter-text {
  display: grid;
  gap: 22px;
  max-width: 46rem;
}

.dahinter-text p {
  margin: 0;
  color: #000000;
  font-size: 1.18rem;
  line-height: 1.55;
}

.dahinter-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 54px;
}

.dahinter-fact {
  border: 2px solid #000000;
  padding: 20px;
  min-height: 132px;
}

.dahinter-fact strong {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: var(--kicker-size);
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.dahinter-fact span {
  display: block;
  color: #000000;
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: var(--weight-bold);
}

.portrait-card {
  margin: 0;
  position: relative;
  align-self: end;
  background: #111111;
  overflow: hidden;
}

.portrait-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: grayscale(24%);
  transition: filter .25s ease;
}

.portrait-card:hover img {
  filter: grayscale(0);
}

.portrait-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding-top: 16px;
  color: #ffffff;
  font-size: .9rem;
  line-height: 1.35;
  font-weight: var(--weight-bold);
}

.profil-free-project {
  padding: 150px 0;
  background: #ffffff;
  color: #000000;
}

.profil-free-project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 72px;
  align-items: center;
}

.profil-free-project-visual {
  margin: 0;
}

.profil-free-project-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid #000000;
}

.profil-free-project-content {
  max-width: 33rem;
}

.profil-free-project-content .kicker {
  color: var(--accent);
}

.profil-free-project-title {
  margin-bottom: 30px;
}

.profil-free-project-content p {
  margin: 0 0 22px;
  font-size: 1.2rem;
  line-height: 1.55;
}

.profil-free-project-content .btn {
  margin-top: 16px;
}


.kontakt-detail {
  padding: 80px 0 270px;
  background: #ffffff;
  color: #000000;
}

.kontakt-detail-head {
  max-width: 720px;
  margin-bottom: 70px;
}

.kontakt-detail-title {
  margin-bottom: 24px;
}

/* Impressum Unterseite */
.legal-content--plain {
  padding: 120px 0 180px;
  background: #ffffff;
  color: #000000;
}

.legal-wrap {
  max-width: 760px;
}

.legal-content h1 {
  margin: 0 0 56px;
  color: #000000;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: .95;
  letter-spacing: -.04em;
  font-weight: var(--weight-bold);
  text-transform: none;
}

.legal-content h2 {
  margin: 42px 0 12px;
  color: var(--accent);
  font-size: .82rem;
  font-weight: var(--weight-bold);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.legal-content p {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.55;
}

.legal-content a {
  color: #000000;
  transition: color .2s ease;
}

.legal-content a:hover {
  color: var(--accent);
}

/* Footer */
footer {
  margin-top: auto;
  padding: 34px 0;
  background: #000;
  color: #fff;
  border-top: none;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 44px;
  width: auto;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  position: relative;
  top: 10px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: 6px;
}

.footer-social-icon {
  width: 16px;
  height: 16px;
  display: block;
  position: relative;
  top: 0;
  flex: 0 0 16px;
}

.footer-social-icon--linkedin {
  mask: url("images/linkedin.svg") center / contain no-repeat;
  -webkit-mask: url("images/linkedin.svg") center / contain no-repeat;
}

.footer-social-icon--instagram {
  mask: url("images/instagram.svg") center / contain no-repeat;
  -webkit-mask: url("images/instagram.svg") center / contain no-repeat;
}

.footer-social a:first-child .footer-social-icon {
  transform: translateY(-4px);
}

.footer-social a:last-child .footer-social-icon {
  transform: translateY(-3px);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a {
  color: #ffffff;
  opacity: 1;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.method {
  padding-bottom: 270px;
}

/* Werbe-Check Unterseite */

.werbe-check-tool {
  padding: 130px 0 180px;
  background: #ffffff;
  color: #000000;
}

.werbe-check-app {
  width: 100%;
  max-width: 680px;
  margin: 0;
  background: #ffffff;
  color: #000000;
}

.werbe-check-back,
.progress,
.progress-bar {
  display: none;
}

.screen-wrap {
  min-height: 0;
}

.screen {
  display: none;
  padding: 0;
  background: #ffffff;
  color: #000000;
}

.screen.active {
  display: block;
}

.screen-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

#result .screen-content {
  gap: 0;
}

#result .screen-main {
  margin-bottom: 30px;
}

#result .diagnosis-accordion {
  gap: 10px;
  margin-bottom: 26px;
}

#result .diagnosis-section {
  gap: 10px;
}

#result .cta-card {
  margin-bottom: 18px;
}

/* Abstandssystem innerhalb der Screens */

.screen-main {
  display: block;
}

.werbe-check-title {
  margin-bottom: 30px;
  color: #000000;
}




#check-form,
.lead-form-card {
  display: grid;
  gap: 12px;
  max-width: 540px;
}

/* Formular */

.werbe-check-app input,
.werbe-check-app textarea {
  width: 100%;
  min-height: 58px;
  border: 2px solid #000000;
  border-radius: 0;
  padding: 18px 16px;
  background: #ffffff;
  color: #000000;
  font-family: inherit;
  font-size: 17px;
  outline: none;
}

.werbe-check-app input::placeholder,
.werbe-check-app textarea::placeholder {
  color: #000000;
  opacity: .65;
}

.werbe-check-app input:not([readonly]):focus,
.werbe-check-app textarea:focus {
  border-color: var(--accent);
}

.werbe-check-app input.invalid-field,
.werbe-check-app textarea.invalid-field {
  border-color: var(--accent);
}

.werbe-check-app input[readonly] {
  background: #ffffff;
  color: #000000;
  opacity: 1;
  cursor: default;
  border-color: #000000;
}

.werbe-check-app textarea {
  min-height: 96px;
  resize: none;
}

/* Fehler / Hinweise */

.error {
  display: none;
  margin: 0;
  color: var(--accent);
  font-size: 14px;
  line-height: 1.3;
  font-weight: var(--weight-bold);
}

.error.show {
  display: block;
}

/* Analyse / Ergebnis */

.steps {
  display: grid;
  gap: 12px;
}

.step,
.buffer-line {
  padding: 18px;
  background: #ffffff;
  border: 2px solid #000000;
  color: #000000;
  font-size: 15px;
  font-weight: var(--weight-bold);
  line-height: 1.18;
}

#loading .step {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 18px;
}

.step .label {
  display: block;
  min-width: 0;
  line-height: 1;
  white-space: nowrap;
}

.step small {
  display: block;
  min-width: 0;
  margin: 0;
  color: #000000;
  font-size: 13px;
  font-weight: var(--weight-medium);
  line-height: 1.18;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(0px);
}

.step span:last-child {
  color: var(--accent);
  justify-self: end;
  white-space: nowrap;
}

.result-button[hidden],
.loading-message[hidden],
.buffer-line[hidden] {
  display: none;
}

.loading-message {
  color: #000000;
  font-size: 1.2rem;
  line-height: 1.35;
}

.result-list {
  display: grid;
  gap: 0;
}

.result-item {
  position: relative;
  padding: 16px;
  background: transparent;
  border: 0;
  color: #000000;
  font-size: 17px;
  font-weight: var(--weight-medium);
  line-height: 1.25;
}

.result-item + .result-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.7);
}

#result .premium-result-copy {
  padding: 16px;
  line-height: 1.35;
}

#result .premium-result-copy span {
  display: block;
}

#problems .result-item,
#fixes .result-item {
  color: #000000;
}

.diagnosis-accordion {
  display: grid;
  gap: 14px;
}

.diagnosis-section {
  display: grid;
  gap: 12px;
  padding: 0;
}

.section-title {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border: 2px solid #000000;
  background: #ffffff;
  color: #000000;
  font-size: 15px;
  font-weight: var(--weight-bold);
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}

.diagnosis-section.active .section-title,
.diagnosis-section.active .section-icon {
  color: var(--accent);
}

.section-title:hover,
.section-title:hover .section-icon {
  color: var(--accent);
}

.section-icon {
  color: #000000;
  font-size: 22px;
  font-weight: var(--weight-bold);
  line-height: 1;
}

.section-body {
  display: none;
}

.diagnosis-section.active .section-body {
  display: block;
}

.cta-card {
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  padding: 20px;
  display: grid;
  gap: 4px;
}

.cta-card .kicker {
  margin-bottom: 0;
}

.cta-card p {
  color: #000000;
  font-size: 17px;
  line-height: 1.35;
}

.premium-result-copy {
  padding: 16px 0;
}

/* Kontakt / Datenschutz */

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.fineprint {
  color: #000000;
  font-size: 16px;
  line-height: 1.35;
}

.privacy-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: #000000;
  font-size: 15px;
  line-height: 1.35;
}

.privacy-check input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  border: 2px solid #000000;
  accent-color: var(--accent);
}

.privacy-check.error-state input[type="checkbox"] {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--accent);
}

.inline-link {
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  font-size: inherit;
  font-weight: var(--weight-bold);
  line-height: inherit;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
}

.inline-link:hover {
  background: transparent;
  color: var(--accent);
  border: 0;
}

#privacy .screen-content {
  gap: 16px;
}

.privacy-copy {
  display: grid;
  gap: 0;
}

.privacy-copy p {
  margin: 0 0 22px;
  font-size: 1.2rem;
  line-height: 1.55;
}

.privacy-copy p:last-child {
  margin-bottom: 0;
}

.privacy-list {
  margin: -4px 0 22px;
  padding-left: 20px;
  color: #000000;
  font-size: 18px;
  line-height: 1.35;
}

.privacy-list li + li {
  margin-top: 4px;
}

#privacy .btn {
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
  align-self: flex-start;
}

.privacy-copy a {
  color: #000000;
  font-weight: var(--weight-medium);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-copy a:hover {
  color: var(--accent);
}

.success {
  display: none;
  padding: 0;
  background: transparent;
  color: #000000;
  width: 100%;
}

.success p {
  margin: 0;
  max-width: 44rem;
  color: #000000;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: var(--weight-medium);
}

.success.show {
  display: block;
}

/* Breaks */

.desktop-word-break {
  display: inline;
}

.werbe-check-app .mobile-break {
  display: none;
}

.werbe-check-page-hero {
  position: relative;
}

.werbe-check-page-hero > .wrap {
  position: static;
}

.werbe-check-page-hero .scroll-mouse {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 28px;
  top: auto;
  transform: translateX(-50%);
}

/* Responsive */
@media (max-width: 960px) {
  .desktop-nav { display: none; }

  .menu-toggle {
    display: inline-flex;
    opacity: 1;
    pointer-events: auto;
  }

 .hero-subline br {
    display: none;
  }

  .split,
  .grid-3,
  .steps {
    grid-template-columns: 1fr;
  }

  .home-stats {
  padding: 100px 0 120px;
}

.home-stats-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.home-stat {
  min-height: 390px;
}

.home-stat-number {
  font-size: clamp(4.8rem, 11vw, 7rem);
}

   .intro-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .intro-copy {
    max-width: none;
  }

  .intro-text {
    max-width: none;
  }

  .intro-spacer {
    display: none;
  }

.leistungen-top-edge {
  display: none;
}

  .projekte-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

.project-visual-label {
    top: 10px;
    right: 10px;
    font-size: .56rem;
    letter-spacing: .08em;
  }

  .project-stack,
  .project-center,
  .project-bottom {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }

.project-stack-bottom {
  grid-template-columns: 1fr;
}

.project-split-horizontal {
  grid-template-columns: 1fr;
  min-height: 490px;
}
  .project-stack {
    grid-template-rows: none;
  }

  section { padding: 90px 0; }

  .hero {
    min-height: auto;
    padding: 140px 0 120px;
    display: block;
  }
  

  .brand-logo--full { height: 46px; }
  .brand-logo--compact { height: 30px; }
  .werbe-check {
    padding: 100px 0;
  }

.werbe-check {
  padding: 100px 0 160px;
}


.desktop-break {
  display: none;
}

/* Werbe-Check */

.desktop-word-break {
  display: none;
}

.werbe-check-app .mobile-break {
    display: inline;
  }

.werbe-check-tool {
  padding: 90px 0 130px;
}

#loading .step {
  grid-template-columns: 120px minmax(0, 1fr) auto;
  column-gap: 12px;
}


  .news {
  padding: 100px 0;
}

.news-head {
  margin-bottom: 44px;
}

.news-grid {
  grid-template-columns: 1fr;
}

.news-card {
  min-height: 300px;
}

.kontakt {
  padding: 100px 0;
}

.contact-row {
  grid-template-columns: 1fr;
  row-gap: 42px;
}

.contact-direct {
  padding-top: 12px;
}

.kontakt-title {
  font-size: clamp(2.6rem, 11vw, 4rem);
}
.map-toggle-row,
.map-panel {
  display: none;
}

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    top: 0;
  }

  .footer-social {
    margin-left: 0;
  }

  .footer-legal {
    display: flex;
    gap: 18px;
    flex-wrap: nowrap;
  }
/*
  .leistungen-page-hero {
  min-height: calc(100dvh - var(--header-h));
  padding: 0;
}

  .leistungen-page-title {
    font-size: clamp(3.2rem, 12vw, 5.4rem);
  }

  .leistungen-page-subline br,
  .method-subline br {
    display: none;
  }
*/
  .leistungen-detail {
    padding: 100px 0;
  }

  .leistungen-detail .section-head {
    margin-bottom: 56px;
  }

  .leistungen-detail .service-row {
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 38px 0;
}

.leistungen-detail .service-content {
  grid-template-columns: 1fr;
  gap: 22px;
}

.leistungen-detail .service-copy {
  max-width: none;
  width: 100%;
}

.leistungen-detail .service-tags {
  width: 100%;
}

  .method {
     padding: 100px 0 270px;
  }

  .method-head {
    margin-bottom: 56px;
  }

  .method-track {
    grid-template-columns: 1fr;
  }

  .method-step {
    min-height: 240px;
  }

  .method-step > div:last-child {
    margin-top: 70px;
  }
  .scroll-mouse {
    bottom: 20px;
    width: 36px;
    height: 56px;
  }

  .scroll-mouse-body {
    width: 24px;
    height: 38px;
    border-radius: 16px;
  }

  .scroll-mouse-wheel {
    top: 7px;
    width: 5px;
    height: 9px;
    margin-left: -2.5px;
  }

/*
  .leistungen-page-hero {
    min-height: calc(100dvh - var(--header-h));
    padding: 0;
  }

.aktuelles-page-hero {
    min-height: auto;
    padding: 120px 0 100px;
  }

  .aktuelles-page-title {
    max-width: 9.5ch;
  }

  .aktuelles-page-subline {
    margin-left: 0;
  }
*/
.aktuelles-section .aktuelles-head {
  margin-bottom: 56px;
}

  .aktuelles-section {
    padding: 80px 0 120px;
  }

  .aktuelles-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

    .aktuelles-section .filter-row {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  overflow: visible;
  padding-top: 24px;
  padding-bottom: 4px;
  margin-top: 0;
  margin-bottom: 18px;
}

.aktuelles-section .filter-row .filter-btn {
  width: 100%;
  min-width: 0;
  max-width: none;
  white-space: normal;
  text-align: center;
  line-height: 1.05;
}

  .aktuelles-section .filter-btn,
  .aktuelles-section .archive-btn,
  .aktuelles-section .read-toggle {
    min-height: 30px;
    padding: 2px 8px 0;
    font-size: .72rem;
    letter-spacing: .05em;
    flex: 0 0 auto;
  }

.aktuelles-section .filter-row,
.aktuelles-section .news-card-grid {
  width: 100%;
}

  .aktuelles-section .filter-count {
    top: -19px;
    right: -3px;
    width: 18px;
    height: 18px;
    font-size: .62rem;
  }

  .aktuelles-section .news-card-grid {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .aktuelles-section .news-preview-card {
    min-height: 132px;
  }

.aktuelles-section .article-category {
  font-size: var(--kicker-size);
}

  .aktuelles-section .article-title {
    max-width: 24rem;
    font-size: 2rem;
  }

  .aktuelles-section .article-body {
    max-height: 320px;
  }

.aktuelles-section .article-body p {
  font-size: 1.2rem;
  line-height: 1.55;
}

.aktuelles-section .news-preview-headline {
  font-size: .95rem;
}

.aktuelles-section .news-preview-title {
  -webkit-line-clamp: 2;
line-clamp: 2;
}

    .projekte-page-hero {
    min-height: calc(100dvh - var(--header-h));
    padding: 0;
  }

  .projekte-page-title {
    font-size: clamp(3.2rem, 12vw, 5.4rem);
  }

  .projekte-page-subline br {
    display: none;
  }

  .project-cases {
    padding: 80px 0 100px;
  }

  .project-case {
    margin-bottom: 80px;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-case-info {
    order: 2;
    min-height: 520px;
  }

  .project-case--reverse .project-case-info,
  .project-case--reverse .project-case-media {
    grid-column: auto;
    grid-row: auto;
  }

  .project-case-media {
    order: 1;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .project-media-placeholder {
    min-height: 280px;
  }
  .profil-page-hero {
    min-height: calc(100dvh - var(--header-h));
  }

  .profil-page-title {
    font-size: clamp(3.2rem, 12vw, 5.4rem);
  }

  .dahinter,
  .kontakt-detail {
    padding: 100px 0;
  }

  .dahinter-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .dahinter-facts {
    grid-template-columns: 1fr;
  }

  .portrait-card,
  .portrait-card img {
    min-height: 460px;
  }
.method {
  padding-bottom: 180px;
}

  .profil-free-project {
    padding: 100px 0;
  }

  .profil-free-project-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .profil-free-project-content {
    max-width: none;
  }

  .profil-free-project-visual {
    order: 1;
  }

  .profil-free-project-content {
    order: 2;
  }

  .profil-free-project-content p {
    font-size: 1.2rem;
    line-height: 1.55;
  }

    .page-hero,
  .leistungen-page-hero,
  .profil-page-hero,
  .aktuelles-page-hero,
  .projekte-page-hero,
  .werbe-check-page-hero {
    min-height: auto;
    padding: 140px 0 120px;
    display: block;
  }

}

/* =========================================================
   Aktuelles Mobile Fix
   Smartphone: Filter als 3er-Raster, keine horizontale Scroll-Leiste
========================================================= */

@media (max-width: 640px) {

  .menu-close::before,
.menu-close::after {
  width: 24px;
  height: 3px;
}

  .home-stats {
    padding: 80px 0 64px;
  }

  .intro {
    padding-top: 72px;
  }

.home-stats-head {
  margin-bottom: 48px;
}

.home-stats-grid {
  grid-template-columns: 1fr;
  gap: 54px;
}

.home-stat {
  min-height: auto;
}

.home-stat-number {
  font-size: clamp(5.2rem, 24vw, 7rem);
}

.home-stat-source {
  margin-top: 54px;
}
  .aktuelles-section {
    overflow-x: hidden;
  }

  .aktuelles-layout,
  .aktuelles-section .news-sidebar,
  .aktuelles-section .news-article,
  .aktuelles-section .article-body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .aktuelles-section .filter-row {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    padding-top: 18px;
    padding-bottom: 4px;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .aktuelles-section .filter-row .filter-btn {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: none;
    flex: initial;
    white-space: normal;
    text-align: center;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .aktuelles-section .filter-btn {
    min-height: 36px;
    padding: 3px 5px 1px;
    font-size: .62rem;
    letter-spacing: .035em;
  }

  .aktuelles-section .filter-count {
    top: -12px;
    right: -4px;
    width: 18px;
    height: 18px;
    font-size: .62rem;
    z-index: 4;
  }

  .aktuelles-section .news-card-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
  }

  .aktuelles-section .news-preview-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .aktuelles-section .news-preview-category,
  .aktuelles-section .news-preview-headline,
  .aktuelles-section .news-preview-title {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
  }

  .aktuelles-section .article-title,
  .aktuelles-section .article-body,
  .aktuelles-section .article-body p {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .aktuelles-section .article-title {
    overflow-wrap: anywhere;
  }

  .aktuelles-section .article-body p {
    overflow-wrap: break-word;
  }

   .werbe-check {
    padding: 72px 0 96px;
    overflow: hidden;
  }

  .werbe-check-layout {
    display: block;
  }

  .werbe-check-copy {
    max-width: none;
    width: 100%;
  }

  .werbe-check-text,
  .werbe-check-note {
    max-width: none;
    width: 100%;
  }

  .werbe-check-preview {
    display: none;
  }

    .to-top,
  .to-top.is-visible {
    display: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

    .page-hero.profil-page-hero,
  .page-hero.werbe-check-page-hero,
  .page-hero.aktuelles-page-hero {
    min-height: calc(100svh - var(--header-h));
    height: calc(100svh - var(--header-h));
    padding: 0;
    display: flex;
    align-items: center;
  }
}

/* =========================================================
   Tablet Landscape Hero Fix
   Querformat: weniger Höhe, breitere Headlines
========================================================= */

@media (min-width: 641px) and (max-width: 1368px) and (orientation: landscape) {
 .hero,
.page-hero,
.leistungen-page-hero,
.profil-page-hero,
.aktuelles-page-hero,
.projekte-page-hero,
.werbe-check-page-hero {
  min-height: calc(100svh - var(--header-h));
  height: calc(100svh - var(--header-h));
  padding: 0;
  display: flex;
  align-items: center;
}

 .hero h1,
.page-hero h1,
.leistungen-page-hero h1,
.profil-page-hero h1,
.aktuelles-page-hero h1,
.projekte-page-hero h1,
.werbe-check-page-hero h1,
.page-hero .page-hero-title,
.leistungen-page-hero .page-hero-title,
.profil-page-hero .page-hero-title,
.aktuelles-page-hero .page-hero-title,
.projekte-page-hero .page-hero-title,
.werbe-check-page-hero .page-hero-title,
.projekte-page-title {
  max-width: 13.5ch;
  font-size: clamp(2.8rem, 6.4vw, 4.8rem);
  line-height: .88;
}

 .leistungen-page-hero h1,
.leistungen-page-hero .page-hero-title,
.leistungen-page-title {
  max-width: 14.5ch;
}

  .hero-subline,
  .page-hero-subline,
  .leistungen-page-subline,
  .profil-page-subline,
  .aktuelles-page-subline,
  .projekte-page-subline,
  .werbe-check-page-subline {
    max-width: 42rem;
    margin-top: 20px;
    font-size: 1.02rem;
    line-height: 1.35;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero .scroll-mouse,
  .page-hero .scroll-mouse,
  .leistungen-page-hero .scroll-mouse,
  .profil-page-hero .scroll-mouse,
  .aktuelles-page-hero .scroll-mouse,
  .projekte-page-hero .scroll-mouse,
  .werbe-check-page-hero .scroll-mouse {
    bottom: 14px;
    transform: translateX(-50%) scale(.82);
    transform-origin: center bottom;
  }

    .hero h1 {
    max-width: 10ch;
  }

.leistungen-launch {
  right: clamp(-160px, -6vw, -40px);
  transform: translateX(calc((1 - var(--launch-progress, 0)) * 34vw));
}
}

/* =========================================================
   Tablet Hochformat – Landingpage Zwischenlayout
========================================================= */

@media (min-width: 641px) and (max-width: 960px) and (orientation: portrait) {

  /* Leistungen: nicht schon einspaltig */
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Aktuelles: drei Karten nebeneinander behalten */
  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .news-card {
    min-height: 320px;
    padding: 24px;
  }

  .news-card h3 {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  }

  .news-card p {
    font-size: 1rem;
    line-height: 1.38;
  }

  /* Kontakt: Tablet bekommt wieder mehr Spalten */
  .contact-row {
    grid-template-columns: 1fr 1fr auto;
    column-gap: 28px;
    row-gap: 0;
    align-items: end;
  }

  .contact-direct {
    padding-top: 0;
  }
}

/* =========================================================
   Tablet Hochformat – Unterseiten Zwischenlayout
========================================================= */

@media (min-width: 641px) and (max-width: 960px) and (orientation: portrait) {

  /* Leistungen Unterseite */
  .leistungen-detail .service-row {
    grid-template-columns: 80px 1fr;
    gap: 28px;
    padding: 42px 0;
  }

  .leistungen-detail .service-content {
    grid-template-columns: minmax(220px, .72fr) 1fr;
    gap: 34px;
  }

  .leistungen-detail .service-title {
    font-size: clamp(2rem, 4.2vw, 3rem);
  }

  .leistungen-detail .service-copy {
    max-width: 40rem;
  }

   /* Projekte Unterseite */
  .project-case {
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.35fr);
    gap: 10px;
    min-height: 560px;
  }

  .project-case--reverse {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .9fr);
  }

  .project-case-info {
    order: 0;
    min-height: auto;
    padding: 34px 28px;
  }

  .project-case--reverse .project-case-info {
    grid-column: 2;
    grid-row: 1;
  }

  .project-case--reverse .project-case-media {
    grid-column: 1;
    grid-row: 1;
  }

  .project-case-media {
    order: 0;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .project-case-title {
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  }

  .project-case-services {
    margin: 18px 0 38px;
    font-size: 1.05rem;
  }
}



/* =========================================================
   Tablet Hochformat – Kontaktblock seitenübergreifend
========================================================= */

@media (min-width: 641px) and (max-width: 960px) and (orientation: portrait) {
  .contact-row {
    grid-template-columns: 1fr 1fr auto;
    column-gap: 28px;
    row-gap: 0;
    align-items: end;
  }

  .contact-direct {
    padding-top: 0;
  }
}

/* =========================================================
   Tablet Hochformat – Scroll-Mouse ausblenden
========================================================= */

@media (min-width: 641px) and (max-width: 960px) and (orientation: portrait) {
  .hero .scroll-mouse,
  .page-hero .scroll-mouse,
  .leistungen-page-hero .scroll-mouse,
  .profil-page-hero .scroll-mouse,
  .aktuelles-page-hero .scroll-mouse,
  .projekte-page-hero .scroll-mouse,
  .werbe-check-page-hero .scroll-mouse {
    display: none;
  }
}

/* =========================================================
   Tablet Hochformat – Footer nicht als Smartphone-Spalte
========================================================= */

@media (min-width: 641px) and (max-width: 960px) and (orientation: portrait) {
  .footer-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .footer-links {
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    top: 10px;
  }

  .footer-social {
    margin-left: 6px;
  }

  .footer-legal {
    flex-direction: row;
    gap: 18px;
  }

    .to-top.is-footer-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* =========================================================
   Tablet Hochformat – Hero höher, aber nicht fullscreen
========================================================= */

@media (min-width: 641px) and (max-width: 960px) and (orientation: portrait) {
  .hero,
  .page-hero,
  .leistungen-page-hero,
  .profil-page-hero,
  .aktuelles-page-hero,
  .projekte-page-hero,
  .werbe-check-page-hero {
    min-height: 66svh;
    padding: 0;
    display: flex;
    align-items: center;
  }
}

/* =========================================================
   Home Projects Teaser
========================================================= */

.home-projects {
  padding: clamp(76px, 5.5vw, 110px) 0 0;
  background: #000000;
  color: #ffffff;
  overflow: hidden;
}

.home-projects-grid {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%);
  align-items: center;
}

.home-projects-media {
  margin: 0;
  align-self: end;
  width: calc(100% + max(20px, calc((100vw - 1180px) / 2)));
  margin-left: calc(max(20px, calc((100vw - 1180px) / 2)) * -1);
  overflow: hidden;
}

.home-projects-media img {
  width: 100%;
  height: auto;
  display: block;
}

.home-projects-media img[src*="freies-projekt-packaging-max-moritz"] {
  transform: scale(1.25);
  transform-origin: center center;
}

.home-projects-content {
  width: 100%;
  max-width: 520px;
  padding-left: clamp(30px, 3.6vw, 52px);
  padding-bottom: clamp(42px, 4vw, 72px);
}

.home-projects-title {
  max-width: 11.5ch;
}

.home-projects-text {
  max-width: 34rem;
  margin: 0 0 32px;
  color: #ffffff;
}

.btn-red-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-red-outline:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.accent-dot {
  color: var(--accent);
}

@media (max-width: 1180px) {
  .home-projects {
    padding-top: 82px;
  }

  .home-projects-grid {
    grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  }

  .home-projects-media {
    width: calc(100% + 20px);
    margin-left: -20px;
  }

  .home-projects-content {
    max-width: none;
    padding-left: clamp(26px, 3vw, 38px);
    padding-bottom: 54px;
  }

  .home-projects-title {
  max-width: 11ch;
}
}

@media (max-width: 920px) {
  .home-projects {
    padding-top: 78px;
    padding-bottom: 76px;
  }

  .home-projects-grid {
    width: 100%;
    display: block;
  }

  .home-projects-media {
    width: 100%;
    margin-left: 0;
  }

  .home-projects-content {
    width: min(calc(100% - 40px), 1180px);
    max-width: 620px;
    margin: 0 auto;
    padding: 52px 0 0;
  }

 .home-projects-title {
  max-width: 10.5ch;
}
}

@media (max-width: 640px) {
  .home-projects {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .home-projects-content {
    padding-top: 44px;
  }
}
