/* Eartheffect – Stylesheet nach dem Webflow-Original, Werte per Playwright
   von www.eartheffect.ch gemessen (13.09.2026, Viewport 1440):
     body        #212426, Text #f0f0f0, IBM Plex Sans 300, 18px / 27px
     h1 .heading Syne 500, 109px, Versalien, letter-spacing -6%
     h2          Syne 400, 98px, Versalien, letter-spacing -5%, lh .9
     heading-s   Syne 400/500, 65px, letter-spacing -3%
     Karten      rgba(240,240,240,.8), kein Radius, Padding 86px, Text schwarz
     Button      Kreis 115px, Olivgruen rgb(164,180,116)
   Schriftgroessen werden fluid ueber vw abgebildet (Webflow: 1vw-Basis). */

/* fonts.css wird in base.html direkt verlinkt (Cache-Busting) */

:root {
  --black: #212426;
  --smoke: #f0f0f0;
  --smoke-80: rgba(240, 240, 240, .8);
  --smoke-60: rgba(240, 240, 240, .6);
  --smoke-15: rgba(240, 240, 240, .15);
  --olive: #a4b474;
  --sky: #64a2ec;
  --white: #ffffff;
  --max: 1296px;
  --gap: clamp(1.25rem, 5vw, 4.5rem);
  --fs-h1: clamp(3rem, 7.6vw, 7.6rem);
  --fs-h2: clamp(2.6rem, 6.8vw, 7.2rem);
  --fs-h3: clamp(2rem, 4.5vw, 4.4rem);
  --fs-body: clamp(1rem, 1.25vw, 1.125rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--smoke);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { font-family: "Syne", sans-serif; margin: 0; line-height: 1; }
h1 { font-size: var(--fs-h1); font-weight: 500; text-transform: uppercase; letter-spacing: -.06em; }
h2 { font-size: var(--fs-h2); font-weight: 400; text-transform: uppercase; letter-spacing: -.05em; line-height: .9; }
h3 { font-size: var(--fs-h3); font-weight: 500; text-transform: uppercase; letter-spacing: -.03em; }
h4 { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.03em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gap); }
.text-80 { color: var(--smoke-80); }
.text-right { text-align: right; }
.line { height: 1px; background: var(--smoke); opacity: .9; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  height: 5.2rem; padding: 0 var(--gap);
  background: rgba(33, 36, 38, .92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--smoke);
}
.site-header .logo img { height: 3.6rem; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2.6rem; font-size: 1.08rem; font-weight: 300; }
.main-nav a { text-decoration: none; color: var(--smoke); }
.main-nav a:hover, .nav-dropdown-toggle:hover { color: var(--white); text-decoration: underline; text-underline-offset: .3em; }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { font: inherit; background: none; border: none; cursor: pointer; color: var(--smoke); display: flex; align-items: center; gap: .5em; padding: 0; }
.nav-dropdown-toggle img { width: .9em; height: .9em; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 160%; left: -1rem; min-width: 240px;
  background: var(--black); border: 1px solid var(--smoke); padding: .6rem;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7em 1em; }
.nav-dropdown-menu a:hover { background: var(--smoke); color: var(--black); text-decoration: none; }
.nav-dropdown-menu .num { font-family: "Syne", sans-serif; font-size: .8rem; opacity: .6; margin-right: .8em; }
.lang-switch { display: flex; gap: .3rem; font-size: .85rem; font-weight: 400; }
.lang-switch a { text-decoration: none; padding: .25em .55em; border: 1px solid transparent; color: var(--smoke-60); }
.lang-switch a.active { color: var(--smoke); border-color: var(--smoke); }
.lang-switch-mobile { display: none; }
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .site-header { height: 4.2rem; }
  .site-header .logo img { height: 2.8rem; }
  .main-nav { position: fixed; inset: 4.2rem 0 0 0; background: var(--black); flex-direction: column; align-items: flex-start;
    padding: 2.5rem var(--gap); gap: 1.6rem; font-size: 1.5rem; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .site-header.nav-open .main-nav { transform: translateX(0); }
  .nav-dropdown-menu { position: static; display: block; border: none; padding: .4rem 0 0 1rem; }
  .nav-dropdown-menu a { padding: .4em 0; }
  .lang-switch-desktop { display: none; }
  .lang-switch-mobile { display: flex; margin-top: 1rem; }
  .nav-toggle { display: flex; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 6px; }
  .nav-toggle span { width: 26px; height: 2px; background: var(--smoke); }
}

/* ------------------------------------------------------------ Admin bar */
.admin-bar { background: var(--sky); color: var(--black); font-size: .85rem; padding: .45rem var(--gap); display: flex; gap: .6rem; }
.admin-bar a { color: var(--black); }

/* ---------------------------------------------------------------- Flash */
.flash-wrap { padding: 0 var(--gap); }
.flash { max-width: var(--max); margin: 1.2rem auto 0; background: var(--smoke); color: var(--black); padding: 1rem 1.4rem; font-weight: 400; }
.flash.fehler { background: #f3d9d2; }
.flash a { color: var(--black); }

/* ----------------------------------------------------------------- Hero */
.reveal { overflow: hidden; }
.curtain { display: none; position: fixed; inset: 0; z-index: 40; background: var(--smoke); pointer-events: none; }
.hero { position: relative; padding: clamp(2rem, 8vw, 7.2rem) 0 clamp(3rem, 6vw, 6rem); margin-bottom: clamp(4rem, 14vw, 18rem); overflow: hidden; }
.hero-bg-wrap { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; pointer-events: none; }
.hero-bg { width: clamp(18rem, 44vw, 40rem); aspect-ratio: 1; background: url("/static/img/wf/eartheffect-workshop-nachhaltigkeit-und-klw-1040x1360-1500-x-1500-px.svg") center/cover no-repeat; opacity: .8; }
.hero .wrap { position: relative; }
.hero h1 { line-height: 1; padding-bottom: .06em; }
.hero .reveal + .reveal { margin-top: clamp(2rem, 8vw, 8rem); }
.hero .reveal + .reveal + .reveal { margin-top: 0; }
.hero .word-2 { font-family: "Syne", sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: -.06em; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1; padding-bottom: .06em; }
.hero-arrow {
  margin-top: clamp(2rem, 6vw, 6rem); display: inline-flex; width: 7.2rem; height: 7.2rem; border-radius: 50%;
  background: var(--olive); align-items: center; justify-content: center; text-decoration: none; overflow: hidden;
}
.arrow-stack { position: relative; width: 2.2rem; height: 2.2rem; display: block; overflow: hidden; }
.arrow-stack img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .4s ease; }
.arrow-stack img:last-child { transform: translateY(-100%); }
.hero-arrow:hover .arrow-stack img:first-child { transform: translateY(100%); }
.hero-arrow:hover .arrow-stack img:last-child { transform: translateY(0); transition-delay: .2s; }
@media (max-width: 700px) { .hero-arrow { width: 5rem; height: 5rem; } }

/* ----------------------------------------------------------- Sections */
section { margin-bottom: clamp(5rem, 15vw, 18rem); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); }
.section-intro h2:last-child { text-align: right; align-self: end; }
@media (max-width: 760px) { .section-intro { grid-template-columns: 1fr; } .section-intro h2:last-child { text-align: left; } }

.cols-2 { display: grid; grid-template-columns: 5fr 1fr 5fr 1fr; gap: 0 var(--gap); margin-top: clamp(3rem, 6vw, 6rem); }
.cols-2 > div:nth-child(2) { grid-column: 3; padding-top: clamp(3rem, 8vw, 8rem); }
.cols-2 h3 { margin-bottom: .3rem; }
.cols-2 .text-80 p { max-width: 36em; }
@media (max-width: 760px) { .cols-2 { grid-template-columns: 1fr; } .cols-2 > div:nth-child(2) { grid-column: 1; padding-top: 2.5rem; } }

/* --------------------------------------------------------------- SDGs */
.sdg-section .line { margin-bottom: clamp(3rem, 6vw, 6rem); }
.sdg-layout { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: var(--gap); align-items: center; }
.sdg-grid { grid-column: 1 / 3; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem) var(--gap); }
.sdg-item .sdg-label { font-family: "Syne", sans-serif; font-size: clamp(2rem, 3.6vw, 3.6rem); letter-spacing: -.03em; line-height: 1; }
.sdg-item strong { display: block; margin: 1rem 0 1.4rem; font-weight: 600; }
.sdg-item p { color: var(--smoke-80); max-width: 26em; }
.sdg-title { grid-column: 3; writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; justify-self: center; }
.sdg-title h2 { font-size: clamp(2.6rem, 6.8vw, 7rem); }
.sdg-wheel { grid-column: 4; }
.sdg-section .line:last-child { margin-top: clamp(3rem, 6vw, 6rem); margin-bottom: 0; }
@media (max-width: 900px) {
  .sdg-layout { grid-template-columns: 1fr; }
  .sdg-grid, .sdg-title, .sdg-wheel { grid-column: 1; }
  .sdg-title { writing-mode: horizontal-tb; transform: none; justify-self: start; order: -1; }
  .sdg-wheel { max-width: 320px; }
}
@media (max-width: 600px) { .sdg-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- Projekte */
.projekt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; margin-top: clamp(3rem, 6vw, 6rem); }
.projekt-card {
  position: relative; background: var(--smoke-80); color: var(--black);
  padding: clamp(2rem, 6vw, 5.4rem); display: flex; flex-direction: column; text-decoration: none;
  min-height: 30rem; font-weight: 300;
}
.projekt-card h4 { color: var(--black); }
.projekt-card .untertitel { font-weight: 700; font-size: .9em; margin: .6rem 0 1.4rem; }
.projekt-card .text { color: rgba(33, 36, 38, .8); max-width: 34em; margin-bottom: 2rem; }
.projekt-card .zur-webseite, .projekt-card .sub-links a {
  font-family: "Syne", sans-serif; font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: .25em;
  color: var(--black); display: inline-flex; align-items: center; gap: .5em;
}
.projekt-card .zur-webseite { margin-top: auto; }
.projekt-card .sub-links { margin-top: auto; display: flex; flex-direction: column; gap: .8rem; }
.projekt-card .sub-links img { width: 1em; height: 1em; }
.projekt-card .card-logo { position: absolute; right: 6vw; bottom: 5vw; max-width: 130px; width: auto; height: auto; }
.projekt-card.card-workshops .card-logo { top: clamp(1.5rem, 4vw, 3.5rem); bottom: auto; }
a.projekt-card:hover { background: var(--smoke); }
@media (max-width: 760px) { .projekt-grid { grid-template-columns: 1fr; } .projekt-card { min-height: 0; } .projekt-card .card-logo { position: static; margin-top: 2rem; } }

/* -------------------------------------------------------------- Team */
.team-list { margin-top: clamp(3rem, 6vw, 6rem); }
.team-row { position: relative; padding: 2.2rem 0 0; }
.team-cols { display: flex; align-items: center; justify-content: space-between; width: 50%; padding-bottom: 2.2rem; }
.team-row .name { font-family: "Syne", sans-serif; font-weight: 300; font-size: 1.25rem; letter-spacing: -.01em; text-decoration: underline; text-underline-offset: .3em; color: var(--smoke); }
.team-row .rolle { color: var(--smoke-80); width: 50%; }
.team-row a { text-decoration: none; }
.team-row a:hover .name { color: var(--white); }
.team-row .portrait {
  position: absolute; right: 10%; top: 50%; width: 14em; height: 20em; object-fit: cover; filter: grayscale(1);
  margin-top: -10em; pointer-events: none; z-index: 3; transform-origin: center;
}
html.anim .team-row .portrait { display: none; }
html:not(.anim) .team-row .portrait { display: none; }
html:not(.anim) .team-row:hover .portrait { display: block; }
.team-row .line { position: static; }
@media (max-width: 700px) { .team-cols { width: 100%; flex-direction: column; align-items: flex-start; gap: .4rem; } .team-row .rolle { width: auto; } .team-row .portrait { display: none !important; } }

/* -------------------------------------------------------------- Kunden */
.kunden-rows { margin-top: clamp(3rem, 6vw, 6rem); overflow: hidden; }
.kunden-row { display: flex; justify-content: center; align-items: center; gap: 1.6em; will-change: transform; }
.kunden-row + .kunden-row { margin-top: 1.6em; }
.kunde {
  flex: none; width: 30em; background: var(--smoke); color: var(--black); padding: 2.6em;
  display: flex; flex-direction: column;
}
.kunde img { height: 8.75em; width: auto; max-width: 100%; object-fit: contain; align-self: flex-start; }
.kunde .kunde-meta { display: flex; gap: .5em; align-items: center; margin-top: 1.5em; font-size: .95em; line-height: 1.2; }
.kunde .kunde-meta strong { font-family: "Syne", sans-serif; font-weight: 700; white-space: pre-line; font-size: 1.05em; }
.kunde .chip { width: .25em; height: .25em; border-radius: 50%; background: var(--sky); flex: none; }
.kunde .kunde-meta span:last-child { color: rgba(33,36,38,.8); white-space: pre-line; font-family: "Syne", sans-serif; }
@media (max-width: 700px) { .kunde { width: 16em; padding: 1.4em; } .kunde img { height: 5em; } }

/* ------------------------------------------------------------ Aktuelles */
.beitraege-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: clamp(3rem, 6vw, 6rem); }
.beitrag-card { background: var(--smoke-80); color: var(--black); text-decoration: none; display: flex; flex-direction: column; font-weight: 300; }
.beitrag-card .bild { overflow: hidden; aspect-ratio: 16/10; }
.beitrag-card .bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(0.25, 1, 0.5, 1); }
.beitrag-card:hover .bild img { transform: scale(1.2); }
.beitrag-card:hover { background: rgba(240,240,240,.6); transition: background .4s ease; }
.beitrag-card .card-body { padding: 1.8rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.beitrag-card .meta { font-size: .8rem; display: flex; align-items: center; gap: .6rem; }
.beitrag-card .meta .chip { width: 6px; height: 6px; border-radius: 50%; background: var(--black); }
.beitrag-card h4 { font-size: 1.6rem; color: var(--black); }
.beitrag-card .teaser { color: rgba(33,36,38,.8); margin: 0; }
.beitrag-card .lesen { margin-top: auto; font-family: "Syne", sans-serif; font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: .25em; }

/* ---------------------------------------------------------- Listen/Blog */
.page-head { padding: clamp(2rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: var(--fs-h2); }
.page-head .lead { color: var(--smoke-80); max-width: 40em; margin-top: 1.6rem; font-size: 1.15em; }
.beitraege-filter { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.beitraege-filter a { text-decoration: none; padding: .45em 1.1em; border: 1px solid var(--smoke-60); font-size: .9rem; font-weight: 400; }
.beitraege-filter a.active, .beitraege-filter a:hover { background: var(--smoke); color: var(--black); border-color: var(--smoke); }
.beitrag-detail { max-width: 46rem; margin: 0 auto; }
.beitrag-detail .meta { color: var(--smoke-60); font-size: .9rem; margin-bottom: 1.6rem; }
.beitrag-detail h1 { font-size: clamp(2.2rem, 4.5vw, 4rem); text-transform: none; letter-spacing: -.03em; margin-bottom: 2rem; }
.beitrag-detail img { margin: 2rem 0; }
.beitrag-detail h2, .beitrag-detail h3 { font-size: 1.8rem; text-transform: none; letter-spacing: -.02em; margin: 2.2rem 0 .8rem; }
.beitrag-detail a { color: var(--smoke); }
.pagination { display: flex; justify-content: center; margin-top: 3rem; }

/* -------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em; font-family: "Syne", sans-serif; font-weight: 600;
  padding: .9em 1.8em; border: 1px solid var(--smoke); color: var(--smoke); background: transparent; text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.btn:hover { background: var(--smoke); color: var(--black); }
.btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.btn-fill { background: var(--smoke); color: var(--black); }
.btn-fill:hover { background: var(--white); }
.btn-olive { background: var(--olive); border-color: var(--olive); color: var(--black); }
.btn-olive:hover { background: var(--smoke); border-color: var(--smoke); }

/* -------------------------------------------------------------- Formulare (Basis) */
form.kontakt-form { display: block; }
.field { display: grid; gap: .5rem; }
.field label { font-size: .9rem; font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-weight: 300; padding: .85em 1em; background: transparent; color: var(--smoke); border: 1px solid var(--smoke-60); border-radius: 0; }
.field select option { color: var(--black); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; }
.field-check { display: flex; align-items: center; gap: .7em; font-size: .95rem; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

/* -------------------------------------------------------------- Team-Detail */
.team-detail { display: grid; grid-template-columns: 2fr 3fr; gap: var(--gap); padding-top: clamp(2rem, 6vw, 5rem); }
.team-detail h1 { font-size: clamp(2.4rem, 5vw, 5rem); text-transform: none; letter-spacing: -.04em; }
.team-detail .rolle { color: var(--smoke-80); font-size: 1.2em; margin: 1rem 0 2.4rem; }
.team-detail h3 { font-size: 1.6rem; text-transform: none; letter-spacing: -.02em; margin: 2.4rem 0 .8rem; }
.team-detail p { color: var(--smoke-80); }
.team-detail .kontakt a { color: var(--smoke); display: block; margin-bottom: .3rem; }
@media (max-width: 760px) { .team-detail { grid-template-columns: 1fr; } .team-detail img { max-width: 320px; } }

/* -------------------------------------------------------------- Projekt-Detail */
.projekt-hero { display: grid; grid-template-columns: 3fr 2fr; gap: var(--gap); align-items: center; padding-top: clamp(2rem, 6vw, 5rem); }
.projekt-hero h1 { font-size: var(--fs-h2); }
.projekt-hero .lead { color: var(--smoke-80); max-width: 36em; margin-top: 1.6rem; font-size: 1.1em; }
@media (max-width: 800px) { .projekt-hero { grid-template-columns: 1fr; } }
.rich { max-width: 46rem; color: var(--smoke-80); }
.rich h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); color: var(--smoke); margin: 3rem 0 1.2rem; line-height: 1; }
.rich h3, .rich h4 { font-size: 1.15rem; font-family: "IBM Plex Sans", sans-serif; font-weight: 600; color: var(--smoke); text-transform: none; letter-spacing: 0; margin: 2rem 0 .5rem; }
.rich a { color: var(--smoke); }
.rich ul, .rich ol { padding-left: 1.3em; }
.rich li { margin-bottom: .4em; }
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.testimonials blockquote { margin: 0; padding: 2.4rem; background: var(--smoke-80); color: var(--black); font-weight: 300; }
.testimonials blockquote p { color: inherit; }
.testimonials cite { font-style: normal; font-weight: 600; display: block; margin-top: 1.2rem; }
@media (max-width: 760px) { .testimonials { grid-template-columns: 1fr; } }
.cta { text-align: center; padding: clamp(3rem, 6vw, 6rem) 0; border-top: 1px solid var(--smoke); }
.cta h2 { font-size: clamp(2rem, 4.5vw, 4.4rem); }
.cta p { color: var(--smoke-80); margin: 1.4rem auto 2.4rem; max-width: 34em; }

/* ---------------------------------------------------------------- Footer */
.site-footer { padding: 0 var(--gap) 4.5rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 4rem 0; }
.footer-grid h5 { font-family: "Syne", sans-serif; font-weight: 300; font-size: 1.25rem; margin-bottom: 1.2rem; letter-spacing: -.01em; }
.footer-grid p, .footer-grid a { font-size: .95rem; color: var(--smoke-80); margin: 0 0 .35rem; display: block; }
.footer-grid a { text-decoration: underline; text-underline-offset: .25em; }
.footer-grid a:hover { color: var(--white); }
.footer-grid .footer-logo { height: 4.2rem; width: auto; margin-bottom: .6rem; }
.footer-grid .claim { color: var(--smoke); font-size: 1.15rem; max-width: 12em; }
.social { display: flex; gap: .8rem; }
.social a { display: inline-flex; width: 3rem; height: 3rem; background: var(--smoke); align-items: center; justify-content: center; }
.social a img { width: 1.7rem; height: 1.7rem; }
.footer-bottom { padding-top: 3rem; font-size: .9rem; color: var(--smoke-80); }
.footer-bottom a { color: var(--smoke-80); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ----------------------------------------------------------------- Misc */
.simple-page { max-width: 46rem; margin: 0 auto; padding-top: clamp(2rem, 6vw, 5rem); color: var(--smoke-80); }
.simple-page h1 { font-size: var(--fs-h2); color: var(--smoke); margin-bottom: 2.5rem; }
.simple-page h2, .simple-page h3, .simple-page h4 { font-family: "IBM Plex Sans", sans-serif; font-weight: 600; font-size: 1.15rem; text-transform: none; letter-spacing: 0; color: var(--smoke); margin: 2rem 0 .5rem; }
.simple-page a { color: var(--smoke); }
.leerzustand { color: var(--smoke-80); padding: 2rem 0; }
.leerzustand .btn { margin-top: 1rem; }

/* =================================================================== Unterseiten
   Masse per Playwright vom Original (13.09.2026, Viewport 1440). */

/* ---- Story -------------------------------------------------------- */
.story-hero { padding: clamp(2rem, 8vw, 7rem) 0 0; margin-bottom: clamp(4rem, 12vw, 14rem); }
.story-hero h1 { line-height: 1; padding-bottom: .06em; }
.story-hero-right { margin: clamp(1rem, 3vw, 3rem) 0 0 auto; width: min(100%, 44rem); }
.story-hero .caps { text-transform: uppercase; color: var(--smoke); margin-top: 1.4rem; }
.story-steps { margin-bottom: clamp(6rem, 18vw, 18rem); }
.story-step { margin: 0; padding: clamp(4rem, 12vw, 16rem) 0 0; }
.story-step .line { margin-bottom: clamp(3rem, 8vw, 8rem); }
.story-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.6rem); align-items: start; }
.story-title { position: sticky; top: 8rem; }
.story-year { font-family: "IBM Plex Sans", sans-serif; font-weight: 300; font-size: clamp(2.6rem, 6.8vw, 6.1rem); letter-spacing: -.11em; line-height: 1; color: rgba(240,240,240,.48); margin-bottom: .6rem; }
.story-title h2 { font-size: clamp(2.6rem, 6.8vw, 6.1rem); }
.story-content.rich { max-width: none; }
.story-content.rich h3 { font-family: "Syne", sans-serif; font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.7rem); letter-spacing: -.02em; line-height: 1; color: var(--smoke); text-transform: none; margin: 1.25rem 0 1rem; }
.story-content.rich p { color: var(--smoke-80); margin: 0 0 1rem; }
.story-content.rich img { margin: 2rem 0; width: 100%; }
@media (max-width: 800px) { .story-cols { grid-template-columns: 1fr; } .story-title { position: static; } }

.nav-story {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--black);
  border-top: 1px solid var(--smoke); transform: translateY(100%); transition: transform .5s cubic-bezier(0.5, 0, 0.2, 0.9);
}
.nav-story.visible { transform: translateY(0); }
.nav-story-wrapper { display: flex; }
.nav-story-item {
  position: relative; flex: 1; padding: .9rem 1.35rem; text-decoration: none; overflow: hidden;
  border-left: 1px solid rgba(240,240,240,.35);
}
.nav-story-item:last-child { border-right: 1px solid rgba(240,240,240,.35); }
.nav-story-item .indicator { position: absolute; inset: 0; background: rgba(240,240,240,.08); transform-origin: 0 50%; transform: scaleX(0); }
.nav-story-item .jahr { position: relative; display: block; font-family: "Syne", sans-serif; font-size: 1.35rem; font-weight: 400; line-height: 1.5; }
.nav-story-item .label { position: relative; display: block; font-size: .9rem; color: var(--smoke-80); }
@media (max-width: 800px) { .nav-story { display: none; } }
body.has-story-nav .site-footer { padding-bottom: 8rem; }

/* ---- Kontakt ------------------------------------------------------ */
.kontakt-section { padding-top: clamp(2rem, 8vw, 7rem); }
.kontakt-section h1 { padding-bottom: .06em; }
.kontakt-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.6rem; margin-top: clamp(2.5rem, 6vw, 5.4rem); }
.kontakt-text h6 { font-family: "Syne", sans-serif; font-weight: 400; letter-spacing: -.015em; line-height: 1; margin: 0 0 1.25rem; }
.kontakt-text .k-lead { font-size: clamp(1.8rem, 3.3vw, 3rem); margin-bottom: clamp(3rem, 8vw, 8rem); }
.kontakt-text .k-sub { font-size: clamp(1.5rem, 2.3vw, 2.1rem); }
.kontakt-text .k-block { font-size: 1.35rem; margin: 1.25rem 0 .4rem; }
.kontakt-text .text-80 p { color: var(--smoke-80); margin-bottom: 2rem; }
.kontakt-panel { background: var(--smoke); color: var(--black); padding: 60px 80px; }
.kontakt-panel h6 { font-family: "Syne", sans-serif; font-weight: 400; letter-spacing: -.015em; line-height: 1; margin: 0 0 1.25rem; color: var(--black); }
.kontakt-panel .k-form-title { font-size: 2rem; }
.kontakt-panel .k-tel { font-size: 1.55rem; margin-bottom: .3rem; }
.kontakt-panel p { color: var(--black); font-weight: 300; }
.kontakt-panel a { color: var(--black); font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem 2.6rem; margin-top: 2.6rem; }
.form-grid .span-2 { grid-column: 1 / -1; }
.kontakt-panel .field { gap: .5rem; }
.kontakt-panel .field label { font-family: "Syne", sans-serif; font-size: 1.08rem; font-weight: 400; color: var(--black); }
.kontakt-panel .field input, .kontakt-panel .field select, .kontakt-panel .field textarea {
  border: 0; border-bottom: 1px solid var(--black); padding: .8rem .9rem .8rem .2rem; color: var(--black); font-size: .9rem; background: transparent;
}
.kontakt-panel .field select { -webkit-appearance: none; appearance: none; background: url("/static/img/wf/icon-chevron-btm-white.svg") no-repeat right .2rem center / .9rem; filter: none; }
.kontakt-panel .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23212426' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.kontakt-panel .field input::placeholder, .kontakt-panel .field textarea::placeholder { color: rgba(33,36,38,.45); }
.kontakt-panel .field input:focus, .kontakt-panel .field select:focus, .kontakt-panel .field textarea:focus { box-shadow: none; border-bottom-color: var(--olive); border-bottom-width: 2px; }
.kontakt-panel .field-check { justify-content: flex-start; gap: 4rem; font-family: "Syne", sans-serif; font-size: 1.08rem; }
.kontakt-panel .field-check input { width: 1.4rem; height: 1.4rem; accent-color: var(--olive); }
.form-foot { display: flex; align-items: center; gap: 3rem; margin-top: 3.4rem; }
.btn-round {
  flex: none; width: 6.9rem; height: 6.9rem; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--olive); color: var(--white); font-family: "Syne", sans-serif; font-weight: 600; text-transform: uppercase; font-size: 1.08rem;
  transition: background .3s ease, transform .3s ease;
}
.btn-round:hover { background: var(--black); transform: scale(1.05); }
@media (max-width: 800px) { .kontakt-cols { grid-template-columns: 1fr; } .kontakt-panel { padding: 2rem 1.5rem; } .form-grid { grid-template-columns: 1fr; gap: 2rem; } .form-grid .span-2 { grid-column: 1; } .form-foot { flex-direction: column; align-items: flex-start; } }

/* ---- Blog- / Presseliste ------------------------------------------ */
.list-hero { padding-top: clamp(2rem, 8vw, 7rem); margin-bottom: clamp(3rem, 8vw, 8rem); }
.list-hero h1 { padding-bottom: .06em; }
.filter-title { font-family: "Syne", sans-serif; font-weight: 400; font-size: 2rem; letter-spacing: -.015em; margin-bottom: 1.2rem; }
.beitraege-filter { gap: 1.8rem; margin-bottom: clamp(3rem, 8vw, 8rem); }
.beitraege-filter a { font-family: "Syne", sans-serif; font-weight: 300; font-size: 1.26rem; letter-spacing: -.01em; padding: .9rem 1.35rem; border: 1px solid var(--smoke); text-decoration: underline; text-underline-offset: .2em; }
.beitraege-filter a.active, .beitraege-filter a:hover { background: var(--smoke); color: var(--black); }
.beitraege-filter a.reset { text-decoration: none; opacity: .7; }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.7rem 2.7rem; }
.post-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 27rem;
  border: 2px solid var(--smoke); padding: 2.7rem; text-decoration: none; color: var(--smoke); background: var(--black); overflow: hidden;
  transition: background .4s ease;
}
.post-card .post-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease, transform .6s cubic-bezier(0.25, 1, 0.5, 1); z-index: 0; }
.post-card:hover .post-bg { opacity: .35; transform: scale(1.2); }
.post-card > * { position: relative; z-index: 1; }
.post-card h6 { font-family: "Syne", sans-serif; font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 2rem); text-transform: uppercase; letter-spacing: -.015em; line-height: 1; margin: 0; }
.post-meta { display: flex; align-items: center; gap: .45rem; margin-top: 2.6rem; font-size: 1rem; }
.post-meta .chip { width: 4px; height: 4px; border-radius: 50%; background: var(--smoke); }
.post-btn { display: inline-flex; align-items: center; gap: .55rem; margin-top: 4rem; font-family: "Syne", sans-serif; font-weight: 500; font-size: 1.35rem; text-transform: uppercase; letter-spacing: -.02em; }
.post-btn img { width: 1.35rem; height: 1.35rem; }
.post-card.presse .presse-logo { background: var(--white); padding: 1.6rem 2.6rem; margin-bottom: 3.75rem; }
.post-card.presse .presse-logo img { height: 9rem; width: 100%; object-fit: contain; }
.post-card.presse h6 { font-size: clamp(1.3rem, 1.8vw, 1.62rem); }
.post-card.presse .presse-kat { font-weight: 700; margin: 1.2rem 0 0; }
.post-card.presse .presse-datum { font-size: .9rem; margin: 0 0 1.6rem; }
.post-card.presse .presse-abstract { font-size: .9rem; color: var(--smoke-80); margin: 0; }
@media (max-width: 800px) { .post-grid { grid-template-columns: 1fr; } .post-card { padding: 1.6rem; min-height: 0; } }
