/* Shared reading and discovery layer. Brand: creator-magazin; source copy stays intact. */
.pages {
  --ink: #211c36;
  --muted: #61596f;
  --paper: #fff;
  --green: #5931ce;
  --lime: #f2eefb;
  --accent: #5931ce;
  --pages-orange: #ed7633;
  --pages-space: clamp(24px, 5vw, 72px);
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  caret-color: var(--accent);
}
.pages ::selection { color: var(--paper); background: var(--accent); }
.pages [hidden] { display: none !important; }
.pages a { text-underline-offset: .2em; }
.pages a:focus-visible, .pages button:focus-visible, .pages summary:focus-visible,
.pages input:focus-visible, .pages select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.pages h1, .pages h2, .pages h3, .pages h4 { text-wrap: balance; letter-spacing: -.025em; }
.pages h1 { line-height: 1.12; }
.pages p { text-wrap: pretty; }
.pages button, .pages .button { border-radius: 0; min-height: 44px; }
.pages .header, .pages > header, .pages > nav, .pages .site-main,
.pages > main, .pages > footer { max-width: 1250px; padding-inline: 26px; }
.pages .header, .pages > header { border: 0; }
.pages .nav, .pages > nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  overflow: visible;
  white-space: normal;
  border: 0;
  padding-block: 4px 12px;
}
.pages .nav a, .pages > nav a { min-height: 44px; display: inline-flex; align-items: center; }
.pages .nav a[aria-current], .pages > nav a[aria-current] {
  border-bottom: 0;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 3px;
}
.pages .topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  overflow: visible;
  white-space: normal;
  margin: 0;
  padding: 12px 0 22px;
  border: 0;
  font-size: 14px;
}
.pages .topics a { min-height: 32px; display: inline-flex; align-items: center; background: transparent; padding: 0; border-radius: 0; }
.pages .topics b { align-self: center; }
.pages .masthead { border: 0; padding-block: 28px 36px; }
.pages .masthead h1, .pages .intro h1 { font-size: clamp(34px, 4.8vw, 64px); max-width: 24ch; }
.pages .masthead p { max-width: 70ch; color: var(--ink); font-size: 18px; }
.pages .intro { margin-top: 28px; }
.pages .intro h1 { margin: 0; }
.pages .photo, .pages .lead, .pages .smallstory .photo,
.pages .mag-feed article .photo, .pages .artikelbild img { border-radius: 0; }
.pages .lead { overflow: hidden; }
.pages .mag-tools { border-radius: 0; margin-block: 28px 36px; background: var(--lime); }
.pages .mag-search input { border-radius: 0; font-size: 17px; }
.pages .filter button { border-radius: 0; font-size: 15px; }
.pages .mag-feedback { gap: 12px 24px; }
.pages .mag-feed p { color: var(--ink); overflow-wrap: anywhere; }
.pages .mag-feed .event p { color: var(--paper); }
.pages .mag-feed article > div { display: block; min-width: 0; grid-column: auto; grid-row: auto; }
.pages .mag-feed article > .photo { width: 100%; max-width: 100%; }
.pages .mag-feed article .photo img { max-width: 100%; }
.pages .mag-feed .meta { margin-block: 8px 0; font-weight: 500; }
.pages .mag-text-story { border: 0; padding: 24px; background: var(--lime); }
.pages .event { border-radius: 0; padding: 32px; }
.pages .event a { border-radius: 0; min-height: 44px; }
.pages .credits, .pages .mag-date, .pages .meta { color: var(--muted); font-size: 14px; }
.pages .lead .mag-date { color: var(--paper); }
.pages-home .mag-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 44px; }
.pages-home .mag-feed > article { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 20px; align-items: start; }
.pages-home .mag-feed > article .photo { height: 148px; }
.pages-home .mag-feed > article.mag-text-story { display: block; padding: 24px; }

/* Collection pages read like a newspaper: one lead, then compact article rows. */
.pages-creator .mag-feed, .pages-rubrik .mag-feed {
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 44px;
}
.pages-creator .mag-feed article, .pages-rubrik .mag-feed article {
  display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 20px; align-items: start;
}
.pages-creator .mag-feed article .photo, .pages-rubrik .mag-feed article .photo { height: 148px; }
.pages-creator .mag-feed article.mag-text-story, .pages-rubrik .mag-feed article.mag-text-story {
  display: block; padding: 24px;
}
.pages-creator .mag-feed article:first-child:has(.photo),
.pages-rubrik .mag-feed article:first-child:has(.photo) {
  grid-column: 1 / -1; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  background: var(--ink); color: var(--paper); gap: 0;
}
.pages-creator .mag-feed article:first-child:has(.photo) > div:last-child,
.pages-rubrik .mag-feed article:first-child:has(.photo) > div:last-child { padding: 32px; background: var(--ink); position: relative; }
.pages-creator .mag-feed article:first-child:has(.photo) .photo,
.pages-rubrik .mag-feed article:first-child:has(.photo) .photo { height: 100%; min-height: 320px; }
.pages-creator .mag-feed article:first-child:has(.photo) :is(h2, h3),
.pages-rubrik .mag-feed article:first-child:has(.photo) :is(h2, h3) { font-size: clamp(26px, 2.7vw, 38px); }
.pages-creator .mag-feed article:first-child:has(.photo) :is(p, .meta, .mag-date),
.pages-rubrik .mag-feed article:first-child:has(.photo) :is(p, .meta, .mag-date) { color: var(--paper); }
.pages .mag-feed :is(h2, h3, h4) { font-size: 23px; line-height: 1.25; margin: 8px 0; overflow-wrap: anywhere; }
.pages-home .mag-feed > .pages-day-heading { grid-column: 1 / -1; font-size: 24px; line-height: 1.3; margin: 24px 0 0; }
.pages .event-card .pages-collection-title { font-size: 24px; line-height: 1.3; margin: 0 0 8px; }

/* Creator register: names lead; the latest actual headline provides context. */
.pages .people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.pages .person {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 18px;
  padding: 24px; background: var(--lime); border: 0; border-radius: 0;
  text-decoration: none; align-items: baseline;
}
.pages .person > span:first-child:not(.pages-latest) { display: none; }
.pages .person strong { font-size: 25px; line-height: 1.2; }
.pages .person small { font-size: 14px; color: var(--muted); }
.pages .person .pages-latest {
  grid-column: 1 / -1; grid-row: auto; display: block; width: auto; height: auto;
  background: transparent; border-radius: 0; font-weight: 400;
  font-size: 16px; line-height: 1.5; color: var(--ink);
}
.pages .person:hover { background: var(--ink); color: var(--paper); }
.pages .person:hover :is(small, .pages-latest) { color: var(--paper); }
.pages-creator-search { margin: 0 0 32px; max-width: 740px; }
.pages-creator-search label { font-size: 17px; font-weight: 700; display: block; margin-bottom: 10px; }
.pages-creator-search > div { display: flex; gap: 10px; flex-wrap: wrap; }
.pages-creator-search input { min-width: 120px; flex: 1; min-height: 48px; padding: 10px 14px; font: inherit; }
.pages-creator-search button { font-size: 16px; padding: 10px 18px; }
.pages-creator-search .pages-reset { color: var(--ink); background: var(--lime); }
.pages-creator-search [role="status"] { font-size: 14px; margin: 12px 0 0; color: var(--muted); }

/* The article opens with title and original frame, then a quiet reading column. */
.pages .article { max-width: none; margin: 28px 0 0; }
.pages-article-opening { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 44px; align-items: center; }
.pages-article-opening:not(:has(> figure)) { display: block; max-width: 850px; }
.pages .article-heading { max-width: none; margin: 0; }
.pages .article h1 { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.13; margin: 0 0 22px; }
.pages .article-kicker { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 14px; margin: 0 0 12px; }
.pages .article-kicker .kicker { font-weight: 600; font-size: 14px; } /* taste-skill-ignore: publication metadata follows the headline */
.pages .byline { padding: 0; margin: 0 0 24px; border: 0; font-size: 14px; color: var(--muted); }
.pages .lede { font-size: 20px; line-height: 1.65; }
.pages .lede p { margin: 0; }
.pages .article .artikelbild { width: 100%; margin: 0; max-width: none; }
.pages .article .artikelbild img { max-height: 540px; object-fit: contain; background: var(--lime); }
.pages .article .artikelbild--hoch img { max-height: 500px; width: auto; max-width: 100%; margin: auto; }
.pages .artikelbild figcaption { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 12px; }
.pages-reading-grid { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 1fr); gap: 64px; margin-top: var(--pages-space); align-items: start; }
.pages .article-body { grid-column: 1; grid-row: 1; max-width: 720px; width: 100%; margin: 0; }
.pages .article-body > p { max-width: 62ch; font-size: 18px; line-height: 1.8; color: var(--ink); }
.pages .article-body h2 { font-size: 30px; line-height: 1.25; margin: 44px 0 18px; }
.pages .article-body h3 { font-size: 23px; margin: 32px 0 14px; }
.pages .article-body > :first-child { margin-top: 0; }
.pages-reading-nav { grid-column: 2; grid-row: 1; position: sticky; top: 24px; background: var(--lime); padding: 24px; }
.pages-reading-nav summary { font-weight: 750; cursor: pointer; min-height: 44px; }
.pages-reading-nav nav { display: grid; padding: 10px 0 0; gap: 8px; margin: 0; border: 0; }
.pages-reading-nav a { display: block; font-size: 15px; line-height: 1.5; padding-block: 8px; text-decoration: none; }
.pages-reading-nav a:hover, .pages-reading-nav a[aria-current="location"] { text-decoration: underline; color: var(--accent); }
.pages-anchor { scroll-margin-top: 28px; }
.pages .sources { border: 0; background: var(--lime); padding: 28px; margin-top: 44px; }
.pages .sources p, .pages .sources li { font-size: 16px; }
.pages .sources h2 { font-size: 26px; }
.pages .sources h3 { font-size: 21px; }
.pages .beleg { font-size: 14px; padding: 4px 5px; }
.pages .video-flaeche, .pages .video-fassade { border-radius: 0; }
.pages .video-hinweis-text { font-size: 14px; }

/* Topic chronology uses the corresponding article's own image, never a stock portrait. */
.pages .entry { border: 0; padding: 26px 0; gap: 24px; display: grid; grid-template-columns: 60px minmax(0, 1fr) 170px; align-items: start; }
.pages .entry:not(:has(.pages-entry-photo)) { grid-template-columns: 60px minmax(0, 1fr); }
.pages-entry-photo { display: block; min-width: 0; align-self: start; grid-column: 3; grid-row: 1; }
.pages-entry-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.pages .entry-main { grid-column: 2; grid-row: 1; min-width: 0; margin: 0; padding: 0; border: 0; overflow-wrap: anywhere; }
.pages .entry-time { grid-column: 1; grid-row: 1; border: 0; font-size: 17px; padding: 0; color: var(--muted); }
.pages .entry-time:after { display: none; }
.pages .entry-main h3 { font-size: 27px; line-height: 1.25; margin: 0 0 12px; }
.pages .entry:not(:has(.pages-entry-photo)) .entry-main h3 { font-size: clamp(23px, 2.8vw, 40px); line-height: 1.15; }
.pages .entry-lede { max-width: 65ch; color: var(--ink); }
.pages .entry-main > .kicker { font-size: 14px; margin-top: 12px; color: var(--muted); } /* taste-skill-ignore: original date follows the entry text */
.pages .day-heading { font-size: 32px; margin: 32px 0 12px; }
.pages .text-page { max-width: 780px; padding-block: 32px; margin-inline: auto; }
.pages .text-page h1 { font-size: clamp(38px, 5vw, 68px); margin-bottom: 32px; }
.pages .text-page p { font-size: 18px; line-height: 1.8; }
.pages .text-page h2 { margin: 44px 0 18px; font-size: 29px; }
.pages > footer { border: 0; margin-top: var(--pages-space); padding-block: 40px; background: var(--lime); }
.pages > footer .brand { display: block; color: var(--accent); font-size: clamp(34px, 7vw, 76px); letter-spacing: -.04em; line-height: 1.2; text-decoration: none; }
.pages > footer p { max-width: 65ch; font-size: 16px; color: var(--ink); }
.pages > footer > div { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pages > footer > div a { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; }

/* A consent panel in the document flow leaves every headline and action reachable. */
.pages .cookie-hinweis {
  position: relative; inset: auto; width: 100%; max-width: none; margin: 0; transform: none;
  border: 0; border-radius: 0; box-shadow: none; background: var(--lime); color: var(--ink); /* taste-skill-ignore: removes the incumbent fixed panel shadow */
  padding: 20px max(26px, calc((100vw - 1198px)/2));
}
.pages .cookie-text { max-width: 88ch; font-size: 16px; line-height: 1.65; color: var(--ink); }
.pages .cookie-knoepfe { flex-wrap: wrap; gap: 12px; }
.pages .cookie-knoepfe button { font-size: 16px; min-height: 44px; }
.pages .cookie-details { max-width: 88ch; }
.pages .cookie-details label, .pages .cookie-details p { font-size: 16px; }

/* Extras use the same brand roles, with quiet panels for working controls. */
.pages-extras .brand { color: var(--accent); }
.pages-extras .brand span { color: var(--pages-orange); }
.pages-extras .page-heading { max-width: 850px; }
.pages-extras h1 { font-size: clamp(34px, 4.8vw, 64px); }
.pages-extras .feature-intro, .pages-extras .event-card, .pages-extras .creator-card,
.pages-extras .empty, .pages-extras output, .pages-extras .countdown { border-radius: 0; border: 0; }
.pages-extras :is(section, .news-list > li, .coupon) { border: 0; }
.pages-extras .event-card, .pages-extras .creator-card { background: var(--lime); }
.pages-extras .status-pill { border-radius: 0; background: transparent; padding: 0; color: var(--muted); }
.pages-extras section { margin-top: 48px; }
.pages-extras .news-list h3 { font-size: 22px; }
.pages-extras .button, .pages-extras button { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.pages-extras .favorite, .pages-extras .secondary { background: var(--paper); color: var(--ink); }
.pages-extras .favorite[aria-pressed="true"] { background: var(--accent); color: var(--paper); }
.pages-extras output { background: var(--lime); }
.pages-extras input, .pages-extras select { border-radius: 0; }
.pages-extras .muted, .pages-extras .formula, .pages-extras .news-list time { color: var(--muted); font-size: 14px; }
.pages-extras .creator-picker { max-height: none; overflow: visible; }

/* The clip composition stays inside the actual content frame, including the scrollbar. */
.pages-clips .clip-kopf, .pages-clips .clip-top, .pages-clips .clip-schluss {
  margin-left: 0; margin-right: 0; padding-left: 26px; padding-right: 26px;
}
.pages-clips .clip-kopf { container-type: inline-size; }
/* Keep the entire name and its point inside the actual content width. The old
   scroll transform also left a stale composited hit region over the H1. */
.pages-clips .clip-kopf .clip-monument {
  animation: none; transform: none; scale: none; font-size: min(28cqw, 460px);
}
.pages-clips .clip-kopf .clip-monument:is(.laenge-4, .laenge-5) { font-size: min(30cqw, 500px); }
.pages-clips .clip-kopf .clip-monument.laenge-7 { font-size: min(24.5cqw, 420px); }
.pages-clips .clip-kopf .clip-monument.laenge-8 { font-size: min(21.5cqw, 370px); }
.pages-clips .clip-kopf .clip-monument.laenge-9 { font-size: min(19.5cqw, 330px); }
.pages-clips .clip-kopf .clip-monument.laenge-10 { font-size: min(17.5cqw, 300px); }
.pages-clips .clip-kopf .clip-monument.laenge-11 { font-size: min(16cqw, 275px); }
.pages-clips .clip-kopf .clip-monument.laenge-12 { font-size: min(13.4cqw, 232px); }
.pages-clips .clip-kopf .clip-monument:is(.laenge-13, .laenge-14) { font-size: min(12.4cqw, 215px); }
.pages-clips .clip-kopf-text h1 { line-height: 1.2; margin-bottom: 16px; }
.pages-clip-actions { display: flex; flex-wrap: wrap; gap: 12px; grid-column: 1 / -1; margin-block: 24px 0; }
.pages-clip-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; background: var(--accent); color: var(--paper); font-size: 16px; font-weight: 700; text-decoration: none; }
.pages-clip-actions a:hover { text-decoration: underline; }
.pages-clips :is(#buehne-titel, #ticker-titel, #clip-video) { scroll-margin-top: 24px; }
.pages-clips .hub-liste a { grid-template-columns: minmax(0, 1fr) 120px; gap: 12px 32px; padding-block: 24px; }
.pages-clips .hub-name { grid-column: 1; grid-row: 1; white-space: normal; overflow-wrap: anywhere; }
.pages-clips .hub-fakt { grid-column: 1; grid-row: 2; text-align: left; }
.pages-clips .hub-bild { grid-column: 2; grid-row: 1 / 3; }
.pages-clips .clip-schluss .clip-monument {
  margin: 0; line-height: 1.04; letter-spacing: -.055em;
  font-size: clamp(42px, 12vw, 176px); white-space: normal; overflow-wrap: anywhere;
}

@media (max-width: 1000px) {
  .pages-reading-grid { gap: 28px; grid-template-columns: minmax(0, 1fr) 220px; }
  .pages-creator .mag-feed, .pages-rubrik .mag-feed { grid-template-columns: 1fr; }
  .pages-home .mag-feed { grid-template-columns: 1fr; }
  .pages-article-opening { gap: 28px; }
}
@media (max-width: 760px) {
  .pages .header, .pages > header, .pages > nav, .pages .site-main,
  .pages > main, .pages > footer { padding-inline: 18px; }
  .pages .nav, .pages > nav { gap: 0 20px; padding-bottom: 4px; font-size: 15px; }
  .pages .logo { font-size: 32px; }
  .pages .topics { gap: 2px 18px; font-size: 13px; padding-block: 8px 20px; }
  .pages .topics b { flex-basis: 100%; }
  .pages .intro { margin-top: 16px; }
  .pages .intro h1, .pages .masthead h1 { font-size: 34px; }
  .pages .mag-tools { padding: 20px; }
  .pages .mag-search { flex-wrap: wrap; }
  .pages .mag-search input { flex: 1; min-width: 100px; }
  .pages .filter { gap: 8px; }
  .pages .filter button { padding-inline: 13px; }
  .pages .mag-feed :is(h2, h3, h4) { font-size: 22px; }
  .pages-home .mag-feed > article { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; }
  .pages-home .mag-feed > article .photo { height: 104px; }
  .pages-creator .mag-feed article, .pages-rubrik .mag-feed article { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; }
  .pages-creator .mag-feed article .photo, .pages-rubrik .mag-feed article .photo { height: 104px; }
  .pages-creator .mag-feed article:first-child:has(.photo),
  .pages-rubrik .mag-feed article:first-child:has(.photo) { grid-template-columns: 1fr; }
  .pages-creator .mag-feed article:first-child:has(.photo) .photo,
  .pages-rubrik .mag-feed article:first-child:has(.photo) .photo { min-height: 0; height: auto; aspect-ratio: 16/10; }
  .pages-creator .mag-feed article:first-child:has(.photo) > div:last-child,
  .pages-rubrik .mag-feed article:first-child:has(.photo) > div:last-child { padding: 24px; }
  .pages .people { grid-template-columns: 1fr; gap: 12px; }
  .pages .person { padding: 22px; }
  .pages .person strong { font-size: 24px; }
  .pages .person small { font-size: 13px; }
  .pages-article-opening { display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
  .pages .article h1 { font-size: 34px; }
  .pages .lede { font-size: 19px; }
  .pages .article .artikelbild--hoch img { max-height: 460px; }
  .pages-reading-grid { display: flex; flex-direction: column; margin-top: 32px; gap: 32px; }
  .pages-reading-nav { position: static; width: 100%; padding: 20px; }
  .pages .article-body { max-width: 100%; }
  .pages .article-body > p { font-size: 18px; }
  .pages .article-body h2 { font-size: 27px; }
  .pages .entry { grid-template-columns: minmax(0, 1fr) 100px; gap: 12px 16px; }
  .pages .entry .entry-time { grid-column: 1 / -1; grid-row: 1; text-align: left; }
  .pages-entry-photo { grid-column: 2; grid-row: 2; }
  .pages .entry-main { grid-column: 1; grid-row: 2; }
  .pages .entry:not(:has(.pages-entry-photo)) { grid-template-columns: 1fr; }
  .pages .entry:not(:has(.pages-entry-photo)) .entry-main,
  .pages .entry:not(:has(.pages-entry-photo)) .entry-time { grid-column: 1; }
  .pages .entry-main h3 { font-size: 23px; }
  .pages .entry-lede { font-size: 16px; }
  .pages .sources { padding: 22px; }
  .pages .cookie-hinweis { padding: 18px; }
  .pages .cookie-knoepfe button { flex: 1 1 150px; }
  .pages .cookie-text { font-size: 16px; }
  .pages-clips .clip-kopf, .pages-clips .clip-top, .pages-clips .clip-schluss { padding-left: 18px; padding-right: 18px; }
  .pages-clips .hub-liste a { grid-template-columns: minmax(0, 1fr) 76px; gap: 10px 14px; }
  .pages-clips .hub-name { font-size: clamp(30px, 8vw, 50px); }
  .pages-clips .hub-fakt { font-size: 14px; }
  .pages-clips .hub-bild { width: 76px; height: 132px; }
}
@media (prefers-reduced-motion: no-preference) {
  .pages .person, .pages .photo img { transition: transform 220ms ease-out, background-color 180ms ease-out; }
  .pages .person:hover { transform: translateY(-2px); }
  .pages-reading-nav { animation: pages-arrival 400ms ease-out; }
  @keyframes pages-arrival { from { opacity: .7; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  .pages-clips .top-eintrag, .pages-clips .tick, .pages-clips .clip-fragen dl > div,
  .pages-clips .hub-liste li, .pages-clips .clip-streifen li, .pages-clips .clip-weitere li,
  .pages-clips .momente li, .pages-clips .artikel-text > p, .pages-clips .clip-zahlen {
    animation-name: pages-clip-arrival;
  }
  @keyframes pages-clip-arrival { from { transform: translateY(12px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .pages *, .pages *::before, .pages *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
