/* 021_BUERO — Gestaltung. Jede Regel hat hier nur eine zuständige Stelle. */
:root {
  --font: "Neue Haas Grotesk", "Neue Haas Grotesk Text Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text-size: clamp(17px, 1.55vw, 21px);
  --small-size: 12px;
  --content-width: 760px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #fff; }
body { margin: 0; color: #111; background: #fff; font-family: var(--font); }
button { font: inherit; }

/* Startbild und Einleitung: zwei Bildschirmhöhen, Bild bleibt beim Scrollen stehen. */
.opening { position: relative; height: 200svh; }
.opening-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #111; color: #fff; }
.background { position: absolute; inset: 0; background: #111; }
.background img, .background video { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.66); }
.opening-sticky::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,var(--veil,0)); pointer-events: none; }
.cover-title { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,calc(-50% - var(--title-up,0px))); margin: 0; font-size: clamp(42px,9vw,140px); font-weight: 400; letter-spacing: .03em; white-space: nowrap; opacity: var(--title-opacity,1); }
.cover-title button { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; letter-spacing: inherit; font: inherit; }
.intro { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(650px,calc(100% - 48px)); max-width: var(--content-width); text-align: center; font-size: var(--text-size); line-height: 1.48; opacity: var(--intro-opacity,0); pointer-events: none; }
.intro p { margin: 0 0 1.25em; }
.intro.is-clickable { cursor: pointer; }
.intro:focus-visible { outline: 1px solid #fff; outline-offset: 8px; }

/* Feste Navigation und Sprachauswahl. */
.site-menu { position: fixed; top: 20px; left: 24px; z-index: 30; font-size: var(--small-size); line-height: 1.4; }
.menu-toggle { border: 0; padding: 9px 11px; background: rgba(0,0,0,.42); color: #fff; cursor: pointer; letter-spacing: 0; }
.menu-panel { position: absolute; top: 100%; left: 0; min-width: 200px; padding: 10px 0; border: 0; background: rgba(0,0,0,.42); box-shadow: none; }
.menu-panel[hidden] { display: none; }
.menu-panel a { display: block; padding: 12px 16px; color: #fff; text-decoration: none; font-size: var(--small-size); touch-action: manipulation; }
/* Halbtransparentes Hover-Highlight und seitliches Journal-Untermenü. */
.menu-panel a:hover, .menu-panel a:focus-visible { background: rgba(0,0,0,.30); }
.menu-item { position: relative; }
.menu-submenu { display: none; position: absolute; top: -10px; left: 100%; min-width: 230px; padding: 10px 0; background: rgba(0,0,0,.42); }
.menu-item:hover > .menu-submenu, .menu-item:focus-within > .menu-submenu, .menu-item.submenu-open > .menu-submenu { display: block; }
.menu-item:hover > a, .menu-item:focus-within > a, .menu-item.submenu-open > a { background: rgba(0,0,0,.30); }
.menu-submenu a { white-space: normal; }

.language-switch { position: fixed; top: 24px; right: 24px; z-index: 20; display: flex; align-items: center; gap: 5px; font-size: 11px; letter-spacing: .03em; }
.language-switch button { padding: 0; border: 0; background: none; color: #999; cursor: pointer; text-shadow: none; -webkit-text-stroke: 0; }
.language-switch button.active, .language-switch span { color: #fff; text-shadow: none; -webkit-text-stroke: .25px #000; }
.menu-toggle:focus-visible, .language-switch button:focus-visible { outline: 2px solid white; outline-offset: 3px; }

/* Rubriküberschriften: Journal ohne Linien; About/Contact mit durchgehenden Linien. */
.section-heading { min-height: 132px; display: flex; align-items: center; justify-content: center; padding: 55px 24px 35px; background: #fff; color: #111; }
.section-heading h2 { width: min(var(--content-width),100%); margin: 0; padding: 0; text-align: center; font-size: var(--small-size); font-weight: 400; line-height: 1.4; letter-spacing: .02em; text-transform: uppercase; }
#about-section, #contact-section { border-top: 1px solid #111; border-bottom: 1px solid #111; }
#journal-section { border-bottom: 1px solid #111; }

/* Bildnachweis auf dem Startbild. */
.fullbleed-credit { position: absolute; right: 20px; bottom: 16px; z-index: 5; color: #fff; font: 11px/1.3 var(--font); text-shadow: 0 1px 4px rgba(0,0,0,.55); pointer-events: none; }

/* Journalartikel: reduzierte Typografie und Bildnachweis direkt auf dem Bild. */
.article { min-height: 80svh; padding: clamp(40px,8vw,120px) 24px; background: #fff; color: #111; }
.article-inner, .info-inner { width: min(100%,var(--content-width)); margin-inline: auto; text-align: left; }
.article h3 { margin: 0; font-size: var(--text-size); font-weight: 400; line-height: 1.4; text-transform: uppercase; }
.article-date { display: block; margin: 0 0 2.5em; font-family: "Times New Roman", Times, serif; font-size: clamp(17px, 1.65vw, 19px); line-height: 1.48; font-weight: 400; }
.journal-body > p { margin: 0 0 1.25em; font-family: "Times New Roman", Times, serif; font-size: clamp(17px, 1.65vw, 19px); line-height: 1.48; font-weight: 400; }
.article-figure { position: relative; width: 100%; margin: 2.3em 0; }
.article-figure img { display: block; width: 100%; height: auto; }
.article-figure figcaption { display: none; }

/* About und Contact. */
.info-section { padding: 85px 24px; background: #fff; color: #111; }
.section-heading + .info-section { border-top: 0; padding-top: 28px; }
.info-inner p { margin: 0 0 1.3em; font-size: var(--text-size); line-height: 1.48; }
.info-inner a { color: inherit; text-underline-offset: 3px; }
.people { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.person .qualification, .person .bio { font-family: var(--font); font-size: var(--text-size); line-height: 1.5; letter-spacing: 0; }
.person .qualification { margin: 0 0 .7em; }
.person .bio { margin: 0; }
#contact-content a[href*="instagram.com"] { text-decoration: underline; text-underline-offset: 2px; }
.contact-block { margin-bottom: 2.8em; }
.contact-block p { margin: 0; }
.contact-block .contact-name { font-weight: 700; }
.contact-block .bakery-hours { font-family: var(--font); font-size: 12px; font-weight: 300; line-height: 1.4; margin: 0; }
.bakery-heading { display: flex; align-items: baseline; justify-content: flex-start; gap: 24px; flex-wrap: wrap; }
.bakery-heading .contact-name { margin: 0; }
.contact-block .contact-name + p:not(.bakery-hours) { margin-top: 0; }


@media (max-width: 700px) {
  .site-menu { top: 12px; left: 16px; }
  .language-switch { top: 16px; right: 16px; }
  .section-heading { min-height: 110px; padding: 35px 16px; }
  /* Untermenü bleibt auf schmalen Bildschirmen innerhalb des Viewports. */
  .menu-submenu { position: static; min-width: 0; padding: 0 0 0 12px; background: transparent; }
  .menu-panel { min-width: min(260px, calc(100vw - 32px)); }

  .fullbleed-credit { right: 16px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Scroll position is explicitly maintained when a translated article is swapped. */
.journal-body { overflow-anchor: none; }
/* Separate journal entries, without changing the existing article typography. */
#journal-articles .article + .article { border-top: 1px solid #111; }

.legal-footer {
  border-top: 1px solid #000;
  padding: 16px 24px 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 12px;
  font-weight: normal;
}

.legal-footer a,
.legal-footer a:visited {
  color: inherit;
  text-decoration: none;
  font-size: inherit;
  font-weight: inherit;
}

.legal-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .legal-footer {
    padding: 14px 16px 24px;
    gap: 8px 14px;
    font-size: 11px;
  }
}

/* Legal footer – desktop and mobile */

footer.legal-footer {
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid #000;
  padding: 16px 24px 28px;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;

  font-family: "Neue Haas Grotesk", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
}

footer.legal-footer a,
footer.legal-footer a:link,
footer.legal-footer a:visited {
  color: #000;
  text-decoration: none;
  font-size: inherit;
  font-weight: inherit;
}

footer.legal-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  footer.legal-footer {
    padding: 14px 16px 24px;
    gap: 8px 14px;
    font-size: 11px;
  }
}
/* Team: names share the introductory text size; biographies expand on tap. */
.person { margin: 0; }
.person summary { display: block; width: fit-content; cursor: pointer; font-family: var(--font); font-size: var(--text-size); font-weight: 400; line-height: 1.48; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.person summary::-webkit-details-marker { display: none; }
.person summary::marker { content: ""; }
.person summary:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.person + .person { margin-top: .25em; }
.person-details { padding: 10px 0 20px; max-width: var(--content-width); }
.person-details .qualification { margin: 0 0 .7em; }
.person-details .bio { margin: 0; }
@media (max-width: 700px) {
}
