/* Initiative: Krieg Trauma Psyche – statisches Archiv (GitHub Pages)
   Keine externen Schriften, keine Skripte, keine Cookies. */

/* Schrift: Calibri, falls auf dem Gerät installiert (Windows, Office),
   sonst Carlito – frei lizenziert (SIL OFL, siehe assets/fonts/OFL.txt) und metrisch identisch. */
@font-face { font-family: "KTP Calibri"; font-style: normal; font-weight: 400; font-display: swap;
  src: local("Calibri"), local("Calibri Regular"), local("Calibri-Regular"), url("../fonts/carlito-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "KTP Calibri"; font-style: normal; font-weight: 400; font-display: swap;
  src: local("Calibri"), local("Calibri Regular"), local("Calibri-Regular"), url("../fonts/carlito-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "KTP Calibri"; font-style: normal; font-weight: 700; font-display: swap;
  src: local("Calibri Bold"), local("Calibri-Bold"), url("../fonts/carlito-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "KTP Calibri"; font-style: normal; font-weight: 700; font-display: swap;
  src: local("Calibri Bold"), local("Calibri-Bold"), url("../fonts/carlito-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "KTP Calibri"; font-style: italic; font-weight: 400; font-display: swap;
  src: local("Calibri Italic"), local("Calibri-Italic"), url("../fonts/carlito-400-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "KTP Calibri"; font-style: italic; font-weight: 400; font-display: swap;
  src: local("Calibri Italic"), local("Calibri-Italic"), url("../fonts/carlito-400-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #ffffff;
  --card: #faf9f7;
  --text: #3d3b37;
  --heading: #1a1a18;
  --muted: #6f6c65;
  --line: #e3e0d9;
  --accent: #b0471a;   /* Orange aus dem Logo, dunkel genug für Text */
  --wrap: 1000px;
  --narrow: 700px;
  --font: "KTP Calibri", Calibri, Carlito, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151413;
    --card: #1c1a18;
    --text: #d4d0c8;
    --heading: #f4f2ed;
    --muted: #9c988f;
    --line: #2e2c29;
    --accent: #f0884a;
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.1875rem;   /* Calibri läuft klein – 19px liest sich wie 16–17px anderer Schriften */
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .15s ease, color .15s ease; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { color: var(--heading); margin: 0 0 .5em; font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4rem); letter-spacing: -.02em; line-height: 1.02; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* Blocksatz für Fließtext, mit Silbentrennung gegen Lücken */
.justify p, p.justify {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 6 3 2;
}
.justify .label, .justify .note, .justify .more, .justify .meta { text-align: left; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: calc(var(--narrow) + 56px); }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; background: var(--heading); color: var(--bg); padding: 8px 14px; z-index: 10; }

.icon { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Kopfbereich ---------- */
.site-header { padding: 30px 0; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--heading); }
.brand img { width: 56px; height: 56px; }
.brand span { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.site-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--muted); font-size: 1.08rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--heading); }

/* ---------- Startseite ---------- */
.label {
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 20px;
}

.section { position: relative; padding-top: 64px; padding-bottom: 64px; }
.section::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; border-top: 1px solid var(--line); }
.awards-section + .section::before { display: none; }
.section__lead { font-size: 1.4rem; line-height: 1.45; color: var(--heading); max-width: var(--narrow); margin-bottom: 40px; }

/* Einstieg: Text links, Gemälde klein rechts */
.intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 72px; }
.intro .lead { font-size: 1.3rem; line-height: 1.55; }
.intro .note { font-size: 1rem; color: var(--muted); margin-top: 22px; }
.intro .more { margin-top: 18px; }
.arrow::after { content: " →"; }

.diptych { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; max-width: 380px; justify-self: end; width: 100%; }
.diptych img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.diptych figcaption { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); }

/* Auszeichnungen: groß und zentriert (wie auf der alten Seite), mit Logos */
.awards-section { padding-top: 24px; padding-bottom: 88px; text-align: center; }
.awards__title { font-size: clamp(2rem, 4.2vw, 2.8rem); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 52px; }
.awards { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; max-width: 900px; }
.award { display: flex; flex-direction: column; align-items: center; }
.award__logo { height: 64px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.award__logo img { height: 100%; width: auto; }
.award__logo img.logo-wordmark { height: 46px; }
.award__name { font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.15; margin: 0 0 10px; hyphens: manual; }
.award__note { font-size: 1.35rem; line-height: 1.35; color: var(--muted); margin: 0; }
@media (prefers-color-scheme: dark) {
  .logo-wordmark { filter: invert(1); }  /* schwarzes Allianz-Logo hell darstellen */
}

/* Arbeitsweise: drei Spalten nebeneinander */
.work { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.work h3 { margin: 18px 0 10px; }
.work p { font-size: 1.06rem; }

/* Instagram-Archiv (lokale Vorschaubilder, keine Einbettung) */
.insta-section { text-align: center; }
.insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 32px 0 28px; }
.insta a { display: block; overflow: hidden; }
.insta img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .2s ease; }
.insta a:hover img { opacity: .82; }

/* Team: nebeneinander */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.person { display: flex; flex-direction: column; align-items: flex-start; }
.person img { width: 148px; height: 148px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; }
.person h3 { font-size: 1.5rem; margin-bottom: .35em; }
.person p { font-size: 1.06rem; }
.social { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-size: 1rem; text-decoration: none; color: var(--heading); }
.social .icon { width: 22px; height: 22px; stroke-width: 1.6; }
.social:hover { color: var(--accent); }

/* Abschied */
.farewell { max-width: var(--narrow); }
.farewell p:first-child { font-size: 1.3rem; line-height: 1.55; color: var(--heading); }
.meta { color: var(--muted); font-size: .95rem; }

/* ---------- Unterseiten (Fließtext) ---------- */
.page { padding: 40px 0 96px; }
.page h1 { margin-bottom: .6em; }
.page h2 { font-size: 1.55rem; line-height: 1.25; margin-top: 1.8em; }
.page h3 { font-size: 1.1rem; margin-top: 1.6em; }
.page figure { margin: 2.2em 0; }
.page figure img { width: 100%; }
.page figure.art { max-width: 420px; }
.page figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.page blockquote { margin: 1.8em 0; padding: 0 0 0 24px; border-left: 2px solid var(--accent); font-size: 1.3rem; line-height: 1.5; color: var(--heading); }
.page ul, .page ol { padding-left: 1.3em; }
.page li { margin-bottom: .45em; }
.sources { font-size: .95rem; line-height: 1.5; list-style: none; padding-left: 0 !important; overflow-wrap: anywhere; }
.sources li { padding-left: 2.2em; text-indent: -2.2em; }
.callout { border: 1px solid var(--line); background: var(--card); padding: 20px 24px; margin: 1.6em 0; }
.callout p:first-child { font-weight: 700; color: var(--heading); text-align: left; }

/* ---------- Fußbereich ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .95rem; color: var(--muted); }
.site-footer__inner { display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.site-footer nav { display: flex; gap: 20px; }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; gap: 36px; }
  .diptych { justify-self: start; max-width: 340px; }
  .awards { grid-template-columns: 1fr; gap: 48px; }
  .work { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  body { font-size: 1.125rem; }
  .wrap { padding: 0 16px; }
  .section::before { left: 16px; right: 16px; }
  .wrap--narrow { max-width: calc(var(--narrow) + 32px); }
  .site-header { padding: 20px 0; }
  .site-header__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .brand { gap: 12px; }
  .brand img { width: 44px; height: 44px; }
  .brand span { font-size: 1.22rem; }
  .intro { padding-top: 28px; padding-bottom: 52px; }
  .intro .lead { font-size: 1.18rem; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .awards-section { padding-bottom: 52px; }
  .section__lead { font-size: 1.22rem; margin-bottom: 30px; }
  .awards__title { margin-bottom: 36px; }
  .award__logo { height: 52px; margin-bottom: 18px; }
  .award__logo img.logo-wordmark { height: 38px; }
  .award__note { font-size: 1.2rem; }
  .insta { gap: 4px; margin: 24px 0 20px; }
  .team { gap: 20px; }
  .person img { width: 104px; height: 104px; margin-bottom: 14px; }
  .person h3 { font-size: 1.2rem; }
  .person p { font-size: .98rem; text-align: left; }
  .page { padding: 24px 0 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, .insta img { transition: none; }
}
