/* Aufwind – Privater Wetterdienst · Stylesheet
   Keine externen Schriften, keine externen Anfragen, keine Cookies. */

:root {
  --ink: #12335b;        /* Föhnhimmel: Überschriften, Fließtext-Akzente */
  --night: #0c2644;      /* tiefes Blau: Footer, Kontaktband */
  --blue: #2a6aab;       /* Links */
  --sky: #bbd6ee;        /* Dunstblau: Linien, Hervorhebungen */
  --mist: #eef4fa;       /* Hintergrund abgesetzter Bereiche */
  --line: #d6e3f0;       /* Haarlinien */
  --text: #1d2b3a;
  --muted: #51647a;
  --sun: #f3b63f;        /* einziger Warmton: aktive Menüpunkte, ein Zitat */
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", "Iowan Old Style", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  background: #fff; color: var(--ink); padding: 0.6rem 1rem; border-radius: 6px;
}
.skip:focus { top: 1rem; }

/* ---------- Kopfbereich ---------- */
.masthead {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(162deg, #0b2a4d 0%, #1b5690 55%, #3f7db8 100%);
}
.wind { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wind path { fill: none; stroke: #fff; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .wind path { animation: draw 2.6s cubic-bezier(.2,.6,.2,1) both; }
  .wind path:nth-child(2) { animation-delay: .15s; }
  .wind path:nth-child(3) { animation-delay: .3s; }
  .wind path:nth-child(4) { animation-delay: .45s; }
  .wind path:nth-child(5) { animation-delay: .6s; }
  .wind path:nth-child(6) { animation-delay: .75s; }
  .wind path:nth-child(7) { animation-delay: .9s; }
}
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.site-header {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.4rem;
}
.brand { color: #fff; text-decoration: none; display: block; line-height: 1.1; }
.brand-name {
  display: block;
  font-family: var(--serif); font-weight: 400;
  font-size: 1.9rem; letter-spacing: 0.2em;
}
.brand-sub { display: block; margin-top: 0.3rem; font-size: 0.84rem; letter-spacing: 0.07em; color: var(--sky); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1.45rem; }
.nav a {
  display: block; padding: 0.45rem 0.1rem;
  color: #fff; text-decoration: none; font-size: 0.97rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: #fff; border-bottom-color: var(--sky); }
.nav a[aria-current="page"] { border-bottom-color: var(--sun); }

.nav-toggle {
  display: none;
  font: inherit; font-size: 0.95rem; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.45);
  border-radius: 6px; padding: 0.5rem 1rem; cursor: pointer;
}

.hero { position: relative; z-index: 2; padding-block: 1.4rem 2.6rem; }
.hero h1 {
  margin: 0; max-width: 28ch;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.65rem, 3.3vw, 2.55rem); line-height: 1.12; letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero p { margin: 0.8rem 0 0; max-width: 56rem; font-size: 1.05rem; line-height: 1.5; color: #e4effa; }
.hero .actions { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero--slim { padding-block: 1.2rem 3rem; }
.hero--slim h1 { max-width: 24ch; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; }

.btn {
  display: inline-block; padding: 0.8rem 1.4rem; border-radius: 6px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  background: #fff; color: var(--ink); border: 2px solid #fff;
}
.btn:hover { background: var(--mist); color: var(--ink); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Inhalte ---------- */
main { display: block; }
.section { padding-block: 4rem; }
.section--tint { background: var(--mist); }
.section h2, .prose h2 {
  margin: 0 0 0.9rem;
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2;
}
.section h3, .prose h3 { margin: 1.8rem 0 0.7rem; font-size: 1.05rem; color: var(--ink); }

.prose { max-width: 68ch; }
.section--intro { padding-bottom: 1rem; }
.prose p { margin: 0 0 1.1em; }
.lead {
  font-family: var(--serif); color: var(--ink);
  font-size: clamp(1.35rem, 2.3vw, 1.75rem); line-height: 1.4;
  max-width: 34em; margin: 0 0 2rem;
}
.statement {
  margin: 2rem 0; padding: 0.2rem 0 0.2rem 1.4rem;
  border-left: 4px solid var(--sun);
  font-family: var(--serif); font-size: 1.55rem; line-height: 1.35; color: var(--ink);
}
.muted { color: var(--muted); font-size: 0.95rem; }
.byline { color: var(--muted); font-size: 0.95rem; margin-top: 2rem; }

.ticks { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.ticks li { position: relative; padding: 0.35rem 0 0.35rem 2.2rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.95em; width: 1.5rem; height: 0.6rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath d='M1 8 C7 8 9 2 15 3 S21 5 23 2' fill='none' stroke='%232a6aab' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.split { display: grid; gap: 3rem; }
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 0; }
  .split > :first-child { padding-right: 3.5rem; border-right: 1px solid var(--line); }
  .split > :last-child { padding-left: 3.5rem; }
}
.more { display: inline-block; margin-top: 0.4rem; font-weight: 600; }

.two { display: grid; gap: 2.5rem 4rem; align-items: start; }
@media (min-width: 900px) { .two { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.aside { background: var(--mist); border-radius: 8px; padding: 1.6rem 1.7rem; }
.aside h2 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; margin-bottom: 0.6rem; }
.aside .ticks { margin-bottom: 1.8rem; }

.files { list-style: none; margin: 0; padding: 0; }
.files li + li { margin-top: 0.5rem; }
.files a {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.75rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 6px;
  color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.35;
}
.files a::before {
  content: "PDF"; flex: none; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  color: #fff; background: var(--blue); border-radius: 4px; padding: 0.25rem 0.45rem;
}
.files a:hover { border-color: var(--blue); }

.callout {
  display: inline-block; margin-top: 1rem;
  font-family: var(--serif); font-size: 1.5rem; color: var(--ink);
  padding: 0.9rem 1.4rem; border: 2px solid var(--sky); border-radius: 8px; text-decoration: none;
}
.callout:hover { border-color: var(--blue); background: var(--mist); }

/* Kundenlisten */
.tabs { display: flex; flex-wrap: wrap; gap: 0.3rem 1.8rem; margin: 0 0 2.2rem; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.tabs a {
  display: block; padding: 0.7rem 0.1rem; margin-bottom: -1px;
  color: var(--muted); text-decoration: none; font-weight: 600;
  border-bottom: 3px solid transparent;
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--sun); }

.logos {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.logos > li { background: #fff; display: flex; }
.logos .item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0.9rem;
  padding: 1.6rem 1rem 1.3rem; text-align: center; text-decoration: none; color: var(--text);
}
.logos .imgbox { min-height: 104px; display: flex; align-items: center; justify-content: center; }
.logos img { display: block; max-width: 100%; height: auto; }
.logos .name { font-size: 0.95rem; line-height: 1.35; }
a.item:hover { background: var(--mist); color: var(--ink); }
a.item .name { text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 0.2em; }

.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.6rem 2.8rem; margin: 2.2rem 0; padding: 0; list-style: none; }
.logo-strip img { display: block; }
.linkrow { display: flex; flex-wrap: wrap; gap: 0.5rem 1.8rem; font-weight: 600; }

/* Wetterbilder / Texte */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 1.6rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.gallery a { display: block; text-decoration: none; color: var(--ink); }
.gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.gallery .cap { display: block; margin-top: 0.7rem; font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; }
.gallery a:hover .cap { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

.rows { list-style: none; margin: 0; padding: 0; max-width: 46rem; }
.rows li { border-bottom: 1px solid var(--line); }
.rows li:first-child { border-top: 1px solid var(--line); }
.rows a { display: flex; align-items: center; gap: 1.4rem; padding: 1.1rem 0.3rem; text-decoration: none; color: var(--ink); }
.rows img { flex: none; display: block; border-radius: 4px; }
.rows .cap { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }
.rows a:hover { background: var(--mist); }

.article { display: grid; gap: 2rem 3.5rem; align-items: start; }
.article > * { min-width: 0; }
@media (min-width: 900px) {
  .article--pic { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .article--pic .text { order: 1; }
  .article--pic figure { order: 2; position: sticky; top: 1.5rem; align-self: start; }
}
.article figure { margin: 0; }
.article figure img { display: block; width: 100%; height: auto; border-radius: 6px; }
.article .text p { margin: 0 0 1.1em; }
.article .text .small { color: var(--muted); font-size: 0.95rem; }
.article .text h2 { margin: 0 0 1rem; }

.long { font-size: 1.0625rem; line-height: 1.72; }
.long blockquote {
  margin: 1.1rem 0 1.1rem; padding: 0.1rem 0 0.1rem 1.2rem;
  border-left: 3px solid var(--sky);
  font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: var(--ink);
}
.long blockquote span { display: block; }
.long .sub { margin: 2rem 0 0.8rem; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; color: var(--ink); }

.pager {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: start;
  margin-top: 3.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.pager a { display: block; text-decoration: none; color: var(--ink); padding: 0.2rem 0; }
.pager .dir { display: block; font-size: 0.85rem; color: var(--muted); }
.pager .ttl { display: block; font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; }
.pager a:hover .ttl { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
.pager .next { text-align: right; grid-column: 3; }
.pager .prev { grid-column: 1; }
.pager .mid { grid-column: 2; text-align: center; align-self: center; font-weight: 600; font-size: 0.95rem; }

/* Kontakt */
.contact { font-style: normal; display: grid; gap: 1.6rem; }
.contact .block { padding-left: 1.2rem; border-left: 3px solid var(--sky); }
.contact .block p { margin: 0; }
.contact .big { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); line-height: 1.35; }
.contact a { font-weight: 600; }
.phones { list-style: none; margin: 0; padding: 0; }
.phones li { padding: 0.15rem 0; }

.band { background: var(--night); color: #dfeaf6; padding-block: 2.6rem; }
.band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 1rem; color: #fff; }
.band a { color: #fff; font-weight: 600; }
.band a:hover { color: var(--sky); }
.band .phones { display: flex; flex-wrap: wrap; gap: 0.2rem 2rem; margin: 0.6rem 0 0; }

.site-footer { background: var(--night); color: var(--sky); font-size: 0.9rem; padding-block: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); }
.band + .site-footer { border-top: 1px solid rgba(255,255,255,.12); }
.site-footer p { margin: 0; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 860px) {
  .hero { padding-block: 1rem 2.2rem; }
  .hero--slim { padding-block: 0.8rem 2.2rem; }
  .section { padding-block: 3rem; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager .mid { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .pager .prev { grid-column: 1; grid-row: 1; }
  .pager .next { grid-column: 2; grid-row: 1; }
}
@media print {
  .masthead { background: none; color: #000; }
  .wind, .nav, .nav-toggle, .hero .actions { display: none; }
  .brand, .hero h1, .hero p { color: #000; }
}

/* ---------- Menü einklappen ---------- */
@media (max-width: 1000px) {
  .site-header { flex-wrap: wrap; padding-block: 1.1rem; }
  .brand-name { font-size: 1.6rem; }
  .nav-toggle { display: inline-block; }
  .nav { flex-basis: 100%; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 0.75rem 0.2rem; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 1.05rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--sun); }
  .js .nav { display: none; padding-bottom: 0.6rem; }
  .js .nav.open { display: block; }
}

/* ---------- Schaltfläche auf hellem Grund ---------- */
.btn--solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--solid:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Wetterbilder: Mosaik ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.75rem; }
.card { grid-column: span 12; display: flex; flex-direction: column; gap: 0.9rem; padding-bottom: 3rem; scroll-margin-top: 1.5rem; }
.card-title {
  margin: 0; font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: 1.45rem; line-height: 1.25; text-wrap: balance;
}
.card-fig { margin: 0; }
.card-fig a { display: block; border-radius: 6px; overflow: hidden; background: var(--mist); }
.card-fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
@media (prefers-reduced-motion: no-preference) { .card-fig a:hover img { transform: scale(1.025); } }
.card-text p { margin: 0 0 0.8em; font-size: 0.98rem; line-height: 1.6; }
.card-text .small { color: var(--muted); font-size: 0.88rem; }
.card-text:empty { display: none; }

@media (min-width: 761px) {
  .card--4 { grid-column: span 6; }
  .card--5, .card--6, .card--7 { grid-column: span 12; }
}
@media (min-width: 981px) {
  .card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0.9rem; }
  .card-text:empty { display: block; }
  .card--12 { grid-column: span 12; }
  .card--7 { grid-column: span 7; }
  .card--6 { grid-column: span 6; }
  .card--5 { grid-column: span 5; }
  .card--4 { grid-column: span 4; }
  .card--7 .card-fig img, .card--5 .card-fig img, .card--6 .card-fig img { height: 360px; aspect-ratio: auto; }
  .card--4 .card-fig img { height: 250px; aspect-ratio: auto; }
}

/* ---------- Texte: Übersicht ---------- */
.feats { display: grid; gap: 2.5rem 2rem; margin-bottom: 3.2rem; }
@media (min-width: 761px) { .feats { grid-template-columns: 1fr 1fr; } }
.feat { display: flex; flex-direction: column; gap: 0.8rem; text-decoration: none; color: var(--text); }
.feat-img { display: block; height: 300px; border-radius: 8px; overflow: hidden; background: var(--mist); }
.feat-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feat-img--contain { background: #fff; border: 1px solid var(--line); }
.feat-img--contain img { object-fit: contain; padding: 0.6rem; }
@media (prefers-reduced-motion: no-preference) { .feat:hover .feat-img:not(.feat-img--contain) img { transform: scale(1.03); } }
.feat-title { font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; color: var(--ink); }
.feat:hover .feat-title { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.feat-tease { max-width: 52ch; color: var(--muted); }

.essays { list-style: none; margin: 0; padding: 0; }
.essays li { border-top: 1px solid var(--line); }
.essays li:last-child { border-bottom: 1px solid var(--line); }
.essays a { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; padding: 1.8rem 0; text-decoration: none; color: var(--text); }
.essays a > img { flex: none; border-radius: 6px; margin-top: 0.3rem; }
.ess-main { display: block; max-width: 62ch; }
.ess-title { display: block; font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.22; color: var(--ink); }
.essays a:hover .ess-title { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.ess-tease { display: block; margin-top: 0.6rem; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; margin: 0.8rem 0 0; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 640px) { .essays a > img { display: none; } .feat-img { height: 220px; } }

.long > .meta { margin: 0 0 1.6rem; }
.long > p:nth-of-type(2) { font-family: var(--serif); font-size: 1.3rem; line-height: 1.55; color: var(--ink); }

/* ---------- Dreiklang Information / Unterhaltung / Werbung ---------- */
.trio { display: grid; gap: 1.6rem 2.2rem; margin: 2.2rem 0 2rem; }
@media (min-width: 761px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio > div { border-top: 3px solid var(--sky); padding-top: 0.9rem; }
.trio .trio-ad { border-top-color: var(--sun); }
.trio h3 { margin: 0 0 0.4rem; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--ink); }
.trio p { margin: 0; }

/* ---------- Wetterwissen: einheitliche Karten ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.8rem 1.75rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cardlink { display: flex; flex-direction: column; gap: 0.7rem; height: 100%; text-decoration: none; color: var(--text); }
.thumb { display: block; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--mist); }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.thumb--contain { background: #fff; border: 1px solid var(--line); }
.thumb--contain img { object-fit: contain; padding: 0.5rem; }
@media (prefers-reduced-motion: no-preference) { .cardlink:hover .thumb:not(.thumb--contain) img { transform: scale(1.03); } }
.ctitle { font-family: var(--serif); font-size: 1.5rem; line-height: 1.22; color: var(--ink); text-wrap: balance; }
.cardlink:hover .ctitle { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.ctease { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cardlink .meta { margin-top: auto; padding-top: 0.2rem; }
.article .text.long > .meta { margin: 0 0 1.6rem; }

/* ---------- Fußzeile mit Logo ---------- */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.foot-logo { display: block; line-height: 0; }
.foot-logo img { display: block; width: 280px; height: auto; }
.foot-logo:focus-visible { outline-offset: 4px; }

/* ---------- Logo im Kopf ---------- */
.brand img { display: block; width: 230px; height: auto; }
@media (max-width: 1000px) { .brand img { width: 190px; } }

/* ---------- Bilderserie im Mosaik ---------- */
.series { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 761px) { .series { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.series figure { margin: 0; }
.series img { aspect-ratio: 3 / 2; height: auto; }
.series figcaption { margin-top: 0.45rem; font-size: 0.88rem; color: var(--muted); }

/* ---------- Bildband auf der Startseite ---------- */
.band-photos { padding-block: 3rem 2.4rem; }
.photo-band { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 641px) { .photo-band { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 981px) { .photo-band { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.photo-band a { display: block; color: var(--ink); text-decoration: none; }
.photo-band img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.photo-band span { display: block; margin-top: 0.4rem; font-size: 0.88rem; line-height: 1.3; color: var(--muted); }
.photo-band a:hover span { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.photo-band-more { margin: 1.2rem 0 0; font-weight: 600; }

/* ---------- Logo mit Unterzeile als echter Text (scharf in jeder Größe) ---------- */
@font-face { font-family: "Poppins Aufwind"; src: url("fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: block; }
@font-face { font-family: "Poppins Aufwind"; src: url("fonts/poppins-light-aufwind.woff") format("woff"); font-weight: 300; font-style: normal; font-display: block; }
.logo-lockup { position: relative; display: block; width: var(--logo-w, 250px); line-height: 0; }
.brand .logo-lockup img, .foot-logo .logo-lockup img { display: block; width: 100%; height: auto; }
.logo-sub {
  position: absolute; right: 15.16%; top: calc(64.6% - 0.85em); margin-right: -0.1em;
  font-family: "Poppins Aufwind", var(--sans); font-weight: 400;
  font-size: calc(var(--logo-w, 250px) * 28 / 640); letter-spacing: 0.1em; line-height: 1;
  color: #d3e6f7; white-space: nowrap;
}
.brand .logo-lockup { --logo-w: 250px; }
@media (max-width: 1000px) { .brand .logo-lockup { --logo-w: 210px; } }
.foot-logo .logo-lockup { --logo-w: 300px; }

/* ---------- Panorama-Streifen auf der Startseite ---------- */
.photo-strip { position: relative; display: block; color: #fff; text-decoration: none; overflow: hidden; background: var(--night); }
.photo-strip img { display: block; width: 100%; height: clamp(200px, 29.8vw, 460px); object-fit: cover; object-position: 50% 45%; transition: transform .8s ease; }
@media (prefers-reduced-motion: no-preference) { .photo-strip:hover img { transform: scale(1.015); } }
.photo-strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(to top, rgba(8,27,50,.8), rgba(8,27,50,0)); pointer-events: none; }
.photo-cap { position: absolute; z-index: 1; left: max(1.25rem, calc((100% - var(--wrap)) / 2)); right: 1.25rem; bottom: 1.2rem; display: flex; flex-direction: column; gap: 0.15rem; }
.photo-title { font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.6rem); line-height: 1.2; }
.photo-more { font-size: 0.92rem; color: #e4effa; }
.photo-strip:hover .photo-more { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

/* Bildband: sechs Bilder in Inhaltsbreite; auf dem Handy seitlich wischen */
@media (max-width: 640px) {
  .band-photos .photo-band { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.4rem; }
  .band-photos .photo-band li { flex: 0 0 44vw; scroll-snap-align: start; }
}

/* ---------- Titelbild der Seite Wetterbilder ---------- */
.page-banner { position: relative; margin: 0; overflow: hidden; background: var(--night); }
.page-banner img { display: block; width: 100%; height: clamp(200px, 29.8vw, 460px); object-fit: cover; object-position: 50% 45%; }
.page-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: linear-gradient(to top, rgba(8,27,50,.75), rgba(8,27,50,0)); pointer-events: none; }
.page-banner figcaption { position: absolute; z-index: 1; left: max(1.25rem, calc((100% - var(--wrap)) / 2)); right: 1.25rem; bottom: 1rem; color: #fff; font-size: 0.92rem; }

.page-banner .banner-title {
  position: absolute; z-index: 1; margin: 0;
  left: max(1.25rem, calc((100% - var(--wrap)) / 2)); right: 1.25rem; bottom: 1.1rem;
  font-family: var(--serif); font-weight: 400; color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12;
  text-shadow: 0 1px 14px rgba(0,0,0,.35);
}

.logo-word {
  position: absolute; left: 0.94%; top: calc(47.8% - 0.85em);
  font-family: "Poppins Aufwind", var(--sans); font-weight: 300;
  font-size: calc(var(--logo-w, 250px) * 104 / 640); letter-spacing: 0.2em; line-height: 1;
  color: #fff; white-space: nowrap; font-kerning: none;
}
.logo-sub { font-kerning: none; }

/* Startseite: Panorama als schmaler Bildstreifen direkt unter dem Kopf */
.page-banner--home img { height: clamp(150px, 20vw, 300px); object-position: 50% 62%; }
.page-banner--home::after { display: none; }
.wind path:nth-child(8) { animation-delay: 1.05s; }
.wind path:nth-child(9) { animation-delay: 1.2s; }
.wind path:nth-child(10) { animation-delay: 1.35s; }

/* Startseite: Slogan in einem zweiten blauen Band unter dem Panorama */
.slogan-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(100deg, #0b2a4d 0%, #1b5690 60%, #3f7db8 100%); padding-block: 2rem 2.3rem; }
.slogan-band .wrap { position: relative; z-index: 2; }
.slogan-band h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.slogan-band p { margin: 0.6rem 0 0; font-size: 1.05rem; line-height: 1.5; color: #e4effa; }
@media (max-width: 860px) { .slogan-band { padding-block: 1.5rem 1.8rem; } }

/* Startseite: Slogan kompakt im blauen Kopf, ohne Schaltflächen */
.hero--home { padding-block: 1.4rem 2.6rem; }
.hero--home h1 { max-width: none; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.14; }
.hero--home p { margin-top: 0.9rem; max-width: none; font-size: 1.1rem; }
@media (max-width: 860px) { .hero--home { padding-block: 0.8rem 2rem; } }

/* Startseite: Windlinien hinter dem Slogan dezenter */
.masthead--home .wind { opacity: 0.55; }

.photo-credit { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--muted); }

/* ---------- Wetterbilder: abgerundete Ecken überall ---------- */
.card-fig a { isolation: isolate; }
.card-fig img, .series img { border-radius: 6px; }

/* ---------- Bildansicht (Lightbox) ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; overflow: hidden; }
.lightbox::backdrop { background: rgba(5, 16, 30, 0.9); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; max-width: 92vw; }
.lb-fig img { display: block; max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 8px 40px rgba(0,0,0,.45); }
.lb-cap { color: #e4effa; font-size: 0.95rem; text-align: center; }
.lb-btn {
  position: fixed; z-index: 2; display: grid; place-items: center;
  width: 2.8rem; height: 2.8rem; border-radius: 50%; cursor: pointer;
  font: 400 1.8rem/1 var(--sans); color: #fff;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4);
}
.lb-btn:hover { background: rgba(255,255,255,.26); }
.lb-close { top: max(1rem, env(safe-area-inset-top)); right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 1.2rem; transform: none; } }

/* ---------- Slogans (Nov. 2026) ---------- */

/* „Unterhaltung, die Wissen schafft.“ als Unterzeile unter dem Seitentitel (Emailwetter, Homepagewetter, Wetterwissen) */
.hero-motto { font-style: italic; }

/* Wetterbilder: „Wetter ist immer schön …“ als Unterzeile im Panorama */
.page-banner .banner-cap {
  position: absolute; z-index: 1;
  left: max(1.25rem, calc((100% - var(--wrap)) / 2)); right: 1.25rem; bottom: 1.1rem;
}
.page-banner .banner-cap .banner-title { position: static; }
.banner-motto {
  margin: 0.35rem 0 0; color: #fff; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.35; text-shadow: 0 1px 10px rgba(0,0,0,.5);
}

/* Fußbereich: Impressum, Datenschutz und Copyright in einer Zeile */
.foot-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.foot-links a { color: #fff; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.foot-copy { color: inherit; }

/* ---------- Kompakter Kopfbereich (Nov. 2026) ---------- */
.site-header { padding-block: 1rem; }
.nav ul { gap: 0.2rem 1.1rem; }
.nav a { font-size: 0.95rem; }
.hero { padding-block: 0.4rem 1.9rem; }
.hero h1 { max-width: none; }
.hero p { margin-top: 0.55rem; }
.hero--slim { padding-block: 0.4rem 1.9rem; }
.hero--slim h1 { max-width: none; font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.hero--home { padding-block: 0.6rem 2rem; }
.hero--home h1 { font-size: clamp(1.32rem, 3.15vw, 2.45rem); text-wrap: wrap; }
@media (max-width: 600px) { .hero--home h1 { font-size: clamp(1.32rem, 5.9vw, 1.6rem); } }
.hero--home p { margin-top: 0.55rem; font-size: clamp(0.9rem, 1.6vw, 1.1rem); }
.nw { white-space: nowrap; }
@media (max-width: 1000px) { .site-header { padding-block: 0.9rem; } }
@media (max-width: 860px) {
  .hero, .hero--slim { padding-block: 0.3rem 1.5rem; }
  .hero--home { padding-block: 0.4rem 1.6rem; }
}
@media (min-width: 1001px) and (max-width: 1140px) {
  .nav ul { gap: 0.2rem 0.8rem; }
  .nav a { font-size: 0.9rem; }
  .brand .logo-lockup { --logo-w: 220px; }
}
/* Wetterbilder: auf schmalen Bildschirmen etwas höheres Panorama und kräftigerer Verlauf, damit Titel und Zitat lesbar bleiben */
.page-banner:has(.banner-cap)::after { height: 65%; }
@media (max-width: 700px) {
  .page-banner:has(.banner-cap) img { height: 280px; }
  .page-banner:has(.banner-cap)::after { height: 80%; background: linear-gradient(to top, rgba(8,27,50,.85), rgba(8,27,50,0)); }
}

/* Kopfbereich wieder etwas luftiger (Nov. 2026) */
.hero, .hero--slim { padding-block: 0.8rem 2.4rem; }
.hero--home { padding-block: 1.1rem 2.7rem; }
.hero--home p { margin-top: 0.7rem; }
@media (max-width: 860px) {
  .hero, .hero--slim { padding-block: 0.5rem 1.8rem; }
  .hero--home { padding-block: 0.7rem 2rem; }
}
