/* ==========================================================================
   grüngolden – Stylesheet
   Farben abgeleitet aus dem grüngolden-Logo (Grün- und Goldtöne)
   ========================================================================== */

:root {
  --c-green-950: #0f2a22;
  --c-green-900: #153a2f;
  --c-green-800: #1c493b; /* Logo: Dunkelgrün */
  --c-green-700: #235e4b; /* Logo: Grün */
  --c-green-600: #2c6d58;
  --c-green-500: #367b68; /* Logo: Salbeigrün */
  --c-green-200: #cfe3da;
  --c-green-100: #e6f0eb;
  --c-gold-300: #f8e3a3;
  --c-gold-400: #f5d571; /* Logo: Hellgold */
  --c-gold-500: #e4c568; /* Logo: Gold */
  --c-gold-700: #7a5c0e; /* Gold für Text auf hellem Grund */
  --c-cream: #fbf8f1;
  --c-sand: #f4eedf;
  --c-line: #e5dec9;
  --c-ink: #14251e;
  --c-text: #2b3b34;
  --c-muted: #56675f;
  --c-white: #ffffff;
  --c-error: #b3261e;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Avenir Next", Avenir, "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 32px;
  --shadow-s: 0 1px 2px rgba(20, 37, 30, 0.06), 0 4px 14px rgba(20, 37, 30, 0.06);
  --shadow-m: 0 18px 40px -22px rgba(20, 37, 30, 0.45);
  --shadow-l: 0 30px 70px -30px rgba(20, 37, 30, 0.5);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 76px;
  --space-section: clamp(72px, 10vw, 132px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.97rem + 0.18vw, 1.0625rem);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img,
svg { display: block; max-width: 100%; height: auto; }

a { color: var(--c-green-700); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--c-green-900); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--c-ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.5rem, 1.55rem + 4.1vw, 4.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 1.45rem + 2.2vw, 3.05rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.18rem, 1.08rem + 0.45vw, 1.42rem); letter-spacing: -0.012em; }
p { margin: 0 0 1.1em; }
strong { color: inherit; font-weight: 700; }

:focus-visible { outline: 3px solid var(--c-gold-500); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -120px; z-index: 300;
  background: var(--c-green-800); color: #fff; padding: 0.75rem 1.1rem; border-radius: 12px; font-weight: 700;
}
.skip-link:focus { top: 1rem; color: #fff; }

.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;
}

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--space-section); position: relative; }
.section--white { background: var(--c-white); }
.section--sand { background: var(--c-sand); }
.section--green { background: var(--c-green-800); color: #e7efea; }
.section--green h2,
.section--green h3 { color: #fff; }
.section--green a:not(.btn) { color: var(--c-gold-400); }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-green-700); margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: var(--c-gold-500); border-radius: 0 100% 0 0;
}
.section--green .eyebrow { color: var(--c-gold-400); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem); color: var(--c-muted); }
.section--green .section-head p { color: #cfe3da; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.lead { font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem); line-height: 1.6; color: var(--c-text); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--c-green-800);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 50px; padding: 0.8rem 1.45rem;
  border-radius: 999px; border: 2px solid var(--btn-bg);
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { --btn-bg: var(--c-gold-400); --btn-fg: var(--c-green-900); }
.btn--gold:hover { --btn-bg: var(--c-gold-500); }
.btn--outline { background: transparent; color: var(--c-green-800); }
.btn--outline:hover { background: var(--c-green-800); color: #fff; }
.btn--light { --btn-bg: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn--small { min-height: 42px; padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; box-shadow: none; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 700; color: var(--c-green-700); text-decoration: none;
}
.text-link svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
/* Hintergrund als eigene Ebene, damit das mobile Menü (position: fixed) den ganzen Bildschirm nutzen kann */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 248, 241, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.nav-open .site-header::before { background: var(--c-cream); }
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 10px 30px -24px rgba(20, 37, 30, 0.45); }
.site-header__inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--c-ink); flex: none; }
.brand__mark { width: 45px; height: 30px; }
.brand__name { font-family: var(--font-display); font-weight: 750; font-size: 1.4rem; letter-spacing: -0.035em; line-height: 1; }
.brand__name span:first-child { color: var(--c-green-700); }
.brand__name span:last-child { color: var(--c-gold-700); }
.brand:hover { color: var(--c-ink); }

.site-nav ul { list-style: none; display: flex; align-items: center; gap: 0.2rem; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 0.55rem 0.95rem; border-radius: 999px;
  color: var(--c-text); text-decoration: none; font-weight: 600; font-size: 0.97rem;
  transition: background-color 0.2s, color 0.2s;
}
.site-nav a:hover { background: var(--c-green-100); color: var(--c-green-900); }
.site-nav a.is-active,
.site-nav a[aria-current="page"] { background: var(--c-green-800); color: #fff; }
.site-nav .nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--c-line); background: #fff; color: var(--c-green-800); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 980px) {
  .header-cta { display: none; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: var(--c-cream); padding: 1.5rem var(--gutter) 2rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .js .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.35rem; }
  .js .site-nav a { font-size: 1.2rem; padding: 0.95rem 1.1rem; border-radius: 16px; }
  .js .site-nav .nav-cta-mobile { display: block; margin-top: 0.8rem; }
  .js .site-nav .nav-cta-mobile a { background: var(--c-gold-400); color: var(--c-green-900); text-align: center; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 0.75rem; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 88px) clamp(72px, 9vw, 120px); }
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: min(52vw, 720px); aspect-ratio: 1; right: -12vw; top: -18vw;
  background: radial-gradient(closest-side, rgba(245, 213, 113, 0.35), rgba(245, 213, 113, 0));
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 0.45em; font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.2rem); }
.hero h1 .hl-green { color: var(--c-green-700); }
.hero h1 .hl-gold {
  background: linear-gradient(transparent 60%, var(--c-gold-400) 60%, var(--c-gold-400) 90%, transparent 90%);
  padding-inline: 0.06em;
}
.hero__lead { max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2.4rem 0 0; padding: 0; list-style: none; }

.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.42rem 0.85rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--c-line);
  font-size: 0.86rem; font-weight: 700; color: var(--c-green-800); line-height: 1.3;
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 0 100% 0 0; background: var(--c-gold-500); flex: none; }
.chip--plain::before { display: none; }

.hero__visual { position: relative; width: 100%; max-width: 540px; justify-self: end; aspect-ratio: 1; }
.hero__photo {
  position: absolute; inset: 7%; z-index: 2; margin: 0;
  border-radius: 0 50% 0 50%; overflow: hidden; box-shadow: var(--shadow-l);
  background: var(--c-green-100);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.shape { position: absolute; display: block; z-index: 1; }
.shape--gold { width: 44%; aspect-ratio: 1; left: 0; top: 0; background: var(--c-gold-400); border-radius: 100% 0 0 0; }
.shape--teal { width: 36%; aspect-ratio: 1; right: 0; bottom: 0; background: var(--c-green-500); border-radius: 0 0 100% 0; }
.shape--dark { width: 17%; aspect-ratio: 1; right: 1%; top: 8%; background: var(--c-green-800); border-radius: 0 100% 0 0; z-index: 3; }
.shape--dot { width: 7%; aspect-ratio: 1; left: 9%; bottom: 3%; background: var(--c-gold-500); border-radius: 50%; z-index: 3; }

.hero__badge {
  position: absolute; z-index: 4; left: -3%; bottom: 13%;
  display: flex; align-items: center; gap: 0.75rem;
  background: #fff; border-radius: 18px; padding: 0.8rem 1.1rem 0.8rem 0.9rem;
  box-shadow: var(--shadow-m); line-height: 1.25;
}
.hero__badge svg { width: 42px; height: 28px; flex: none; }
.hero__badge strong { display: block; color: var(--c-ink); font-size: 0.98rem; }
.hero__badge span { font-size: 0.82rem; color: var(--c-muted); }

.scroll-hint {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 3rem;
  font-size: 0.85rem; font-weight: 700; color: var(--c-muted); text-decoration: none;
}
.scroll-hint span { width: 26px; height: 40px; border: 2px solid var(--c-line); border-radius: 20px; position: relative; }
.scroll-hint span::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 4px; background: var(--c-green-500); animation: scrollhint 1.8s infinite;
}
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Über mich ---------- */
.about__grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(36px, 7vw, 96px); align-items: center; }
.about__media { position: relative; max-width: 440px; }
.about__media img { width: 100%; border-radius: 999px 999px 28px 28px; box-shadow: var(--shadow-l); position: relative; z-index: 1; }
.about__media::before {
  content: ""; position: absolute; z-index: 0; width: 46%; aspect-ratio: 1; left: -9%; bottom: -6%;
  background: var(--c-green-500); border-radius: 0 0 0 100%;
}
.about__media::after {
  content: ""; position: absolute; z-index: 2; width: 24%; aspect-ratio: 1; right: -5%; top: 30%;
  background: var(--c-gold-400); border-radius: 0 100% 0 0;
}
.about__text h2 { margin-bottom: 0.5em; }
.values { list-style: none; margin: 2rem 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.values li { background: var(--c-cream); border: 1px solid var(--c-line); border-radius: var(--radius-m); padding: 1.1rem 1.1rem 1.2rem; }
.values strong { display: block; font-family: var(--font-display); color: var(--c-ink); font-size: 1.02rem; margin-bottom: 0.3rem; }
.values span { font-size: 0.93rem; color: var(--c-muted); line-height: 1.5; display: block; }
.values__icon { width: 34px; height: 34px; margin-bottom: 0.7rem; }
.toolbox { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0 0; padding: 0; list-style: none; }
.toolbox-title { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); margin: 0; }
.about__facts { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: 1.6rem; color: var(--c-muted); font-size: 0.95rem; }
.about__facts span { display: inline-flex; align-items: center; gap: 0.45rem; }
.about__facts svg { width: 18px; height: 18px; color: var(--c-green-500); }

/* ---------- UX ---------- */
.ux__intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 80px); align-items: center; margin-bottom: clamp(48px, 7vw, 88px); }
.ux__intro p { color: #d6e6de; font-size: clamp(1.05rem, 1rem + 0.2vw, 1.15rem); }
.ux__intro .ux-def { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.8rem; }
.ux-def div { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-m); padding: 1.1rem 1.2rem; }
.ux-def dt { font-family: var(--font-display); font-weight: 800; color: var(--c-gold-400); font-size: 1.25rem; margin-bottom: 0.2rem; }
.ux-def dd { margin: 0; font-size: 0.95rem; color: #d6e6de; line-height: 1.5; }
.ux__image { border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); }
.ux__image img { width: 100%; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-bottom: clamp(56px, 8vw, 96px); }
.benefit {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-m); padding: 1.5rem 1.4rem 1.6rem;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.benefit:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.09); }
.benefit__icon {
  width: 52px; height: 52px; border-radius: 16px 16px 16px 4px;
  display: grid; place-items: center; background: var(--c-gold-400); color: var(--c-green-900); margin-bottom: 1.1rem;
}
.benefit__icon svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.benefit p { margin: 0; font-size: 0.95rem; color: #cfe3da; line-height: 1.55; }

.process__title { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); margin-bottom: 1.6rem; }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; }
.process li { position: relative; padding-top: 1.3rem; border-top: 2px solid rgba(245, 213, 113, 0.45); }
.process li::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.1em; color: var(--c-gold-400); margin-bottom: 0.5rem;
}
.process strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.3rem; }
.process span { color: #cfe3da; font-size: 0.95rem; line-height: 1.5; display: block; }

/* ---------- Projekte ---------- */
.projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; }
.project {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; min-height: 330px;
  border-radius: var(--radius-l); padding: clamp(1.5rem, 2.6vw, 2.3rem);
  background: #fff; border: 1px solid var(--c-line); color: var(--c-text);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.project::after {
  content: ""; position: absolute; z-index: -1; width: 180px; aspect-ratio: 1; right: -40px; bottom: -40px;
  border-radius: 100% 0 0 0; background: var(--c-gold-400); opacity: 0.35; transition: transform 0.5s var(--ease);
}
.project:hover::after { transform: scale(1.15); }
.project--wide { grid-column: span 7; }
.project--narrow { grid-column: span 5; }
.project__num { font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.14em; color: var(--c-gold-700); margin-bottom: 1.4rem; }
.project h3 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.8rem); margin-bottom: 0.6rem; max-width: 20ch; }
.project p { color: var(--c-muted); margin-bottom: 1.4rem; max-width: 46ch; }
.project .tags { margin-top: auto; }
.project__link { margin-top: 1.3rem; }
.project--green { background: var(--c-green-800); border-color: var(--c-green-800); color: #e7efea; }
.project--green h3 { color: #fff; }
.project--green p { color: #cfe3da; }
.project--green .project__num { color: var(--c-gold-400); }
.project--green .text-link { color: var(--c-gold-400); }
.project--green::after { background: var(--c-green-500); opacity: 0.6; }
.project--gold { background: var(--c-gold-400); border-color: var(--c-gold-400); }
.project--gold p { color: #3d4a2c; }
.project--gold .project__num { color: var(--c-green-800); }
.project--gold .text-link { color: var(--c-green-900); }
.project--gold::after { background: #fff; opacity: 0.45; }
.project--teal { background: var(--c-green-500); border-color: var(--c-green-500); color: #fff; }
.project--teal h3 { color: #fff; }
.project--teal p { color: #eef6f2; }
.project--teal .project__num { color: var(--c-gold-300); }
.project--teal .text-link { color: #fff; }
.project--teal::after { background: var(--c-green-800); opacity: 0.35; }

.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.tag {
  display: inline-block; padding: 0.3rem 0.7rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; line-height: 1.3;
  background: var(--c-green-100); color: var(--c-green-800);
}
a.tag { text-decoration: none; }
a.tag:hover { background: var(--c-green-200); color: var(--c-green-900); }
.project--green .tag,
.project--teal .tag { background: rgba(255, 255, 255, 0.14); color: #fff; }
.project--gold .tag { background: rgba(28, 73, 59, 0.1); color: var(--c-green-900); }

/* ---------- Blog (Teaser & Karten) ---------- */
.blog-feature { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-l);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.post-card__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--c-sand); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.post-card__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; font-size: 0.85rem; color: var(--c-muted); margin-bottom: 0.8rem; }
.post-card h3 { margin-bottom: 0.55rem; }
.post-card h3 a { color: var(--c-ink); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card p { color: var(--c-muted); font-size: 0.97rem; margin-bottom: 1.2rem; }
.post-card .text-link { margin-top: auto; }
.post-card--feature h3 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); }

.post-list { display: flex; flex-direction: column; gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.post-mini {
  position: relative; display: grid; grid-template-columns: 116px 1fr; gap: 1rem; align-items: center;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-m); padding: 0.7rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.post-mini:hover { transform: translateX(4px); box-shadow: var(--shadow-s); }
.post-mini img { width: 116px; height: 86px; object-fit: cover; border-radius: 14px; }
.post-mini h3 { font-size: 1.02rem; margin: 0.25rem 0 0; line-height: 1.3; }
.post-mini h3 a { color: var(--c-ink); text-decoration: none; }
.post-mini h3 a::after { content: ""; position: absolute; inset: 0; }
.post-mini .tag { font-size: 0.72rem; padding: 0.18rem 0.55rem; }
.post-mini__date { font-size: 0.78rem; color: var(--c-muted); margin-left: 0.55rem; }
.blog-more { margin-top: 1.4rem; }

/* Blog-Übersicht */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 48px); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; aspect-ratio: 1;
  border-radius: 0 0 0 100%; background: var(--c-gold-400); opacity: 0.45; z-index: 0;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 1.7rem + 3vw, 4rem); }
.page-hero p { max-width: 640px; color: var(--c-muted); font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem); }

.filterbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-chip {
  font: inherit; font-weight: 700; font-size: 0.92rem; cursor: pointer;
  padding: 0.55rem 1rem; border-radius: 999px; border: 1.5px solid var(--c-line);
  background: #fff; color: var(--c-green-800); transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter-chip:hover { border-color: var(--c-green-500); }
.filter-chip[aria-pressed="true"] { background: var(--c-green-800); border-color: var(--c-green-800); color: #fff; }
.filter-chip .count { opacity: 0.7; font-weight: 600; margin-left: 0.2rem; }
.search-field { position: relative; min-width: min(100%, 300px); }
.search-field svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--c-muted); pointer-events: none; }
.search-field input {
  width: 100%; font: inherit; padding: 0.7rem 1rem 0.7rem 2.6rem; border-radius: 999px;
  border: 1.5px solid var(--c-line); background: #fff; color: var(--c-ink);
}
.search-field input:focus { outline: none; border-color: var(--c-green-500); box-shadow: 0 0 0 4px rgba(54, 123, 104, 0.18); }
.filter-status { font-size: 0.92rem; color: var(--c-muted); margin: 0 0 1.2rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.post-grid .post-card[hidden] { display: none; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--c-muted); }

/* ---------- Artikel ---------- */
.article-hero { padding-block: clamp(36px, 5vw, 72px) 0; }
.breadcrumb { font-size: 0.9rem; color: var(--c-muted); margin-bottom: 1.4rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; color: var(--c-line); }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-green-700); text-decoration: underline; }
.article-hero h1 { font-size: clamp(2.1rem, 1.45rem + 2.8vw, 3.55rem); max-width: 20ch; margin-top: 1rem; }
.article-hero .tags { margin-bottom: 0.4rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.4rem; color: var(--c-muted); font-size: 0.95rem; margin-top: 1.4rem; }
.article-meta .author { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--c-ink); font-weight: 700; }
.article-meta .author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: var(--shadow-s); }
.article-meta .meta-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.article-meta svg { width: 17px; height: 17px; color: var(--c-green-500); }
.article-cover { margin: clamp(28px, 4vw, 48px) auto 0; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); aspect-ratio: 3 / 2; max-height: 620px; background: var(--c-sand); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.prose { max-width: 720px; margin-inline: auto; font-size: clamp(1.03rem, 1rem + 0.2vw, 1.12rem); }
.prose > * + * { margin-top: 0; }
.prose .lead { font-size: clamp(1.15rem, 1.07rem + 0.35vw, 1.32rem); color: var(--c-ink); }
.prose h2 { font-size: clamp(1.45rem, 1.25rem + 0.85vw, 1.95rem); margin-top: 2.2em; margin-bottom: 0.6em; }
.prose h3 { margin-top: 1.8em; }
.prose ul,
.prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: 0.6em; padding-left: 0.2em; }
.prose li::marker { color: var(--c-green-500); font-weight: 700; }
.prose code { background: var(--c-green-100); color: var(--c-green-900); padding: 0.1em 0.4em; border-radius: 6px; font-size: 0.9em; }
.prose a { font-weight: 600; }
.callout {
  background: var(--c-sand); border-radius: 4px 20px 20px 4px; border-left: 5px solid var(--c-gold-500);
  padding: 1.15rem 1.35rem; margin: 2rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.takeaways { background: var(--c-green-800); color: #e7efea; border-radius: var(--radius-l); padding: clamp(1.5rem, 3vw, 2.2rem); margin: 2.6rem 0 0; }
.takeaways h2 { color: #fff; font-size: 1.35rem; margin: 0 0 1rem; }
.takeaways ul { margin: 0; }
.takeaways li::marker { color: var(--c-gold-400); }

.author-box {
  max-width: 720px; margin: clamp(40px, 6vw, 64px) auto 0; display: grid; grid-template-columns: 96px 1fr; gap: 1.3rem; align-items: center;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-l); padding: 1.5rem;
}
.author-box img { width: 96px; height: 96px; border-radius: 0 50% 0 50%; object-fit: cover; }
.author-box p { margin: 0 0 0.6rem; color: var(--c-muted); font-size: 0.97rem; }
.author-box strong { display: block; color: var(--c-ink); font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.25rem; }

.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-l);
  background: var(--c-green-800); color: #e7efea; padding: clamp(2rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center;
}
.cta-band::after { content: ""; position: absolute; width: 220px; aspect-ratio: 1; right: -60px; top: -60px; border-radius: 0 0 0 100%; background: var(--c-gold-400); opacity: 0.9; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); margin-bottom: 0.4rem; }
.cta-band p { margin: 0; color: #cfe3da; max-width: 52ch; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- Kontakt ---------- */
.contact { background: var(--c-green-900); color: #e7efea; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: min(40vw, 480px); aspect-ratio: 1; left: -10vw; bottom: -12vw;
  border-radius: 0 100% 0 0; background: var(--c-green-800);
}
.contact__grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact h2 { color: #fff; }
.contact__intro p { color: #cfe3da; font-size: clamp(1.05rem, 1rem + 0.2vw, 1.15rem); }
.contact__person { display: flex; align-items: center; gap: 1rem; margin: 2rem 0; }
.contact__person img { width: 84px; height: 84px; border-radius: 0 50% 0 50%; object-fit: cover; border: 3px solid var(--c-gold-400); }
.contact__person strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.15rem; }
.contact__person span { color: #cfe3da; font-size: 0.95rem; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.contact__list li { display: flex; align-items: center; gap: 0.8rem; }
.contact__list .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: var(--c-gold-400); flex: none; }
.contact__list svg { width: 20px; height: 20px; }
.contact__list a { color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--c-gold-400); text-decoration: underline; }

.form-card { background: #fff; color: var(--c-text); border-radius: var(--radius-l); padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55); }
.form-card h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.form-card .form-note { color: var(--c-muted); font-size: 0.9rem; margin-bottom: 1.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.92rem; color: var(--c-ink); }
.req { color: var(--c-gold-700); margin-left: 0.1rem; }
.field input,
.field textarea {
  width: 100%; font: inherit; color: var(--c-ink); background: var(--c-cream);
  border: 1.5px solid #d8cfb8; border-radius: 14px; padding: 0.8rem 1rem; min-height: 52px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--c-green-500); box-shadow: 0 0 0 4px rgba(54, 123, 104, 0.18); background: #fff; }
.field.has-error input,
.field.has-error textarea { border-color: var(--c-error); background: #fff; }
.field__error { color: var(--c-error); font-size: 0.85rem; font-weight: 600; }
.field__error:empty { display: none; }
.field label.checkbox { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.92rem; font-weight: 500; line-height: 1.5; color: var(--c-text); }
.checkbox input { width: 20px; height: 20px; margin: 0.15rem 0 0; accent-color: var(--c-green-700); flex: none; }
.checkbox a { font-weight: 700; }
.field--checkbox.has-error label.checkbox { color: var(--c-error); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.form-actions small { color: var(--c-muted); font-size: 0.85rem; }
.form-status { display: none; margin-top: 1.2rem; padding: 0.95rem 1.1rem; border-radius: 14px; font-weight: 600; font-size: 0.95rem; }
.form-status.is-visible { display: block; }
.form-status--success { background: var(--c-green-100); color: var(--c-green-900); border: 1px solid var(--c-green-200); }
.form-status--error { background: #fcebea; color: #8c1d18; border: 1px solid #f3c4c1; }
.form-status--info { background: var(--c-sand); color: var(--c-ink); border: 1px solid var(--c-line); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-cream); border-top: 1px solid var(--c-line); padding-block: clamp(48px, 7vw, 80px) 28px; font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand p { color: var(--c-muted); max-width: 30ch; margin-top: 1rem; }
.footer__title { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-ink); margin: 0 0 0.9rem; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer__links a,
.link-button { color: var(--c-text); text-decoration: none; }
.footer__links a:hover,
.link-button:hover { color: var(--c-green-700); text-decoration: underline; }
.link-button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.footer__bottom { margin-top: clamp(36px, 5vw, 56px); padding-top: 1.4rem; border-top: 1px solid var(--c-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; color: var(--c-muted); font-size: 0.88rem; }
.footer__bottom a { color: var(--c-muted); }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed; z-index: 500; left: 50%; bottom: clamp(12px, 3vw, 28px); transform: translateX(-50%);
  width: min(100% - 24px, 720px);
  background: #fff; color: var(--c-text); border: 1px solid var(--c-line); border-radius: 24px;
  box-shadow: 0 30px 80px -30px rgba(15, 42, 34, 0.55); padding: 1.4rem 1.5rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }
.cookie-banner__head svg { width: 34px; height: 23px; flex: none; }
.cookie-banner__title { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--c-ink); margin: 0; }
.cookie-banner p { font-size: 0.93rem; line-height: 1.55; margin: 0 0 1rem; color: var(--c-muted); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.cookie-banner__actions .btn { flex: 1 1 0; min-width: 0; min-height: 46px; padding-inline: 1rem; }

/* ---------- Rechtstexte & sonstige Seiten ---------- */
.legal { padding-block: clamp(40px, 6vw, 80px) var(--space-section); }
.legal .prose h1 { font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.4rem); }
.legal .prose h2 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem); margin-top: 2em; }
.legal .prose h3 { font-size: 1.1rem; margin-top: 1.5em; margin-bottom: 0.4em; }
.legal address { font-style: normal; }
.legal .stand { color: var(--c-muted); font-size: 0.92rem; }
.legal .note { background: var(--c-sand); border-radius: 16px; padding: 1rem 1.2rem; font-size: 0.93rem; }

.simple-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: var(--space-section); }
.simple-page .big-mark { width: 120px; margin: 0 auto 1.6rem; }
.simple-page p { color: var(--c-muted); max-width: 46ch; margin-inline: auto; }
.simple-page .hero__actions { justify-content: center; }

/* ---------- Ergänzungen ---------- */
.section--flush-top { padding-top: 0; }
.section--article { padding-top: clamp(40px, 6vw, 72px); }
.footer__links a { overflow-wrap: anywhere; }
.prose .link-button { color: var(--c-green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.prose .link-button:hover { color: var(--c-green-900); }
.about__facts a { color: inherit; }
.big-mark { display: block; }

/* ---------- Scroll-Animationen ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: 0.08s; }
.js .reveal-delay-2 { transition-delay: 0.16s; }
.js .reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 1.8rem; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__grid,
  .about__grid,
  .ux__intro,
  .contact__grid,
  .blog-feature { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 460px; order: -1; }
  .about__media { margin-inline: auto; max-width: 360px; }
  .values { grid-template-columns: 1fr; }
  .project--wide,
  .project--narrow { grid-column: 1 / -1; }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .brand__name { font-size: 1.25rem; }
  .brand__mark { width: 39px; height: 26px; }
  .hero__badge { left: 0; bottom: 4%; padding: 0.65rem 0.9rem; }
  .ux__intro .ux-def { grid-template-columns: 1fr; }
  .benefits,
  .process,
  .post-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .post-mini { grid-template-columns: 92px 1fr; }
  .post-mini img { width: 92px; height: 72px; }
  .author-box { grid-template-columns: 1fr; text-align: left; }
  .footer__grid { grid-template-columns: 1fr; }
  .cookie-banner { padding: 1rem 1rem 1.1rem; border-radius: 20px; }
  .cookie-banner p { font-size: 0.88rem; margin-bottom: 0.8rem; }
  .filterbar { flex-direction: column; align-items: stretch; }
}

@media print {
  .site-header,
  .cookie-banner,
  .nav-toggle,
  .form-card,
  .cta-band { display: none !important; }
  body { background: #fff; }
  .section--green,
  .contact { background: #fff; color: #000; }
}
