/* =========================================================
   Ambiatec Biosolutions – Stylesheet
   Design nach reference/screenshots (alte WordPress-Seite).
   Breakpoints: < 768 px Handy · 768–1023 px Tablet · ≥ 1024 px Desktop
   ========================================================= */

/* ---------- Schriften (lokal, nur Latin) ---------- */
@font-face { font-family: "Comfortaa"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/comfortaa-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Comfortaa"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/comfortaa-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Comfortaa"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/comfortaa-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Encode Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/encode-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Encode Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/encode-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Encode Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/encode-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Encode Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/encode-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Encode Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/encode-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --cyan: #6FCADB;
  --blue: #4454A3;
  --red: #EC2F26;
  --green: #6ABC45;
  --text-dark: #3A3A3A;
  --panel-dark: rgba(25, 27, 33, 0.9);
  --header-bg: rgba(0, 0, 0, 0.8);
  --footer-bg: #000000;
  --page-bg: #F5F5F5;
  --text-light: #E8E8EA;

  --font-head: "Comfortaa", "Trebuchet MS", sans-serif;
  --font-body: "Encode Sans", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --container: 1170px;
  --gutter: 16px;
  --header-h: 244px;      /* Desktop-Kopfbereich */
  --header-top: 15px;
  --stage-top: 159px;     /* Beginn des Farbhintergrunds unter dem Kopfbereich */

  --bg: image-set(url("/img/bg-circles-1600.avif") type("image/avif"), url("/img/bg-circles-1600.webp") type("image/webp"), url("/img/bg-circles-1600.jpeg") type("image/jpeg"));
}
@media (max-width: 800px) {
  :root { --bg: image-set(url("/img/bg-circles-800.avif") type("image/avif"), url("/img/bg-circles-800.webp") type("image/webp"), url("/img/bg-circles-800.jpeg") type("image/jpeg")); }
}
@media (min-width: 1601px), (min-width: 1000px) and (min-resolution: 1.5dppx) {
  :root { --bg: image-set(url("/img/bg-circles-2880.avif") type("image/avif"), url("/img/bg-circles-2880.webp") type("image/webp"), url("/img/bg-circles-2880.jpeg") type("image/jpeg")); }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 0.6em; font-family: var(--font-head); font-weight: 600; line-height: 1.3; }
p, ul { margin: 0 0 1em; }
strong { font-weight: 700; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 4px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.draft-banner {
  position: fixed; right: 12px; bottom: 12px; z-index: 50; margin: 0;
  background: #ffcc00; color: #000; padding: 6px 12px; border-radius: 4px; font-weight: 600; font-size: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 48px; padding: 0 38px; border-radius: 100px;
  font-family: var(--font-ui); font-weight: 600; font-size: 16px; letter-spacing: 3px;
  text-decoration: none; color: #fff; border: 2px solid transparent;
  transition: filter .2s ease, background-color .2s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn .icon-arrow { flex: none; }
/* Dunkle Schrift auf Cyan: weiße Schrift hätte nur 1,9:1 Kontrast */
.btn--cyan { background: var(--cyan); color: #10262c; }
.btn--blue { background: var(--blue); min-height: 60px; padding: 0 42px; font-size: 17px; letter-spacing: 4px; }
.btn--gradient {
  background: linear-gradient(180deg, var(--blue) 0%, var(--red) 100%);
  border-color: #4A86D8; min-height: 62px; padding: 0 42px; font-size: 17px; letter-spacing: 4px;
}
.btn--outline { border-color: #fff; background: transparent; min-height: 54px; padding: 0 42px; font-size: 17px; letter-spacing: 4px; }
.btn--outline:hover { background: rgba(255,255,255,.1); }
.btn--small { min-height: 47px; padding: 0 28px; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; }
.cta { margin: 0; }

/* ---------- Kopfbereich ---------- */
.site-header {
  position: relative; z-index: 20;
  color: #fff;
  background-color: #14161b;
  background-image: linear-gradient(var(--header-bg), var(--header-bg)), var(--bg);
  background-size: cover; background-position: center;
}
.header-inner { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.header-top {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 35px 0 20px; border-bottom: 1px solid rgba(255,255,255,.16);
}
.btn--header { min-height: 48px; padding: 0 28px; font-size: 12px; letter-spacing: 3px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--cyan); text-decoration: none;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 3px; text-transform: uppercase;
}
.header-phone:hover { text-decoration: underline; }
.header-main { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 90px; }
.header-logo { display: block; width: 128px; }
.header-logo img { width: 100%; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: 32px; padding: 0;
  background: transparent; border: 0; color: #fff; cursor: pointer; border-radius: 6px;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-burger { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
  background: #0d0e11; border-top: 1px solid rgba(255,255,255,.12); padding: 8px 0 16px;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 12px var(--gutter);
  font-family: var(--font-ui); font-weight: 500; font-size: 17px; color: #fff; text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--cyan); }

@media (min-width: 768px) {
  .header-top { flex-direction: row; justify-content: space-between; padding: 22px 0 10px 44px; }
  .header-main { min-height: 140px; }
  .header-logo { width: 220px; }
}

@media (min-width: 1024px) {
  .site-header {
    position: absolute; top: var(--header-top); left: max(var(--gutter), 3.54vw); right: max(var(--gutter), 3.54vw);
    height: var(--header-h);
  }
  .header-top { padding: 22px 7px 10px 44px; }
  .btn--header { min-height: 57px; padding: 0 44px; font-size: 15px; letter-spacing: 3px; }
  .header-phone { font-size: 12px; }
  .header-main { min-height: 0; padding-top: 26px; justify-content: flex-start; }
  .header-logo { width: 303px; margin-left: -12px; }
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    display: block; position: static; background: none; border: 0; padding: 0;
    flex: 1; margin-top: -8px;
  }
  .site-nav ul { display: flex; justify-content: center; gap: 22px; padding-right: 60px; }
  .site-nav a { padding: 8px 15px; font-size: 17px; }
  .site-nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 8px; }
  .site-nav a:hover { color: var(--cyan); }
}

/* ---------- Farbkreis-Bühne ---------- */
.stage {
  position: relative;
  color: #fff;
  background-color: #6a8fc0;
  background-image: var(--bg);
  background-size: cover; background-position: center;
}
.stage--dimmed { background-image: linear-gradient(rgba(25,27,33,.84), rgba(25,27,33,.84)), var(--bg); }
@media (min-width: 1024px) {
  .stage { margin-top: var(--stage-top); }
  .page-home { --stage-top: 115px; }
}

/* ---------- Startseite ---------- */
.stage--hero { padding: 48px 0 50px; }
.hero { display: flex; flex-direction: column; }
.hero-icon { order: -1; width: 180px; margin: 0 auto 24px; }
.hero-icon img { width: 100%; }
/* Hintergrund wie alte Seite etwas größer und oben ausgerichtet */
.stage--hero { background-size: auto 140%; background-position: 50% 0; }
.hero-text h1 {
  font-family: var(--font-head); font-weight: 400; font-size: 34px; line-height: 1.3; letter-spacing: -0.5px;
  margin: 0 0 30px;
}
.hero-text p {
  font-family: var(--font-body); font-weight: 500; font-size: 16px; line-height: 2.1; letter-spacing: 1px;
  margin: 0 0 30px;
}
.hero-text a:not(.btn) { color: #fff; text-decoration: none; }
.hero-text a:not(.btn):hover { text-decoration: underline; }
.hero-text h1, .hero-text p { text-shadow: 0 1px 14px rgba(0,0,0,.28); }
.hero-text .hero-cta { margin: 0; text-shadow: none; }
.hero-cta .btn { min-height: 48px; padding: 0 44px; font-size: 13px; letter-spacing: 3px; }

@media (min-width: 768px) {
  .stage--hero { padding: 60px 0 80px; }
  .hero-text h1 { font-size: 46px; font-weight: 700; letter-spacing: -1.5px; }
  .hero-icon { width: 220px; }
}
@media (min-width: 1024px) {
  .stage--hero { padding: 270px 0 128px; }
  .hero { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .hero-text { max-width: 760px; }
  .hero-text h1, .hero-text p:not(.hero-cta) { max-width: 520px; }
  .hero-text h1 { font-size: 56px; margin-bottom: 52px; }
  .hero-text p { margin-bottom: 33px; }
  .hero-icon { order: 0; width: 330px; margin: 0 40px 0 0; }
  .hero-cta .btn { min-height: 60px; padding: 0 34px; font-size: 15px; letter-spacing: 2.5px; }
}

/* Zwei Buttons nebeneinander (Hero, Startseite unten) */
.hero-cta, .welcome-cta { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.welcome-cta { justify-content: center; }
.hero-cta .btn--outline { background: rgba(25,27,33,.28); }
.hero-cta .btn--outline:hover { background: rgba(25,27,33,.45); }
.btn { text-align: center; }
@media (max-width: 479px) {
  .hero-cta .btn, .welcome-cta .btn { width: 100%; padding-left: 16px; padding-right: 16px; font-size: 12.5px; letter-spacing: 1.2px; gap: 10px; }
}

/* Dunkles Panel über dem Hintergrund (Welcome, Insights, Technologies) */
.panel-dark {
  color: var(--text-light);
  background-color: #2e2f35;
  background-image: linear-gradient(var(--panel-dark), var(--panel-dark)), var(--bg);
  background-size: cover; background-position: center;
}
.welcome { padding: 40px 0 48px; text-align: center; }
.welcome-inner { padding: 0 28px; }
.welcome h2 { font-size: 34px; font-weight: 600; color: #fff; margin-bottom: 18px; letter-spacing: -0.5px; }
.welcome p { font-size: 16px; line-height: 1.55; margin-bottom: 30px; }
.welcome strong { color: #fff; }
.welcome-cta { padding-top: 6px; }
.welcome-cta .btn { padding: 0 18px; font-size: 13px; letter-spacing: 3px; min-height: 52px; }
@media (min-width: 768px) {
  .welcome { padding: 100px 0 60px; text-align: left; }
  .welcome-inner { padding: 0 var(--gutter); }
  .welcome h2 { text-align: center; font-size: 46px; }
  .welcome p { font-size: 18px; line-height: 1.7; }
  .welcome-cta { text-align: center; }
}
@media (min-width: 1024px) {
  .welcome { padding: 166px 0 90px; }
  .welcome h2 { font-size: 56px; margin-bottom: 30px; letter-spacing: -1px; }
  .welcome p { font-size: 19px; margin-bottom: 30px; }
  .welcome-cta { padding-top: 20px; }
  .welcome-cta .btn { padding: 0 42px; font-size: 17px; letter-spacing: 4px; min-height: 62px; }
}

/* Desktop: Panel einfarbig wie auf der alten Seite */
@media (min-width: 1024px) {
  .panel-dark { background-image: none; background-color: #2e2f35; }
}

/* ---------- Startseite: Technologie-Block ---------- */
.home-tech { padding: 48px 0 56px; text-align: center; border-top: 1px solid rgba(255,255,255,.08); }
.home-tech h2 { font-size: 30px; font-weight: 600; color: #fff; letter-spacing: -0.5px; margin-bottom: 28px; }
.home-tech-grid { display: grid; gap: 16px; text-align: left; }
.home-tech-card {
  padding: 22px 20px 6px; border-radius: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-top: 3px solid var(--cyan);
}
.home-tech-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 17px; line-height: 1.4; color: #fff; margin-bottom: 8px; }
.home-tech-card p { font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.home-tech-footer { max-width: 900px; margin: 32px auto 0; }
.home-tech-footer > p:not(.welcome-cta) { font-size: 16px; line-height: 1.7; margin: 0 0 28px; }
@media (min-width: 640px) {
  .home-tech-grid { grid-template-columns: repeat(2, 1fr); }
  .home-tech-card:last-child { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  .home-tech { padding: 80px 0 80px; }
  .home-tech h2 { font-size: 40px; }
}
@media (min-width: 1100px) {
  .home-tech-grid { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .home-tech-card:last-child { grid-column: auto; }
}
@media (min-width: 1024px) {
  .home-tech { padding: 100px 0 90px; background-color: #26272c; }
  .home-tech h2 { font-size: 46px; letter-spacing: -1px; margin-bottom: 44px; }
  .home-tech-footer > p:not(.welcome-cta) { font-size: 18px; }
  .home-tech .welcome-cta .btn { padding: 0 34px; font-size: 15px; letter-spacing: 2.5px; min-height: 60px; }
}

/* ---------- Seiten-Intro (Technologies) ---------- */
.stage--page { padding: 48px 0 56px; }
.page-intro h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.5px; max-width: 900px; text-shadow: 0 1px 14px rgba(0,0,0,.28); }
.page-intro p { max-width: 760px; font-weight: 500; font-size: 16px; line-height: 2; letter-spacing: .5px; margin: 0; text-shadow: 0 1px 14px rgba(0,0,0,.28); }
@media (min-width: 768px) {
  .stage--page { padding: 80px 0 90px; }
  .page-intro h1 { font-size: 44px; letter-spacing: -1.5px; }
  .page-intro p { font-size: 17px; }
}
@media (min-width: 1024px) {
  .stage--page { padding: 230px 0 130px; }
  .page-intro h1 { font-size: 52px; }
}

/* ---------- Technologies ---------- */
.tech { padding: 56px 0 64px; }
.tech-section + .tech-section { margin-top: 48px; }
.tech h2 { font-size: 30px; color: #fff; }
.tech h3 { font-family: var(--font-body); font-weight: 600; font-size: 18px; line-height: 1.4; color: #fff; margin-bottom: 10px; }
.tech p, .tech li { font-size: 16px; line-height: 1.7; }
.tech strong { color: #fff; }
.tech-grid { display: grid; gap: 20px; margin-top: 8px; }
.tech-card {
  padding: 26px 24px 10px; border-radius: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-top: 3px solid var(--cyan);
}
.tech-section ul { list-style: none; padding: 0; margin: 0 0 1.4em; }
.tech-section li { position: relative; padding-left: 26px; margin-bottom: 14px; }
.tech-section li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%;
  background: var(--green);
}
.tech .welcome-cta { text-align: center; padding-top: 18px; }
.tech .welcome-cta .btn { padding: 0 28px; }
@media (min-width: 768px) {
  .tech { padding: 90px 0 80px; }
  .tech h2 { font-size: 38px; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .tech p, .tech li { font-size: 17px; }
}
@media (min-width: 1024px) {
  .tech { padding: 120px 0 90px; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .tech-section + .tech-section { margin-top: 72px; }
  .tech-section:not(:first-child) { max-width: 960px; }
  .tech .welcome-cta .btn { padding: 0 42px; }
}

/* ---------- Expertise ---------- */
/* Foto und Text bilden eine Box; der Text umfließt das Foto (float). */
.stage--expertise { padding: 32px 0 40px; }
.profile {
  background: #fff; color: #222; border-radius: 10px;
  padding: 24px 20px 8px; max-width: 1060px; margin: 0 auto;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.profile::after { content: ""; display: block; clear: both; }
.profile-text { display: contents; }
.profile-photo { margin: 0 0 22px; }
.profile-photo img { width: 100%; border-radius: 8px; }
.profile h1 { margin: 0 0 20px; line-height: 1.2; }
.profile-name { display: block; color: var(--blue); font-family: var(--font-head); font-weight: 700; font-size: 32px; letter-spacing: -0.5px; }
.profile-role { display: block; margin-top: 8px; color: var(--text-dark); font-family: var(--font-head); font-weight: 600; font-size: 19px; letter-spacing: 0; }
.profile p { font-family: var(--font-head); font-weight: 400; font-size: 17px; line-height: 1.6; color: #222; margin: 0 0 20px; }
@media (min-width: 640px) {
  .profile { padding: 36px 36px 16px; }
  .profile-photo { float: left; width: 40%; margin: 4px 32px 16px 0; }
  .profile-name { font-size: 36px; }
}
@media (min-width: 1024px) {
  .stage--expertise { padding: 140px 0 110px; }
  .profile { padding: 48px 52px 28px; }
  .profile-photo { width: 340px; margin: 4px 44px 20px 0; }
  .profile-name { font-size: 44px; letter-spacing: -1px; }
  .profile-role { font-size: 22px; margin-top: 10px; }
  .profile h1 { margin-bottom: 28px; }
  .profile p { font-size: 18px; line-height: 1.65; margin-bottom: 22px; }
}

/* ---------- Kontakt ---------- */
.stage--contact { padding: 45px 0 36px; background-image: linear-gradient(rgba(25,27,33,.92), rgba(25,27,33,.92)), var(--bg); }
.contact-panel {
  background: #2e3036; color: #fff; border-radius: 8px;
  padding: 26px 25px 18px;
}
.contact-panel h1 { font-size: 36px; font-weight: 600; margin-bottom: 18px; }
.contact-lead { color: var(--green); font-size: 16px; line-height: 1.75; margin-bottom: 24px; }
.contact-list { list-style: none; padding: 0; margin: 0; font-family: var(--font-head); font-weight: 400; font-size: 17px; line-height: 1.5; }
.contact-list li { position: relative; padding-left: 47px; margin-bottom: 18px; min-height: 32px; }
.contact-list li:nth-child(1) { margin-bottom: 0; }
.contact-list li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 32px; height: 32px;
  background: center / contain no-repeat;
}
.contact-list li:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7z'/%3E%3Cpath d='M12 6v6M9 9h6' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.contact-list li:nth-child(2)::before { display: none; }
.contact-list li:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='2' width='14' height='20' rx='2.5' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3Ccircle cx='12' cy='18.5' r='1.2' fill='%23fff'/%3E%3C/svg%3E"); }
.contact-list li:nth-child(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3Cpath d='M16 8v5.5a2.5 2.5 0 0 0 5 0V12a9 9 0 1 0-3.5 7.1' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.contact-form-section { background: #000; color: #fff; padding: 38px 0 72px; }
.contact-form-section h2 { font-size: 30px; font-weight: 600; margin: 0 0 14px; padding-left: 28px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; padding: 0 28px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  width: 100%; background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.75); border-radius: 5px;
  font-family: var(--font-body); font-weight: 300; font-size: 16px; line-height: 1.5;
  padding: 10px 20px; min-height: 44px;
}
.contact-form textarea { min-height: 165px; resize: vertical; }
.contact-form ::placeholder { color: #9a9a9a; opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--cyan); outline: 2px solid var(--cyan); outline-offset: 0; }
.btn-send {
  align-self: stretch; min-height: 44px; border: 0; border-radius: 3px; cursor: pointer;
  background: #fff; color: var(--blue);
  font-family: var(--font-ui); font-weight: 600; font-size: 13px; letter-spacing: 3.5px;
}
.btn-send:hover { background: #e9ecf8; }
.form-note { font-size: 14px; color: #c8c8c8; margin: 0; }
.form-note a { color: var(--cyan); }
.form-error { margin: 0 28px 16px; padding: 10px 16px; border-radius: 4px; background: #5a1512; color: #fff; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 768px) {
  .contact-panel { padding: 40px 50px 30px; }
  .contact-form-section h2 { font-size: 38px; padding-left: 14px; }
  .contact-form { padding: 0; }
  .btn-send { align-self: flex-start; width: 434px; min-height: 48px; }
  .form-error { margin: 0 0 16px; }
}
@media (min-width: 1024px) {
  .stage--contact { padding: 130px 0 75px; background-image: var(--bg); }
  .contact-panel { background: #000; border-radius: 0 0 6px 6px; padding: 30px 90px 14px; }
  .contact-panel h1 { font-size: 40px; }
  .contact-form-section { padding: 88px 0 150px; }
  .contact-form-section h2 { font-size: 42px; margin-bottom: 8px; }
  .contact-form input[type="text"], .contact-form input[type="email"] { min-height: 56px; }
}

/* ---------- Insights ---------- */
.stage--insights {
  background-image: linear-gradient(rgba(58,74,168,.82), rgba(58,74,168,.82)), var(--bg);
  padding: 70px 0 80px; text-align: center;
}
.insights-intro { display: flex; flex-direction: column; align-items: center; }
.insights-intro h1 { order: 2; font-size: 38px; font-weight: 600; margin: 0; }
.insights-intro p { order: 1; color: #E5E85A; font-weight: 400; font-size: 17px; letter-spacing: 1.2px; margin: 0 0 18px; line-height: 1.5; }
.insights-list { padding: 64px 0 80px; }
.post-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 64px; max-width: 1050px; }
.post-card { text-align: center; }
.post-card-image { display: block; aspect-ratio: 290 / 179; overflow: hidden; background: #fff; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.post-card-date { text-align: left; font-size: 13px; color: #ddd; margin: 24px 0 14px; }
.post-card-title { font-family: var(--font-body); font-weight: 400; font-size: 24px; line-height: 1.2; letter-spacing: -0.5px; color: #fff; margin: 0 0 18px; }
.post-card-title a { text-decoration: none; }
.post-card-title a:hover { text-decoration: underline; }
.post-card-teaser { font-size: 16px; line-height: 1.7; color: #e6e6e6; margin: 0 0 20px; }
@media (min-width: 640px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 48px; }
}
@media (min-width: 1024px) {
  .stage--insights { padding: 200px 0 335px; }
  .insights-intro h1 { font-size: 56px; letter-spacing: -0.5px; }
  .insights-intro p { font-size: 22px; letter-spacing: 1.5px; margin-bottom: 26px; }
  .insights-list { padding: 140px 0 140px; }
  .post-grid { grid-template-columns: repeat(3, 290px); gap: 90px; }
}

/* ---------- Artikel ---------- */
.stage--post { padding: 50px 0 56px; text-align: center; }
.post-hero h1 { font-size: 32px; font-weight: 600; letter-spacing: .5px; margin: 0 0 22px; text-shadow: 0 1px 14px rgba(0,0,0,.28); }
.post-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 56px; margin: 0; font-weight: 600; font-size: 16px; }
.post-meta-item { display: inline-flex; align-items: center; gap: 9px; }
.post-meta svg { color: #111; }
.post-body { padding: 40px 0 50px; color: #222; }
.prose p, .prose li { font-size: 16px; line-height: 1.8; }
.prose p { margin: 0 0 15px; }
.prose a { color: var(--blue); }
.prose ul { padding-left: 1.3em; margin: 0 0 15px; }
.prose li::marker { color: #4f9fe8; }
.article-figure { margin: 24px 0 0; max-width: 912px; }
.article-figure img { width: 100%; }
.image-link { display: block; }
@media (min-width: 768px) {
  .post-hero h1 { font-size: 44px; }
}
@media (min-width: 1024px) {
  .stage--post { padding: 280px 0 115px; }
  .post-hero { max-width: 1340px; }
  .post-hero h1 { font-size: 56px; letter-spacing: 1px; margin-bottom: 36px; }
  .post-body { padding: 85px 0 80px; }
  .article-figure { margin: 30px 40px 0; }
}

/* ---------- Impressum / Hinweisseiten ---------- */
.stage--legal { padding: 50px 0 60px; }
.legal-center { text-align: center; max-width: 760px; }
.legal-center h1 { font-family: var(--font-body); font-weight: 400; font-size: 32px; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 30px; }
.legal-center p { font-size: 16px; line-height: 1.72; margin: 0 0 27px; }
.legal-center a:not(.btn) { color: #fff; }
.legal-center .cta { padding-top: 26px; }
@media (min-width: 1024px) {
  .stage--legal { padding: 140px 0 85px; }
  .legal-center h1 { font-size: 46px; margin-bottom: 52px; }
}

/* ---------- Datenschutz ---------- */
.stage--privacy {
  background: var(--page-bg);
  padding: 30px 0 0;
}
.stage--privacy::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 740px;
  background-image: var(--bg); background-size: cover; background-position: center;
}
.privacy-panel {
  position: relative; background: #2e2f35; background: rgba(36,38,44,.94);
  padding: 30px 20px 40px; color: var(--green);
}
.privacy-panel h1, .privacy-panel h2 { font-family: var(--font-body); font-weight: 600; font-size: 17px; line-height: 1.6; color: #fff; margin: 0; }
.privacy-panel h1 { margin-bottom: 27px; }
.privacy-panel p { font-size: 16px; line-height: 1.7; margin: 0 0 27px; }
.privacy-panel p:has(+ p) { margin-bottom: 0; }
.privacy-panel a { color: inherit; }
@media (min-width: 1024px) {
  .stage--privacy { margin-top: var(--stage-top); padding: 0 0 100px; }
  .privacy-panel { margin: 0 8px; padding: 213px 35px 60px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #fff; padding: 46px 0 60px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.footer-logo { display: block; width: 128px; }
.footer-links {
  list-style: none; margin: 30px 0 0; padding: 0; order: 3;
  display: flex; flex-direction: column; align-items: center; gap: 44px; text-align: center;
}
.footer-links a {
  color: var(--cyan); text-decoration: none; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 400; font-size: 13px; letter-spacing: 2px;
}
.footer-links li:first-child a { text-transform: none; display: inline-block; }
.footer-links .caps { text-transform: uppercase; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { align-self: flex-start; order: 2; margin: 18px 0 0; font-size: 14px; }
@media (min-width: 768px) {
  .footer-inner { display: grid; grid-template-columns: 260px 1fr; align-items: start; column-gap: 40px; }
  .footer-logo { width: 200px; }
  .footer-links { order: 0; margin: 4px 0 0; flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 24px; text-align: left; }
  .footer-copy { grid-column: 1 / -1; margin-top: 50px; }
}
@media (min-width: 1024px) {
  .site-footer { padding: 18px 0 40px; }
  .footer-inner { grid-template-columns: 355px 1fr; column-gap: 0; padding-left: 59px; }
  .footer-logo { width: 237px; }
  .footer-links { margin-top: 30px; justify-content: flex-start; gap: 0; }
  .footer-links li { min-width: 195px; }
  .footer-links li:first-child { max-width: 160px; min-width: 195px; }
  .footer-links a { font-size: 16px; }
  .footer-links li:first-child a { max-width: 140px; }
  .footer-copy { margin-top: 34px; margin-left: -34px; font-size: 16px; }
}

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

/* Handy: Button-Paare einzeilig (steht am Ende, damit es die Abschnittsregeln überschreibt) */
@media (max-width: 479px) {
  .hero-cta .btn, .welcome-cta .btn { width: 100%; padding-left: 16px; padding-right: 16px; font-size: 12.5px; letter-spacing: 1.2px; gap: 10px; white-space: nowrap; }
}
