@import url("tagessau-fonts.css");

:root {
  --ts-ink: #081238;
  --ts-navy: #061040;
  --ts-blue: #006cf0;
  --ts-cyan: #16b7ff;
  --ts-pink: #ff55ad;
  --ts-pink-soft: #ffd4e9;
  --ts-paper: #fffafa;
  --ts-white: #ffffff;
  --ts-line: rgba(8, 18, 56, .16);
  --ts-display: "Libre Franklin", Helvetica, sans-serif;
  --ts-body: "Libre Franklin", Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.tagessau-shell {
  margin: 0;
  color: var(--ts-ink);
  background:
    radial-gradient(circle at 92% 5%, rgba(255, 85, 173, .10), transparent 27rem),
    linear-gradient(180deg, #fff 0, var(--ts-paper) 48rem);
  font-family: var(--ts-body);
}

body.tagessau-shell a { color: inherit; }

body.tagessau-shell ::selection {
  color: var(--ts-navy);
  background: var(--ts-pink-soft);
}

.ts-header {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100% - 3rem, 1390px);
  margin: 0 auto;
  padding: .72rem 0 .9rem;
  background: rgba(255, 255, 255, .96);
}

.ts-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--ts-blue) 0 56%, var(--ts-pink) 56%);
}

.ts-brand {
  display: flex;
  align-items: center;
  gap: .68rem;
  min-width: max-content;
  color: var(--ts-ink);
  text-decoration: none;
}

.ts-brand img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.02);
  box-shadow: 0 5px 18px rgba(0, 108, 240, .22);
}

.ts-brand strong {
  font-family: var(--ts-display);
  font-size: clamp(1.95rem, 3vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1;
}

.ts-brand strong span { color: var(--ts-pink); }

.ts-nav {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 2vw, 1.8rem);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.ts-nav a {
  position: relative;
  padding: .75rem 0;
  color: var(--ts-ink);
  text-decoration: none;
}

.ts-nav a:not(.ts-support)::after {
  position: absolute;
  right: 0;
  bottom: .38rem;
  left: 0;
  height: 3px;
  content: "";
  background: var(--ts-pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

.ts-nav a:hover::after,
.ts-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.ts-support {
  padding: .72rem .95rem !important;
  color: #fff !important;
  background: var(--ts-blue);
  box-shadow: 5px 5px 0 var(--ts-pink-soft);
}

.ts-header a:focus-visible,
.ts-footer a:focus-visible,
body.tagessau-shell button:focus-visible,
body.tagessau-shell input:focus-visible,
body.tagessau-shell select:focus-visible {
  outline: 3px solid var(--ts-pink);
  outline-offset: 3px;
}

body.tagessau-shell main#story {
  padding: clamp(1.5rem, 4vw, 4rem) 1.25rem 4rem;
  overflow: visible;
}

body.tagessau-shell main#story > .wrap {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0;
}

body.tagessau-shell article.article {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

body.tagessau-shell .article .breadcrumb {
  margin: 0 0 2.1rem;
  padding: .55rem 0;
  color: rgba(8, 18, 56, .62);
  border-top: 1px solid var(--ts-line);
  border-bottom: 1px solid var(--ts-line);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.tagessau-shell .article .breadcrumb a {
  color: var(--ts-blue);
  text-decoration: none;
}

body.tagessau-shell .article .kicker,
body.tagessau-shell .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  color: var(--ts-blue);
  font-family: var(--ts-body);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.tagessau-shell .article .kicker::before,
body.tagessau-shell .eyebrow::before {
  width: 6px;
  height: 1.7rem;
  content: "";
  background: var(--ts-pink);
}

body.tagessau-shell .article h1,
body.tagessau-shell .archive-body h1,
body.tagessau-shell main.content h1 {
  max-width: 980px;
  margin: 0 0 1rem;
  color: var(--ts-navy);
  font-family: var(--ts-display);
  font-size: clamp(3rem, 6.4vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .94;
  text-wrap: balance;
}

body.tagessau-shell .article .subheadline,
body.tagessau-shell main.content .lead {
  max-width: 800px;
  margin: 0 0 1.1rem;
  color: rgba(8, 18, 56, .72);
  font-family: var(--ts-display);
  font-size: clamp(1.25rem, 2.3vw, 1.72rem);
  line-height: 1.35;
}

body.tagessau-shell .article .dateline {
  margin: 1.2rem 0 2rem;
  color: rgba(8, 18, 56, .62);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.tagessau-shell .article .dateline strong {
  display: inline-block;
  padding: .34rem .6rem;
  color: #fff;
  background: var(--ts-navy);
  border-left: 4px solid var(--ts-pink);
}

body.tagessau-shell .article figure.full,
body.tagessau-shell .article .figure.full {
  width: 100%;
  margin: 0 0 clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  background: var(--ts-navy);
}

body.tagessau-shell .article figure.full img,
body.tagessau-shell .article figure.full video,
body.tagessau-shell .article .figure.full img,
body.tagessau-shell .article .figure.full video {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
}

body.tagessau-shell .article .credit {
  margin: 0;
  padding: .65rem .9rem;
  color: rgba(255, 255, 255, .76);
  background: var(--ts-navy);
  font-size: .72rem;
}

body.tagessau-shell .article .body,
body.tagessau-shell .article > .source,
body.tagessau-shell .article > .backlink {
  width: min(100%, 760px);
  margin-right: auto;
  margin-left: auto;
}

body.tagessau-shell .article .body {
  color: #11172d;
  font-family: var(--ts-display);
  font-size: clamp(1.16rem, 2vw, 1.35rem);
  line-height: 1.68;
}

body.tagessau-shell .article .body p { margin: 0 0 1.25em; }
body.tagessau-shell .article .body > p:first-child strong { color: var(--ts-navy); }

body.tagessau-shell .article .body a,
body.tagessau-shell .article .redaktion a {
  color: var(--ts-blue) !important;
  text-decoration-color: var(--ts-pink) !important;
  text-underline-offset: .18em;
}

body.tagessau-shell .article .redaktion {
  margin-top: 2.2rem;
  padding: 1.35rem 1.5rem;
  color: rgba(8,18,56,.8);
  border: 0;
  border-left: 6px solid var(--ts-pink);
  border-radius: 0;
  background: #edf4ff;
  box-shadow: 8px 8px 0 var(--ts-pink-soft);
}

body.tagessau-shell .article .redaktion .rl { color: var(--ts-blue); }

body.tagessau-shell .article .disclaimer {
  color: rgba(8,18,56,.78);
  border-color: var(--ts-line);
  background: #f4eff4;
}

body.tagessau-shell .article .source {
  margin-top: 2.5rem;
  padding: 1.25rem 1.35rem;
  color: rgba(8, 18, 56, .76);
  background: #fff;
  border-top: 4px solid var(--ts-pink);
  box-shadow: 0 12px 32px rgba(6, 16, 64, .08);
  font-size: .86rem;
  line-height: 1.55;
}

body.tagessau-shell .article .source a {
  color: var(--ts-blue);
  font-weight: 700;
}

body.tagessau-shell .article .backlink {
  display: block;
  margin-top: 2rem;
  color: var(--ts-navy);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.tagessau-shell .archive-body,
body.tagessau-shell main.content {
  width: min(100% - 3rem, 1120px);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2.2rem, 6vw, 5rem) 0;
}

body.tagessau-shell .archive-body > p,
body.tagessau-shell main.content > p,
body.tagessau-shell main.content > ul,
body.tagessau-shell main.content > div:not(.ts-share) {
  max-width: 800px;
}

/* Editorial information pages */
body.tagessau-shell.info-page {
  color: var(--ts-ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(255,85,173,.09), transparent 28rem),
    linear-gradient(180deg, #fff 0, var(--ts-paper) 56rem);
}

body.tagessau-shell.info-page main.content {
  width: min(100% - 3rem, 1120px);
  max-width: 1120px;
  padding: clamp(3rem, 7vw, 6rem) 0 5.5rem;
}

body.tagessau-shell.info-page main.content h1 {
  max-width: 920px;
  margin: 0 0 1.35rem;
  color: var(--ts-navy);
  font-family: var(--ts-body);
  font-size: clamp(3.1rem, 6.2vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .94;
}

body.tagessau-shell.info-page main.content .lead {
  max-width: 900px;
  margin: 0 0 2rem;
  color: rgba(8,18,56,.76);
  font-family: var(--ts-body);
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  font-weight: 500;
  line-height: 1.5;
}

body.tagessau-shell.info-page main.content h2 {
  max-width: 860px;
  margin: 2.8rem 0 .8rem;
  padding-left: .85rem;
  color: var(--ts-navy);
  border-left: 6px solid var(--ts-pink);
  font-family: var(--ts-body);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.2;
}

body.tagessau-shell.info-page main.content p,
body.tagessau-shell.info-page main.content li {
  max-width: 860px;
  color: rgba(8,18,56,.78);
  font-family: var(--ts-body);
  font-size: 1.05rem;
  line-height: 1.72;
}

body.tagessau-shell.info-page main.content a:not(.button) {
  color: var(--ts-blue);
  font-weight: 700;
  text-decoration-color: var(--ts-pink);
  text-underline-offset: .18em;
}

body.tagessau-shell.info-page main.content .rule {
  max-width: 860px;
  margin: 2.7rem 0;
  border: 0;
  border-top: 1px solid var(--ts-line);
}

body.tagessau-shell.info-page .principles {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.tagessau-shell.info-page .principles li {
  padding: 1.05rem 0;
  border-top: 1px solid var(--ts-line);
}

body.tagessau-shell.info-page .principles li:last-child { border-bottom: 1px solid var(--ts-line); }

body.tagessau-shell.info-page .principles strong {
  display: block;
  margin-bottom: .18rem;
  color: var(--ts-navy);
  font-size: 1.05rem;
}

body.tagessau-shell.info-page main.content .box {
  max-width: 860px;
  margin: 2.7rem 0;
  padding: 1.35rem 1.5rem;
  color: rgba(8,18,56,.8);
  border: 0;
  border-left: 6px solid var(--ts-blue);
  border-radius: 0;
  background: #edf4ff;
  box-shadow: 8px 8px 0 var(--ts-pink-soft);
  line-height: 1.65;
}

body.tagessau-shell.info-page main.content .box strong { color: var(--ts-navy); }

body.tagessau-shell.info-page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

body.tagessau-shell.info-page .button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.1rem;
  color: #fff;
  border: 2px solid var(--ts-blue);
  border-radius: 0;
  background: var(--ts-blue);
  box-shadow: 5px 5px 0 var(--ts-pink-soft);
  font: 800 .82rem/1 var(--ts-body);
  text-decoration: none;
  text-transform: uppercase;
}

body.tagessau-shell.info-page .button.alt {
  color: var(--ts-navy);
  border-color: var(--ts-line);
  background: #fff;
}

body.tagessau-shell.info-page .button:hover { transform: translateY(-1px); }

body.tagessau-shell .archive-controls {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1rem;
  margin: 2.2rem 0;
  padding: 1rem;
  color: #fff;
  background: var(--ts-navy);
}

body.tagessau-shell .archive-controls label {
  display: grid;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

body.tagessau-shell .archive-controls input,
body.tagessau-shell .archive-controls select {
  min-height: 48px;
  padding: .7rem .8rem;
  color: var(--ts-ink);
  background: #fff;
  border: 0;
  border-radius: 0;
  font: 600 .9rem/1 var(--ts-body);
}

body.tagessau-shell .story-list {
  display: grid;
  border-top: 1px solid var(--ts-line);
}

body.tagessau-shell .story-list > a {
  display: grid;
  grid-template-columns: minmax(100px, .65fr) minmax(0, 2.5fr) auto auto;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
  padding: .9rem 0;
  text-decoration: none;
  border-bottom: 1px solid var(--ts-line);
  transition: color .2s ease, padding-left .2s ease;
}

body.tagessau-shell .story-list > a:hover { padding-left: .65rem; color: var(--ts-blue); }
body.tagessau-shell .story-topic { color: var(--ts-blue); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
body.tagessau-shell .story-list strong { font-family: var(--ts-display); font-size: 1.25rem; }
body.tagessau-shell .story-list time { font-size: .75rem; font-weight: 700; }

.ts-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  margin-top: 4rem;
  padding: clamp(2rem, 5vw, 4rem) max(1.5rem, calc((100vw - 1390px) / 2));
  color: #fff;
  background: var(--ts-navy);
  border-top: 6px solid var(--ts-pink);
}

.ts-footer .ts-brand { color: #fff; }
.ts-footer p { margin: .65rem 0 0; color: rgba(255, 255, 255, .68); font-size: .86rem; }
.ts-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; }
.ts-footer nav a { color: #fff; font-size: .74rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }

@media (max-width: 880px) {
  .ts-header { align-items: flex-start; width: min(100% - 2rem, 1390px); }
  .ts-nav { flex-wrap: wrap; justify-content: flex-end; gap: .35rem 1rem; }
  .ts-support { box-shadow: none; }
  body.tagessau-shell .archive-controls { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  .ts-header { display: block; padding-top: .6rem; }
  .ts-brand img { width: 43px; height: 43px; }
  .ts-nav { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: .65rem; border-top: 1px solid var(--ts-line); }
  .ts-nav a { min-height: 44px; padding: .8rem .2rem; text-align: center; font-size: .66rem; }
  .ts-support { display: none; }
  body.tagessau-shell main#story { padding: 1.3rem .9rem 3rem; }
  body.tagessau-shell .article h1,
  body.tagessau-shell .archive-body h1,
  body.tagessau-shell main.content h1 { font-size: clamp(2.65rem, 14vw, 4.4rem); }
  body.tagessau-shell .article .body { font-size: 1.16rem; line-height: 1.62; }
  body.tagessau-shell .archive-body,
  body.tagessau-shell main.content { width: min(100% - 1.8rem, 1120px); }
  body.tagessau-shell .story-list > a { grid-template-columns: 1fr auto; gap: .4rem 1rem; }
  body.tagessau-shell .story-list .story-topic,
  body.tagessau-shell .story-list strong { grid-column: 1 / -1; }
  .ts-footer { grid-template-columns: 1fr; padding: 2.2rem 1.2rem; }
  .ts-footer nav { justify-content: flex-start; }
}

/* Bild des Tages: light editorial treatment within the Tagessau system. */
body.tagessau-shell .daily-picture,
body.tagessau-shell .daily-archive {
  width: min(100% - 3rem, 1160px);
  padding: 3rem 0 4.75rem;
}

body.tagessau-shell .daily-heading > a,
body.tagessau-shell .daily-archive-heading > a {
  color: var(--ts-blue);
  font-weight: 750;
  text-decoration: none;
}

body.tagessau-shell .daily-heading h1,
body.tagessau-shell .daily-archive-heading h1 {
  max-width: 980px;
  color: var(--ts-navy);
  font-family: var(--ts-display);
  font-size: clamp(2.6rem, 5.2vw, 5.35rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .97;
  text-wrap: balance;
}

body.tagessau-shell .daily-archive-heading p,
body.tagessau-shell .daily-gallery-copy p { color: rgba(8, 18, 56, .72); }

body.tagessau-shell .daily-archive-heading > a.daily-latest-link {
  color: #fff;
  background: var(--ts-blue);
  box-shadow: 5px 5px 0 var(--ts-pink-soft);
}

body.tagessau-shell .daily-picture figcaption p {
  color: var(--ts-navy);
  font-weight: 500;
}

body.tagessau-shell .daily-picture figcaption .daily-punchline {
  color: var(--ts-blue);
  border-color: var(--ts-line);
}

body.tagessau-shell .daily-picture figcaption small,
body.tagessau-shell .daily-picture-standalone .daily-credit-only small { color: rgba(8, 18, 56, .62); }

body.tagessau-shell .daily-sequence { border-color: var(--ts-line); }
body.tagessau-shell .daily-nav-card,
body.tagessau-shell .daily-nav-all { border-color: var(--ts-line); text-decoration: none; }
body.tagessau-shell .daily-nav-card small,
body.tagessau-shell .daily-nav-all { color: var(--ts-blue); }
body.tagessau-shell .daily-nav-card strong { color: var(--ts-navy); }
body.tagessau-shell .daily-nav-card:not(.is-disabled):hover,
body.tagessau-shell .daily-nav-all:hover {
  border-color: var(--ts-blue);
  background: rgba(0, 108, 240, .06);
}

body.tagessau-shell .daily-gallery-card {
  background: #fff;
  border-color: var(--ts-line);
  box-shadow: 0 16px 46px rgba(6, 16, 64, .07);
}
body.tagessau-shell .daily-gallery-card:hover {
  border-color: var(--ts-blue);
  box-shadow: 0 20px 54px rgba(6, 16, 64, .13);
}
body.tagessau-shell .daily-gallery-card > a { text-decoration: none; }
body.tagessau-shell .daily-gallery-copy time,
body.tagessau-shell .daily-gallery-copy span { color: var(--ts-blue); }
body.tagessau-shell .daily-gallery-copy h2 {
  color: var(--ts-navy);
  font-family: var(--ts-display);
  letter-spacing: -.035em;
}

@media (max-width: 700px) {
  body.tagessau-shell .daily-picture,
  body.tagessau-shell .daily-archive { width: min(100% - 2rem, 1160px); padding: 1.9rem 0 3.4rem; }
  body.tagessau-shell .daily-heading h1,
  body.tagessau-shell .daily-archive-heading h1 { font-size: 2.4rem; letter-spacing: -.04em; }
}

/* Interactive dark-stage pages keep their original high-contrast intro treatment. */
body.tagessau-shell .slot-scene .slot-intro h1,
body.tagessau-shell .slot-scene .slot-intro p { color: #fff; }

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