/* Kreativhilfe · Startseite, Neugestaltung November 2026
   Markenfarben bleiben: Nachtblau als Bühne, Lavendel als Akzent, Pink nur für Aktionen.
   Keine Rahmen um Inhalte: Gliederung entsteht über Weißraum und Flächen. Inhalt in ruhiger Spalte (max. 1080 px), nur der Film läuft randlos. */

:root {
  --bg: #101319;
  --surface: #161b24;
  --ink: #ffffff;
  --soft: #e6e3ec;
  --muted: #a9adb9;
  --lavender: #c7bcd8;
  --pink: #e35b8f;
  --pink-hover: #ed76a4;
  --sans: 'Manrope', system-ui, sans-serif;
  --display: 'Manrope', system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -.035em;
  --gutter: clamp(22px, 7vw, 112px);
  --section: clamp(72px, 8vw, 124px);
  --body: clamp(1rem, .97rem + .15vw, 1.0938rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 4px; }
.wrap { width: min(1080px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 12px; }

/* Typografie */
h1, h2 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.625rem); line-height: 1.12; }
.eyebrow {
  margin-bottom: 16px;
  color: var(--lavender);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Buttons und Links */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 12px 22px;
  border: 0; border-radius: 999px;
  font-size: .9375rem; font-weight: 700; line-height: 1.2;
  cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.btn--pink { background: var(--pink); color: #12131a; }
.btn--pink:hover { background: var(--pink-hover); transform: translateY(-1px); }
.btn--ghost { padding-inline: 4px; background: transparent; color: var(--ink); }
.btn--ghost:hover { color: var(--lavender); }
.play-dot {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px);
}
.play-dot::before { content: ''; margin-left: 3px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
.big-link {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--ink); font-size: 1.0625rem; font-weight: 700;
  background: linear-gradient(var(--pink), var(--pink)) left bottom / 0 2px no-repeat;
  padding-bottom: 4px; transition: background-size .3s;
}
.big-link::after { content: '→'; color: var(--pink); transition: transform .3s; }
.big-link:hover { background-size: 100% 2px; }
.big-link:hover::after { transform: translateX(4px); }

/* Kopfzeile liegt über dem Film */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.brand img { width: 150px; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); font-size: .975rem; font-weight: 600; }
.site-nav a { color: rgba(255, 255, 255, .86); transition: color .2s; }
.site-nav a:hover { color: #fff; }
.site-nav .nav-cta { padding: 10px 20px; border-radius: 999px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(8px); color: #fff; }
.site-nav .nav-cta:hover { background: var(--pink); color: #12131a; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: max(600px, 100svh); overflow: hidden;
  background: #191a1f url('../assets/auswahl-werbespot-berg.jpg') center / cover no-repeat;
}
.hero-video, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; }
.hero-shade {
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(16, 19, 25, 1) 0%, rgba(16, 19, 25, .72) 30%, rgba(16, 19, 25, .05) 62%),
    linear-gradient(180deg, rgba(16, 19, 25, .55) 0%, transparent 22%),
    linear-gradient(90deg, rgba(16, 19, 25, .45) 0%, transparent 60%);
}
.hero-inner { position: relative; padding-bottom: 104px; }
.hero h1 { font-size: clamp(2.375rem, 1.5rem + 3.3vw, 4.25rem); line-height: 1.04; text-wrap: balance; }
.hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 56px; margin-top: 28px; }
.hero-text { max-width: 500px; color: var(--soft); font-size: clamp(1rem, .96rem + .2vw, 1.125rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; pointer-events: none; }
.hero-caption { color: rgba(255, 255, 255, .55); font-size: .8125rem; }
.hero-video-toggle {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px;
  border: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, .85); font-size: .8125rem; font-weight: 600; cursor: pointer; pointer-events: auto;
}
.hero-video-toggle:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.hero-video-toggle[hidden] { display: none; }
.hero-toggle-icon { font-size: 11px; }

/* Arbeiten */
.work { padding-block: var(--section) calc(var(--section) * .8); }
.work-head { margin-bottom: clamp(36px, 4vw, 56px); }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(40px, 4vw, 56px) clamp(16px, 2vw, 24px); }
.w-wide { grid-column: span 8; }
.w-tall { grid-column: span 4; }
.w-third { grid-column: span 4; }
.w-wide2 { grid-column: span 8; }
.work-more { grid-column: span 4; align-self: center; padding-left: clamp(0px, 2vw, 32px); }
.work-more p { margin-bottom: 22px; color: var(--muted); font-size: 1rem; }
.project-card { min-width: 0; }
.project-card[hidden] { display: none !important; }
.project-open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.project-image { position: relative; display: block; overflow: hidden; background: var(--surface); }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .6s; filter: saturate(.92); }
.project-image .pos-top { object-position: center 18%; }
.w-wide .project-image, .w-wide2 .project-image { aspect-ratio: 16 / 9; }
.w-tall .project-image { height: 0; padding-bottom: calc(112.5% + .5625 * clamp(16px, 2vw, 24px)); }
.w-tall .project-image img { position: absolute; inset: 0; }
.w-third .project-image { aspect-ratio: 4 / 5; }
.project-play {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px; background: rgba(16, 19, 25, .62); backdrop-filter: blur(8px);
  color: #fff; font-size: .8125rem; font-weight: 700; letter-spacing: .04em;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
}
.project-play::before { content: ''; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--pink); }
.project-open:hover img, .project-open:focus-visible img { transform: scale(1.035); filter: saturate(1.05); }
.project-open:hover .project-play, .project-open:focus-visible .project-play { opacity: 1; transform: none; }
.project-meta { display: block; padding-top: 18px; }
.project-kind { display: block; margin-bottom: 8px; color: var(--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; }
.project-meta strong { display: block; max-width: 30ch; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 600; line-height: 1.32; letter-spacing: -.02em; transition: color .3s; }
.project-open:hover strong { color: var(--lavender); }
.script-note { margin-top: 32px; color: var(--muted); }

/* Für wen */
.audience { padding-block: var(--section); background: var(--surface); }
.statement {
  font-family: var(--display); font-weight: 500; font-size: clamp(1.375rem, 1.15rem + 1vw, 2rem); line-height: 1.32; letter-spacing: -.02em;
  max-width: 820px;
}
.statement { font-weight: var(--display-weight); font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.625rem); line-height: 1.12; letter-spacing: var(--display-tracking); max-width: 720px; }
.occasions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 64px); margin-top: clamp(36px, 4vw, 56px); padding: 0; list-style: none; }
.occasions li { padding-left: 22px; background: radial-gradient(circle, var(--pink) 0 3px, transparent 3.5px) left .62em / 7px 7px no-repeat; }
.occasions strong { display: block; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 600; line-height: 1.32; letter-spacing: -.02em; }
.occasions span { display: block; margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.audience-note { max-width: 520px; margin: clamp(36px, 4vw, 56px) 0 0; color: var(--muted); }

/* Angebote */
.offers { padding-block: var(--section); }
.offers-head { margin-bottom: clamp(36px, 4vw, 56px); }
.offer-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 3.5vw, 48px); padding: 0; list-style: none; }
.offer { display: flex; flex-direction: column; }
.offer-no { display: block; margin-bottom: 14px; color: var(--lavender); font-size: .875rem; font-weight: 700; letter-spacing: .12em; line-height: 1; }
.offer h3 { margin-bottom: 12px; font-family: var(--display); font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); font-weight: var(--display-weight); line-height: 1.2; letter-spacing: -.025em; }
.offer p { margin-bottom: 22px; color: var(--soft); }
.offer .offer-proof { margin-top: -6px; color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.offer .offer-proof strong { color: var(--lavender); font-weight: 700; }
.offer .offer-link { margin-top: auto; }
.offer-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink); font-weight: 700; font-size: .9375rem;
}
.offer-link::after { content: '→'; color: var(--pink); transition: transform .3s; }
.offer-link:hover { color: var(--lavender); }
.offer-link:hover::after { transform: translateX(4px); }
.offers-note { margin-top: clamp(36px, 4vw, 56px); color: var(--muted); font-size: .9375rem; }

/* Über mich */
.about { padding-block: var(--section); background: var(--surface); }
.about-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.about-image { position: sticky; top: 40px; }
.about-frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); }
.about-frame img, .about-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s ease; }
.about-frame video { opacity: 0; }
.about-frame.is-ai video { opacity: 1; }
.about-frame.is-ai img { opacity: 0; }
.about-image figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.ai-toggle {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px;
  border: 0; border-radius: 999px; background: rgba(199, 188, 216, .12); color: var(--ink);
  font-size: .875rem; font-weight: 700; cursor: pointer; transition: background .2s, color .2s;
}
.ai-toggle:hover { background: var(--lavender); color: #12131a; }
.ai-toggle-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(227, 91, 143, .22); }
.ai-toggle[aria-pressed="true"] .ai-toggle-dot { background: var(--lavender); box-shadow: 0 0 0 4px rgba(199, 188, 216, .25); }
.about-image figcaption { margin-top: 16px; color: var(--muted); font-size: .8125rem; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy > p:not(.eyebrow) { max-width: 540px; margin-bottom: 16px; color: var(--soft); }
.facts { display: grid; gap: 18px; max-width: 540px; margin: 36px 0; }
.facts div { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 4px 20px; align-items: baseline; }
.facts dt { color: var(--lavender); font-weight: 700; font-size: 1em; line-height: 1.5; }
.facts dd { color: var(--soft); font-size: 1em; line-height: 1.6; }
.fact-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--ink); font-size: .9375rem; font-weight: 700; }
.fact-link::after { content: '↗'; color: var(--pink); transition: transform .3s; }
.fact-link:hover { color: var(--lavender); }
.fact-link:hover::after { transform: translate(2px, -2px); }
.facts dd .fact-link { display: flex; width: max-content; }

/* Visionen */
.journal { padding-block: var(--section) calc(var(--section) * .7); }
.journal-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.journal-head h2 { margin-bottom: 26px; }
.journal-list { padding: 0; list-style: none; }
.journal-list a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: center;
  padding: 20px 0; transition: padding .3s;
}
.journal-list li + li a { box-shadow: 0 -1px 0 rgba(199, 188, 216, .14); }
.j-title { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 600; letter-spacing: -.02em; transition: color .3s; }
.j-teaser { grid-row: 2; color: var(--muted); font-size: .9375rem; }
.j-arrow { grid-row: 1 / span 2; grid-column: 2; color: var(--pink); font-size: 1.125rem; transition: transform .3s; }
.journal-list a:hover .j-title { color: var(--lavender); }
.journal-list a:hover .j-arrow { transform: translate(3px, -3px); }

/* Kontakt */
.contact { padding-block: calc(var(--section) * .8) var(--section); }
.contact h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1.06; }
.contact-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 56px; margin-top: clamp(24px, 3vw, 36px); }
.contact-row p { max-width: 440px; color: var(--soft); }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.mail-link { color: var(--lavender); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 600; letter-spacing: -.01em; background: linear-gradient(var(--lavender), var(--lavender)) left bottom / 0 1px no-repeat; transition: background-size .3s; padding-bottom: 2px; }
.mail-link:hover { background-size: 100% 1px; }

/* Fußzeile */
.site-footer { padding-block: 44px; background: var(--surface); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.footer-logo { width: 110px; height: auto; margin-right: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9375rem; }
.footer-links a { color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { width: 100%; color: rgba(169, 173, 185, .7); font-size: .8125rem; }

/* Projektdialog (Funktion aus main.js unverändert) */
.project-dialog {
  width: min(900px, calc(100% - 24px)); max-width: calc(100% - 24px);
  max-height: min(1000px, calc(100dvh - 24px)); overflow-y: auto; overscroll-behavior: contain;
  padding: 0; border: 0; border-radius: 6px; background: var(--surface); color: var(--ink);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55);
}
.project-dialog::backdrop { background: rgba(8, 9, 14, .88); backdrop-filter: blur(4px); }
.dialog-toolbar { position: sticky; top: 0; z-index: 3; display: flex; justify-content: flex-end; padding: 14px 16px 6px; background: var(--surface); }
.dialog-shell { padding: 0 clamp(20px, 4.5vw, 52px) clamp(28px, 4.5vw, 52px); }
.dialog-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: var(--ink); color: var(--bg); }
.dialog__eyebrow { margin-bottom: 12px; color: var(--lavender); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.dialog__title { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem); line-height: 1.1; }
.dialog__subtitle { margin: 14px 0 10px; font-weight: 700; }
.dialog__description { max-width: 620px; margin: 0 0 8px; color: var(--soft); line-height: 1.7; }
.dialog__image { width: 100%; max-height: 480px; margin: 24px 0 18px; object-fit: contain; background: var(--bg); }
.dialog__external { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; color: var(--ink); font-weight: 700; }
.dialog__external::after { content: '↗'; margin-left: 10px; color: var(--pink); }
.video-consent { position: relative; overflow: hidden; min-height: 240px; aspect-ratio: 16 / 9; margin-top: 24px; background: var(--bg); }
.video-consent__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.video-consent__body { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; }
.video-consent__note { max-width: 340px; margin: 0; line-height: 1.6; }
.video-consent__button, .video-retry { min-height: 48px; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--pink); color: #12131a; font-weight: 700; cursor: pointer; }
.video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: 24px; border: 0; background: var(--bg); }
.video-native { display: block; width: 100%; max-height: min(68vh, 640px); margin-top: 24px; object-fit: contain; background: #000; }
.video-external-note, .video-error { margin: 24px 0 14px; color: var(--muted); line-height: 1.6; }

/* Sanftes Einblenden beim Scrollen, nur mit JavaScript und ohne reduzierte Bewegung */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* Tablet */
@media (max-width: 1024px) {
  .w-wide, .w-wide2 { grid-column: span 12; }
  .w-tall, .w-third { grid-column: span 6; }
  .w-tall .project-image { padding-bottom: 0; height: auto; aspect-ratio: 4 / 5; }
  .w-tall .project-image img { position: static; }
  .work-more { grid-column: span 6; padding-left: 0; }
  .offer-list { grid-template-columns: 1fr; max-width: 680px; }
  .offer { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; }
  .offer-no { grid-column: 1; grid-row: 1 / span 6; padding-top: .5em; }
  .offer > *:not(.offer-no) { grid-column: 2; }
  .offer .offer-link { margin-top: 0; }
  .about-inner, .journal-inner { grid-template-columns: 1fr; }
  .about-image { position: static; max-width: 560px; }
  .about-image { max-width: 460px; }
}

/* Mobil */
@media (max-width: 820px) {
  .header-inner { min-height: 76px; }
  .brand img { width: 128px; }
  .nav-ready .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 48px; height: 48px; padding: 14px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .12); backdrop-filter: blur(8px); cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .site-nav { flex-wrap: wrap; gap: 8px 20px; }
  .nav-ready .site-nav {
    position: absolute; top: 76px; left: 12px; right: 12px; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px;
    border-radius: 6px; background: rgba(22, 27, 36, .97); backdrop-filter: blur(12px);
    font-size: 1.25rem;
  }
  .nav-ready .site-nav.is-open { display: flex; }
  .nav-ready .site-nav a { padding-block: 14px; }
  .nav-ready .site-nav .nav-cta { margin-top: 10px; text-align: center; background: var(--pink); color: #12131a; }

  .hero { min-height: max(620px, 94svh); }
  .hero-shade { background: linear-gradient(0deg, rgba(16, 19, 25, 1) 0%, rgba(16, 19, 25, .78) 45%, rgba(16, 19, 25, .35) 75%, rgba(16, 19, 25, .55) 100%); }
  .work h2 br, .offers h2 br, .contact h2 br { display: none; }
  .hero-inner { padding-bottom: 88px; }
  .hero-row { margin-top: 28px; gap: 28px; }
  .hero-caption { max-width: 55%; font-size: .75rem; }

  .w-tall, .w-third, .work-more { grid-column: span 12; }
  .w-third .project-image, .w-tall .project-image { aspect-ratio: 4 / 5; }
  .work-grid { row-gap: 56px; }
  .project-play { opacity: 1; transform: none; }

  .occasions { grid-template-columns: 1fr; gap: 22px; }
  .offer { grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .contact-actions { flex-direction: column; align-items: flex-start; }
  .footer-logo { width: 100%; margin-bottom: 8px; max-width: 110px; }
  .dialog-shell { padding: 0 16px 24px; }
  .video-native { max-height: 56dvh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ==========================================================
   Unterseiten
   ========================================================== */
.subpage .site-header { position: relative; }
.site-nav a[aria-current="page"] { color: var(--lavender); }
.site-nav .nav-cta[aria-current="page"] { background: rgba(199, 188, 216, .18); color: var(--lavender); }

.page-head { padding-block: clamp(48px, 7vw, 104px) clamp(40px, 5vw, 72px); }
.page-head h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); line-height: 1.06; text-wrap: balance; max-width: 18ch; }
.page-lead { max-width: 620px; margin-top: 22px; color: var(--soft); font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); }

/* Sprungmarken (Angebote) */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.jump a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 999px; background: rgba(199, 188, 216, .1); font-size: .9375rem; font-weight: 600; transition: background .2s, color .2s; }
.jump a span { color: var(--lavender); font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.jump a:hover { background: var(--lavender); color: #12131a; }
.jump a:hover span { color: #12131a; }

/* Abschnitte mit Titel links, Text rechts */
.detail { padding-block: clamp(48px, 6vw, 88px); scroll-margin-top: 24px; }
.detail:nth-of-type(odd) { background: var(--surface); }
.detail-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px clamp(32px, 5vw, 80px); align-items: start; }
.detail-side .offer-no { display: block; margin-bottom: 12px; color: var(--lavender); font-size: .875rem; font-weight: 700; letter-spacing: .12em; }
.detail-side h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem); line-height: 1.15; text-wrap: balance; }
.detail-copy > p { max-width: 620px; margin-bottom: 18px; color: var(--soft); }
.detail-copy .offer-proof { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.detail-copy .offer-proof strong { color: var(--lavender); }
.detail-copy .big-link { margin-top: 10px; }
.steps { display: grid; gap: 16px; max-width: 620px; margin: 28px 0 8px; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 2px 14px; counter-increment: step; }
.steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(199, 188, 216, .14); color: var(--lavender); font-size: .875rem; font-weight: 700; }
.steps strong { font-weight: 700; }
.steps span { color: var(--muted); font-size: .9375rem; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.detail-mail { color: var(--muted); font-size: .875rem; }
.page-note { padding-block: 40px 8px; color: var(--muted); font-size: .9375rem; }

/* Abschluss jeder Unterseite */
.page-cta { padding-block: clamp(64px, 8vw, 112px); }
.page-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.page-cta-inner p { max-width: 560px; font-size: clamp(1.375rem, 1.15rem + .9vw, 1.875rem); font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }

/* Galerie */
.filter-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 48px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 9px 16px; border: 0; border-radius: 999px; background: rgba(199, 188, 216, .1); color: var(--soft); font-size: .875rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.filter:hover { background: rgba(199, 188, 216, .22); color: #fff; }
.filter.is-active { background: var(--lavender); color: #12131a; }
.gallery-count { color: var(--muted); font-size: .875rem; }
.g-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 52px) clamp(16px, 2vw, 24px); }
.g-card .project-image { aspect-ratio: 4 / 3; }
.project-play.is-external::before { content: '↗'; border: 0; color: var(--pink); font-size: 14px; }
.project-short { display: block; margin-top: 6px; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.g-card .project-meta strong { font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); }

/* Visionen */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4vw, 56px) clamp(16px, 2vw, 24px); padding-bottom: 24px; }
.post a { display: block; }
.post-image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); }
.post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.post a:hover img { transform: scale(1.035); }
.post time { display: block; margin-top: 18px; color: var(--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; }
.post h2 { margin-top: 8px; font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); line-height: 1.25; letter-spacing: -.02em; transition: color .3s; }
.post p { margin-top: 8px; color: var(--soft); font-size: .9375rem; line-height: 1.55; }
.post-more { display: inline-flex; gap: 8px; margin-top: 14px; font-size: .875rem; font-weight: 700; }
.post-more::after { content: '↗'; color: var(--pink); }
.post a:hover h2 { color: var(--lavender); }

/* Über mich */
.about-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(32px, 6vw, 96px); align-items: end; }
.about-hero .about-image { position: static; }

/* Kontakt */
.contact-page { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px clamp(32px, 6vw, 96px); padding-bottom: clamp(72px, 9vw, 128px); }
.contact-mail { display: inline-block; color: var(--lavender); font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; background: linear-gradient(var(--lavender), var(--lavender)) left bottom / 0 2px no-repeat; transition: background-size .3s; padding-bottom: 4px; overflow-wrap: anywhere; }
.contact-mail:hover { background-size: 100% 2px; }
.contact-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
.contact-side h2 { margin-bottom: 16px; font-size: 1.25rem; }
.start-list { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.start-list li { padding-left: 22px; background: radial-gradient(circle, var(--pink) 0 3px, transparent 3.5px) left .62em / 7px 7px no-repeat; color: var(--soft); }
.contact-side > p { color: var(--muted); }
.contact-place { margin-top: 28px; font-size: .9375rem; }

@media (max-width: 1024px) {
  .g-grid, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-inner, .about-hero, .contact-page { grid-template-columns: 1fr; }
  .about-hero .about-image { max-width: 460px; }
}
@media (max-width: 820px) {
  .subpage .nav-ready .site-nav { top: 76px; }
  .g-grid, .posts { grid-template-columns: 1fr; }
  .page-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* Impressum und Datenschutz: eingefügter eRecht24-Text, gut lesbar */
.legal > * { max-width: 760px; }
.legal { padding-bottom: clamp(72px, 9vw, 128px); color: var(--soft); font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere; }
.legal > h1:first-child { display: none; }
.legal h1 { margin: 48px 0 12px; font-size: 1.375rem; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.legal h2 { margin: 48px 0 12px; font-size: 1.375rem; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.legal h3 { margin: 32px 0 8px; font-size: 1.0625rem; color: var(--ink); }
.legal h4 { margin: 24px 0 6px; font-size: 1rem; color: var(--ink); }
.legal p, .legal ul, .legal ol { margin: 0 0 14px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal a { color: var(--lavender); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--ink); }
.legal-placeholder { padding: 24px 28px; border-radius: 12px; background: rgba(199, 188, 216, .1); color: var(--soft); }
.legal .legal-seals { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; margin: 28px 0; }
.legal .legal-seals img { display: block; width: auto; max-height: 160px; border-radius: 8px; }
.legal .legal-seals a { text-decoration: none; }
.legal .legal-seals img[src$="ecg.gif"] { max-height: 23px; border-radius: 0; }

/* Beitragsseiten (Visionen) */
.post-page { padding-top: clamp(48px, 7vw, 96px); }
.post-head, .post-hero, .prose, .post-nav { max-width: 760px; }
.post-head .eyebrow a { color: inherit; }
.post-head .eyebrow a:hover { color: var(--ink); }
.post-head h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); line-height: 1.08; text-wrap: balance; }
.post-hero { margin-top: clamp(32px, 4vw, 48px); overflow: hidden; background: var(--surface); }
.post-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { margin-top: clamp(32px, 4vw, 48px); color: var(--soft); font-size: 1.0625rem; line-height: 1.75; }
.prose h2, .prose h3 { margin: 40px 0 12px; color: var(--ink); font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); line-height: 1.25; letter-spacing: -.02em; }
.prose h2 strong, .prose h3 strong { font-weight: inherit; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--pink); }
.prose strong { color: var(--ink); }
.prose a { color: var(--lavender); text-decoration: underline; text-underline-offset: 3px; }
.post-embed a { display: inline-flex; align-items: center; gap: 14px; margin: 12px 0 8px; padding: 14px 22px 14px 14px; border-radius: 14px; background: rgba(199, 188, 216, .12); color: var(--ink); text-decoration: none; transition: background .2s; }
.post-embed a:hover { background: rgba(199, 188, 216, .22); }
.post-embed .play-dot { background: var(--pink); }
.post-embed strong { display: block; }
.post-embed small { display: block; color: var(--muted); font-size: .8125rem; }
.post-ai-note { margin-top: 36px !important; color: var(--muted); font-size: .875rem; }
.post-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 56px; padding-top: 28px; box-shadow: 0 -1px 0 rgba(199, 188, 216, .14); }
.post-next { text-align: right; font-weight: 700; }
.post-next small { display: block; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.post-next:hover { color: var(--lavender); }
@media (max-width: 820px) { .post-next { text-align: left; } }
.post-video{margin:2rem 0}
.post-video video{width:100%;height:auto;display:block;background:#000;border-radius:6px}
.post-video figcaption{margin-top:.6rem;font-size:.85rem;color:var(--muted,#9aa0ab)}

/* ---------- Datenschutz: Platzhalter für externe Inhalte ---------- */
.ext-blocker { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 280px; aspect-ratio: var(--ext-ratio, 16 / 9); margin-top: 24px; background: #0b0d12; border-radius: 6px; }
.ext-blocker__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: blur(2px) saturate(.8); transform: scale(1.03); }
.ext-blocker::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(11,13,18,.35), rgba(11,13,18,.85)); }
.ext-blocker__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 420px; padding: 28px 24px; text-align: center; }
.ext-blocker__eyebrow { margin: 0; color: var(--lavender); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ext-blocker__text { margin: 0; color: var(--ink); font-size: .9375rem; line-height: 1.6; }
.ext-blocker__button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px; background: var(--pink); color: #12131a; font: inherit; font-weight: 700; cursor: pointer; transition: transform .15s; }
.ext-blocker__button::before { content: ''; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ext-blocker__button:hover { transform: translateY(-1px); }
.ext-blocker__remember { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8125rem; cursor: pointer; }
.ext-blocker__remember input { width: 16px; height: 16px; accent-color: var(--pink); }
.ext-blocker__more { width: 100%; color: var(--muted); font-size: .8125rem; text-align: left; }
.ext-blocker__more summary { cursor: pointer; text-align: center; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.ext-blocker__more summary::-webkit-details-marker { display: none; }
.ext-blocker__more[open] { padding: 14px 16px; background: rgba(16,19,25,.92); border-radius: 6px; }
.ext-blocker__more[open] summary { margin-bottom: 10px; }
.consent-info { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .8125rem; line-height: 1.5; }
.consent-info dt { color: var(--lavender); font-weight: 600; }
.consent-info dd { margin: 0; color: var(--muted); }
.consent-info a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ext-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-top: 24px; background: #000; border-radius: 6px; overflow: hidden; }
.ext-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-canva { margin: 2rem 0; }
.ext-blocker:has(details[open]) { aspect-ratio: auto; }
.ext-blocker > * { min-width: 0; }
.post-canva .ext-blocker, .post-canva .ext-frame { margin-top: 0; }
.post-canva figcaption { margin-top: .6rem; color: var(--muted); font-size: .85rem; }
.post-canva figcaption a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .ext-blocker { aspect-ratio: auto; min-height: 340px; } .consent-info { grid-template-columns: 1fr; } .consent-info dt { margin-top: 6px; } }

/* ---------- Datenschutz-Einstellungen ---------- */
.footer-consent { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; cursor: pointer; transition: color .2s; }
.footer-consent:hover { color: var(--ink); }
.consent-panel { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 10px; background: var(--surface); color: var(--ink); }
.consent-panel::backdrop { background: rgba(8,10,14,.72); backdrop-filter: blur(3px); }
.consent-panel__inner { position: relative; padding: clamp(24px, 4vw, 36px); }
.consent-panel__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.06); color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.consent-panel__title { margin: 0 0 12px; font-family: var(--display); font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; }
.consent-panel__lead { margin: 0 0 22px; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.consent-groups { display: grid; gap: 22px; }
.consent-group h3 { margin: 0 0 4px; font-size: 1rem; }
.consent-group p { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.55; }
.consent-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.consent-always { flex: none; color: var(--lavender); font-size: .8125rem; font-weight: 600; }
.consent-service { margin-top: 14px; padding: 14px 16px; background: rgba(255,255,255,.035); border-radius: 8px; }
.consent-switch { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 16px; cursor: pointer; }
.consent-switch__name { font-weight: 700; }
.consent-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent-switch__track { position: relative; flex: none; width: 44px; height: 24px; border-radius: 999px; background: #3a3f4b; transition: background .2s; }
.consent-switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.consent-switch input:checked + .consent-switch__track { background: var(--pink); }
.consent-switch input:checked + .consent-switch__track::after { transform: translateX(20px); }
.consent-switch input:focus-visible + .consent-switch__track { outline: 2px solid var(--lavender); outline-offset: 2px; }
.consent-details { margin-top: 8px; font-size: .8125rem; color: var(--muted); }
.consent-details summary { cursor: pointer; width: max-content; }
.consent-details[open] summary { margin-bottom: 10px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.consent-btn { flex: 1 1 auto; min-height: 46px; padding: 10px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 600; font-size: .9375rem; cursor: pointer; }
.consent-btn:hover { border-color: rgba(255,255,255,.4); }
.consent-btn--primary { border-color: var(--pink); background: var(--pink); color: #12131a; font-weight: 700; }
.consent-panel__foot { margin: 20px 0 0; color: var(--muted); font-size: .8125rem; text-align: center; }
.consent-panel__foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.consent-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; max-height: calc(100vh - 32px); overflow: auto; margin: 0 auto; padding: 22px 24px; border-radius: 12px; background: var(--surface); box-shadow: 0 16px 48px rgba(0,0,0,.5); }
.consent-banner__title { margin: 0 0 6px; font-family: var(--display); font-size: 1.0625rem; font-weight: 700; }
.consent-banner__text { margin: 0; color: var(--muted); font-size: .9063rem; line-height: 1.55; }
.consent-banner__choices { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 16px 0 18px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.consent-check { display: inline-flex; align-items: center; gap: 9px; font-size: .9375rem; font-weight: 600; cursor: pointer; }
.consent-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--pink); cursor: pointer; }
.consent-check.is-locked { color: var(--muted); cursor: default; }
.consent-banner__details { margin-left: auto; padding: 0; border: 0; background: none; color: var(--lavender); font: inherit; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-banner__actions .consent-btn { flex: 1 1 150px; min-height: 44px; }
.consent-banner a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .consent-banner { left: 10px; right: 10px; bottom: 10px; padding: 18px; } .consent-banner__details { margin-left: 0; } }
.legal-consent { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.legal-consent p { margin: 0; color: var(--muted); }
.legal-consent .consent-btn { flex: 0 0 auto; }

/* ---------- Kontaktformular ---------- */
.contact-form { display: grid; gap: 22px; }
.cf-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cf-field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.cf-field > span, .cf-field legend { color: var(--ink); font-size: .9375rem; font-weight: 600; }
.cf-field em { margin-left: 6px; color: var(--muted); font-size: .75rem; font-style: normal; font-weight: 500; }
.cf-field legend { margin-bottom: 10px; padding: 0; }
.cf-field input, .cf-field textarea { width: 100%; padding: 14px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: rgba(255,255,255,.035); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.5; transition: border-color .2s, background .2s; }
.cf-field textarea { resize: vertical; min-height: 150px; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: rgba(169,173,185,.7); }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: var(--lavender); background: rgba(255,255,255,.06); }
.cf-field [aria-invalid] { border-color: var(--pink); }
.cf-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cf-chips label { position: relative; cursor: pointer; }
.cf-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cf-chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: var(--soft, #d6d8df); font-size: .9063rem; transition: border-color .2s, background .2s, color .2s; }
.cf-chips label:hover span { border-color: rgba(255,255,255,.35); }
.cf-chips input:checked + span { border-color: var(--lavender); background: var(--lavender); color: #12131a; font-weight: 600; }
.cf-chips input:focus-visible + span { outline: 2px solid var(--lavender); outline-offset: 2px; }
.cf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-note { margin: 0; color: var(--muted); font-size: .8438rem; line-height: 1.55; }
.cf-note a, .cf-alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cf-actions .btn[disabled] { opacity: .6; cursor: wait; }
.cf-alt { color: var(--muted); font-size: .9063rem; }
.cf-status { margin: 0; font-weight: 600; line-height: 1.5; }
.cf-status:empty { display: none; }
.cf-status.is-ok { padding: 14px 16px; border-radius: 8px; background: rgba(199,188,216,.12); color: var(--ink); }
.cf-status.is-error { padding: 14px 16px; border-radius: 8px; background: rgba(227,91,143,.14); color: #ffd3e2; }
@media (max-width: 640px) { .cf-row--2 { grid-template-columns: 1fr; } }

/* ---------- Mitlaufendes Menü ---------- */
.site-header.is-stuck { position: fixed; inset: 0 0 auto; z-index: 40; background: rgba(16, 19, 25, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px rgba(0,0,0,.25); animation: header-in .32s ease-out; }
.site-header.is-stuck .header-inner { min-height: 68px; }
.site-header.is-stuck .brand img { width: 124px; }
.site-header.is-stuck .nav-toggle { width: 42px; height: 42px; padding: 12px; }
body.subpage.header-stuck { padding-top: var(--header-space, 96px); }
@keyframes header-in { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@media (max-width: 820px) {
  .site-header.is-stuck .header-inner { min-height: 62px; }
  .site-header.is-stuck .brand img { width: 112px; }
  .nav-ready .site-header.is-stuck .site-nav { top: 62px; background: #161b24; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
}

/* ---------- Pfeil nach oben ---------- */
.to-top { position: fixed; right: clamp(14px, 2.5vw, 28px); bottom: clamp(14px, 2.5vw, 28px); z-index: 45; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(22, 27, 36, .9); backdrop-filter: blur(10px); color: var(--ink); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s, color .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--pink); border-color: var(--pink); color: #12131a; }
.to-top:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; }
body:has(.consent-banner) .to-top { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .site-header.is-stuck { animation: none; } .to-top { transition: none; } }

/* ---------- Kennzeichnung KI-generierter Inhalte ---------- */
.ai-badge { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 7px; border-radius: 999px; background: rgba(12, 14, 19, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: rgba(255, 255, 255, .82); font-size: .6875rem; font-weight: 600; letter-spacing: .02em; line-height: 1.4; pointer-events: none; white-space: nowrap; }
.ai-badge svg { flex: none; color: var(--lavender); }
.ai-badge--inline { position: static; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: inherit; vertical-align: -1px; }
.hero-caption .ai-badge--inline { margin-right: 6px; color: rgba(255, 255, 255, .72); }
.post-canva figcaption .ai-badge--inline { margin-right: 6px; }
.post-hero, .post-image { position: relative; }
.post-video__frame { position: relative; }
.about-frame .ai-badge { opacity: 0; transition: opacity .5s; }
.about-frame.is-ai .ai-badge { opacity: 1; }
.dialog__ai { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.dialog__ai svg { color: var(--lavender); }
.post-video__frame { width: fit-content; max-width: 100%; margin: 0 auto; }
.post-video__frame video { width: auto; max-width: 100%; max-height: 80vh; margin: 0 auto; }

/* ---------- Visionen auf der Startseite ---------- */
.journal-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(36px, 4vw, 56px); }
.journal-top h2 { margin-bottom: 0; }
.posts--home { padding-bottom: 0; }
.posts--home .post h3 { margin: 8px 0 8px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; transition: color .3s; }
.posts--home .post a:hover h3 { color: var(--lavender); }
@media (max-width: 1080px) { .posts--home .post:nth-child(3) { display: none; } }
@media (max-width: 640px) { .posts--home .post:nth-child(3) { display: block; } }

/* ---------- Barrierefreiheit ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html { scroll-padding-top: 88px; }
.ai-badge { background: rgba(12, 14, 19, .72); color: rgba(255, 255, 255, .92); }
.ai-badge--inline { background: none; }
.project-play { background: rgba(16, 19, 25, .75); }
.hero-caption { color: rgba(255, 255, 255, .74); }
.footer-copy { color: var(--muted); }

/* ---------- Header: Textblock etwas höher ---------- */
.hero-inner { padding-bottom: clamp(140px, 17vh + 36px, 260px); }
.hero-bottom { bottom: clamp(28px, 3vh + 8px, 44px); }
@media (max-width: 820px) {
  .hero-inner { padding-bottom: 104px; }
  .hero-bottom { bottom: 24px; }
}

/* ---------- Header am Handy: Video vollständig zeigen, Text darunter ---------- */
@media (max-width: 820px) {
  .hero { display: block; min-height: 0; padding-top: 76px; background: var(--bg); }
  .hero-video { position: relative; inset: auto; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .hero-shade { top: auto; bottom: auto; height: 0; }
  .hero-inner { padding-top: 28px; padding-bottom: 0; }
  .hero-row { margin-top: 20px; }
  .hero-bottom { position: static; margin-top: 28px; padding-bottom: 28px; }
  .hero-caption { max-width: none; }
}

/* ---------- Header am Computer: weniger Raum über dem Text ---------- */
@media (min-width: 821px) {
  .hero { min-height: clamp(560px, 80svh, 820px); }
  .hero-inner { padding-top: 120px; padding-bottom: clamp(110px, 9vh + 40px, 150px); }
}
@media (min-width: 821px) { .work { padding-top: clamp(56px, 5vw, 80px); } }

/* ---------- Header: Knöpfe unter dem Text, linksbündig ---------- */
.hero-row { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 24px; margin-top: 22px; }
@media (min-width: 821px) {
  .hero { min-height: clamp(540px, 74svh, 780px); }
  .hero-inner { padding-bottom: clamp(96px, 7vh + 40px, 130px); }
}

/* ---------- Projektseiten ---------- */
a.project-open { color: inherit; text-decoration: none; }
.pp-head { padding-bottom: clamp(20px, 2.5vw, 32px); }
.pp-head h1 { margin-bottom: 14px; }
.pp-crumbs { margin: 0; color: var(--muted); font-size: .9063rem; }
.pp-crumbs a { color: var(--lavender); text-decoration: underline; text-underline-offset: 3px; }
.pp-crumbs span[aria-hidden] { margin: 0 8px; opacity: .6; }
.pp-media { margin-bottom: clamp(40px, 5vw, 64px); }
.pp-media__frame { position: relative; overflow: hidden; border-radius: 8px; background: #000; }
.pp-media__frame > video, .pp-media__frame > img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain; margin: 0 auto; }
.pp-media__frame .ext-embed, .pp-media__frame .ext-blocker, .pp-media__frame .ext-frame { margin-top: 0; }
.pp-media__frame .ext-embed > img { display: block; width: 100%; height: auto; }
.pp-media.is-portrait .pp-media__frame { width: fit-content; max-width: 100%; margin: 0 auto; background: none; }
.pp-media.is-portrait .pp-media__frame > video, .pp-media.is-portrait .pp-media__frame > img { width: auto; max-width: 100%; max-height: 80vh; }
.pp-yt { margin: 12px 0 0; font-size: .875rem; }
.pp-yt a { color: var(--ink); font-weight: 700; }
.pp-yt a::after { content: ' ↗'; color: var(--pink); }
.pp-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px clamp(32px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 80px); }
.pp-lead { margin: 0 0 14px; color: var(--ink); font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); font-weight: 600; line-height: 1.4; }
.pp-text p:not(.pp-lead) { color: var(--soft); font-size: 1.0625rem; line-height: 1.7; max-width: 62ch; }
.pp-facts dl { display: grid; grid-template-columns: auto 1fr; gap: 14px 22px; margin: 0; padding: 22px 24px; border-radius: 8px; background: var(--surface); }
.pp-facts dt { color: var(--lavender); font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding-top: 2px; }
.pp-facts dd { margin: 0; color: var(--soft); font-size: .9375rem; line-height: 1.55; }
.pp-facts a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pp-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding-top: 28px; padding-bottom: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(199, 188, 216, .14); }
.pp-nav a { color: var(--ink); text-decoration: none; }
.pp-nav span { display: block; color: var(--muted); font-size: .8125rem; font-weight: 600; margin-bottom: 4px; }
.pp-nav strong { font-size: 1.0625rem; transition: color .2s; }
.pp-nav a:hover strong { color: var(--lavender); }
.pp-next { text-align: right; }
.pp-prev span::before { content: '← '; color: var(--pink); }
.pp-next span::after { content: ' →'; color: var(--pink); }
.pp-all { padding: 10px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-weight: 600; font-size: .9063rem; }
.pp-all:hover { border-color: rgba(255,255,255,.4); }
@media (max-width: 820px) {
  .pp-body { grid-template-columns: 1fr; }
  .pp-nav { grid-template-columns: 1fr 1fr; }
  .pp-all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* ---------- Projektseiten: Farbband in voller Breite ---------- */
.pp-band { position: relative; background:
    radial-gradient(120% 140% at 85% 0%, rgba(199, 188, 216, .35) 0%, rgba(199, 188, 216, 0) 55%),
    linear-gradient(118deg, #c7376f 0%, #a83a78 48%, #6f3f86 100%);
  padding-bottom: clamp(150px, 16vw, 230px); }
.pp-band::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, rgba(16,19,25,0) 0%, var(--bg) 100%); pointer-events: none; }
.pp-band .pp-head { position: relative; z-index: 1; padding-top: clamp(48px, 6vw, 84px); }
.pp-band .eyebrow { color: rgba(255, 255, 255, .88); }
.pp-band h1 { color: #fff; }
.pp-band .pp-crumbs { color: rgba(255, 255, 255, .82); }
.pp-band .pp-crumbs a { color: #fff; }
.pp-media { position: relative; z-index: 2; margin-top: calc(-1 * clamp(130px, 14vw, 200px)); }
.pp-media__frame { box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.pp-media.is-portrait .pp-media__frame { box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.pp-lead { color: var(--lavender); }
.pp-facts dl { border-top: 3px solid var(--pink); }
.pp-facts dt { color: var(--pink); }
.pp-nav { border-top-color: rgba(227, 91, 143, .35); }
.subpage:has(.pp-band) .site-header:not(.is-stuck) { position: absolute; background: transparent; }
.subpage:has(.pp-band) .pp-band { padding-top: var(--pp-header-h, 96px); }
@media (max-width: 760px) { .subpage:has(.pp-band) .pp-band { --pp-header-h: 76px; } }
.subpage:has(.pp-band) .site-nav a { color: rgba(255, 255, 255, .9); }
.subpage:has(.pp-band) .site-nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.subpage:has(.pp-band) .site-header:not(.is-stuck) .site-nav .nav-cta { background: rgba(16, 19, 25, .35); }
.subpage:has(.pp-band) .site-header.is-stuck { background: rgba(16, 19, 25, .88); }
.subpage:has(.pp-band) .site-header:not(.is-stuck) .brand img { filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(60, 10, 40, .35)); }
/* Fehlerseite 404 */
.notfound { padding-bottom: clamp(64px, 8vw, 120px); }
.notfound-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
/* Häufige Fragen (Angebote) */
.faq { padding-block: var(--section); background: var(--surface); }
.faq-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side h2 { margin: 0; }
.faq-list { border-top: 1px solid rgba(255, 255, 255, .12); }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: clamp(1.02rem, 1.4vw, 1.18rem); font-weight: 600; line-height: 1.4; }
.faq-item summary:hover h3 { color: var(--lavender); }
.faq-item summary:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 4px; }
.faq-icon { position: relative; flex: 0 0 18px; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--pink); border-radius: 2px; transition: transform .25s ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-answer { padding: 0 48px 24px 0; color: var(--muted); }
.faq-answer p { margin: 0; line-height: 1.7; }
@media (max-width: 860px) { .faq-inner { grid-template-columns: 1fr; } .faq-answer { padding-right: 0; } }
@media (prefers-reduced-motion: reduce) { .faq-icon::before, .faq-icon::after { transition: none; } }
/* Footer neu */
.site-footer { position: relative; padding-block: clamp(56px, 7vw, 88px) 28px; background: var(--surface); }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #c7376f 0%, #a83a78 48%, #6f3f86 100%); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 64px); align-items: start; }
.footer-home { display: inline-block; }
.footer-logo { width: 140px; height: auto; margin: 0; max-width: none; }
.footer-claim { margin: 18px 0 8px; color: var(--ink); font-size: 1.0625rem; line-height: 1.5; }
.footer-place { margin: 0 0 22px; color: var(--muted); font-size: .9375rem; }
.footer-cta { display: inline-flex; }
.footer-head { margin: 4px 0 16px; color: var(--lavender); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a, .footer-col .footer-consent { color: var(--muted); font-size: .9375rem; text-align: left; transition: color .2s; }
.footer-col a:hover, .footer-col .footer-consent:hover { color: var(--ink); }
.footer-ext { display: inline-block; margin-left: 5px; color: var(--pink); font-size: .8em; transition: transform .2s; }
.footer-col a:hover .footer-ext { transform: translate(2px, -2px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: clamp(44px, 6vw, 72px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom .footer-copy { width: auto; margin: 0; color: var(--muted); font-size: .8125rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col:last-child { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .footer-ext { transition: none; } }
/* Untertitel in Videos */
video::cue { background: rgba(12, 14, 19, .78); color: #fff; font-family: inherit; font-size: 1.05em; line-height: 1.4; }
/* Untertitel-Schalter */
.cc-bar { display: flex; justify-content: center; margin-top: 14px; }
.cc-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: .9375rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.cc-toggle:hover { border-color: var(--lavender); color: var(--lavender); }
.cc-toggle[aria-pressed="true"] { border-color: var(--pink); background: var(--pink); color: #12131a; }
.cc-toggle:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

/* ---------- Korrekturen 22.11.2026 ---------- */
/* Tablet (561 bis 820 px): Arbeiten, Galerie und Beiträge zweispaltig statt einer langen Spalte */
@media (min-width: 561px) and (max-width: 820px) {
  .w-tall, .w-third { grid-column: span 6; }
  .work-more { grid-column: span 12; }
  .g-grid, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Datenschutz-Einstellungen: Titel läuft nicht unter das Schließen-Kreuz, Kreuz gut antippbar */
.consent-panel__title { padding-right: 56px; }
.consent-panel__close { width: 44px; height: 44px; }
/* 404: alle drei Links als gleich gebaute Knöpfe, damit nichts verrutscht wirkt */
.notfound-links .btn--ghost { padding-inline: 22px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
/* Sehr starke Vergrößerung (bis 400 Prozent, 320 px): Projektdaten untereinander, damit nichts über den Rand ragt */
@media (max-width: 360px) {
  .pp-body { grid-template-columns: minmax(0, 1fr); }
  .pp-facts dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; padding: 18px 18px; }
  .pp-facts dd { margin-bottom: 10px; overflow-wrap: anywhere; hyphens: auto; }
  .pp-facts dd:last-child { margin-bottom: 0; }
}
