@font-face {
  font-family: ABeeZee;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/abeezee.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-600.woff2") format("woff2");
}

:root {
  --ink: #0a0a0a;
  --muted: #444;
  --paper: #fff;
  --accent: #ef7a15;
  --cool: #1d4e6b;
  --line: #e8e8e8;
  --footer: #111;
  --max: 68rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header: 4.5rem;
  --header-safe: env(safe-area-inset-top, 0px);
  --entry-pad-y: 2rem;
  --proverb-min-h: clamp(14rem, 24vh, 17rem);
  --proverb-pad-y: clamp(1.5rem, 3.2vh, 2.35rem);
  --proverb-size: clamp(1.4rem, 2.1vw + 0.9rem, 2.4rem);
  --sans: ABeeZee, "Segoe UI", sans-serif;
  --nav: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  max-width: 100%;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 80;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.mail {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.mail-sep {
  white-space: nowrap;
}

a.mail {
  color: inherit;
}

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

.wrap {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #fff;
  border-bottom: none;
}

main {
  margin: 0;
  padding: 0;
}

.proverb {
  margin: 0;
}

.header-bar {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr) 2.8rem;
  align-items: center;
  min-height: var(--header);
  column-gap: 0.4rem;
}

.header-slot {
  grid-column: 1;
}

.logo {
  grid-column: 2;
  justify-self: center;
  display: block;
  width: min(8.8rem, 42vw);
  text-decoration: none;
}

.logo img {
  width: 100%;
  height: auto;
}

.logo.is-animating {
  pointer-events: none;
}

@media (max-width: 799px) {
  :root {
    --header: 3.6rem;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    padding-top: var(--header-safe);
    border-bottom: none;
    box-shadow: none;
  }

  .header-bar {
    min-height: var(--header);
    padding-block: 0;
    align-items: center;
  }

  .logo {
    width: min(5.6rem, 30vw);
  }

  body {
    padding-top: calc(var(--header) + var(--header-safe));
  }

  /* Schwarz läuft hinter dem Header durch */
  main > .proverb:first-child,
  .home-fold > .proverb:first-child {
    margin-top: calc(0px - (var(--header) + var(--header-safe)));
    padding-top: calc(var(--header) + var(--header-safe) + var(--proverb-pad-y));
    min-height: calc(var(--proverb-min-h) + var(--header) + var(--header-safe));
    height: auto;
  }
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-btn {
  --nav-bar: 3px;
  --nav-gap: 8px;
  --nav-w: 1.4rem;
  grid-column: 3;
  justify-self: end;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-btn span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-btn::before,
.nav-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  width: var(--nav-w);
  height: var(--nav-bar);
  margin-left: calc(var(--nav-w) / -2);
  background: #222;
  border-radius: 1px;
  transition: top 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-btn::before {
  top: calc(50% - var(--nav-bar) / 2 - var(--nav-gap));
  box-shadow: 0 var(--nav-gap) 0 #222;
}

.nav-btn::after {
  top: calc(50% - var(--nav-bar) / 2 + var(--nav-gap));
}

.nav-toggle:checked + .nav-btn::before {
  top: calc(50% - var(--nav-bar) / 2);
  box-shadow: none;
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-btn::after {
  top: calc(50% - var(--nav-bar) / 2);
  transform: rotate(-45deg);
}

.nav-panel {
  display: none;
  grid-column: 1 / -1;
  padding: 0.4rem 0 1.2rem;
}

.nav-toggle:checked ~ .nav-panel {
  display: block;
}

.nav-list,
.subnav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a,
.subnav a {
  display: block;
  padding: 0.65rem 0;
  color: #222;
  text-decoration: none;
  font-family: var(--nav);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: lowercase;
}

.subnav {
  display: none;
  padding: 0 0 0.35rem 0.85rem;
}

.has-sub.is-open .subnav {
  display: block;
}

.subnav a {
  color: #666;
}

.nav-list a[aria-current="page"],
.subnav a[aria-current="page"],
.nav-list a:hover,
.subnav a:hover {
  color: var(--accent);
}

.hero {
  padding: 2.2rem 0 1.6rem;
}

/* First viewport: header (outside) + proverb + hero + cue */
.home-fold {
  --fold-pad: 0px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: calc(100svh - var(--fold-chrome, 11rem) - var(--fold-pad));
  min-height: calc(100dvh - var(--fold-chrome, 11rem) - var(--fold-pad));
}

.home-fold .proverb {
  flex: 0 0 auto;
}

.home-fold .proverb .wrap {
  width: min(100% - var(--gutter) * 2, var(--max));
}

.home-fold .hero {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: var(--entry-pad-y) 0 0.35rem;
  text-align: center;
}

.home-fold .hero .wrap {
  width: min(100% - var(--gutter) * 2, 40rem);
  margin-inline: auto;
}

.home-fold .hero .split {
  display: block;
  width: 100%;
}

.home-fold .hero .split > div {
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
}

.home-fold .hero .kicker {
  font-size: clamp(0.78rem, 0.3vh + 0.72rem, 0.88rem);
}

.home-fold .hero h1,
.topic-entry h1,
#handwerk h2 {
  font-size: clamp(1.85rem, 3.2vw + 1rem, 3.15rem);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.home-fold .hero .lede {
  max-width: 34rem;
  margin-inline: auto;
  font-size: clamp(1rem, 0.55vw + 0.88rem, 1.18rem);
  line-height: 1.5;
}

.home-fold .hero .actions {
  margin-top: clamp(1rem, 2vh, 1.4rem);
  justify-content: center;
}

.scroll-cue {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.85rem;
  height: 2.85rem;
  color: var(--accent);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease, opacity 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.scroll-cue svg {
  display: block;
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 0.35rem 1rem rgb(239 122 21 / 28%);
}

.scroll-cue-down {
  flex: 0 0 auto;
  align-self: center;
  margin: 0.45rem 0 0.85rem;
  background: rgb(239 122 21 / 10%);
}

.scroll-cue-down svg {
  animation: scroll-cue-bob 2.4s ease-in-out infinite;
}

.scroll-cue-up {
  position: fixed;
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  bottom: max(0.95rem, env(safe-area-inset-bottom, 0px));
  z-index: 45;
  background: #fff;
  border: 1.5px solid var(--accent);
  box-shadow: 0 0.4rem 1.1rem rgb(10 10 10 / 8%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.45rem);
}

.scroll-cue-up.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-cue-up.is-visible svg {
  animation: scroll-cue-bob-up 2.4s ease-in-out infinite;
}

.horn-cue {
  position: fixed;
  left: max(0.75rem, env(safe-area-inset-left, 0px));
  bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  z-index: 44;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.horn-cue img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.horn-cue:hover,
.horn-cue:focus-visible {
  opacity: 1;
  transform: translateY(-0.12rem);
  outline: none;
}

.horn-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(calc(100vw - 2rem), 28rem);
  max-height: min(80vh, 28rem);
  margin: 0;
  padding: 1.75rem 1.5rem 1.55rem;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1.25rem 2.75rem rgb(10 10 10 / 18%);
  overflow: auto;
}

.horn-dialog::backdrop {
  background: rgb(10 10 10 / 42%);
}

.horn-dialog-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.horn-dialog-close:hover,
.horn-dialog-close:focus-visible {
  color: var(--accent);
  outline: none;
}

.horn-dialog blockquote {
  margin: 0;
  padding: 0.25rem 0.5rem 0 0;
}

.horn-dialog p {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.22rem);
  line-height: 1.45;
  color: var(--ink);
}

.horn-dialog cite {
  display: block;
  font-style: normal;
  font-family: var(--nav);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

@media (max-width: 799px) {
  .horn-cue {
    width: 2.85rem;
    height: 2.85rem;
    opacity: 0.65;
  }
}


@keyframes scroll-cue-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0.28rem);
  }
}

@keyframes scroll-cue-bob-up {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.28rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue-down svg,
  .scroll-cue-up.is-visible svg {
    animation: none;
  }

  .scroll-cue-up {
    transition: opacity 0.2s ease, visibility 0.2s ease;
    transform: none;
  }
}

#handwerk,
#thema {
  scroll-margin-top: calc(var(--header, 4.5rem) + var(--header-safe) + 0.85rem);
}

#handwerk > .wrap > p.kicker:first-child {
  margin-top: 0;
}

@media (max-width: 799px) {
  :root {
    --fold-chrome: calc(var(--header) + var(--header-safe));
    --entry-pad-y: 1.5rem;
    --proverb-min-h: 12.5rem;
    --proverb-pad-y: 1.25rem;
    --proverb-size: clamp(1.25rem, 4.2vw + 0.6rem, 1.85rem);
  }

  .home-fold .hero {
    padding-top: var(--entry-pad-y);
    padding-bottom: 0.15rem;
  }

  .home-fold .hero .wrap {
    width: min(100% - var(--gutter) * 2, var(--max));
  }

  .home-fold .hero h1,
  .topic-fold .topic-hero h1 {
    font-size: clamp(1.55rem, 6vw + 0.4rem, 2.35rem);
  }

  .home-fold .hero .lede {
    font-size: clamp(0.95rem, 2.5vw + 0.55rem, 1.05rem);
  }

  .home-fold .hero .actions {
    margin-top: 0.95rem;
  }

  .home-fold .scroll-cue-down,
  .topic-fold .scroll-cue-down {
    margin: 0.5rem auto 0.85rem;
  }

  .topic-fold .topic-hero {
    padding-top: var(--entry-pad-y);
    padding-bottom: 0.15rem;
  }

  .topic-fold .topic-hero .mood {
    margin-top: 0.55rem;
  }

  .topic-fold .topic-hero .mood img {
    width: min(7.25rem, 34vw);
  }
}

@media (min-width: 800px) {
  :root {
    --fold-chrome: 10.95rem;
    /* Sticky header (Logo + Nav); Section-Padding liefert die Luft zum Kicker */
    --header-offset: calc(var(--fold-chrome) + 0.5rem);
  }

  #handwerk,
  #thema {
    scroll-margin-top: var(--header-offset);
  }

  .home-fold .scroll-cue-down {
    margin-top: clamp(1.75rem, 4vh, 3rem);
  }
}

.kicker,
.section p.kicker,
.topic-entry p.kicker,
.page-hero p.kicker,
.hero p.kicker {
  margin: 1.4rem 0 0.55rem;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: lowercase;
}

.hero h1,
.page-hero h1,
.topic-entry h1,
#handwerk h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.2vw + 1rem, 3.15rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: lowercase;
}

.lede,
.section p,
.prose p,
.card p {
  color: var(--muted);
}

.lede {
  max-width: 38rem;
  margin: 0;
}

.quote {
  margin: 0;
  padding: 0 0 1.1rem;
  border-bottom: 1px solid var(--line);
  max-width: 28rem;
}

.quote p {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
}

.quote cite {
  display: block;
  margin-top: 0.4rem;
  color: #888;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--accent);
  text-decoration: none;
  font-family: var(--nav);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #222;
}

.page-hero {
  padding: var(--entry-pad-y) 0 clamp(1.4rem, 3vh, 2.4rem);
  background: #fff;
  color: #111;
  text-align: center;
}

.topic-fold {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: calc(100svh - var(--fold-chrome, 11rem));
  min-height: calc(100dvh - var(--fold-chrome, 11rem));
}

.topic-fold .page-hero,
.topic-fold .topic-hero {
  flex: 0 0 auto;
  padding: var(--entry-pad-y) 0 0.35rem;
}

.topic-fold .topic-hero .mood {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0.75rem 0 0;
}

.topic-fold .topic-hero .mood img {
  width: min(9.5rem, 40vw);
  margin-inline: auto;
}

.topic-fold .scroll-cue-down {
  flex: 0 0 auto;
  margin: 0.4rem auto 0.85rem;
}

.page-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100% - var(--gutter) * 2, 40rem);
}

.page-hero-inner:has(.contact-story) {
  width: min(100% - var(--gutter) * 2, 46rem);
  align-items: stretch;
}

.page-hero h1 {
  color: #111;
  margin-bottom: 0.75rem;
  font-size: clamp(1.85rem, 3.2vw + 1rem, 3.15rem);
}

.page-hero .lede {
  margin-inline: auto;
}

.page-hero .mood {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.15rem;
}

.page-hero .mood img {
  margin-inline: auto;
}

.page-hero .contact-form {
  margin-inline: auto;
  text-align: left;
  width: 100%;
}

.topic-entry p.kicker,
.page-hero p.kicker,
.home-fold .hero p.kicker {
  margin-top: 0;
  margin-bottom: 0.45rem;
  color: var(--accent);
}

.trail {
  margin: 0 0 0.55rem;
  font-family: var(--nav);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--muted);
}

.trail a {
  color: var(--accent);
  text-decoration: none;
}

.trail a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.trail-sep {
  color: #bbb;
}

.trail [aria-current="page"] {
  color: var(--ink);
}

.topic-entry h1 {
  margin-bottom: 0.75rem;
}

.topic-entry .lede {
  margin-inline: auto;
  font-size: clamp(1rem, 0.55vw + 0.88rem, 1.18rem);
  line-height: 1.5;
}

.topic-entry .fields {
  text-align: left;
}

.page-hero + .section > .wrap > p:first-child {
  text-align: center;
  max-width: 34rem;
  margin-inline: auto;
  margin-bottom: 0.35rem;
  font-size: clamp(1rem, 0.55vw + 0.88rem, 1.18rem);
  line-height: 1.5;
}

.contact-form {
  margin-top: 1.25rem;
  max-width: 28rem;
  display: grid;
  gap: 0.85rem;
}

.contact-form.contact-story {
  max-width: none;
  width: 100%;
  gap: 1.35rem;
  text-align: left;
}

.contact-form p {
  margin: 0;
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--nav);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--ink);
}

.contact-form .optional {
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.7rem 0.8rem;
  border: 2px solid #111;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-story .story-line {
  font-family: var(--sans);
  font-size: clamp(1.35rem, 1.1vw + 1.05rem, 1.85rem);
  line-height: 1.55;
  color: var(--ink);
  text-wrap: pretty;
}

.contact-story .story-input {
  display: inline;
  width: auto;
  min-width: 7ch;
  max-width: 100%;
  margin: 0 0.15em;
  padding: 0.05em 0.15em 0.12em;
  border: 0;
  border-bottom: 2px solid #111;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  line-height: inherit;
  vertical-align: baseline;
  transition: border-color 0.2s var(--ease, ease);
}

.contact-story .story-input::placeholder {
  color: #b0b0b0;
  opacity: 1;
}

.contact-story .story-input:hover {
  border-bottom-color: var(--accent);
}

.contact-story .story-input:focus-visible {
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: 0 2px 0 0 var(--accent);
}

.contact-story .story-input-name {
  min-width: 9ch;
  width: 12ch;
}

.contact-story .story-input-org {
  min-width: 14ch;
  width: 22ch;
}

.contact-story .story-input-email {
  min-width: 14ch;
  width: 20ch;
}

.contact-story .story-input-phone {
  min-width: 12ch;
  width: 16ch;
}

.contact-story .story-input-message {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 4.5em;
  margin: 0.55rem 0 0;
  padding: 0.2em 0 0.35em;
  resize: vertical;
  line-height: 1.45;
}

.contact-form .form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-story .form-note {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.contact-form .actions {
  margin-top: 0.2rem;
}

.contact-story .actions {
  margin-top: 0.55rem;
}

.contact-form button {
  cursor: pointer;
  appearance: none;
  background: var(--accent);
  color: #1b1208;
  border-color: var(--accent);
  font: inherit;
}

.contact-form button:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

@media (max-width: 640px) {
  .contact-story .story-line {
    font-size: clamp(1.15rem, 3.8vw + 0.7rem, 1.4rem);
  }

  .contact-story .story-input-name,
  .contact-story .story-input-org,
  .contact-story .story-input-email,
  .contact-story .story-input-phone {
    display: inline-block;
    width: min(100%, 18rem);
    max-width: 100%;
    margin: 0.2em 0;
  }
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0.9rem 0 0;
  padding: 0.75rem 0.9rem;
  max-width: 28rem;
  font-family: var(--nav);
  font-size: 0.95rem;
}

.form-status-ok {
  background: var(--cool);
  color: #fff;
}

.form-status-err {
  background: #111;
  color: #fff;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.7rem;
  padding: 0;
  list-style: none;
  color: var(--accent);
  font-family: var(--nav);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: lowercase;
}

.crumbs a {
  color: var(--accent);
  text-decoration: none;
}

.crumbs a:hover {
  color: #fff;
}

.section {
  padding: 2rem 0;
}

.section.topic-entry {
  text-align: center;
  padding: var(--entry-pad-y) 0 2rem;
}

.section h2,
.card h2,
.prose h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: lowercase;
}

#handwerk h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 3.2vw + 1rem, 3.15rem);
  letter-spacing: 0.08em;
  line-height: 1.15;
}

.section p,
.prose p,
.card p {
  margin: 0 0 0.85rem;
}

main .topic-entry > .wrap > p.kicker,
main .page-hero > .wrap > p.kicker,
main .home-fold .hero p.kicker {
  margin: 0 0 0.45rem;
}

.grid {
  display: grid;
  gap: 1px;
  margin-top: 1.4rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.card,
.prose,
.contact-card {
  background: #fff;
  padding: 1.2rem 1.1rem 1.25rem;
}

.card a.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card:hover {
  background: #fafafa;
}

.num {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--accent);
  font-family: var(--nav);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.card h2,
.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.more {
  display: inline-flex;
  margin-top: 0.25rem;
  color: var(--accent);
  font-family: var(--nav);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.values {
  display: grid;
  gap: 0;
}

.value {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.value strong {
  display: block;
  margin-bottom: 0.2rem;
  letter-spacing: 0.06em;
}

.contact-grid {
  display: grid;
  gap: 1px;
  padding: 0 0 2.2rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-card a {
  font-weight: 400;
  text-decoration: none;
}

.legal {
  padding: 1.6rem 0 2.4rem;
}

.legal h2 {
  margin-top: 1.5rem;
}

.site-footer {
  background: var(--footer);
  color: #fff;
  padding: 1.8rem 0 0;
}

.footer-inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.7rem;
  padding-bottom: 1.4rem;
}

.copyright {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 1.1rem var(--gutter);
  background: #fff;
  color: #222;
}

.copyright p {
  margin: 0;
  font-family: var(--nav);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.footer-logo {
  display: block;
  width: 6.8rem;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-nav {
  margin: 0;
  font-family: var(--nav);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: #fff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.1rem;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #aaa;
}

@media (min-width: 800px) {
  :root {
    --header: auto;
  }

  .header-bar {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.35rem 0 0.85rem;
  }

  .header-slot,
  .nav-btn {
    display: none;
  }

  .logo {
    width: 9.4rem;
  }

  .nav-panel {
    display: block;
    padding: 0;
    width: 100%;
  }

  .nav-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.1rem;
  }

  .nav-list > li {
    position: relative;
    flex: 0 1 auto;
  }

  .nav-list a,
  .subnav a {
    padding: 0.45rem clamp(0.3rem, 1.1vw, 0.7rem);
    font-size: clamp(0.72rem, 0.95vw + 0.4rem, 0.82rem);
    white-space: nowrap;
  }

  .has-sub .subnav {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 13rem;
    padding: 0.45rem 0;
    background: #fff;
    border: 1px solid var(--line);
    z-index: 5;
  }

  .has-sub.is-open .subnav {
    display: block;
  }

  .grid-2,
  .grid-4,
  .values,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (min-width: 1020px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

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

.split {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.mood {
  margin: 0;
  justify-self: center;
}

.mood img {
  width: min(100%, 16rem);
  height: auto;
  border-radius: 1.4rem;
}

@media (max-width: 799px) {
  .hero {
    position: relative;
    overflow: hidden;
  }

  .hero .split {
    display: block;
    position: static;
  }

  .hero .split > div {
    position: relative;
    z-index: 1;
  }

  .hero .kicker {
    max-width: calc(100% - 7.5rem);
  }

  .hero .mood {
    position: absolute;
    top: 0;
    right: 0;
    width: 8.5rem;
    z-index: 0;
    margin: 0;
    justify-self: unset;
    pointer-events: none;
  }

  .hero .mood img {
    width: 100%;
    border-radius: 0;
  }
}

.proverb {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: var(--proverb-min-h);
  height: auto;
  padding: var(--proverb-pad-y) 0;
  text-align: center;
}

.proverb.is-ready cite {
  opacity: 0;
}

.proverb.is-done cite {
  opacity: 0.75;
  transition: opacity 0.7s ease;
}

.proverb.is-typing p::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.8em;
  margin-left: 0.12em;
  background: currentColor;
  transform: translateY(0.08em);
  animation: proverb-caret 0.9s steps(1, end) infinite;
}

@keyframes proverb-caret {
  50% {
    opacity: 0;
  }
}

.proverb p {
  margin: 0 auto;
  max-width: 20ch;
  font-size: var(--proverb-size);
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: inherit;
}

.proverb.is-long p {
  max-width: min(38rem, 92%);
  font-size: clamp(1.05rem, 1.2vw + 0.75rem, 1.55rem);
  line-height: 1.35;
}

.proverb.proverb-compact {
  height: var(--proverb-min-h);
  min-height: var(--proverb-min-h);
  overflow: visible;
}

.proverb.proverb-compact .wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100% - var(--gutter) * 2, 42rem);
  max-height: 100%;
  padding-block: 0.35rem;
}

.proverb.proverb-compact p,
.proverb.proverb-compact.is-long p {
  max-width: 100%;
  font-size: clamp(0.72rem, 0.35vw + 0.65rem, 0.88rem);
  line-height: 1.45;
  letter-spacing: 0.015em;
}

.proverb.proverb-compact cite {
  margin-top: 0.45rem;
  font-size: 0.68rem;
  opacity: 0.8;
}

@media (max-width: 799px) {
  main > .proverb.proverb-compact:first-child {
    height: calc(var(--proverb-min-h) + var(--header) + var(--header-safe));
    min-height: calc(var(--proverb-min-h) + var(--header) + var(--header-safe));
    overflow: visible;
  }
}

.proverb cite {
  display: block;
  margin-top: 0.7rem;
  font-style: normal;
  font-family: var(--nav);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  opacity: 0.75;
}

.proverb-ink {
  background: #111;
  color: #fff;
}

.proverb-accent {
  background: var(--accent);
  color: #1b1208;
}

.proverb-cream {
  background: var(--cool);
  color: #fff;
}

.band-cream {
  background: #fff;
}

.band-cream h2 {
  color: var(--accent);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-e,
.brand-colon {
  color: var(--accent);
  font-weight: 700;
}

.fields {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.field {
  display: block;
  padding: 1.2rem 1.15rem 1.3rem;
  text-decoration: none;
  color: inherit;
  min-height: 11rem;
}

.field h3,
.field h2 {
  margin: 0.2rem 0 0.4rem;
  color: inherit;
}

.field p,
.field a {
  color: inherit;
}

.field-ink {
  background: #111;
  color: #fff;
}

.field-ink h3,
.field-ink p,
.field-ink .num,
a.field-ink:hover,
a.field-ink:hover h3,
a.field-ink:hover p,
button.field-ink:hover,
button.field-ink:hover h3,
button.field-ink:hover p {
  color: #fff;
}

.field-accent {
  background: var(--accent);
  color: #1b1208;
}

.field-accent h3,
.field-accent p,
.field-accent .num,
a.field-accent:hover,
a.field-accent:hover h3,
a.field-accent:hover p,
a.field-accent:hover .num,
button.field-accent:hover,
button.field-accent:hover h3,
button.field-accent:hover p,
button.field-accent:hover .num {
  color: #1b1208;
}

.field-cream {
  background: var(--cool);
  color: #fff;
}

.field-cream h3,
.field-cream p,
.field-cream .num,
a.field-cream:hover,
a.field-cream:hover h3,
a.field-cream:hover p,
button.field-cream:hover,
button.field-cream:hover h3,
button.field-cream:hover p {
  color: #fff;
}

.field-line {
  background: #fff;
  color: #111;
  border: 2px solid #111;
}

button.field {
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  width: 100%;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  border-style: none;
}

button.field-line {
  border: 2px solid #111;
}

button.field:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

button.field.is-active {
  box-shadow: inset 0 0 0 3px rgb(255 255 255 / 55%);
}

button.field-line.is-active {
  box-shadow: inset 0 0 0 3px var(--accent);
}

button.field-accent.is-active {
  box-shadow: inset 0 0 0 3px rgb(27 18 8 / 35%);
}

.field-tabs {
  margin-top: 1.4rem;
}

.field-tabs .fields {
  margin-top: 0;
  align-items: stretch;
}

.field-unit {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  height: 100%;
}

.field-unit > .field,
.field-unit > button.field {
  flex: 1 1 auto;
  box-sizing: border-box;
}

.field-unit-more {
  align-self: stretch;
  min-width: 0;
  max-width: 100%;
}

.field-more {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  min-height: 11rem;
  height: 100%;
  box-sizing: border-box;
  padding: 1.2rem 1.15rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  overflow: hidden;
}

.field-more .num,
.field-more h3 {
  color: var(--ink);
}

.field-more h3 {
  margin-bottom: 0.25rem;
}

.field-more-gifs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.25rem;
  width: 100%;
  margin-top: 0.15rem;
  margin-top: auto;
}

.field-more-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 0;
  text-decoration: none;
  color: var(--muted);
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.field-more-link:hover,
.field-more-link:focus-visible {
  opacity: 1;
  color: var(--accent);
  transform: translateY(-0.08rem);
  outline: none;
}

.field-more-link img {
  display: block;
  width: min(3.35rem, 100%);
  height: auto;
  border-radius: 0.45rem;
}

.field-more-label {
  font-family: var(--nav);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  text-align: center;
  line-height: 1.15;
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (min-width: 800px) {
  .field-more-link img {
    width: min(3.5rem, 6.5vw);
  }
}


.field-panel {
  padding: 1.35rem 1.25rem 1.45rem;
  background: #fff;
  border: 2px solid #111;
  color: var(--muted);
  box-sizing: border-box;
  width: 100%;
}

.field-panel[hidden] {
  display: none;
}

.field-panel p {
  margin: 0 0 0.85rem;
  max-width: none;
  color: var(--muted);
}

.field-panel p:last-child {
  margin-bottom: 0;
}

.field-quote {
  margin: 0 0 1.15rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--line);
}

.field-quote p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.2vw + 0.85rem, 1.35rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.field-quote cite {
  display: block;
  margin-top: 0.55rem;
  font-style: normal;
  font-family: var(--nav);
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: #888;
}

.field .mood {
  margin: 0 0 0.7rem;
}

.field .mood img {
  width: 7.5rem;
  border-radius: 1rem;
}

@media (min-width: 800px) {
  a.field:has(.mood) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    column-gap: 1rem;
    align-items: center;
  }

  a.field:has(.mood) .mood {
    grid-column: 2;
    grid-row: 1 / -1;
    margin: 0;
    justify-self: end;
    align-self: center;
  }

  a.field:has(.mood) .num,
  a.field:has(.mood) h3,
  a.field:has(.mood) p {
    grid-column: 1;
  }

  a.field:has(.mood) .mood img {
    width: min(7.5rem, 22vw);
  }
}

.mission-points .field {
  min-height: 0;
}

.team-lines {
  margin: 0.4rem 0 1.1rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.45;
  color: var(--ink);
}

.team-lines strong {
  font-weight: 600;
}

.philosophie {
  max-width: 42rem;
  margin-inline: auto;
  overflow-wrap: break-word;
  word-break: break-word;
}

.bitstring {
  display: inline-block;
  max-width: 100%;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.fuer-ki {
  max-width: 42rem;
  margin-inline: auto;
}

.philosophie h2,
.philosophie h3 {
  text-transform: none;
  letter-spacing: 0.02em;
}

.philosophie h2:first-child {
  margin-top: 0;
}

.philosophie h2 {
  margin-top: 2rem;
  font-size: clamp(1.35rem, 3.5vw, 1.7rem);
}

.philosophie h3 {
  margin: 1.4rem 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.philosophie ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.philosophie li {
  margin: 0 0 0.55rem;
  color: var(--muted);
}

.expand {
  margin: 0.4rem 0 0;
}

.expand-btn {
  list-style: none;
  cursor: pointer;
  width: fit-content;
}

.expand-btn::-webkit-details-marker {
  display: none;
}

.expand[open] .expand-btn {
  background: #111;
  border-color: #111;
  color: #fff;
}

.expand[open] .expand-closed,
.expand:not([open]) .expand-open {
  display: none;
}

.expand-body {
  margin-top: 1.1rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1.15fr 0.85fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mood {
    display: none;
  }
}
