/* ==========================================================================
   Tanja Maier – Webdesign & E-Mail-Marketing
   Farben und Schriften laut Brand Guidelines (Stand August 2026)
   ========================================================================== */

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overpass";
  src: url("/fonts/overpass.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Markenfarben */
  --tiefblau: #14344c;
  --himmelblau: #6a9bc1;
  --sonnengelb: #fab316;
  --signalorange: #ef7c00;
  --sand: #ece3b9;
  --sand-hell: #f7f3e3;
  --weiss: #ffffff;

  /* Abgeleitet */
  --text: var(--tiefblau);
  --text-muted: #4a5f70;
  --linie: #dcd5b5;
  --tiefblau-dunkel: #0e2638;

  /* Schriften: freie Alternativen zu Benton Modern / Interstate */
  --serif: "Source Serif 4", "Benton Modern", Georgia, serif;
  --sans: "Overpass", "Interstate", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1180px;
  --radius: 22px;
  --radius-klein: 14px;
  --schatten: 0 18px 40px -24px rgba(20, 52, 76, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--signalorange); }
:focus-visible { outline: 3px solid var(--sonnengelb); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; color: var(--tiefblau); text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 4vw, 52px); }
h2 { font-size: clamp(27px, 3vw, 38px); }
h3 { font-family: var(--sans); font-weight: 700; font-size: 19px; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sonnengelb); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

/* Funke – das wiederkehrende Gestaltungselement */
.funke { display: inline-block; width: 0.8em; height: 0.8em; color: var(--sonnengelb); flex: none; }
.funke svg { width: 100%; height: 100%; display: block; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--tiefblau); margin-bottom: 14px;
}
.eyebrow .funke { width: 16px; height: 16px; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--text-muted); }

/* Buttons – Signalorange mit Tiefblau-Schrift laut Guide */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  background: var(--signalorange); color: var(--tiefblau);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { color: var(--tiefblau); transform: translateY(-2px); box-shadow: 0 10px 24px -12px var(--signalorange); }
.btn--blau { background: var(--tiefblau); color: var(--weiss); }
.btn--blau:hover { color: var(--weiss); box-shadow: 0 10px 24px -12px var(--tiefblau); }
.btn--gelb { background: var(--sonnengelb); color: var(--tiefblau); }
.btn--gelb:hover { box-shadow: 0 10px 24px -12px var(--sonnengelb); }
.btn--rahmen { background: transparent; border-color: var(--tiefblau); color: var(--tiefblau); }
.btn--rahmen:hover { box-shadow: none; background: var(--tiefblau); color: var(--weiss); }
.btn-reihe { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.header.gescrollt { border-bottom-color: var(--linie); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 70px; }
.logo { display: block; flex: none; }
.logo img { width: 176px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; }
.nav > .btn { padding: 10px 20px; font-size: 15px; }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--sonnengelb); }
.nav .hat-sub { position: relative; }
.nav .sub {
  position: absolute; top: 100%; left: -18px; min-width: 250px; padding: 10px;
  display: grid; gap: 2px; background: var(--weiss); border-radius: var(--radius-klein);
  box-shadow: var(--schatten); border: 1px solid var(--linie);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s ease;
}
.nav .hat-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.nav .hat-sub:hover .sub, .nav .hat-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(12px); }
.nav .sub a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 500; }
.nav .sub a:hover { background: var(--sand-hell); color: var(--tiefblau); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .header .wrap { height: 64px; }
  .logo img { width: 160px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--sand-hell); color: var(--tiefblau); cursor: pointer;
  }
  .nav {
    position: fixed; inset: 64px 0 auto 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 22px;
    padding: 24px 28px 32px; background: var(--weiss); border-bottom: 1px solid var(--linie); box-shadow: var(--schatten);
    display: none; max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav.offen { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav a { display: block; padding: 10px 0; font-size: 19px; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--sonnengelb); padding-left: 14px; }
  .nav .btn { display: inline-flex; padding: 15px 28px; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 18px; min-width: 0; }
  .nav .hat-sub:hover .sub, .nav .hat-sub:focus-within .sub { transform: none; }
  .nav .sub a { padding: 8px 0; font-size: 17px; }
  .nav .btn { width: 100%; }
}

/* ---------- Abschnitte ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--sand { background: var(--sand-hell); }
.section--blau { background: var(--tiefblau); color: var(--weiss); }
.section--blau h2, .section--blau h3 { color: var(--weiss); }
.section--blau .eyebrow { color: var(--sonnengelb); }
.section--blau .lead { color: rgba(255, 255, 255, 0.82); }
.section-kopf { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-kopf h2 + p { margin-top: 20px; }
.section-kopf--mitte { margin-left: auto; margin-right: auto; text-align: center; }
.section-kopf--mitte .eyebrow { justify-content: center; }

.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.zwei-spalten--text-breit { grid-template-columns: 1.15fr 0.85fr; }
.zwei-spalten--text-breit-rechts { grid-template-columns: 0.85fr 1.15fr; }
.prosa p { color: var(--text-muted); }
.prosa h2 { margin-bottom: 24px; }
.prosa h3 { margin: 28px 0 10px; }
.prosa ul { padding-left: 0; list-style: none; display: grid; gap: 10px; margin: 0 0 1em; color: var(--text-muted); }
.prosa li { position: relative; padding-left: 28px; }
.prosa li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 13px; height: 13px; background: var(--sonnengelb);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
@media (max-width: 860px) {
  .zwei-spalten, .zwei-spalten--text-breit { grid-template-columns: 1fr; }
}

.bild { border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.bild img { width: 100%; height: 100%; object-fit: cover; }
.bild--hoch { aspect-ratio: 4 / 5; }
.bild--quer { aspect-ratio: 3 / 2; }
/* Hochformat im Seitenkopf: nie höher als der Bildschirm, damit der Button sichtbar bleibt */
@media (min-width: 861px) {
  .seiten-hero .bild--hoch { aspect-ratio: auto; height: min(560px, calc(100vh - 150px)); min-height: 380px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(24px, 3vw, 48px) 0 clamp(64px, 8vw, 96px); position: relative; overflow: hidden; }
.hero .zwei-spalten { grid-template-columns: 1.1fr 0.9fr; }
.hero h1 { margin-bottom: 18px; font-size: clamp(32px, 3.3vw, 46px); }
.hero .zwei-spalten { align-items: center; }
.hero h1 .akzent { color: var(--tiefblau); background: linear-gradient(transparent 62%, var(--sonnengelb) 62%, var(--sonnengelb) 90%, transparent 90%); padding: 0 4px; }
.hero .lead { margin-bottom: 28px; max-width: 34em; }
.hero-bild { position: relative; }
@media (min-width: 861px) {
  .hero-bild { width: fit-content; margin-left: auto; }
  .hero-bild .bild { height: min(540px, calc(100vh - 130px)); width: auto; }
}
.hero-bild .bild { aspect-ratio: 4 / 5; }
.hero-bild .funke-deko { position: absolute; color: var(--sonnengelb); }
.hero-bild .funke-deko--1 { width: 64px; height: 64px; top: -24px; left: -24px; }
.hero-bild .funke-deko--2 { width: 34px; height: 34px; bottom: 40px; right: -16px; color: var(--signalorange); }
.hero-bild .funke-deko svg { width: 100%; height: 100%; }
.hero-badge {
  position: absolute; left: -28px; bottom: 36px; max-width: 250px;
  background: var(--tiefblau); color: var(--weiss); border-radius: var(--radius-klein); padding: 18px 20px;
  font-size: 15px; line-height: 1.45; box-shadow: var(--schatten);
}
.hero-badge strong { display: block; font-family: var(--serif); font-size: 20px; color: var(--sonnengelb); margin-bottom: 4px; }
.seiten-hero { padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 80px); background: var(--sand-hell); }
.seiten-hero h1 { max-width: 18ch; margin-bottom: 22px; }
.seiten-hero .lead { max-width: 40em; margin-bottom: 32px; }
.seiten-hero .zwei-spalten { align-items: center; }
@media (max-width: 860px) {
  .hero .zwei-spalten { grid-template-columns: 1fr; }
  .hero-bild { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-badge { left: 12px; }
}

/* ---------- Karten ---------- */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.karte {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 34px;
  display: flex; flex-direction: column; gap: 14px;
}
.karte p { color: var(--text-muted); }
.karte .mehr { margin-top: auto; padding-top: 8px; font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.karte .mehr::after { content: "→"; transition: transform .15s ease; }
.karte .mehr:hover::after { transform: translateX(4px); }
.karte--web { border-top: 6px solid var(--himmelblau); }
a.karte--link { text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
a.karte--link:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 47, 108, .12); }
a.karte--link .mehr { color: var(--tiefblau); }
a.karte--link:hover .mehr::after { transform: translateX(4px); }
.karte--mail { border-top: 6px solid var(--sonnengelb); }
.karte-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--tiefblau); color: var(--sonnengelb); }
.karte-icon svg { width: 28px; height: 28px; }

/* ---------- Digital Growth Cycle ---------- */
.cycle { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.cycle-grafik { max-width: 460px; width: 100%; margin: 0 auto; }
.cycle-grafik svg { width: 100%; height: auto; overflow: visible; }
.cycle-schritte { display: grid; gap: 18px; counter-reset: schritt; list-style: none; margin: 0; padding: 0; }
.cycle-schritt {
  counter-increment: schritt; position: relative; padding: 26px 28px 26px 92px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-klein);
}
.cycle-schritt::before {
  content: counter(schritt); position: absolute; left: 26px; top: 24px;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sonnengelb); color: var(--tiefblau); font: 700 20px/1 var(--sans);
}
.cycle-schritt h3 { color: var(--weiss); margin-bottom: 6px; }
.cycle-schritt h3 span { color: var(--sonnengelb); }
.cycle-schritt p { color: rgba(255, 255, 255, 0.8); margin: 0; font-size: 17px; }
.cycle-fazit { margin-top: clamp(40px, 5vw, 60px); padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.16); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cycle-fazit p { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 19px; }
@media (max-width: 960px) {
  .cycle, .cycle-fazit { grid-template-columns: 1fr; }
  .cycle-grafik { max-width: 360px; }
}
@media (max-width: 520px) {
  .cycle-schritt { padding: 80px 22px 22px; }
  .cycle-schritt::before { left: 22px; top: 22px; }
}

/* ---------- Referenzen ---------- */
.zitat-karte {
  position: relative; background: var(--weiss); border-radius: var(--radius); padding: clamp(32px, 4vw, 52px);
  box-shadow: var(--schatten); max-width: 860px; margin: 0 auto;
}
.zitat-karte blockquote { margin: 0; font-family: var(--serif); font-size: clamp(21px, 2.2vw, 27px); line-height: 1.45; font-weight: 500; }
.zitat-karte figcaption { margin-top: 24px; font-size: 16px; color: var(--text-muted); }
.zitat-karte figcaption strong { color: var(--tiefblau); display: block; font-size: 17px; }
.zitat-karte .zeichen { position: absolute; top: -26px; left: clamp(28px, 4vw, 48px); width: 56px; height: 56px; border-radius: 16px; background: var(--sonnengelb); display: grid; place-items: center; font: 700 44px/1 var(--serif); color: var(--tiefblau); padding-top: 14px; }

/* ---------- Über-mich-Teaser mit Sprechblase ---------- */
.ueber-bild { position: relative; }
.sprechblase {
  position: absolute; right: -18px; bottom: 48px; max-width: 250px;
  background: var(--sonnengelb); color: var(--tiefblau); border-radius: 22px 22px 22px 4px; padding: 18px 22px;
  font: 700 19px/1.3 var(--serif); box-shadow: var(--schatten);
}
.sprechblase small { display: block; margin-top: 6px; font: 600 14px/1 var(--sans); }
@media (max-width: 860px) {
  .ueber-bild { max-width: 460px; margin: 0 auto; width: 100%; }
  .sprechblase { right: 10px; }
}
.fakten { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; padding: 0; list-style: none; }
.fakten li { background: var(--sand-hell); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 600; }
.section--sand .fakten li, .seiten-hero .fakten li { background: var(--weiss); }

/* ---------- Projekte ---------- */
.projekt { border-radius: var(--radius); overflow: hidden; background: var(--weiss); border: 1px solid var(--linie); display: flex; flex-direction: column; }
.projekt-bild { aspect-ratio: 16 / 10; background: var(--sand); display: grid; place-items: center; color: var(--tiefblau); position: relative; }
.projekt-bild .funke { width: 48px; height: 48px; color: var(--tiefblau); opacity: 0.25; }
.projekt-bild .platzhalter { position: absolute; bottom: 14px; left: 14px; background: var(--weiss); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.projekt-text { padding: 26px 28px 30px; }
.projekt-text p { color: var(--text-muted); font-size: 16px; margin-top: 8px; }
.projekt-text .tag { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-klein); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative;
  font-weight: 700; font-size: 19px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314344c' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sonnengelb); }
.faq .antwort { padding: 0 26px 24px; color: var(--text-muted); }

/* ---------- Kontakt ---------- */
.kontakt-wege { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.kontakt-weg {
  display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: var(--radius);
  background: var(--weiss); border: 1px solid var(--linie); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.kontakt-weg:hover { color: var(--tiefblau); transform: translateY(-3px); box-shadow: var(--schatten); }
.kontakt-weg .karte-icon { margin-bottom: 8px; }
.kontakt-weg strong { font-size: 20px; }
.kontakt-weg span { color: var(--text-muted); font-size: 16px; }
.kontakt-weg--haupt { background: var(--tiefblau); border-color: var(--tiefblau); color: var(--weiss); }
.kontakt-weg--haupt:hover { color: var(--weiss); }
.kontakt-weg--haupt span { color: rgba(255, 255, 255, 0.8); }
.kontakt-weg--haupt .karte-icon { background: var(--sonnengelb); color: var(--tiefblau); }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--sonnengelb); border-radius: var(--radius); padding: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cta-band p { margin-top: 12px; font-size: 19px; }
.cta-band .funke-gross { position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; color: rgba(255, 255, 255, 0.35); }
.cta-band .funke-gross svg { width: 100%; height: 100%; }
.cta-band .btn-reihe { position: relative; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 760px; }
.rechtstext h1 { margin-bottom: 20px; }
.rechtstext h2 { font-size: 28px; margin: 40px 0 14px; }
.hinweis { background: var(--sand-hell); border-left: 5px solid var(--sonnengelb); border-radius: 10px; padding: 18px 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--tiefblau); color: rgba(255, 255, 255, 0.82); padding: 72px 0 32px; font-size: 16px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--sonnengelb); }
.footer-raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo img { width: 220px; margin-bottom: 20px; }
.footer h3 { color: var(--sonnengelb); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-unten { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.footer-unten ul { display: flex; gap: 24px; }
@media (max-width: 860px) { .footer-raster { grid-template-columns: 1fr 1fr; } .footer-raster > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-raster { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .karte { padding: 28px 24px; }
  .btn { width: 100%; }
  .btn-reihe { flex-direction: column; }
}

/* ==========================================================================
   Runde 2: Animationen & neue Bausteine
   ========================================================================== */

/* ---------- Funken: verspielter Hover ---------- */
.funke svg, .funke-deko svg, .funke-gross svg, .karte-icon svg {
  transition: transform .6s cubic-bezier(.34, 1.56, .64, 1);
  transform-origin: 50% 50%;
}
.funke:hover svg, .eyebrow:hover .funke svg,
.cta-band:hover .funke-gross svg, .projekt:hover .projekt-bild .funke svg,
.karte:hover .karte-icon svg {
  transform: rotate(180deg) scale(1.45);
}
.funke-deko { cursor: pointer; }
.funke-deko svg { animation: funkeln 4s ease-in-out infinite; }
.funke-deko--2 svg { animation-delay: -2s; }
.funke-deko:hover svg { animation: wirbeln .9s cubic-bezier(.34, 1.56, .64, 1) forwards; }
@keyframes funkeln {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.12) rotate(12deg); }
}
@keyframes wirbeln {
  0% { transform: rotate(0deg) scale(1); }
  60% { transform: rotate(300deg) scale(1.6); }
  100% { transform: rotate(360deg) scale(1.3); }
}
/* Funkenflug: kleine Funken, die per JS beim Hover aufsteigen */
.funken-flug { position: fixed; width: 12px; height: 12px; margin: -6px; pointer-events: none; color: var(--sonnengelb); z-index: 60; animation: aufsteigen .9s ease-out forwards; }
.funken-flug svg { width: 100%; height: 100%; display: block; }
@keyframes aufsteigen {
  0% { opacity: 1; transform: translate(0, 0) scale(.4) rotate(0); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(200deg); }
}

/* ---------- Growth Cycle: Hover ---------- */
.cycle-grafik svg .cycle-mitte { transform-origin: 200px 184px; }
.cycle-grafik svg .cycle-pfeile, .cycle-grafik svg .cycle-mitte { transform-box: view-box; transition: transform 1.2s cubic-bezier(.34, 1.4, .64, 1); }
.cycle-grafik svg .cycle-pfeile { transform-origin: 200px 200px; }
.cycle-grafik:hover .cycle-pfeile { transform: rotate(120deg); }
.cycle-grafik:hover .cycle-mitte { transform: rotate(180deg) scale(1.25); }
.cycle-knoten circle { transform-box: fill-box; transform-origin: center; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), fill .3s ease; }
.cycle-knoten.aktiv circle, .cycle-knoten:hover circle { transform: scale(1.22); fill: var(--signalorange); }
.cycle-grafik { cursor: pointer; }
.cycle-schritt { transition: transform .3s ease, background-color .3s ease, border-color .3s ease; }
.cycle-schritt.aktiv, .cycle-schritt:hover { transform: translateX(6px); background: rgba(255, 255, 255, 0.11); border-color: var(--sonnengelb); }

/* ---------- Mehrere Referenzen ---------- */
.zitate { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px 28px; align-items: start; }
.zitate .zitat-karte { max-width: none; margin: 0; }
.zitate .zitat-karte blockquote { font-size: clamp(18px, 1.6vw, 21px); }
.zitat-quelle { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--text-muted); }

/* ---------- Newsletter-Opt-in ---------- */
.newsletter-box {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--tiefblau); color: var(--weiss);
  padding: clamp(32px, 4.5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
}
.newsletter-box h2 { color: var(--weiss); font-size: clamp(26px, 2.8vw, 34px); }
.newsletter-box p { color: rgba(255, 255, 255, 0.82); margin-top: 12px; }
.newsletter-box .eyebrow { color: var(--sonnengelb); }
.nl-bereich { position: relative; z-index: 1; }
.nl-form { display: grid; gap: 14px; }
.nl-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nl-feld { display: grid; gap: 6px; }
.nl-feld span { font-size: 14px; font-weight: 700; color: var(--sonnengelb); }
.nl-feld small { font-weight: 400; color: rgba(255, 255, 255, 0.7); }
.nl-feld input {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 2px solid transparent; background: var(--weiss);
  font: 400 16px/1.3 var(--sans); color: var(--tiefblau); transition: border-color .2s ease, box-shadow .2s ease;
}
.nl-feld input:focus { outline: none; border-color: var(--sonnengelb); box-shadow: 0 0 0 4px rgba(250, 179, 22, 0.25); }
.nl-feld input[aria-invalid="true"] { border-color: var(--signalorange); }
.nl-falle { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-knopf { width: 100%; margin-top: 4px; }
.nl-knopf[disabled] { opacity: .7; cursor: wait; transform: none; }
.nl-fehler { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(239, 124, 0, 0.18); color: var(--weiss); font-size: 15px; }
.newsletter-box .nl-hinweis { margin: 2px 0 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
.nl-hinweis a { color: var(--weiss); }
.nl-hinweis a:hover { color: var(--sonnengelb); }
.nl-danke { text-align: center; padding: 28px 20px; border-radius: var(--radius-klein); background: rgba(255, 255, 255, 0.08); outline: none; }
.nl-danke h3 { color: var(--weiss); font-family: var(--serif); font-size: 26px; margin: 10px 0 8px; }
.newsletter-box .nl-danke p { margin: 0; }
.nl-danke-funke { display: inline-block; width: 44px; height: 44px; color: var(--sonnengelb); animation: wirbeln 1s cubic-bezier(.34, 1.56, .64, 1); }
.nl-danke-funke svg { width: 100%; height: 100%; display: block; }
.nl-antwort { display: none; }
@media (max-width: 520px) { .nl-zeile { grid-template-columns: 1fr; } }
.newsletter-box .funke-gross { position: absolute; right: -50px; bottom: -50px; width: 170px; height: 170px; color: rgba(250, 179, 22, 0.14); }
.newsletter-box .funke-gross svg { width: 100%; height: 100%; }
.newsletter-box:hover .funke-gross svg { transform: rotate(180deg) scale(1.2); }
@media (max-width: 760px) { .newsletter-box { grid-template-columns: 1fr; } }

/* ---------- Kooperationspartner ---------- */
.partner-kategorie + .partner-kategorie { margin-top: clamp(56px, 6vw, 80px); }
.partner-kategorie > h2 { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.partner-kategorie > h2 .funke { width: 24px; height: 24px; }
.partner-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 24px; }
.partner-karte {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; gap: 16px; transition: transform .25s ease, box-shadow .25s ease;
}
.partner-karte:hover { transform: translateY(-4px); box-shadow: var(--schatten); }
.partner-kopf { display: flex; align-items: center; gap: 16px; }
.partner-foto {
  width: 72px; height: 72px; flex: none; border-radius: 20px; overflow: hidden; background: var(--sand);
  display: grid; place-items: center; font: 700 24px/1 var(--serif); color: var(--tiefblau);
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.partner-karte:hover .partner-foto { transform: rotate(-6deg) scale(1.06); }
.partner-foto img { width: 100%; height: 100%; object-fit: cover; }
.partner-kopf h3 { font-size: 20px; }
.partner-kopf a { font-size: 15px; color: var(--text-muted); text-decoration: none; }
.partner-kopf a:hover { color: var(--signalorange); }
.partner-karte blockquote { margin: 0; color: var(--text-muted); font-size: 16px; line-height: 1.65; }
.partner-projekte-titel { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-top: auto; }
.partner-projekte { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.partner-projekte li { font-size: 13px; font-weight: 600; background: var(--sand-hell); border-radius: 999px; padding: 5px 12px; }

/* ---------- Kontakt: interaktiver ---------- */
.kontakt-raster { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: stretch; }
.termin-karte {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--tiefblau); color: var(--weiss);
  padding: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.termin-karte:hover { transform: translateY(-4px); box-shadow: var(--schatten); }
.termin-karte h2 { color: var(--weiss); font-size: clamp(26px, 2.8vw, 34px); }
.termin-karte p { color: rgba(255, 255, 255, 0.82); margin: 0; }
.termin-karte .btn { align-self: flex-start; margin-top: auto; position: relative; z-index: 1; }
.termin-karte .funke-gross { position: absolute; right: -36px; top: -36px; width: 160px; height: 160px; color: rgba(250, 179, 22, 0.2); }
.termin-karte .funke-gross svg { width: 100%; height: 100%; }
.termin-karte:hover .funke-gross svg { transform: rotate(180deg) scale(1.25); }
.termin-schritte { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; }
.termin-schritte li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.termin-schritte b { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--sonnengelb); color: var(--tiefblau); display: grid; place-items: center; font-size: 14px; }
.kontakt-liste { display: grid; gap: 16px; }
.kontakt-zeile {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 20px 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.kontakt-zeile:hover { transform: translateX(6px); box-shadow: var(--schatten); border-color: var(--sonnengelb); }
.kontakt-zeile .karte-icon { width: 50px; height: 50px; }
.kontakt-zeile:hover .karte-icon svg { transform: rotate(-12deg) scale(1.15); }
.kontakt-zeile a.haupt { text-decoration: none; display: block; }
.kontakt-zeile a.haupt::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.kontakt-zeile strong { display: block; font-size: 18px; }
.kontakt-zeile span { color: var(--text-muted); font-size: 15px; }
.kopieren {
  position: relative; z-index: 2; border: 0; cursor: pointer; border-radius: 999px; padding: 8px 14px;
  background: var(--sand-hell); color: var(--tiefblau); font: 700 13px/1 var(--sans); transition: background-color .2s ease;
}
.kopieren:hover { background: var(--sand); }
.kopieren.kopiert { background: var(--sonnengelb); }
@media (max-width: 860px) { .kontakt-raster { grid-template-columns: 1fr; } }

/* ---------- Scroll-Animation: Papierflieger → Laptop → Newsletter ---------- */
.flug { position: relative; height: 260vh; background: linear-gradient(var(--weiss), var(--sand-hell) 45%, var(--weiss)); }
.flug-buehne { position: sticky; top: max(70px, calc(50vh - 250px)); padding-block: 32px; display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 40px; }
.flug-texte { display: grid; }
.flug-text { grid-area: 1 / 1; align-self: start; opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.flug-text.aktiv { opacity: 1; transform: none; }
.flug-text h2 { margin: 0 0 14px; }
.flug-text p { color: var(--text-muted); font-size: 18px; }
.flug-fortschritt { grid-area: 2 / 1; display: flex; gap: 8px; margin-top: 32px; }
.flug-fortschritt span { width: 34px; height: 5px; border-radius: 3px; background: var(--linie); transition: background-color .3s ease; }
.flug-fortschritt span.an { background: var(--sonnengelb); }
.flug-szene { position: relative; width: 100%; aspect-ratio: 16 / 11; }
.laptop { position: absolute; left: 50%; bottom: 8%; width: 72%; transform: translateX(-50%); perspective: 1400px; }
.laptop-deckel {
  position: relative; aspect-ratio: 16 / 10; background: #1b2a37; border-radius: 16px 16px 4px 4px; padding: 2.6%;
  transform-origin: 50% 100%; transform: rotateX(calc(var(--deckel, 1) * -86deg));
}
.laptop-bildschirm { position: relative; width: 100%; height: 100%; border-radius: 6px; overflow: hidden; background: linear-gradient(160deg, #f7f3e3, #ffffff); }
.laptop-basis { position: relative; height: 16px; margin: 0 -7%; background: linear-gradient(#c9cfd6, #9aa5b1); border-radius: 0 0 22px 22px; }
.laptop-basis::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); background: #8a95a1; border-radius: 0 0 8px 8px; }
.posteingang { position: absolute; inset: 0; padding: 4% 5%; opacity: calc(1 - var(--mail, 0)); }
.posteingang-zeile { display: grid; grid-template-columns: 10px 1fr; gap: 8px; align-items: center; padding: 3.2% 0; border-bottom: 1px solid #e7e1c7; }
.posteingang-zeile i { width: 8px; height: 8px; border-radius: 50%; background: #d8d2b5; }
.posteingang-zeile b { height: 7px; border-radius: 4px; background: #ddd6b9; display: block; }
.posteingang-zeile.neu i { background: var(--signalorange); }
.posteingang-zeile.neu b { background: var(--tiefblau); opacity: .7; width: calc(var(--neu, 0) * 85%); }
.mail-ansicht {
  position: absolute; inset: 6% 9%; background: var(--weiss); border-radius: 10px; box-shadow: 0 18px 40px -18px rgba(20, 52, 76, .5);
  display: flex; flex-direction: column; overflow: hidden; transform-origin: 50% 30%;
  transform: scale(calc(0.4 + var(--mail, 0) * 0.6)); opacity: var(--mail, 0);
}
.mail-kopf { background: var(--tiefblau); padding: 4% 6%; display: flex; align-items: center; gap: 8%; }
.mail-kopf img { width: 12%; }
.mail-kopf span { height: 6px; flex: 1; border-radius: 3px; background: rgba(255, 255, 255, .25); }
.mail-inhalt { padding: 5% 6%; display: grid; gap: 7px; }
.mail-titel { font: 700 clamp(11px, 1.6vw, 20px)/1.15 var(--serif); color: var(--tiefblau); }
.mail-linie { height: 6px; border-radius: 3px; background: #e5e0cb; }
.mail-linie.kurz { width: 70%; }
.mail-knopf { justify-self: start; margin-top: 4px; background: var(--signalorange); color: var(--tiefblau); border-radius: 999px; padding: 5px 12px; font: 700 clamp(8px, 1vw, 12px)/1 var(--sans); transform: scale(calc(0.7 + var(--knopf, 0) * 0.3)); }
.flieger-ebene { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 3; }
.flieger-spur { fill: none; stroke: var(--sonnengelb); stroke-width: 5; stroke-dasharray: 0 1; stroke-linecap: round; opacity: 0; }
.flug-funken { position: absolute; left: 50%; top: 45%; width: 0; height: 0; z-index: 4; }
.flug-funken span { position: absolute; width: 20px; height: 20px; margin: -10px; color: var(--sonnengelb); opacity: var(--funken, 0); transform: translate(calc(var(--x) * var(--funken, 0)), calc(var(--y) * var(--funken, 0))) rotate(calc(var(--funken, 0) * 180deg)); }
.flug-funken span:nth-child(even) { color: var(--signalorange); width: 14px; height: 14px; margin: -7px; }
.flug-funken svg { width: 100%; height: 100%; display: block; }
@media (max-width: 860px) {
  .flug { height: 240vh; }
  .flug-buehne { top: 64px; grid-template-columns: 1fr; gap: 12px; padding-block: 20px 8px; }
  .flug-text p { font-size: 16px; }
  .flug-text .btn { display: none; }
  .flug-fortschritt { display: none; }
  .flug-szene { align-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .flug { height: auto; }
  .flug-buehne { position: static; height: auto; padding: 64px 0; }
  .flug-text { position: static; opacity: 1; transform: none; }
  .flug-text:not(:last-child), .flug-fortschritt, .flieger-ebene { display: none; }
  .flug-texte { min-height: 0; }
  .laptop-deckel { --deckel: 0; }
  .mail-ansicht { --mail: 1; }
}

/* ---------- Referenzen-Slider ---------- */
.zitate-slider { position: relative; }
.zitate-spur {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 36px 4px 28px; margin: 0 -4px; scrollbar-width: none;
}
.zitate-spur::-webkit-scrollbar { display: none; }
.zitate-spur .zitat-karte { flex: 0 0 min(460px, 86%); scroll-snap-align: start; margin: 0; max-width: none; display: flex; flex-direction: column; }
.zitate-spur .zitat-karte blockquote { font: 400 16.5px/1.7 var(--sans); color: var(--tiefblau); }
.zitate-spur .zitat-karte figcaption { margin-top: auto; padding-top: 22px; }
.zitate-steuerung { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.zitate-knopf {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--tiefblau); background: transparent; color: var(--tiefblau);
  font: 700 20px/1 var(--sans); cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.zitate-knopf:hover { background: var(--tiefblau); color: var(--weiss); transform: scale(1.06); }
.zitate-knopf:disabled { opacity: .3; cursor: default; transform: none; background: transparent; color: var(--tiefblau); }

/* ---------- Drehende Hintergrund-Funken ---------- */
.seiten-hero, .section--blau, .footer { position: relative; overflow: hidden; isolation: isolate; }
.seiten-hero::after, .section--blau::after, .footer::after, .header-funke::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 440px; height: 440px; right: -130px; top: -130px;
  background: var(--hg-funke, rgba(250, 179, 22, 0.14));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.4 5.6 11.4 12 12-6.4.6-11.4 5.6-12 12-.6-6.4-5.6-11.4-12-12C6.4 11.4 11.4 6.4 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.4 5.6 11.4 12 12-6.4.6-11.4 5.6-12 12-.6-6.4-5.6-11.4-12-12C6.4 11.4 11.4 6.4 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 1.6s cubic-bezier(.34, 1.3, .64, 1);
}
.im-blick::after, .header.im-blick .header-funke::before { transform: rotate(90deg); }
.seiten-hero:hover::after, .section--blau:hover::after, .footer:hover::after,
.header:hover .header-funke::before { transform: rotate(180deg) scale(1.08); }

.seiten-hero { --hg-funke: rgba(250, 179, 22, 0.16); }
.section--blau { --hg-funke: rgba(250, 179, 22, 0.07); }
.section--blau::after { width: 560px; height: 560px; right: -180px; top: auto; bottom: -200px; }
.footer { --hg-funke: rgba(250, 179, 22, 0.06); }
.footer::after { width: 360px; height: 360px; right: -90px; top: auto; bottom: -110px; }
.header-funke { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.header-funke::before { --hg-funke: rgba(250, 179, 22, 0.2); width: 150px; height: 150px; right: 24%; top: -48px; }
@media (max-width: 960px) { .header-funke::before { right: 22%; width: 120px; height: 120px; top: -40px; } }


/* ---------- Referenzen: Mehr lesen & Foto ---------- */
.zitate-spur { align-items: flex-start; }
.zitate-spur .zitat-text { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.zitat-karte.offen .zitat-text { display: block; -webkit-line-clamp: unset; }
.mehr-lesen { align-self: flex-start; margin-top: 12px; padding: 0; border: 0; background: none; cursor: pointer; font: 700 15px/1.4 var(--sans); color: var(--tiefblau); box-shadow: inset 0 -2px 0 var(--sonnengelb); }
.mehr-lesen:hover { color: var(--signalorange); }
.zitate-spur .zitat-karte figcaption { display: flex; align-items: center; gap: 14px; }
.zitate-spur .zitat-karte figcaption strong { display: block; }
.zitat-foto { width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; background: var(--sand); display: grid; place-items: center; font: 700 18px/1 var(--serif); color: var(--tiefblau); }
.zitat-foto img { width: 100%; height: 100%; object-fit: cover; }

.partner-foto-duo { display: flex; flex: none; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.partner-foto-duo .partner-foto + .partner-foto { margin-left: -18px; box-shadow: -3px 0 0 var(--weiss); }
.partner-karte:hover .partner-foto-duo { transform: rotate(-4deg); }
.partner-karte:hover .partner-foto-duo .partner-foto { transform: none; }

/* ---------- Scroll-Szenen der Leistungsseiten ---------- */
.flug + .section { padding-top: clamp(36px, 5vw, 64px); }
.szene-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* ---------- Mausspur ---------- */
.maus-funke { position: fixed; z-index: 70; pointer-events: none; opacity: 0; animation: maus-funke 0.9s ease-out forwards; }
.maus-funke svg { width: 100%; height: 100%; display: block; }
@keyframes maus-funke {
  0% { opacity: 0.38; transform: translate(0, 0) scale(0.6) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1) rotate(var(--dreh)); }
}

/* ---------- Projektseiten ---------- */
.brotkrumen { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; font-size: 14px; color: var(--text-muted); }
.brotkrumen a { text-decoration: none; }
.brotkrumen [aria-current] { color: var(--tiefblau); font-weight: 600; }
.projekt-hero { padding-top: clamp(24px, 3vw, 40px); }
.projekt-logo { width: 200px; height: auto; margin-bottom: 22px; }
.steckbrief { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 30px clamp(24px, 4vw, 48px); }
.steckbrief > div { display: flex; gap: 16px; align-items: flex-start; }
.steckbrief-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sand-hell); color: var(--tiefblau); box-shadow: inset 0 0 0 1px rgba(250, 179, 22, .35); }
.steckbrief-icon svg { width: 22px; height: 22px; }
.steckbrief dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin: 2px 0 4px; }
.steckbrief dd { margin: 0; font-weight: 600; line-height: 1.45; }
.foto-karte { margin: 0; }
.foto-karte img { border-radius: var(--radius); box-shadow: var(--schatten); }
.foto-karte figcaption { margin-top: 12px; font-size: 14px; color: var(--text-muted); text-align: center; }
.browser { border-radius: 16px; overflow: hidden; background: var(--weiss); box-shadow: 0 30px 60px -30px rgba(20, 52, 76, 0.45); border: 1px solid var(--linie); outline: none; }
.browser:focus-visible { outline: 3px solid var(--sonnengelb); outline-offset: 4px; }
.browser-leiste { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; background: var(--sand-hell); border-bottom: 1px solid var(--linie); }
.browser-leiste i { width: 11px; height: 11px; border-radius: 50%; background: var(--signalorange); }
.browser-leiste i:nth-child(2) { background: var(--sonnengelb); }
.browser-leiste i:nth-child(3) { background: var(--himmelblau); }
.browser-leiste span { margin: 0 auto; padding: 3px 18px; border-radius: 999px; background: var(--weiss); font-size: 13px; color: var(--text-muted); }
.browser-fenster { --fenster: 560px; height: var(--fenster); overflow: hidden; }
.browser-fenster img { width: 100%; height: auto; transition: transform 9s cubic-bezier(.45, 0, .55, 1); }
.browser:hover .browser-fenster img, .browser:focus .browser-fenster img { transform: translateY(calc(-100% + var(--fenster))); }
@media (hover: none) { .browser-fenster { overflow-y: auto; -webkit-overflow-scrolling: touch; } }
@media (max-width: 860px) { .browser-fenster { --fenster: 380px; } }
.handy-buehne { display: grid; place-items: center; }
.handy-rahmen { position: relative; width: min(280px, 70vw); aspect-ratio: 9 / 16; border: 10px solid #0b1e2c; border-radius: 38px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); }
.handy-rahmen::before { content: ""; position: absolute; top: 8px; left: 50%; width: 70px; height: 18px; transform: translateX(-50%); border-radius: 12px; background: #0b1e2c; z-index: 1; }
.handy-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.section--blau .prosa p, .section--blau .prosa ul { color: rgba(255, 255, 255, 0.82); }
.lernzitat { margin: 28px 0 0; padding: 24px 28px; border-left: 6px solid var(--sonnengelb); background: var(--sand-hell); border-radius: 0 var(--radius-klein) var(--radius-klein) 0; font: 700 clamp(19px, 1.8vw, 23px)/1.4 var(--serif); color: var(--tiefblau); }
.lernzitat span { display: block; font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.projekt-bild img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
a.projekt { text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
a.projekt:hover { color: var(--tiefblau); transform: translateY(-4px); box-shadow: var(--schatten); }
a.projekt .mehr { display: inline-block; margin-top: 12px; font-weight: 700; box-shadow: inset 0 -2px 0 var(--sonnengelb); }

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

/* ---------- Seitenkopf mit Foto als Hintergrund (Kontakt, Leistungen) ---------- */
.seiten-hero--bild { background: var(--tiefblau); color: var(--weiss); min-height: clamp(440px, 64vh, 640px); display: flex; align-items: center; padding: clamp(56px, 8vw, 110px) 0; }
.seiten-hero--bild .zwei-spalten { display: block; }
.seiten-hero--bild .zwei-spalten > div:first-child { max-width: 780px; }
.seiten-hero--bild h1 { max-width: 22ch; }
.seiten-hero--bild .lead { max-width: 36em; }
.seiten-hero--bild .bild { position: absolute; inset: 0; z-index: -2; border-radius: 0; aspect-ratio: auto; height: auto; min-height: 0; background: var(--tiefblau); }
.seiten-hero--bild .bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 25, 58, .9) 0%, rgba(0, 25, 58, .72) 48%, rgba(0, 25, 58, .4) 100%); }
.seiten-hero--bild .bild img { object-position: var(--bildfokus, center 40%); }
.seiten-hero--bild h1 { color: var(--weiss); }
.seiten-hero--bild .lead { color: rgba(255, 255, 255, .88); }
.seiten-hero--bild .eyebrow { color: var(--sonnengelb); }
.seiten-hero--bild .btn--rahmen { border-color: var(--weiss); color: var(--weiss); }
.seiten-hero--bild .btn--rahmen:hover { background: var(--weiss); color: var(--tiefblau); }
@media (max-width: 860px) {
  .seiten-hero--bild .bild::after { background: rgba(0, 25, 58, .78); }
}

/* ---------- Karten: vier in einer Zeile, dunkle Variante ---------- */
@media (min-width: 1000px) {
  .karten--vier { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .karten--vier .karte { padding: 28px 24px; }
}
.karten--dunkel .karte { background: var(--tiefblau); border-color: var(--tiefblau); border-top-color: var(--sonnengelb); color: var(--weiss); }
.karten--dunkel .karte h3 { color: var(--weiss); }
.karten--dunkel .karte p { color: rgba(255, 255, 255, .82); }
.karten--dunkel .karte .eyebrow { color: var(--sonnengelb); }
.karten--dunkel a.karte--link .mehr { color: var(--sonnengelb); }
.karten--dunkel a.karte--link:hover { box-shadow: 0 16px 34px rgba(0, 47, 108, .35); }

/* ---------- Leistungen: "Gut zu wissen" zu WordPress und Onepager (dunkle Sektion) ---------- */
.leistung-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 6vw, 80px); }
.leistung-info article { display: flex; flex-direction: column; align-items: flex-start; }
.leistung-info h3 { margin: 6px 0 10px; }
.leistung-info p { margin: 0 0 16px; max-width: 34em; color: rgba(255, 255, 255, .82); }
.leistung-info .mehr { font-weight: 700; text-decoration: none; color: var(--weiss); box-shadow: inset 0 -2px 0 var(--sonnengelb); }
.leistung-info .mehr::after { content: " →"; }
.leistung-info .mehr:hover { color: var(--sonnengelb); }

/* ---------- Naturgefühl: Reels nebeneinander ---------- */
.nah-dran-kopf { align-items: start; margin-bottom: clamp(36px, 5vw, 56px); }
.reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.reel { margin: 0; }
.reel .handy-rahmen { width: 100%; border-width: 8px; border-radius: 30px; }
.reel .handy-rahmen::before { width: 54px; height: 14px; }
.reel figcaption { margin-top: 12px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sonnengelb); }
.reel-ton { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(11, 30, 44, .65); color: var(--weiss); cursor: pointer; transition: background .2s ease; }
.reel-ton:hover, .reel-ton:focus-visible { background: var(--sonnengelb); color: var(--tiefblau); }
.reel-ton svg { width: 18px; height: 18px; }
.reel-ton .ton-an { display: none; }
.reel-ton[aria-pressed="true"] .ton-an { display: inline; }
.reel-ton[aria-pressed="true"] .ton-aus { display: none; }
@media (max-width: 860px) {
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(62vw, 240px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .reel { scroll-snap-align: start; }
}

/* ---------- Naturgefühl: Newsletter als E-Mail-Fenster, scrollen beim Darüberfahren ---------- */
.mails { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 3vw, 32px); }
.mail { margin: 0; border-radius: 16px; overflow: hidden; background: var(--weiss); border: 1px solid var(--linie); box-shadow: 0 24px 48px -30px rgba(20, 52, 76, .45); outline: none; transition: transform .25s ease; }
.mail:hover, .mail:focus-visible { transform: translateY(-4px); }
.mail:focus-visible { outline: 3px solid var(--sonnengelb); outline-offset: 4px; }
.mail-kopf { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border-bottom: 1px solid var(--linie); background: var(--weiss); }
.mail-absender { align-self: flex-start; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--sand-hell); color: var(--text-muted); }
.mail-absender--neu { background: var(--sonnengelb); color: var(--tiefblau); }
.mail-betreff { font-weight: 700; font-size: 15px; line-height: 1.35; color: var(--tiefblau); }
.mail-fenster { --fenster: 420px; height: var(--fenster); overflow: hidden; }
.mail-fenster img { width: 100%; height: auto; transition: transform 10s cubic-bezier(.45, 0, .55, 1); }
.mail:hover .mail-fenster img, .mail:focus .mail-fenster img { transform: translateY(calc(-100% + var(--fenster))); }
@media (hover: none) { .mail-fenster { overflow-y: auto; -webkit-overflow-scrolling: touch; } }
@media (prefers-reduced-motion: reduce) {
  .mail-fenster { overflow-y: auto; }
  .mail-fenster img { transition: none; }
  .mail:hover .mail-fenster img, .mail:focus .mail-fenster img { transform: none; }
}

/* ---------- Projektseiten: Team neben der Geschichte ---------- */
.team-liste { display: grid; gap: 18px; align-self: start; }
.team-person { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: var(--weiss); box-shadow: 0 18px 36px -28px rgba(20, 52, 76, .45); }
.team-person img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.team-person h3 { margin: 0; font-size: 19px; }
.team-rolle { display: inline-block; margin: 4px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--signalorange); }
.team-person p { margin: 0; font-size: 15px; color: var(--text-muted); }

/* ---------- Projekte: weitere Projekte als kleine Karten ---------- */
.mini-projekte { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.mini-projekt { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--weiss); border: 1px solid var(--linie); text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.mini-projekt:hover { transform: translateY(-4px); box-shadow: var(--schatten); color: inherit; }
.mini-projekt-bild { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); border-bottom: 1px solid var(--linie); }
.mini-projekt-bild img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.mini-projekt:hover .mini-projekt-bild img { transform: scale(1.04); }
.mini-projekt-text { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.mini-projekt-text .tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.mini-projekt-text h3 { margin: 0; font-size: 19px; }
.mini-projekt-link { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--tiefblau); }
.mini-projekt:hover .mini-projekt-link { color: var(--signalorange); }
.projekt-team { margin-top: clamp(40px, 5vw, 64px); }
.projekt-team > h3 { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); font-family: var(--sans); }
.projekt-team-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.projekt-team .team-person { border: 1px solid var(--linie); }
