/* ===================== DESIGN 2 — bold sans, orange + green ===================== */
:root {
  --surface: #ffffff;
  --surface-2: #f4f5ef;
  --ink: #16140f;
  --ink-2: #46433c;
  --muted: #726c61;
  --inverse: #ffffff;
  --slab: #16280c;            /* deep green slab */
  --border: #e3e0d7;
  --accent: #ea580c;          /* kräftiges Orange */
  --accent-strong: #c2410c;
  --green: #5fa30a;           /* kräftiges Hellgrün */
  --green-bright: #84cc16;

  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 80px);
  --radius: 10px;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; font-style: normal; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

/* ===================== HELPERS ===================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px; border-radius: 3px;
  background: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-strong); transform: translateY(-2px); }
.btn--ghost { border-color: var(--green); color: #3f6e06; }
.btn--ghost:hover { background: var(--green); color: #fff; border-color: var(--green); }

.readmore {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: none;
  border: none;
  padding: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}
.readmore span {
  padding-bottom: 3px;
  background-image: linear-gradient(var(--green), var(--green));
  background-size: 100% 2.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
}
.readmore svg {
  width: 20px; height: 20px;
  fill: none; stroke: var(--accent); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.25s ease;
}
.readmore:hover svg { transform: translateX(5px); }

.linklike {
  background: none; border: none; padding: 0;
  color: inherit; text-decoration: underline;
  text-underline-offset: 3px; font-size: inherit; cursor: pointer; font-family: inherit;
}

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}
.wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}
.wordmark::after { content: "."; color: var(--accent); }
.main-nav { display: flex; gap: 1.7rem; }
.main-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
  position: relative;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -5px;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.25s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.72) 42%, rgba(255,255,255,0.18) 75%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  justify-self: center;
  text-align: left;
}
.hero__content .eyebrow { margin-top: 0; }
.hero h1 {
  font-size: clamp(2.8rem, 8.5vw, 6rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 62%;
}
.hero__lead {
  max-width: 32ch;
  margin: 1.6rem 0 0;
  color: var(--ink-2);
  font-size: 1.1rem;
}
.hero__actions { display: flex; gap: 1rem; margin-top: 2.2rem; justify-content: flex-start; }
.hero__edge {
  position: absolute;
  bottom: 2rem;
  z-index: 2;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--muted);
  margin: 0;
}
.hero__edge--left { left: var(--gutter); }
.hero__edge--right { right: var(--gutter); }

/* ===================== ZONES ===================== */
.zone {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8.5rem) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.zone__text h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  line-height: 1.16;
  font-weight: 600;
}
.zone__media { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(22, 40, 12, 0.1); }
.zone__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform 0.8s ease;
}
.zone__media:hover img { transform: scale(1.04); }
.zone--text-right .zone__text { order: 2; }
.zone--text-right .zone__media { order: 1; }

/* ===================== QUOTE BANNER ===================== */
.quote-banner {
  background: var(--slab);
  color: var(--inverse);
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
}
.quote-banner blockquote {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.quote-banner__text {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.3vw, 2.5rem);
  line-height: 1.3;
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.02em;
  transition: opacity 0.6s ease;
}
.quote-banner__cite {
  display: block;
  margin-top: 1.8rem;
  font-family: var(--font-body);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--green-bright);
  transition: opacity 0.6s ease;
}
.quote-banner.is-fading .quote-banner__text,
.quote-banner.is-fading .quote-banner__cite { opacity: 0; }

/* ===================== OFFER ===================== */
.offer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) var(--gutter);
}
.offer__intro { max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.offer__intro h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  line-height: 1.14;
  font-weight: 600;
}
.offer__cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.offer-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(22, 40, 12, 0.12); }
.offer-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.offer-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.offer-card:hover .offer-card__media img { transform: scale(1.05); }
.offer-card__body { padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; flex: 1; }
.offer-card__body h3 { font-size: 1.7rem; margin-bottom: 0.8rem; font-weight: 600; }
.offer-card__body p { color: var(--ink-2); flex: 1; }
.offer-card:first-child { border-top: 4px solid var(--accent); }
.offer-card:last-child { border-top: 4px solid var(--green); }

/* ===================== CONTACT ===================== */
.contact {
  background: var(--surface-2);
  padding: clamp(4.5rem, 11vw, 9rem) var(--gutter);
}
.contact__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.contact__inner h2 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; font-weight: 700; }
.contact__lead { margin: 1.4rem auto 0; max-width: 46ch; color: var(--ink-2); font-size: 1.15rem; }
.contact__details {
  margin-top: 2.6rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center;
}
.contact__details a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  text-decoration: none;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.contact__details a:hover { color: var(--accent); border-color: var(--green); }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--slab);
  color: #cfe0bf;
  padding: 2.4rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer .wordmark { color: var(--inverse); font-size: 1.2rem; }
.site-footer .wordmark::after { color: var(--green-bright); }
.site-footer__brand { display: flex; align-items: baseline; gap: 0.9rem; flex-wrap: wrap; }
.site-footer__tag { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8fae74; }
.site-footer__meta { display: flex; align-items: center; gap: 1.6rem; font-size: 0.85rem; flex-wrap: wrap; }
.site-footer__meta .linklike { color: #cfe0bf; }
.site-footer__meta .linklike:hover { color: var(--green-bright); }

/* ===================== OVERLAYS ===================== */
.overlay-root { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.overlay {
  position: fixed;
  inset: 0;
  background: var(--surface);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  pointer-events: none;
}
.overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.overlay__close {
  position: fixed;
  top: clamp(1rem, 2.5vw, 2rem);
  right: clamp(1rem, 2.5vw, 2.5rem);
  z-index: 5;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: #fff;
  display: grid; place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.overlay__close svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; }
.overlay__close:hover { background: var(--accent); transform: rotate(90deg); }
.overlay__close:hover svg { stroke: #fff; }

.overlay__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(4.5rem, 11vw, 8rem) var(--gutter) clamp(4rem, 8vw, 7rem);
}
.overlay__inner > h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 700;
  max-width: 22ch;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.overlay__columns {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.overlay__columns--lists { grid-template-columns: 1fr 1fr; margin-top: clamp(2.5rem, 5vw, 4rem); }
.overlay__media { margin: 0; border-radius: var(--radius); overflow: hidden; position: sticky; top: 2rem; }
.overlay__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.overlay__banner { margin: 0 0 clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius); overflow: hidden; }
.overlay__banner img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.overlay__prose p { color: var(--ink-2); margin-bottom: 1.2rem; font-size: 1.08rem; }
.overlay__prose p:last-child { margin-bottom: 0; }
.overlay__prose--wide { max-width: 70ch; }
.overlay__prose h3 { font-size: 1.4rem; margin: 2rem 0 0.8rem; font-weight: 600; }
.overlay__prose h3:first-child { margin-top: 0; }
.overlay__prose ul { margin: 0.6rem 0 0; padding-left: 1.2rem; color: var(--ink-2); }
.overlay__prose ul li { margin-bottom: 0.5rem; }
.overlay__prose ul li::marker { color: var(--green); }
.overlay__prose a { color: var(--accent); text-underline-offset: 3px; }
.credits { font-size: 0.95rem; color: var(--muted) !important; }

.cv h3 { font-size: 1.3rem; margin-bottom: 1.2rem; font-weight: 600; }
.cv ul { margin: 0; padding-left: 1.2rem; color: var(--ink-2); }
.cv ul li { margin-bottom: 0.6rem; }
.cv ul li::marker { color: var(--green); }
.cv__list { list-style: none; padding: 0; }
.cv__list li {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.cv__list li span { color: var(--ink); }
.cv__list li em {
  font-style: normal;
  white-space: nowrap;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

body.no-scroll { overflow: hidden; }

/* ===================== DESIGN SWITCH PILL ===================== */
.design-switch {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.2rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 30px rgba(234, 88, 12, 0.32);
  transition: transform 0.2s ease, background 0.2s ease;
}
.design-switch:hover { transform: translateY(-3px); background: var(--green); }
.design-switch__label { text-transform: uppercase; letter-spacing: 0.18em; opacity: 0.85; font-size: 0.68rem; }
.design-switch__num { font-variant-numeric: tabular-nums; }

/* ===================== REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 320px);
    background: var(--surface);
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.12);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; }
  .nav-toggle { display: flex; z-index: 60; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.55) 45%, rgba(255,255,255,0.97) 88%);
  }
  .hero__media img { object-position: 50% 25%; }
  .hero h1 { max-width: 100%; }
  .hero__edge { display: none; }

  .zone { grid-template-columns: 1fr; gap: 2rem; }
  .zone--text-right .zone__text { order: 1; }
  .zone--text-right .zone__media { order: 2; }
  .zone__media img { aspect-ratio: 16 / 11; }

  .offer__cards { grid-template-columns: 1fr; }

  .overlay__columns,
  .overlay__columns--lists { grid-template-columns: 1fr; }
  .overlay__media { position: static; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .cv__list li { flex-direction: column; gap: 0.2rem; }
}

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