/*
Theme Name: Christoph Meyer
Theme URI: https://christoph-meyer.berlin/
Author: Christoph Meyer
Description: Schlankes Kampagnen-Theme für Christoph Meyer zur Abgeordnetenhauswahl 2026.
Version: 1.0.6
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: christoph-meyer
*/

@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-italic-variable.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --yellow: #ffe000;
  --blue: #032d67;
  --cyan: #00a7e7;
  --white: #fff;
  --black: #000;
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
  --max-width: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--blue);
  background: var(--white);
  font-family: "Public Sans", Arial, sans-serif;
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.25rem);
  line-height: 1.45;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--black);
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(1.4rem, 3vw, 3rem) var(--page-pad);
  color: var(--yellow);
}

.site-header--solid {
  position: relative;
  background: var(--blue);
}

.site-header--solid .site-nav {
  color: var(--yellow);
}

.brand,
.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: clamp(4.2rem, 7vw, 7rem);
}

.brand span {
  order: -1;
  padding-top: 0;
  line-height: 1;
  font-size: clamp(0.8rem, 1vw, 1rem);
  font-weight: 800;
}

.site-nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 3.5rem);
  color: var(--blue);
}

.site-nav a {
  padding: 0.35rem 0;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--yellow);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(900px, 100svh);
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 820px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(9rem, 14vw, 13rem) var(--page-pad) clamp(4rem, 7vw, 7rem);
}

.eyebrow {
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
  font-size: clamp(0.75rem, 0.5vw + 0.65rem, 1.05rem);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 7ch;
  color: var(--yellow);
  font-size: clamp(4.25rem, 9vw, 9.5rem);
}

.hero h1 span {
  color: inherit;
}

.bar {
  width: min(16rem, 46%);
  height: clamp(0.65rem, 1.1vw, 1.15rem);
  margin: clamp(2rem, 4vw, 4rem) 0;
  background: var(--cyan);
}

.bar--yellow {
  background: var(--yellow);
}

.bar--cyan {
  background: var(--cyan);
}

.hero__name {
  margin-bottom: 0.15rem;
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero__role {
  margin-bottom: clamp(2rem, 4vw, 3.75rem);
  font-weight: 650;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
  border-bottom: 3px solid currentColor;
}

.text-link span {
  font-size: 1.25em;
}

.text-link--yellow {
  color: var(--yellow);
}

.hero__portrait {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #e9e9e9;
}

.hero__portrait::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(3, 45, 103, 0.12), transparent 35%);
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  filter: contrast(1.04);
}

.hero__marker {
  position: absolute;
  z-index: 3;
  right: -0.04em;
  bottom: -0.2em;
  margin: 0;
  color: rgba(255, 224, 0, 0.9);
  font-size: clamp(8rem, 17vw, 18rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 1;
  pointer-events: none;
}

.section {
  display: grid;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 10rem) var(--page-pad);
  grid-template-columns: minmax(160px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.section-label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.section-label span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--yellow);
  background: var(--blue);
  place-items: center;
}

.section-label p {
  padding-top: 0.5rem;
}

.section-label--light span {
  color: var(--blue);
  background: var(--yellow);
}

.intro__content {
  max-width: 900px;
}

.intro h2,
.topics__header h2,
.vision h2,
.person h2 {
  font-size: clamp(3.1rem, 7vw, 7.4rem);
}

.intro h2 {
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.lead {
  font-size: clamp(1.4rem, 2.5vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.intro__content > p {
  max-width: 35em;
}

.topics {
  color: var(--white);
  background: var(--blue);
}

.topics__header {
  align-items: start;
}

.topics__header h2 {
  color: var(--yellow);
}

.topic {
  position: relative;
  display: grid;
  min-height: 700px;
  padding: clamp(4rem, 8vw, 8rem) var(--page-pad);
  grid-template-columns: minmax(100px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 8vw, 9rem);
}

.topic__number {
  margin: 0;
  font-size: clamp(5rem, 13vw, 14rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.75;
}

.topic__body {
  width: 100%;
  max-width: 850px;
}

.topic__kicker {
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.topic h3 {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  font-size: clamp(3rem, 6.5vw, 7rem);
}

.topic__body > p:not(.topic__kicker) {
  max-width: 38em;
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  font-weight: 650;
  line-height: 1.3;
}

.topic ul {
  display: grid;
  max-width: 44em;
  margin: clamp(2rem, 4vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid currentColor;
}

.topic li {
  position: relative;
  padding: 1rem 1rem 1rem 2.25rem;
  font-weight: 700;
  border-bottom: 2px solid currentColor;
}

.topic li::before {
  position: absolute;
  left: 0.2rem;
  content: "→";
}

.topic--yellow {
  color: var(--blue);
  background: var(--yellow);
}

.topic--blue {
  color: var(--yellow);
  background: var(--blue);
  border-top: 1px solid rgba(255, 224, 0, 0.25);
}

.topic--cyan {
  color: var(--blue);
  background: var(--cyan);
}

.topic--white {
  color: var(--blue);
  background: var(--white);
}

.vision {
  max-width: none;
  color: var(--white);
  background: var(--blue);
}

.vision__content {
  max-width: 1000px;
}

.vision h2 {
  color: var(--yellow);
}

.vision__content > p:last-child {
  max-width: 35em;
  font-size: clamp(1.3rem, 2.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
}

.person {
  position: relative;
  overflow: hidden;
  min-height: 700px;
}

.person__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.person h2 {
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.person__content > p {
  max-width: 38em;
}

.vita {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  margin: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-top: 2px solid var(--blue);
}

.vita__item {
  display: grid;
  padding: 1.15rem 0;
  border-bottom: 2px solid var(--blue);
  grid-template-columns: minmax(7rem, 0.4fr) 1.6fr;
  gap: 1.5rem;
}

.vita dt,
.vita dd {
  margin: 0;
}

.vita dt {
  font-weight: 900;
}

.vita dd {
  font-weight: 650;
}

.person__personal {
  font-size: 0.9rem;
  font-weight: 800;
}

.person__monogram {
  position: absolute;
  right: -0.05em;
  bottom: -0.23em;
  color: var(--yellow);
  font-size: clamp(11rem, 28vw, 30rem);
  font-weight: 900;
  letter-spacing: -0.11em;
  line-height: 1;
  pointer-events: none;
}

.contact {
  max-width: none;
  color: var(--white);
  background: var(--blue);
}

.contact__content {
  display: grid;
  max-width: 1000px;
  gap: clamp(4rem, 8vw, 8rem);
}

.contact__block h2 {
  margin-bottom: clamp(2rem, 4vw, 4rem);
  color: var(--yellow);
  font-size: clamp(3.1rem, 7vw, 7.4rem);
}

.contact__block h3 {
  margin-bottom: 2rem;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
}

.contact__block > p:not(.eyebrow) {
  max-width: 34em;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  font-weight: 650;
}

.contact__mail {
  display: inline-block;
  color: var(--white);
  font-size: clamp(1.05rem, 2.5vw, 2.25rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 0.18em;
  text-underline-offset: 0.25em;
}

.privacy {
  align-items: start;
  background: var(--white);
}

.privacy__content {
  min-width: 0;
  max-width: 940px;
}

.privacy__content > h1,
.privacy__content > h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.1rem, 7vw, 7.4rem);
}

.privacy__updated {
  margin-bottom: clamp(3rem, 6vw, 6rem);
  font-size: 0.85rem;
  font-weight: 800;
}

.privacy__text {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--blue);
}

.privacy__text section {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-bottom: 2px solid var(--blue);
}

.privacy__text h2,
.privacy__text h3 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.privacy__text p,
.privacy__text address {
  max-width: 48em;
}

.privacy__text address {
  font-style: normal;
}

.privacy__text a {
  font-weight: 750;
  overflow-wrap: anywhere;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

.site-footer {
  display: grid;
  align-items: start;
  padding: clamp(3rem, 6vw, 6rem) var(--page-pad);
  color: var(--blue);
  background: var(--yellow);
  grid-template-columns: 0.7fr 1.3fr 0.7fr;
  gap: 2rem;
}

.footer__brand img {
  width: clamp(4.5rem, 7vw, 7rem);
}

.footer__brand span {
  order: -1;
  line-height: 1;
  font-size: 0.85rem;
  font-weight: 850;
}

.site-footer p,
.site-footer address,
.site-footer a {
  font-size: 0.85rem;
  font-weight: 700;
}

.footer__legal {
  text-align: left;
}

.footer__legal h2 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.footer__legal p {
  margin-bottom: 0.75rem;
}

.footer__legal address {
  margin-bottom: 0.75rem;
  font-style: normal;
}

.footer__note {
  margin: 1rem 0 0;
  opacity: 0.65;
  grid-column: 2 / -1;
}

@media (min-width: 1441px) {
  .topic {
    padding-right: max(var(--page-pad), calc((100vw - var(--max-width)) / 2 + var(--page-pad)));
    padding-left: max(var(--page-pad), calc((100vw - var(--max-width)) / 2 + var(--page-pad)));
  }
}

@media (max-width: 850px) {
  .site-header {
    position: absolute;
  }

  .site-header--solid {
    position: relative;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.3rem 0;
    color: var(--yellow);
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 850;
  }

  .menu-toggle__icon,
  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle__icon {
    position: relative;
  }

  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-toggle__icon::before {
    top: -6px;
  }

  .menu-toggle__icon::after {
    top: 6px;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__icon {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    padding: var(--page-pad);
    color: var(--yellow);
    background: var(--blue);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero__content {
    min-height: 680px;
    padding-top: 9rem;
  }

  .hero__portrait {
    height: min(135vw, 850px);
    min-height: 0;
  }

  .hero__marker {
    bottom: -0.08em;
  }

  .section,
  .topic {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .topic {
    min-height: 0;
  }

  .topic__number {
    font-size: clamp(4rem, 22vw, 8rem);
  }

  .person {
    padding-bottom: 14rem;
  }

  .vita__item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer__note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: clamp(3.8rem, 19vw, 5.7rem);
  }

  .hero__content {
    min-height: 640px;
  }

  .hero__portrait {
    height: 140vw;
  }

  .section {
    gap: 2.5rem;
  }

  .intro h2,
  .topics__header h2,
  .vision h2,
  .person h2,
  .topic h3 {
    font-size: clamp(2.75rem, 14vw, 4.25rem);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer__note {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
