/*
Theme Name: Nöits op d’r Brand
Theme URI: https://stadtteilmagazin-brand.de/
Author: Euregio Konzept
Description: Redaktionelles WordPress-Theme für das Stadtteilmagazin Nöits op d’r Brand.
Version: 1.0.0
Text Domain: noeits-brand
*/

:root {
  --ink: #111111;
  --cream: #f4f1ec;
  --paper: #ffffff;
  --green: #e30613;
  --mint: #eeece8;
  --yellow: #e30613;
  --line: rgba(17, 17, 17, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-header {
  height: 94px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.brand img { width: 190px; }
nav { display: flex; gap: 2rem; font-weight: 700; font-size: .82rem; }
nav a, .header-cta, .text-link, .story a { transition: opacity .2s; }
nav a:hover, .text-link:hover, .story a:hover { opacity: .55; }
.header-cta { justify-self: end; font-size: .8rem; font-weight: 800; border-bottom: 2px solid; padding-bottom: .35rem; }
.header-cta span, .button span, .story a span { margin-left: .5rem; }
.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 53% 47%;
  overflow: hidden;
  background: var(--cream);
}
.hero-copy { padding: 7.5rem 5vw 3.5rem; }
.kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 900;
  margin: 0 0 1.5rem;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; margin: 0; }
h1 { font-size: clamp(4.3rem, 7.5vw, 8.2rem); line-height: .82; }
h1 em, h2 em { color: var(--green); font-weight: 400; }
.intro { max-width: 560px; font-family: Georgia, serif; font-size: 1.25rem; line-height: 1.55; margin: 2.4rem 0 2.2rem; }
.hero-actions, .ad-actions { display: flex; align-items: center; gap: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 1.3rem; font-size: .78rem; font-weight: 900; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.text-link { font-size: .8rem; font-weight: 800; border-bottom: 1px solid; padding-bottom: .25rem; }
.facts { display: flex; gap: 3rem; border-top: 1px solid var(--line); margin-top: 4rem; padding-top: 1.4rem; }
.facts div { display: flex; flex-direction: column; }
.facts strong { font: 400 1.8rem Georgia, serif; }
.facts span { text-transform: uppercase; letter-spacing: .1em; font-size: .6rem; font-weight: 800; margin-top: .25rem; }
.issue-stage { position: relative; display: grid; place-items: center; min-height: 690px; background: var(--mint); overflow: hidden; }
.sun { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: var(--yellow); top: -165px; right: -190px; }
.cover {
  z-index: 1;
  width: min(340px, 55%);
  aspect-ratio: 210 / 297;
  transform: rotate(4deg);
  box-shadow: 18px 24px 45px rgba(22,39,31,.25);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cover:hover { transform: rotate(2deg) translateY(-4px); box-shadow: 22px 30px 55px rgba(22,39,31,.3); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.issue-note { position: absolute; z-index: 2; right: 5%; bottom: 9%; display: flex; flex-direction: column; }
.issue-note > span { align-self: flex-start; background: var(--ink); color: white; padding: .4rem .6rem; text-transform: uppercase; font-size: .58rem; font-weight: 900; transform: rotate(-3deg); }
.issue-note strong { margin-top: .6rem; font: 400 1.25rem Georgia,serif; }
.issue-note small { margin-top: .2rem; text-transform: uppercase; letter-spacing: .1em; }
.ticker { background: var(--ink); color: white; min-height: 58px; display: flex; align-items: center; justify-content: space-around; gap: 1rem; overflow: hidden; padding: 0 2rem; white-space: nowrap; }
.ticker span { font: italic 1rem Georgia, serif; letter-spacing: .08em; }
.ticker b { color: var(--green); }
.section { padding: 8rem 5vw; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 3rem; margin-bottom: 4rem; }
h2 { font-size: clamp(3.7rem, 6vw, 6.7rem); line-height: .87; }
.section-heading > p, .team-copy > p { font: 400 1.15rem/1.6 Georgia,serif; max-width: 500px; }
.story-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 2.5rem; }
.story { border-top: 1px solid var(--ink); padding-top: 1rem; }
.story-image { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.story-side .story-image { aspect-ratio: 4/3; }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.story:hover img { transform: scale(1.025); }
.tag { position: absolute; left: 1rem; bottom: 1rem; color: white; background: var(--green); padding: .5rem .75rem; font-size: .62rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.tag-yellow { color: white; background: var(--green); }
.story-body { padding-top: 1.3rem; }
.meta { text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; font-weight: 800; }
.story h3 { font-size: clamp(2rem, 3.2vw, 3.7rem); line-height: 1; margin: .8rem 0 1rem; }
.story-side h3 { font-size: clamp(1.8rem, 2.7vw, 3rem); }
.story-body > p:not(.meta) { max-width: 650px; font-family: Georgia,serif; line-height: 1.55; }
.story a { display: inline-block; margin-top: .7rem; font-size: .75rem; font-weight: 900; border-bottom: 1px solid; padding-bottom: .25rem; }
.news-ready {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: end;
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.news-ready-number { align-self: start; font-size: .7rem; font-weight: 800; opacity: .5; }
.news-ready .kicker { color: var(--green); margin-bottom: 1rem; }
.news-ready h3 { font-size: clamp(2.5rem, 4.5vw, 5rem); line-height: .95; }
.news-ready div > p:last-child { max-width: 620px; margin: 1.5rem 0 0; font: 400 1.05rem/1.55 Georgia,serif; }
.issues { padding: 8rem 5vw; background: var(--green); color: white; display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; }
.kicker.light { color: var(--yellow); }
.issues h2 em { color: white; }
.ad-copy h2 em { color: var(--green); }
.issues-intro > p:not(.kicker) { max-width: 390px; font: 400 1.1rem/1.6 Georgia,serif; margin: 2rem 0; }
.button-light { color: var(--ink); background: white; }
.issue-list { border-top: 1px solid rgba(255,255,255,.35); }
.issue-row { min-height: 120px; display: grid; grid-template-columns: 70px 1fr 40px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.35); transition: padding .2s, background .2s; }
.issue-row:hover { padding-left: 1rem; background: rgba(255,255,255,.05); }
.issue-number { opacity: .45; font-size: .7rem; }
.issue-row div, .issue-row > span:nth-child(2) { display: flex; align-items: baseline; gap: 1rem; }
.issue-row strong { font: 400 clamp(1.8rem, 3.5vw, 3.5rem) Georgia,serif; }
.issue-row small { opacity: .55; }
.issue-arrow { justify-self: end; font-size: 1.5rem; }
.team { display: grid; grid-template-columns: .7fr 1.3fr; gap: 6vw; align-items: center; }
.team-copy > p { margin: 2rem 0; }
.portraits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: end; }
.portraits figure { margin: 0; }
.portraits figure:nth-child(2) { transform: translateY(-2.5rem); }
.portraits img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: saturate(.85); }
.portraits figcaption { display: flex; flex-direction: column; margin-top: .8rem; }
.portraits strong { font: 400 1.05rem Georgia,serif; }
.portraits span { font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; margin-top: .25rem; }
.ad-section { min-height: 570px; padding: 7rem 8vw; background: var(--ink); color: white; position: relative; display: flex; justify-content: flex-end; align-items: center; overflow: hidden; }
.ad-copy { width: 58%; position: relative; z-index: 1; }
.ad-copy > p:not(.kicker) { font: 400 1.15rem/1.6 Georgia,serif; max-width: 590px; margin: 2rem 0; }
.button-yellow { color: white; background: var(--green); }
.ad-actions > a:not(.button) { font-size: .78rem; font-weight: 800; border-bottom: 1px solid; padding-bottom: .25rem; }
.ad-badge { position: absolute; left: -2rem; top: 50%; transform: translateY(-50%) rotate(-8deg); width: 360px; height: 360px; border-radius: 50%; background: var(--mint); color: var(--ink); display: grid; place-content: center; text-align: center; font: 400 6rem Georgia,serif; }
.ad-badge:after { content: ""; position: absolute; inset: 18px; border: 1px dashed var(--ink); border-radius: 50%; }
.ad-badge span { font: 900 .7rem Arial,sans-serif; text-transform: uppercase; letter-spacing: .15em; }
.contact { text-align: center; padding: 8rem 5vw; background: var(--green); color: white; }
.contact > p:not(.kicker) { max-width: 600px; margin: 2rem auto; font: 400 1.2rem/1.6 Georgia,serif; }
.mail-link { display: inline-flex; gap: 1.5rem; padding-bottom: .5rem; border-bottom: 2px solid; font-weight: 900; font-size: clamp(.9rem,2vw,1.3rem); }
footer { padding: 4rem 5vw 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; background: var(--paper); }
.footer-brand img { width: 220px; }
.footer-brand p { font: 400 1rem/1.5 Georgia,serif; max-width: 330px; }
footer > div:not(.footer-brand):not(.footer-bottom) { display: flex; flex-direction: column; gap: .7rem; font-size: .75rem; }
footer strong { text-transform: uppercase; letter-spacing: .1em; margin-bottom: .4rem; }
.footer-bottom { grid-column: 1/-1; border-top: 1px solid var(--line); padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-bottom a:hover { text-decoration: underline; }

.story-image { display: block; }
.story-image-placeholder {
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--green);
  font: italic 2rem Georgia, serif;
}
.story-image-placeholder > span:not(.tag) { transform: rotate(-4deg); }

.content-page {
  width: min(1120px, 90vw);
  min-height: 65vh;
  margin: 0 auto;
  padding: 7rem 0;
}
.content-page > h1,
.single-article > h1 { color: var(--green); margin-bottom: 3rem; }
.archive-intro { max-width: 620px; margin: -1.5rem 0 3.5rem; font: 400 1.15rem/1.6 Georgia, serif; }
.post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem 2rem; }
.post-card { border-top: 1px solid var(--ink); padding-top: 1rem; }
.post-card-image { display: block; aspect-ratio: 16/10; overflow: hidden; margin-bottom: 1.4rem; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.post-card h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: .8rem 0 1.2rem; }
.post-card > p:not(.meta) { font: 400 1rem/1.6 Georgia, serif; }
.single-article { width: min(850px, 100%); margin: 0 auto; }
.single-image { margin: 0 0 3rem; }
.single-image img { width: 100%; height: auto; }
.entry-content { font: 400 1.08rem/1.75 Georgia, serif; }
.entry-content > * { max-width: 760px; }
.entry-content h2 { margin: 3.2rem 0 1rem; font-size: clamp(1.9rem, 3.5vw, 3rem); line-height: 1.05; }
.entry-content h3 { margin: 2.4rem 0 1rem; font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.entry-content a { text-decoration: underline; text-underline-offset: .18em; }
.entry-content img { height: auto; }
.nav-links { display: flex; justify-content: center; gap: 1rem; margin-top: 4rem; }
.page-numbers { border: 1px solid var(--line); padding: .65rem .85rem; }
.page-numbers.current { color: white; background: var(--ink); }

.issue-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem 1.5rem; }
.issue-card { margin: 0; }
.issue-card a { display: flex; flex-direction: column; gap: .75rem; }
.issue-card img,
.issue-card-placeholder { width: 100%; aspect-ratio: 210/297; object-fit: cover; box-shadow: 10px 14px 26px rgba(17,17,17,.15); }
.issue-card-placeholder { display: grid; place-items: center; padding: 1.2rem; background: var(--green); color: white; text-align: center; font: italic 2rem/1 Georgia, serif; }
.issue-card strong { font: 400 1.45rem/1.05 Georgia, serif; }
.issue-card small { text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }

.legal-content .entry-content > h2 {
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}
.legal-content .entry-content > p { font: 400 1.02rem/1.7 Georgia, serif; }

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-header {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 5vw;
  border-bottom: 1px solid var(--line);
}
.legal-header img { width: 190px; }
.legal-header > a:last-child { font-size: .75rem; font-weight: 800; border-bottom: 1px solid; padding-bottom: .25rem; }
.legal-content { width: min(850px, 90vw); margin: 0 auto; padding: 7rem 0; }
.legal-content > h1 { font-size: clamp(4rem, 8vw, 7rem); color: var(--green); margin-bottom: 4rem; }
.legal-content section { padding: 2.2rem 0; border-top: 1px solid var(--line); }
.legal-content h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.05; margin-bottom: 1.2rem; }
.legal-content p, .legal-content li { font: 400 1.02rem/1.7 Georgia,serif; }
.legal-content a { text-decoration: underline; text-underline-offset: .2em; }
.legal-lead { font-size: 1.25rem !important; max-width: 720px; margin: -2rem 0 4rem; }
.legal-footer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 5vw;
  background: var(--ink);
  color: white;
  font-size: .75rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; height: 78px; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 5rem; }
  .issue-stage { min-height: 580px; }
  .section-heading, .issues, .team { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .news-ready { grid-template-columns: 50px 1fr; }
  .news-ready .button { grid-column: 2; justify-self: start; }
  .issues { gap: 4rem; }
  .team { gap: 5rem; }
  .ad-copy { width: 68%; }
  .ad-badge { left: -120px; }
  .issue-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .site-header { padding: 0 1.2rem; }
  .brand img { width: 150px; }
  .header-cta { font-size: .68rem; }
  .legal-header { min-height: 78px; padding: .8rem 1.2rem; }
  .legal-header img { width: 145px; }
  .legal-content { padding: 4.5rem 0; }
  .hero-copy, .section, .issues, .team, .contact { padding-left: 1.3rem; padding-right: 1.3rem; }
  h1 { font-size: 4.1rem; }
  h2 { font-size: 3.6rem; }
  .facts { gap: 1.4rem; }
  .hero-actions, .ad-actions { align-items: flex-start; flex-direction: column; }
  .ticker { justify-content: flex-start; }
  .section { padding-top: 5rem; padding-bottom: 5rem; }
  .section-heading { gap: 1.5rem; }
  .news-ready { grid-template-columns: 1fr; padding: 2rem 0; }
  .news-ready .button { grid-column: 1; }
  .portraits { overflow-x: auto; grid-template-columns: repeat(3, 190px); padding-top: 2rem; }
  .portraits figure:nth-child(2) { transform: none; }
  .ad-section { padding: 5rem 1.3rem 23rem; align-items: flex-start; }
  .ad-copy { width: 100%; }
  .ad-badge { width: 310px; height: 310px; left: 50%; top: auto; bottom: -10px; transform: translateX(-50%) rotate(-8deg); font-size: 5rem; }
  footer { grid-template-columns: 1fr 1fr; padding: 3.5rem 1.3rem 2rem; gap: 2.5rem 1rem; }
  .footer-brand { grid-column: 1/-1; }
  .content-page { padding: 4.5rem 0; }
  .content-page > h1, .single-article > h1 { font-size: 3.7rem; }
  .post-list, .issue-card-grid { grid-template-columns: 1fr; }
}
