/* ===== Masthead (H3) — utility edition-line + main row ===== */
.masthead__utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--masthead-utility-h);
  padding: 0.4rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
}
.masthead__edition { text-transform: uppercase; }
.masthead__quiet-cta { color: var(--accent-ink); font-weight: 600; }
.masthead__quiet-cta:hover { text-decoration: underline; }
.topbar.is-scrolled .masthead__utility {
  color: rgba(255, 255, 255, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.topbar.is-scrolled .masthead__quiet-cta { color: var(--accent-soft); }
@media (max-width: 560px) {
  .masthead__edition { display: none; }
  .masthead__utility { justify-content: flex-end; }
}
@media (max-width: 920px) {
  body { padding-top: calc(var(--topbar-h) + var(--masthead-utility-h)); }
  #nav, .topbar .nav { top: calc(var(--topbar-h) + var(--masthead-utility-h)); }
}

/* ===== Logo L5 — two-part split ===== */
.brand__part-1 { font-weight: 800; color: var(--ink); }
.brand__part-2 { font-weight: 400; color: var(--muted); }
.topbar.is-scrolled .brand__part-1 { color: #fff; }
.topbar.is-scrolled .brand__part-2 { color: rgba(255, 255, 255, 0.6); }
.footer--minimal .brand__part-1 { color: #fff; }
.footer--minimal .brand__part-2 { color: rgba(255, 255, 255, 0.55); }

/* ===== Footer F2 — minimal, centered ===== */
.footer--minimal .footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 3.25rem 0 2rem;
}
.footer--minimal .footer__about { margin: 0; color: rgba(255, 255, 255, 0.6); }
.footer--minimal .footer__inline-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.4rem;
  margin-top: 0.6rem;
}
.footer--minimal .footer__inline-nav a,
.footer__inline-nav-btn {
  color: rgba(255, 255, 255, 0.7);
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}
.footer--minimal .footer__inline-nav a:hover,
.footer__inline-nav-btn:hover { color: #fff; }
.footer__bottom--center { justify-content: center; text-align: center; }

/* ===== Cookie K8 — expands in place, no separate modal ===== */
/* .cookie is position:fixed (floats over content, doesn't need flow space) —
   base style.css still reserves body padding-bottom matching its live height,
   which here also grows/shrinks as the settings panel expands — cancel it,
   same fix as recruitnovae's K1 (2026-07-24). */
body:has(#cookie-banner:not([hidden])) { padding-bottom: 0; }
.cookie.cookie-inline { flex-wrap: wrap; }
.cookie-inline__panel {
  flex: 1 0 100%;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms var(--ease-out);
}
.cookie-inline__panel.is-open { grid-template-rows: 1fr; margin-top: 0.6rem; }
.cookie-inline__panel-inner { overflow: hidden; }
.cookie-inline__panel .modal__opt:first-child { margin-top: 0; }
.cookie-inline__panel-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.9rem;
}

/* ===== Callout T7 — quiet italic, no icon/border ===== */
.callout--quiet {
  display: block;
  grid-template-columns: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 1.75rem auto 0;
  max-width: 40rem;
  text-align: center;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ===== Hero — asymmetric photo/text split (Werkstatt-Journal) ===== */
.hero--atelier {
  min-height: auto;
  overflow: hidden;
  display: block;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: var(--bg);
}
.hero--atelier .hero__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}
.hero__photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(0);
}
.hero--atelier .hero__center { max-width: none; }
.hero--atelier .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .hero--atelier .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { order: -1; aspect-ratio: 16 / 10; }
}

/* ===== Section-head SH3 (indexed), SH4 (bare kicker), SH7 (cols), SH2 (split) ===== */
.section__head--indexed {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  text-align: left;
  max-width: none;
}
.section__head--indexed .section__head-index {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--accent);
  font-weight: 700;
}
.section__head--bare-kicker .kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.section__head--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  text-align: left;
  max-width: none;
}
@media (max-width: 720px) { .section__head--cols { grid-template-columns: 1fr; } }
.section__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  max-width: none;
  text-align: left;
}
.section__head-link { font-weight: 600; color: var(--brand); white-space: nowrap; }
.section__head-link:hover { color: var(--accent-ink); }
.section__title--annotated .section__title__tag {
  font-family: var(--font-mono);
  font-size: 0.55em;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-right: 0.4em;
  vertical-align: middle;
}

/* ===== Kursverzeichnis — catalog-index unique section ===== */
.catalog {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 54rem;
  border-top: 1px solid var(--line);
}
.catalog__item {
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.catalog__no {
  font-family: var(--font-mono);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.95rem;
}
.catalog__name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.4;
}
.catalog__meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 620px) {
  .catalog__item { grid-template-columns: 2rem 1fr; }
  .catalog__meta { grid-column: 2; }
}

/* ===== Topic-rail G8 — horizontal scroll-snap photo rail ===== */
.topic-rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.6rem;
  margin: 0;
}
.topic-rail__card {
  flex: 0 0 clamp(13.5rem, 30vw, 17.5rem);
  scroll-snap-align: start;
  aspect-ratio: 3 / 4;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: block;
}
.topic-rail__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease-out);
}
.topic-rail__card:hover img { transform: scale(1.045); }
.topic-rail__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem 1.15rem 1.2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(23, 21, 18, 0.78) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.02rem;
}
.topic-rail__label small {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  opacity: 0.85;
}

/* ===== Team monogram cards (no stock headshots — see contact/team copy) ===== */
.team-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.team-card__mono {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 130%);
}
.team-card h3 { font-size: 1.05rem; margin: 0; }
.team-card__role { color: var(--accent-ink); font-size: 0.82rem; font-weight: 600; margin: 0; }
.team-card__bio { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* animations.css hardcodes .post-card__more{color:#fff !important} assuming
   the link always sits over a dark photo overlay — in this site's P4 cards
   the "Weiterlesen" link sits in the plain white .post-card__body below the
   photo, so white-on-white was invisible. Same !important specificity needed
   to win the cascade (same fix pattern as the licon--on-light contrast bug). */
.post-card__body .post-card__more { color: var(--brand) !important; border-color: var(--line) !important; background: none; }
.post-card__body .post-card__more:hover { background: var(--brand-tint); color: var(--brand) !important; border-color: rgba(var(--brand-rgb), 0.3) !important; }

/* ===== Post-card P4 — full-cover overlay title (journal) ===== */
.post-card--cover .post-card__media { position: relative; }
.post-card--cover .post-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 21, 18, 0) 42%, rgba(23, 21, 18, 0.82) 100%);
}
.post-card__overlay-title {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 0.9rem;
  z-index: 2;
  color: #fff;
  font-size: 1.18rem;
  margin: 0;
  line-height: 1.35;
}

/* ===== FAQ Q2 — two-column grid ===== */
.faq--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.5rem;
  max-width: none;
}
@media (max-width: 760px) { .faq--grid { grid-template-columns: 1fr; } }

/* ===== Legal LP3 — sticky side nav ===== */
.legal-layout {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 3rem;
}
.legal-layout__nav {
  position: sticky;
  top: 6rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.legal-layout__nav a { font-size: 0.86rem; color: var(--muted); padding: 0.2rem 0; }
.legal-layout__nav a:hover { color: var(--brand); }
@media (max-width: 840px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-layout__nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.6rem 1.1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
  }
}

/* ===== Contact C3 — hard photo/form split ===== */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-split__media { position: relative; margin: 0; }
.contact-split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-split__media blockquote {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.6rem;
  color: #fff;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}
.contact-split__form { padding: clamp(1.6rem, 3.5vw, 2.75rem); background: var(--surface); }
@media (max-width: 860px) {
  .contact-split { grid-template-columns: 1fr; }
  .contact-split__media { aspect-ratio: 16 / 9; }
}

/* ===== Verification S8 — hold-to-verify ===== */
.verify-hold {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.3rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.verify-hold__ring {
  position: relative;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 2px solid var(--line);
  flex: 0 0 auto;
}
.verify-hold__ring::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.6s linear;
}
.verify-hold.is-holding .verify-hold__ring::before { clip-path: inset(0 0 0 0); }
.verify-hold.is-verified { border-color: var(--ok); background: rgba(78, 122, 82, 0.08); }
.verify-hold.is-verified .verify-hold__ring { border-color: var(--ok); }
.verify-hold.is-verified .verify-hold__ring::before {
  border-color: var(--ok);
  clip-path: inset(0 0 0 0);
  transition: none;
}
.verify-hold.is-shake { animation: verify-shake 0.4s; }
@keyframes verify-shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-3px); }
  40%, 60% { transform: translateX(3px); }
}

/* ===== Thanks-modal TM2 — top color stripe, no icon ===== */
.thanks--stripe {
  border-top: 4px solid var(--accent);
  padding-top: 1.5rem;
  text-align: center;
}
