/* Gestaltung nach dem Vorbild der KIKO-Themenseite: Roboto Condensed, dunkles Grau,
   weiße Flächen, großes Titelbild, Seitenleiste links, dunkler Fuß. */

@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/roboto-condensed-latin-ext-300-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/roboto-condensed-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/roboto-condensed-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/roboto-condensed-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/roboto-condensed-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/roboto-condensed-latin-ext-500-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/roboto-condensed-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/roboto-condensed-latin-ext-700-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/roboto-condensed-latin-700-normal.woff2) format("woff2"); }

:root {
  --text: #3F444A;
  --text-leicht: #626A73;
  --linie: #DDDDDD;
  --linie-hell: #E6E8E9;
  --flaeche: #F7F8F9;
  /* Farben aus dem Titelbild */
  --marine: #0F2347;
  --kobalt: #1D57A6;
  --cyan: #2FB4D9;
  --cyan-hell: #77DCF4;
  --gold: #F2B233;
  --orange: #E8862A;
  --tint: #F2F8FC;
  --blau: var(--kobalt);
  --blau-hell: var(--cyan);
  --verlauf: linear-gradient(90deg, var(--marine) 0%, var(--kobalt) 35%, var(--cyan) 70%, var(--gold) 100%);
  --fuss: #47515B;
  --breite: 1140px;
  --schrift: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--schrift); font-weight: 300; font-size: 17px; line-height: 1.6; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--kobalt); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 2px; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.25; margin: 0 0 .6em; color: var(--text); }
h1 { font-size: 30px; margin-top: 0; }
h2 { font-size: 26px; margin-top: 1.6em; }
h3 { font-size: 21px; margin-top: 1.4em; }
p, ul, ol { margin: 0 0 1em; }
strong { font-weight: 500; }
hr { border: 0; border-top: 1px solid var(--linie); margin: 2em 0; }
blockquote { margin: 1.2em 0; padding: .2em 1.2em; border-left: 3px solid var(--gold); color: var(--text-leicht); }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; background: var(--flaeche); padding: .1em .35em; border-radius: 3px; }
pre { background: var(--flaeche); padding: 1em; overflow: auto; border-radius: 4px; }
pre code { background: none; padding: 0; }
table { border-collapse: collapse; width: 100%; margin: 1em 0 1.5em; }
th, td { text-align: left; padding: .5em .7em; border-bottom: 1px solid var(--linie); vertical-align: top; }
th { font-weight: 500; }

.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5em 1em; z-index: 100; }
.skip:focus { left: 1em; }

/* Kopfleiste */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--linie-hell); border-top: 3px solid; border-image: var(--verlauf) 1; }
.kopf__innen { max-width: var(--breite); margin: 0 auto; padding: 0 20px; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.kopf__marke { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; font-size: 18px; letter-spacing: .02em; }
.kopf__marke:hover { text-decoration: none; }
.kopf__marke img { border-radius: 7px; }
.kopf__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.kopf__nav a { display: block; padding: 6px 12px; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; font-weight: 400; color: var(--text); border-bottom: 2px solid transparent; }
.kopf__nav a:hover { text-decoration: none; border-bottom-color: var(--cyan); }
.kopf__nav a[aria-current="page"] { font-weight: 500; border-bottom-color: var(--kobalt); }
.kopf__menue { display: none; position: relative; }
.kopf__menue summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 8px; }
.kopf__menue summary::-webkit-details-marker { display: none; }
.kopf__menue summary span { display: block; height: 2px; background: var(--text); }
.kopf__menue ul { list-style: none; margin: 0; padding: 6px 0; position: absolute; right: 0; top: 46px; background: #fff; border: 1px solid var(--linie); min-width: 200px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.kopf__menue a { display: block; padding: 10px 18px; color: var(--text); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }

/* Titelbild */
.held { position: relative; height: clamp(230px, 28vw, 400px); background: var(--blau) url(../img/hero.jpg) center / cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.held--klein { height: clamp(190px, 22vw, 300px); }
.held::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(6,24,52,.45), rgba(6,24,52,.12) 70%, rgba(6,24,52,0)); }
.held__text { position: relative; padding: 0 20px; text-shadow: 0 2px 10px rgba(0,0,0,.55), 0 0 30px rgba(0,0,0,.35); }
.held__name { margin: 0; font-weight: 700; font-size: clamp(38px, 7vw, 92px); line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.held__unter { margin: .35em 0 0; font-weight: 300; font-size: clamp(16px, 2.4vw, 30px); letter-spacing: .04em; }
.held--klein .held__name { font-size: clamp(30px, 5vw, 64px); }
.held--klein .held__unter { font-size: clamp(15px, 1.8vw, 22px); }

/* Pfad (Sie sind hier) */
.pfad { border-bottom: 1px solid var(--linie-hell); }
.pfad ol { list-style: none; margin: 0 auto; padding: 18px 20px; max-width: var(--breite); display: flex; justify-content: center; flex-wrap: wrap; gap: 0; font-size: 15px; }
.pfad li + li::before { content: "/"; margin: 0 .7em; color: var(--text-leicht); }
.pfad a { color: var(--text); }
.pfad [aria-current] { color: var(--kobalt); }

/* Zweispaltiger Rahmen */
.rahmen { max-width: var(--breite); margin: 0 auto; padding: 40px 20px 60px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.rahmen--start { padding-top: 40px; }
.seite__liste, .seite__liste ul { list-style: none; margin: 0; padding: 0; }
.seite__liste { border: 1px solid var(--linie); background: #fff; }
.seite__liste > li { border-bottom: 1px solid var(--linie-hell); }
.seite__liste > li:last-child { border-bottom: 0; }
.seite__liste a { display: block; padding: 12px 18px; color: var(--text); font-size: 16px; }
.seite__liste a { border-left: 3px solid transparent; }
.seite__liste a:hover { background: var(--tint); border-left-color: var(--cyan-hell); text-decoration: none; }
.seite__liste li.aktiv > a { font-weight: 500; color: var(--kobalt); border-left-color: var(--cyan); background: var(--tint); }
.seite__liste ul a { padding-left: 34px; font-size: 15px; color: var(--text-leicht); }
.inhalt { min-width: 0; }
.text h1, .beitrag h1 { font-size: 30px; }
.inhalt h1::after, .inhalt h2:not(.liste__titel)::after { content: ""; display: block; width: 44px; height: 3px; margin-top: .35em; border-radius: 2px; background: linear-gradient(90deg, var(--kobalt), var(--cyan)); }
.inhalt h2:nth-of-type(even):not(.liste__titel)::after { background: linear-gradient(90deg, var(--cyan), var(--gold)); }

/* Startseite */
.start__intro { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; margin-bottom: 30px; }
.start__intro h1 { font-size: 30px; }
.portraet { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--cyan), 0 6px 18px rgba(15,35,71,.18); }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 10px 0 30px; }
.kachel { border: 1px solid var(--linie); border-top: 4px solid var(--kobalt); padding: 20px; background: #fff; transition: box-shadow .2s, transform .2s; }
.kachel:nth-child(2) { border-top-color: var(--cyan); }
.kachel:nth-child(3) { border-top-color: var(--gold); }
.kachel:hover { box-shadow: 0 8px 24px rgba(15,35,71,.12); transform: translateY(-2px); }
.kachel h3 { margin-top: 0; font-size: 20px; }
.kachel p { margin-bottom: .6em; }
.kachel a.mehr { font-weight: 400; }

/* Beitragsliste */
.liste { list-style: none; margin: 0; padding: 0; }
.liste__eintrag { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 26px; padding: 0 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--linie-hell); }
.liste__eintrag:last-child { border-bottom: 0; }
.liste__bild { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; background: var(--flaeche); }
.liste__titel { font-size: 27px; font-weight: 500; line-height: 1.2; margin: 0 0 .45em; }
.liste__titel a { color: var(--blau); }
.datum { display: flex; align-items: center; gap: .4em; color: var(--text-leicht); font-size: 15px; margin: 0 0 .7em; }
.ikon { width: 15px; height: 15px; fill: var(--orange); }
.knopf { display: inline-block; padding: 6px 16px; border: 1px solid var(--kobalt); color: var(--kobalt); font-size: 14px; font-weight: 400; border-radius: 3px; transition: background .15s, color .15s; }
.knopf:hover { background: var(--kobalt); color: #fff; text-decoration: none; }
.knopf--primaer { background: var(--kobalt); color: #fff; }
.knopf--primaer:hover { background: var(--marine); }

/* Beitrag */
.beitrag__kopf h1 { margin-bottom: .3em; }
.beitrag__bild { width: 100%; display: block; margin: 0 0 1.5em; }
.beitrag__text { max-width: 760px; }
.beitrag__text img { display: block; margin: 1.2em 0; }
.beitrag__zurueck { margin-top: 2.5em; }

/* Hinweiskasten (z. B. Kontakt) */
.kasten { border: 1px solid var(--linie); border-left: 4px solid var(--cyan); background: var(--tint); padding: 16px 20px; margin: 1.2em 0; }
.kasten p:last-child { margin-bottom: 0; }

/* Fuß */
.fuss { background: var(--marine); color: #C9D3E3; text-align: center; padding: 34px 20px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 300; border-top: 4px solid; border-image: var(--verlauf) 1; }
.fuss p { margin: 0 0 .5em; }
.fuss__links a { color: #fff; }
.fuss__links a:hover { color: var(--cyan-hell); text-decoration: none; }
.fuss__links a + a::before { content: "|"; margin: 0 .9em; color: #5B6B88; }

@media (max-width: 860px) {
  .rahmen { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .seite { order: 2; }
  .seite__liste ul { display: none; }
  .start__intro { grid-template-columns: 1fr; }
  .portraet { width: 120px; height: 120px; }
}
@media (max-width: 640px) {
  .kopf__nav { display: none; }
  .kopf__menue { display: block; }
  .liste__eintrag { grid-template-columns: 1fr; gap: 14px; }
  .liste__titel { font-size: 23px; }
  h1 { font-size: 26px; }
}
