:root {
  --ink: #18241f;
  --muted: #5e7067;
  --paper: #eef2ef;
  --blue: #dceef3;
  --blue-strong: #4d98ad;
  --green: #e1eddd;
  --green-strong: #71956a;
  --line: #c8d5cd;
  --black: #141916;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 14%, rgb(255 255 255 / .9), transparent 24rem),
    repeating-radial-gradient(ellipse at 78% 23%, transparent 0 42px, rgb(83 121 99 / .06) 43px 44px),
    var(--paper);
  color: var(--ink);
  font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.68;
}

button, a { color: inherit; font: inherit; }
a { text-decoration: none; }

.section-shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.intro {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header-height) + 92px) clamp(30px, 7vw, 98px) 92px;
  background:
    linear-gradient(110deg, rgb(239 245 242 / .97) 0 54%, rgb(220 238 243 / .86) 54%),
    repeating-linear-gradient(22deg, transparent 0 34px, rgb(77 152 173 / .08) 35px 36px);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 44px 44px;
}

.intro::before,
.intro::after {
  content: "";
  position: absolute;
  border: 2px solid rgb(77 152 173 / .2);
  border-radius: 48% 52% 60% 40%;
  transform: rotate(-12deg);
}

.intro::before {
  width: 450px;
  height: 260px;
  right: -35px;
  top: 135px;
  box-shadow: 0 0 0 28px rgb(77 152 173 / .08), 0 0 0 58px rgb(113 149 106 / .07);
}

.intro::after {
  width: 330px;
  height: 180px;
  right: 65px;
  top: 175px;
}

.intro-copy { position: relative; z-index: 2; max-width: 850px; }

.intro-label,
.map-coordinate {
  margin: 0;
  color: var(--blue-strong);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.map-coordinate {
  position: absolute;
  top: calc(var(--header-height) + 30px);
  right: clamp(30px, 7vw, 98px);
  color: var(--muted);
}

.intro h1 {
  max-width: 850px;
  margin: 18px 0 24px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: .94;
  letter-spacing: -.055em;
}

.intro-subtitle {
  margin: 0 0 14px;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 760;
}

.intro-lead { max-width: 730px; margin: 0; color: var(--muted); font-size: 1.08rem; }

.route-mark {
  position: absolute;
  z-index: 2;
  right: clamp(30px, 7vw, 98px);
  bottom: 64px;
  display: flex;
  align-items: center;
}

.route-mark span {
  display: block;
  width: 12px;
  height: 12px;
  border: 3px solid var(--green-strong);
  border-radius: 50%;
}

.route-mark span + span {
  width: 72px;
  height: 2px;
  border: 0;
  border-radius: 0;
  background: var(--green-strong);
}

.article-layout {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 62px);
  padding-block: 90px 120px;
}

.contents {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 10px;
  color: var(--muted);
  border-left: 1px solid var(--line);
}

.contents-title {
  margin-bottom: 8px;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
  writing-mode: vertical-rl;
}

.contents a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: .7rem;
  font-weight: 800;
  border-radius: 50%;
  transition: color .2s, background .2s;
}

.contents a:hover,
.contents a:focus-visible { color: #fff; background: var(--blue-strong); }

.article { display: grid; gap: 26px; }

.content-section {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 58px);
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgb(70 98 81 / .13);
  border-radius: 32px;
  box-shadow: 0 20px 60px rgb(42 69 54 / .07);
}

.green-section { background: rgb(225 237 221 / .82); }
.blue-section { background: rgb(220 238 243 / .84); }
.neutral-section { background: rgb(250 251 249 / .88); }

.section-number {
  align-self: start;
  margin: 5px 0 0;
  color: var(--green-strong);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.blue-section .section-number { color: var(--blue-strong); }
.section-content { max-width: 790px; }

.section-content h2 {
  margin: 0 0 30px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.section-content p { margin: 0 0 1.25em; }
.section-content p:last-child { margin-bottom: 0; }

.section-content ul {
  display: grid;
  gap: 8px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.section-content li { position: relative; padding-left: 30px; }

.section-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 14px;
  height: 3px;
  background: var(--blue-strong);
}

.signal-path {
  overflow-x: auto;
  margin-bottom: 30px !important;
  padding: 18px 20px;
  color: #fff;
  background: var(--ink);
  border-radius: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .86rem;
  white-space: nowrap;
}

.project-image { margin: 34px 0 38px; }

.thumbnail-button {
  position: relative;
  display: block;
  width: min(100%, 430px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 15px 36px rgb(35 64 49 / .18);
  cursor: zoom-in;
}

.thumbnail-button img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .25s;
}

.thumbnail-button:hover img,
.thumbnail-button:focus-visible img { transform: scale(1.025); }

.thumbnail-button span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgb(20 25 22 / .9);
  border-radius: 50%;
  font-weight: 800;
}

.lightbox {
  width: min(94vw, 1400px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 20px;
  background: transparent;
}

.lightbox::backdrop { background: rgb(10 15 12 / .9); backdrop-filter: blur(8px); }

.lightbox img {
  display: block;
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 20px;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgb(20 25 22 / .9);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.site-footer {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 50px clamp(24px, 7vw, 120px);
  color: #dce6df;
  background: var(--black);
}

.site-footer strong { color: #fff; font-size: 1.1rem; letter-spacing: .12em; }
.site-footer > div { display: flex; flex-direction: column; }

.site-footer a {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section-shell { width: min(100% - 28px, 720px); }

  .intro {
    min-height: 590px;
    align-items: end;
    padding: calc(var(--header-height) + 78px) 18px 50px;
    border-radius: 0 0 28px 28px;
  }

  .intro-copy,
  .intro-lead { width: 100%; max-width: none; }

  .intro::before { width: 300px; height: 180px; right: -80px; top: 120px; }
  .intro::after { width: 210px; height: 120px; right: -10px; top: 150px; }

  .map-coordinate { top: calc(var(--header-height) + 20px); right: 22px; }

  .intro h1 {
    margin-top: 14px;
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .route-mark, .contents { display: none; }
  .article-layout { display: block; padding-block: 38px 70px; }
  .article { gap: 16px; }

  .content-section {
    display: block;
    padding: 28px 22px 32px;
    border-radius: 24px;
  }

  .section-number { margin-bottom: 12px; }

  .section-content h2 {
    margin-bottom: 24px;
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .signal-path { margin-inline: -8px; font-size: .76rem; }
  .thumbnail-button { width: 100%; }

  .site-footer {
    min-height: 160px;
    align-items: flex-start;
    flex-direction: column;
    padding: 42px 24px;
  }
}

@media (max-width: 760px) and (orientation: landscape) {
  .intro {
    min-height: 0;
    padding-top: calc(var(--header-height) + 42px);
    padding-bottom: 38px;
  }

  .intro h1 {
    margin-bottom: 18px;
    font-size: clamp(2.5rem, 8.5vw, 3.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Funk – einfach erklärt */
:root { --ink:#3b3530; --muted:#776c60; --paper:#fcfaf5; --blue-strong:#976039; --line:#e6daca; }
body { background:var(--paper); }
main { position:relative; isolation:isolate; overflow:hidden; }
.radio-decoration { position:absolute; z-index:-1; inset:0; pointer-events:none; background:repeating-radial-gradient(circle at calc(100% - 112px) 210px,transparent 0 164px, rgb(158 113 68 / .09) 165px 166px,transparent 167px 214px); }
.transmitter { position:absolute; top:186px; right:64px; width:96px; height:120px; color:#a77d55; opacity:.5; }
.intro { min-height:470px; padding:calc(var(--header-height) + 90px) clamp(28px,7vw,98px) 70px; border:0; border-radius:0; background:transparent; }
.intro::before,.intro::after { display:none; }
.intro h1 { font-size:clamp(3rem,6.6vw,6rem); line-height:1.02; margin:22px 0 0; }
.intro-label { max-width:640px; line-height:1.8; }
.article-layout { padding-top:18px; gap:32px; grid-template-columns:60px minmax(0,1fr); }
.contents { border:0; padding:20px 0; gap:7px; }
.contents-title { writing-mode:horizontal-tb; font-size:.6rem; }
.article { gap:26px; }
.content-section { display:block; border:0; box-shadow:none; padding:clamp(28px,4.8vw,62px); border-radius:28px; }
.neutral-section { background:rgb(255 255 255 / .78); }
.blue-section { background:rgb(247 236 216 / .83); }
.green-section { background:rgb(246 240 229 / .85); }
.section-content { max-width:900px; margin-inline:auto; }
.section-content h2 { font-size:clamp(1.7rem,3.1vw,2.6rem); line-height:1.15; margin-bottom:25px; }
.original-text,.original-title { white-space:pre-wrap; }
.frequency-figure { margin:32px 0 0; }
.frequency-figure img { display:block; width:100%; height:auto; border-radius:12px; }
.frequency-figure a { display:block; cursor:zoom-in; }
.table-scroll { overflow-x:auto; max-width:100%; margin-top:28px; border:1px solid #dfd0ba; border-radius:14px; background:#ffffffd9; }
table { border-collapse:collapse; width:100%; text-align:left; font-size:.88rem; line-height:1.55; }
caption { text-align:left; padding:17px 20px; font-weight:700; color:var(--blue-strong); }
th,td { padding:16px 20px; vertical-align:top; border-top:1px solid #e8ddcc; }
thead { background:#f3e8d5; font-size:.8rem; }
tbody th { font-weight:700; min-width:140px; }
tbody tr:nth-child(even) { background:#fcf8f0; }
.frequency-details { margin-top:20px; }
.frequency-details summary { display:flex; align-items:center; gap:12px; width:fit-content; cursor:pointer; padding:12px 18px; color:#85512e; border:1px solid #cdb18c; border-radius:10px; font-size:.9rem; font-weight:700; background:#ffffff99; list-style:none; }
.frequency-details summary::-webkit-details-marker { display:none; }
.frequency-details summary::before { content:'+'; font-size:1.4rem; line-height:1; }
.frequency-details[open] summary::before { content:'−'; }
.show-less,.frequency-details[open] .show-all { display:none; }
.frequency-details[open] .show-less { display:inline; }
.frequency-details .table-scroll { margin-top:16px; }
.frequency-details table { min-width:820px; }
a:focus-visible,summary:focus-visible,.table-scroll:focus-visible { outline:3px solid #986239; outline-offset:5px; }
@media(max-width:760px) {
  .intro { min-height:390px; padding:calc(var(--header-height) + 90px) 14px 50px; }
  .intro-label { max-width:260px; font-size:.65rem; }
  .intro h1 { font-size:clamp(2.8rem,11vw,4rem); }
  .article-layout { padding-top:8px; }
  .content-section { padding:28px 22px 32px; border-radius:22px; }
  .radio-decoration { background:repeating-radial-gradient(circle at calc(100% - 40px) 170px,transparent 0 112px,rgb(158 113 68 / .09) 113px 114px,transparent 115px 160px); }
  .transmitter { top:148px; right:8px; width:64px; height:80px; opacity:.35; }
  table { min-width:560px; font-size:.82rem; }
  th,td { padding:12px 14px; }
  .section-content h2 { overflow-wrap:anywhere; }
}

/* Keep intrinsic image and table widths inside the article column. */
.article { min-width:0; grid-template-columns:minmax(0,1fr); }
.content-section,.section-content,.frequency-details,.table-scroll { min-width:0; }
.section-content { width:100%; }
.section-content p,.section-content h2 { overflow-wrap:anywhere; }
.frequency-figure { min-width:0; max-width:100%; }
.frequency-details summary { max-width:100%; }
@media(max-width:760px) {
  .section-shell { width:calc(100% - 28px); max-width:720px; }
  .article-layout { display:block; }
}
