/* ==========================================================================
   ferienhauskroatien.at - Stylesheet
   Aufbau: 1 Tokens  2 Basis  3 Kopf/Navigation  4 Hero  5 Bausteine
           6 Artikel-Typografie  7 Fuss  8 Responsive
   ========================================================================== */

/* --------------------------------------------------------------- 1 Tokens */
:root {
  --ink:        #0f2733;
  --ink-soft:   #29414e;
  --sea:        #146680;
  --sea-deep:   #0c4a5f;
  --sea-pale:   #e4eff2;
  --pine:       #2f5c4f;
  --terra:      #bf5130;
  --terra-dark: #9d3f22;
  --terra-pale: #f7ebe5;
  --sand:       #f2ead9;
  --paper:      #fbf8f2;
  --white:      #ffffff;
  --line:       #ded6c6;
  --line-soft:  #ece5d8;
  --muted:      #5d6c74;

  --wrap: 1240px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(15, 39, 51, .06);
  --shadow-md: 0 12px 28px -18px rgba(15, 39, 51, .45);
  --shadow-lg: 0 30px 60px -32px rgba(15, 39, 51, .5);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  line-height: 1.14;
  letter-spacing: -.012em;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.7rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.02rem + .72vw, 1.55rem); }
h4 { font-size: 1.09rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1.15em; }

a { color: var(--sea-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--terra); }

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

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gap);
}

.eyebrow {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--terra);
  margin: 0 0 .7rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 5rem;
}
.eyebrow--plain::after { display: none; }
.eyebrow--light { color: #f0c9b8; }
.eyebrow--light::after { background: rgba(255,255,255,.3); }

.lead {
  font-size: clamp(1.1rem, 1.02rem + .4vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem; top: 1rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 3px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: .82rem 1.5rem;
  border-radius: 3px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn--primary { background: var(--terra); color: #fff; }
.btn--primary:hover { background: var(--terra-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); background: var(--paper); }

/* --------------------------------------------------- 3 Kopf / Navigation */
.utility {
  background: var(--ink);
  color: #c3d2d9;
  font-size: .8rem;
  letter-spacing: .02em;
}
.utility .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 38px;
}
.utility a { color: #e4edf1; text-decoration: none; }
.utility a:hover { color: #fff; text-decoration: underline; }
.utility ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.utility .utility__claim { opacity: .85; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: saturate(1.4) blur(8px);
}
.masthead .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
}

.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 48px; width: auto; display: block; }

.mainnav { margin-left: auto; }
.mainnav > ul {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mainnav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .96rem;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  display: inline-block;
}
.mainnav a:hover,
.mainnav li[aria-current] > a { color: var(--sea-deep); border-bottom-color: var(--terra); }

.has-sub { position: relative; }
.has-sub > a::after {
  content: "";
  display: inline-block;
  width: .38rem; height: .38rem;
  margin-left: .45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.submenu {
  position: absolute;
  top: calc(100% + .55rem);
  left: -1.1rem;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  padding: .55rem 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a {
  display: block;
  padding: .5rem 1.4rem;
  font-weight: 500;
  font-size: .94rem;
  border: 0;
}
.submenu a:hover { background: var(--paper); color: var(--terra); }
.submenu__head {
  padding: .55rem 1.4rem .3rem;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.submenu__head + li a { padding-top: .2rem; }

/* Burger-Schalter. Die drei Balken werden im geöffneten Zustand zum Kreuz:
   der mittlere blendet aus, die äußeren wandern zur Mitte und drehen sich. */
.navtoggle {
  display: none;
  position: relative;
  margin-left: auto;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
}
.navtoggle:hover { border-color: var(--ink); }
.navtoggle:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.navtoggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .15s ease;
}
.navtoggle span:nth-child(1) { top: 15px; }
.navtoggle span:nth-child(2) { top: 22px; }
.navtoggle span:nth-child(3) { top: 29px; }
.navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------- 4 Hero */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,28,38,.55) 0%, rgba(10,28,38,.2) 38%, rgba(10,28,38,.88) 100%);
}
.hero .wrap { position: relative; z-index: 2; }

.hero--home .wrap { padding-block: clamp(4.5rem, 12vw, 8.5rem) clamp(5.5rem, 10vw, 7.5rem); max-width: 1240px; }
.hero--home h1 { color: #fff; max-width: 21ch; text-wrap: balance; }
.hero--home .lead { color: #dfe8ec; max-width: 52ch; margin-top: 1.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }

.hero--page .wrap { padding-block: clamp(3.5rem, 9vw, 6rem) clamp(2.5rem, 6vw, 4rem); }
.hero--page h1 { color: #fff; max-width: 20ch; }
.hero--page .lead { color: #dbe6ea; max-width: 60ch; margin-top: 1.2rem; }
.hero--page .hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.9rem;
}
.hero__meta span {
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 2px;
  padding: .32rem .8rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: #eef4f6;
}

/* Brotkrumen */
.breadcrumb { position: relative; z-index: 2; font-size: .84rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0 0 1.6rem; padding: 0; }
.breadcrumb li::after { content: "/"; margin-left: .45rem; opacity: .5; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li[aria-current] { color: rgba(255,255,255,.65); }

/* Suchleiste, ueberlappt den Hero */
.finder {
  position: relative;
  z-index: 5;
  margin-top: -3.4rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--terra);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem clamp(1.2rem, 3vw, 2rem);
}
.finder__title {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
.finder__row { display: grid; grid-template-columns: 2fr 1.4fr 1.4fr auto; gap: 1rem; align-items: end; }
.field label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: .38rem;
}
.field select {
  width: 100%;
  font: inherit;
  font-size: .97rem;
  padding: .74rem .85rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d6c74' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 12px;
}
.field select:focus { outline: 2px solid var(--sea); outline-offset: 1px; }
.finder .btn { justify-content: center; padding-block: .82rem; }

/* ------------------------------------------------------------ 5 Bausteine */
.section { padding-block: clamp(3.2rem, 7vw, 5.6rem); }
.section--paper { background: var(--paper); }
.section--sand  { background: var(--sand); }
.section--ink   { background: var(--ink); color: #e7eef1; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink a { color: #ffd9c9; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .lead { margin-top: .9rem; }
/* Zweispaltiger Kopf: Überschrift links, einordnender Absatz rechts.
   Beide Spalten oben ausgerichtet - der Absatz bekommt die Höhe der Kopfzeile
   als Versatz, damit seine erste Zeile mit der Überschrift beginnt und nicht
   darüber im Leeren steht. */
.section-head--wide {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: 2.5rem;
  align-items: start;
}
.section-head--wide > .lead { padding-top: 1.95rem; }

/* Kartenraster */
.cardgrid { display: grid; gap: 1.5rem; }
.cardgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cardgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cardgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: var(--line); transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--sea-pale); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__flag {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--ink);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .34rem .75rem;
}
.card__body { padding: 1.25rem 1.35rem 1.45rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .55rem; }
.card__body p { font-size: .96rem; color: var(--ink-soft); margin-bottom: 1rem; }
.card__facts {
  list-style: none;
  margin: auto 0 0;
  padding: .9rem 0 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .9rem;
  font-size: .82rem;
  color: var(--muted);
}
.card__facts li { display: flex; align-items: center; gap: .38rem; }
.card__facts li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--terra); }
.card__more {
  margin-top: 1rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--sea-deep);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.card:hover .card__more { color: var(--terra); }
.card__more::after { content: "\2192"; transition: transform .2s ease; }
.card:hover .card__more::after { transform: translateX(3px); }

/* Kompakte Linkliste statt Karte */
.linklist { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 2.5rem; }
.linklist li { break-inside: avoid; border-bottom: 1px solid var(--line-soft); }
.linklist a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .72rem 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.linklist a span { font-weight: 400; font-size: .84rem; color: var(--muted); }
.linklist a:hover { color: var(--terra); }

/* Zahlenreihe */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.figures div { background: var(--white); padding: 1.6rem 1.4rem; }
.section--paper .figures div { background: var(--paper); }
.figures dt { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.figures dd { margin: .5rem 0 0; font-family: var(--serif); font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.3rem); line-height: 1; color: var(--sea-deep); }
.figures small { display: block; margin-top: .55rem; font-size: .85rem; color: var(--ink-soft); line-height: 1.5; }

/* Aufrufband */
.band {
  background: var(--sea-deep);
  color: #fff;
  padding-block: clamp(2.6rem, 5vw, 3.8rem);
}
.band .wrap { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2rem; align-items: center; }
.band h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.band p { margin: .7rem 0 0; color: #cfe2e9; max-width: 62ch; }

/* ------------------------------------------------- 6 Artikel-Typografie */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding-block: clamp(2.8rem, 6vw, 4.5rem);
}

.prose { max-width: none; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  margin-top: 2.6em;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.prose > h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { margin-top: 2em; }
.prose h2 + p, .prose h3 + p { margin-top: .8em; }
.prose p { max-width: 78ch; }
.prose ul, .prose ol { max-width: 78ch; padding-left: 1.3rem; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--terra); }
.prose strong { font-weight: 700; color: var(--ink); }

.prose__intro { font-size: 1.16rem; line-height: 1.66; color: var(--ink-soft); max-width: 72ch; }
.prose__intro strong { color: var(--ink); }

/* Bilder im Artikel */
.prose figure { margin: 2.4rem 0; }
.prose figure img {
  width: 100%;
  border-radius: 4px;
  background: var(--sea-pale);
}
.prose figcaption {
  font-size: .87rem;
  line-height: 1.5;
  color: var(--muted);
  padding-top: .65rem;
  border-top: 1px solid var(--line-soft);
  margin-top: .7rem;
  max-width: 70ch;
}
.prose figcaption b {
  color: var(--ink);
  font-weight: 700;
}

/* Zwei Bilder nebeneinander */
.figpair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin: 2.4rem 0;
}
.figpair figure { margin: 0; }

@media (max-width: 720px) {
  .figpair { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
}

.pull {
  border-left: 3px solid var(--terra);
  padding: .2rem 0 .2rem 1.5rem;
  margin-block: 2.2rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem);
  line-height: 1.4;
  color: var(--sea-deep);
  max-width: 46ch;
}

.note {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--sea);
  border-radius: 3px;
  padding: 1.3rem 1.5rem;
  margin-block: 2rem;
}
.note h4 { margin: 0 0 .5rem; color: var(--sea-deep); }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note--warn { border-left-color: var(--terra); background: var(--terra-pale); border-color: #eddcd3; }
.note--warn h4 { color: var(--terra-dark); }

.table-scroll { overflow-x: auto; margin-block: 2rem; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 520px;
}
table.data caption {
  text-align: left;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: .7rem;
}
table.data th, table.data td {
  text-align: left;
  padding: .72rem .9rem .72rem 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
table.data thead th {
  border-bottom: 2px solid var(--ink);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
table.data tbody tr:hover { background: var(--paper); }
table.data .num { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Aufzaehlung mit Ortsnamen */
.places { list-style: none; padding: 0; margin-block: 1.8rem; border-top: 1px solid var(--line); }
.places li { border-bottom: 1px solid var(--line-soft); padding: 1.05rem 0; display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 1.5rem; }
.places b { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.places span { display: block; font-size: .82rem; color: var(--muted); margin-top: .2rem; }
.places p { margin: 0; }

/* FAQ */
.faq { margin-block: 1.5rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer;
  padding: 1.05rem 2.5rem 1.05rem 0;
  font-weight: 700;
  font-size: 1.03rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: .4rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--terra);
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--sea-deep); }
.faq details > div { padding: 0 2.5rem 1.3rem 0; }
.faq details > div > :last-child { margin-bottom: 0; }

/* Seitenspalte */
.aside { position: sticky; top: 100px; display: grid; gap: 1.5rem; }
.panel { border: 1px solid var(--line-soft); border-radius: 4px; background: var(--paper); padding: 1.35rem 1.4rem; }
.panel--ink { background: var(--ink); border-color: var(--ink); color: #dbe6ea; }
.panel--ink h3, .panel--ink a { color: #fff; }
.panel h3 {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .95rem;
}
.panel--ink h3 { color: #f0c9b8; }
.panel dl { margin: 0; font-size: .93rem; }
.panel dt { font-weight: 700; color: var(--ink); }
.panel dd { margin: 0 0 .85rem; color: var(--ink-soft); }
.panel dd:last-child { margin-bottom: 0; }
.panel ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.panel li + li { border-top: 1px solid var(--line-soft); }
.panel--ink li + li { border-top-color: rgba(255,255,255,.15); }
.panel li a { display: block; padding: .6rem 0; text-decoration: none; font-weight: 600; color: var(--ink); }
.panel--ink li a { color: #e7eef1; font-weight: 500; }
.panel li a:hover { color: var(--terra); }
.panel--ink li a:hover { color: #ffd9c9; }
.panel p { font-size: .93rem; margin-bottom: .9rem; }
.panel p:last-child { margin-bottom: 0; }

/* Inhaltsverzeichnis */
.toc { border: 1px solid var(--line-soft); border-radius: 4px; padding: 1.2rem 1.4rem; background: #fff; }
.toc h3 {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .8rem;
}
.toc ol { margin: 0; padding-left: 1.1rem; font-size: .95rem; }
.toc li { margin-bottom: .4rem; }
.toc a { text-decoration: none; color: var(--ink); }
.toc a:hover { color: var(--terra); text-decoration: underline; }

/* Quellenangabe */
.sources { font-size: .89rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: 3rem; }
.sources h2 { font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; border: 0; padding: 0; margin: 0 0 .7rem; color: var(--muted); }
.sources ul { padding-left: 1.1rem; margin: 0; }
.sources li { margin-bottom: .35rem; }

/* ------------------------------------------------------------------ 7 Fuss */
.footer { background: var(--ink); color: #b9c9d1; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .93rem; }
.footer a { color: #dce7ec; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0,1fr)); gap: 2.5rem; }
.footer h2 {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #f0c9b8;
  margin-bottom: 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .5rem; }
.footer__brand .brand { display: inline-flex; }
.footer__brand img { height: 40px; width: auto; }
.footer__brand p { margin-top: 1.2rem; max-width: 34ch; color: #9fb3bc; }
.footer__legal {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2.8rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .86rem;
  color: #8ba3ae;
}
.footer__legal ul { display: flex; gap: 1.4rem; }
.footer__legal li { margin: 0; }

/* ------------------------------------------------------------ 8 Responsive */
@media (max-width: 1080px) {
  .cardgrid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .layout { grid-template-columns: minmax(0,1fr); }
  .aside { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .linklist { columns: 2; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .masthead .wrap { min-height: 66px; }
  .brand img { height: 34px; }
  .navtoggle { display: block; }
  .mainnav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: .8rem var(--gap) 1.6rem;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }
  .mainnav.is-open { display: block; }
  .mainnav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .mainnav > ul > li { border-bottom: 1px solid var(--line-soft); }
  .mainnav a { display: block; padding: .85rem 0; border: 0; }
  .has-sub > a::after { float: right; margin-top: .55rem; }
  .submenu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 .6rem .9rem;
    min-width: 0;
  }
  .submenu a { padding: .5rem 0; }
  .submenu__head { padding: .7rem 0 .1rem; }
  .finder__row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .finder .btn { grid-column: 1 / -1; }
  .section-head--wide { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .section-head--wide > .lead { padding-top: 0; }
  .figures { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .band .wrap { grid-template-columns: minmax(0,1fr); }
  .places li { grid-template-columns: minmax(0,1fr); gap: .3rem; }
}

@media (max-width: 620px) {
  body { font-size: 1.02rem; }
  .utility .utility__claim { display: none; }
  .cardgrid--3, .cardgrid--4, .cardgrid--2 { grid-template-columns: minmax(0,1fr); }
  .linklist { columns: 1; }
  .aside { grid-template-columns: minmax(0,1fr); }
  .finder { margin-top: -2rem; }
  .finder__row { grid-template-columns: minmax(0,1fr); }
  /* Die beiden Hero-Schaltflächen teilen sich eine Zeile, statt zu brechen */
  .hero__actions { flex-wrap: nowrap; gap: .6rem; }
  .hero__actions .btn {
    flex: 1 1 0;
    justify-content: center;
    padding: .8rem .7rem;
    font-size: .88rem;
    white-space: nowrap;
  }
  .footer__cols { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .brand img { height: 30px; }
}

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

@media print {
  .masthead, .utility, .footer, .finder, .aside, .band { display: none; }
  .hero { background: none; color: #000; }
  .hero::after, .hero__media { display: none; }
  .hero h1, .hero .lead { color: #000; }
}
