/* blick-in-die-zukunft.net — minimal rebuild, no framework tail.
   Tokens extracted from the original Drupal/Tailwind theme aggregate. */

@font-face {
  font-family: "Merriweather Sans";
  src: url("MerriweatherSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather Sans";
  src: url("MerriweatherSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather Sans";
  src: url("MerriweatherSans-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather";
  src: url("Merriweather-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111827;
  --body-text: #6b7280;
  --accent: #358280;
  --accent-hover: #90bf1a;
  --footer-bg: #2e706e;
  --footer-text: #ffffff;
  --border: #e5e7eb;
  --bg: #ffffff;
  --hero-fg: #f9fafb;
  --hero-fg-muted: #e5e7eb;
  --font-sans: "Merriweather Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Merriweather", Georgia, serif;
  --container-md: 48rem;   /* 768px — copy-width sections */
  --container-xl: 80rem;   /* 1280px — wide sections */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--body-text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { color: var(--accent-hover); text-decoration: underline; }

.container {
  max-width: var(--container-md);
  margin-inline: auto;
  padding-inline: 1rem;
}
.container-wide {
  max-width: var(--container-xl);
  margin-inline: auto;
}

/* skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  max-width: var(--container-xl);
  margin-inline: auto;
}
.site-logo img { height: 2.5rem; width: auto; }
@media (min-width: 768px) {
  .site-logo img { height: 5rem; width: auto; }
}
.site-nav { display: none; }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  color: var(--ink);
  font-weight: 400;
  font-size: 0.95rem;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--accent); text-decoration: none; }
@media (min-width: 960px) {
  .site-nav { display: block; }
  .nav-toggle { display: none; }
}

.nav-toggle {
  border: 1px solid var(--border);
  background: none;
  border-radius: 0.375rem;
  padding: 0.4rem 0.6rem;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
.site-nav.is-open { display: block; }
.site-nav.is-open ul { flex-direction: column; gap: 0.75rem; padding: 0 1rem 1rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: var(--hero-fg);
  text-align: center;
}
.hero picture,
.hero img {
  width: 100%;
  height: clamp(220px, 32vw, 420px);
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,24,39,.15), rgba(17,24,39,.55));
  pointer-events: none;
}
.hero__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
}
.hero__title {
  font-family: var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 5vw, 3.75rem);
  line-height: 1.1;
  margin: 0;
  color: var(--hero-fg);
}
.hero__subtitle {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.6vw, 1.75rem);
  line-height: 1.3;
  color: var(--hero-fg-muted);
  margin: .75rem 0 0;
}
.hero__credit {
  position: absolute;
  right: .5rem;
  bottom: .4rem;
  font-size: .65rem;
  color: rgba(255,255,255,.75);
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}

/* ---------- intro block ---------- */
.intro { padding: 3rem 0; text-align: left; }
.intro h1,
.intro h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.25;
  margin: 0 0 .5rem;
}
.intro h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.3;
  margin: 0 0 1rem;
}
.intro p { margin: 0; }
.intro p strong { color: var(--ink); font-weight: 400; }

/* ---------- gallery / slider ---------- */
.gallery { padding: 0 0 3.5rem; }
.slider { position: relative; }
.slider__viewport {
  overflow: hidden;
  border-radius: .5rem;
}
.slider__track {
  display: flex;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.slider__slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
}
.slider__slide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: .5rem;
}
.slider__credit {
  position: absolute;
  right: .625rem;
  bottom: .5rem;
  font-size: .7rem;
  color: rgba(255,255,255,.85);
  text-shadow: 0 1px 2px rgba(0,0,0,.7);
}
.slider__nav {
  display: none;
}
@media (min-width: 860px) {
  .slider__nav { display: block; }
}
.slider__button {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.9);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.slider__button:hover { background: #fff; color: var(--accent-hover); }
.slider__button[aria-disabled="true"] { opacity: .35; pointer-events: none; }
.slider__button--prev { left: -1.375rem; }
.slider__button--next { right: -1.375rem; }
.slider__button svg { width: 1rem; height: 1rem; }

.slider__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.slider__dots button {
  width: .6rem;
  height: .6rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-indent: -999px;
  overflow: hidden;
}
.slider__dots li.is-active button { background: var(--accent); }

/* ---------- topics (Im Fokus) ---------- */
.topics { padding: 1rem 0 3rem; }
.topics h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.25;
  margin: 0 0 2rem;
}
.topic { margin: 0 0 2.5rem; }
.topic:last-child { margin-bottom: 0; }
.topic h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.3;
  margin: 0 0 .25rem;
}
.topic h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  margin: 0 0 .5rem;
}
.topic ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.topic li { margin-bottom: .5rem; }
.topic li:last-child { margin-bottom: 0; }
.topic p { margin: 0; }

.closing { padding-bottom: 3.5rem; }
.closing p { margin: 0 0 1.25rem; }
.closing p:last-child { margin-bottom: 0; }
.closing strong { color: var(--ink); font-weight: 400; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;
  padding: 2.5rem 1rem;
}
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: var(--hero-fg-muted); text-decoration: underline; }
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.site-footer__copyright { font-size: .95rem; margin: 0; opacity: .9; }

/* ---------- Kontakt page ---------- */
.contact-block { margin: 0 0 2.5rem; }
.contact-block:last-child { margin-bottom: 0; }
.contact-block h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.3;
  margin: 0 0 1rem;
}
.contact-person { margin: 0 0 1.5rem; }
.contact-person:last-child { margin-bottom: 0; }
.contact-person p { margin: 0 0 .5rem; }
.contact-person p:last-child { margin-bottom: 0; }
.contact-person strong { color: var(--ink); font-weight: 400; }

/* ---------- legal pages (Datenschutz / Impressum) ---------- */
.legal-toc {
  border: 1px solid var(--border);
  border-radius: .5rem;
  padding: 1.25rem 1.5rem;
  margin: 0 0 2.5rem;
}
.legal-toc .legal-toc__title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 0 .75rem;
}
.legal-toc ol {
  columns: 1;
  margin: 0;
  padding-left: 1.25rem;
}
@media (min-width: 640px) {
  .legal-toc ol { columns: 2; column-gap: 2rem; }
}
.legal-toc li { margin-bottom: .4rem; break-inside: avoid; }
.legal-toc a { color: var(--ink); }
.legal-toc a:hover { color: var(--accent); }

.legal-section { margin: 0 0 3rem; scroll-margin-top: 1.5rem; }
.legal-section:last-of-type { margin-bottom: 2rem; }
.legal-section h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(1.3rem, 3.4vw, 1.75rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  scroll-margin-top: 1.5rem;
}
.legal-section h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  font-size: 1.1rem;
  margin: 1.5rem 0 .5rem;
}
.legal-section p { margin: 0 0 1rem; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.legal-section li { margin-bottom: .4rem; }
.legal-section li:last-child { margin-bottom: 0; }
.legal-section__top {
  display: inline-block;
  margin-top: 1rem;
  font-size: .875rem;
}
.legal-updated {
  color: var(--ink);
  font-size: .95rem;
  margin: 0 0 3rem;
}

/* ---------- 404 ---------- */
.error-page {
  text-align: center;
  padding: 5rem 1rem 6rem;
}
.error-page__code {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--accent);
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 1;
  margin: 0;
}
.error-page__title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(1.3rem, 3.4vw, 1.75rem);
  line-height: 1.25;
  margin: 1rem 0 .75rem;
}
.error-page__text {
  max-width: 32rem;
  margin: 0 auto 2rem;
}
.error-page__cta {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: .375rem;
  background: var(--accent);
  color: #fff;
  font-weight: 400;
}
.error-page__cta:hover,
.error-page__cta:focus {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}

/* ---------- utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
