/* =========================================================================
   LWK Projects GmbH — Website Stylesheet
   CI: Branding/LWK_CI_SSOT.md  ·  Design: Porsche-minimalistisch × LWK-CI
   Fonts: Montserrat (Display) / Inter (Body), Fallback Arial
   ========================================================================= */

:root {
  /* --- CI-Farben (verbindlich, LWK_CI_SSOT.md §3) --- */
  --gold: #C9A36A;
  /* Leitfarbe / Akzent */
  --gold-soft: #d8b988;
  --bronze: #9C7B4A;
  /* Zweitakzent */
  --anthracite: #2B2A28;
  /* Flächen, Text auf hell */
  --ink: #141414;
  /* Editorial-Hintergrund */
  --cream: #FAF6EE;
  /* heller Grund / Text auf dunkel */
  --stone: #8A867E;
  /* Sekundärtext, Captions */

  --cream-2: #F2ECdf;
  --line-dark: rgba(20, 20, 20, .12);
  --line-light: rgba(250, 246, 238, .16);

  --font-display: "Montserrat", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vw, 148px);
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--anthracite);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* --- Typo --- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--anthracite);
}

h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
}

h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
}

p {
  margin: 0 0 1.1em;
}

em {
  font-style: italic;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.27rem);
  line-height: 1.62;
  color: #4a4843;
}

/* Eyebrow / Kicker (Sperrsatz, Referenz-Look) */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 26px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.on-dark .eyebrow {
  color: var(--gold-soft);
}

/* --- Layout --- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section {
  position: relative;
}

.section-pad {
  padding-block: var(--section-y);
}

.bg-cream {
  background: var(--cream);
}

.bg-cream-2 {
  background: var(--cream-2);
}

.bg-ink {
  background: var(--ink);
  color: var(--cream);
}

.bg-anth {
  background: var(--anthracite);
  color: var(--cream);
}

.on-dark h1,
.on-dark h2,
.on-dark h3 {
  color: var(--cream);
}

.on-dark .lede {
  color: rgba(250, 246, 238, .78);
}

/* =======================  HEADER / NAV  ======================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header::before {
  /* Scrim für Lesbarkeit der Nav über hellen Hero-Bildteilen */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 20, 20, .42) 0%, rgba(20, 20, 20, 0) 100%);
  opacity: 1;
  transition: opacity .4s var(--ease);
}

.site-header.scrolled::before {
  opacity: 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}

.site-header.scrolled {
  background: rgba(250, 246, 238, .86);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom-color: var(--line-dark);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .02em;
  color: var(--cream);
  transition: color .4s var(--ease);
}

.scrolled .brand .brand-name {
  color: var(--anthracite);
}

.scrolled .brand .seal-cream {
  display: none;
}

.brand .seal-dark {
  display: none;
}

.scrolled .brand .seal-dark {
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(250, 246, 238, .82);
  letter-spacing: .01em;
  transition: color .25s;
}

.scrolled .nav a {
  color: #5a5853;
}

.nav a:hover {
  color: var(--gold);
}

.nav .nav-cta {
  color: var(--cream);
}

.scrolled .nav .nav-cta {
  color: var(--anthracite);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  color: var(--cream);
  transition: .3s;
}

.scrolled .nav-toggle span {
  color: var(--anthracite);
}

/* =======================  BUTTONS  ======================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  padding: 15px 28px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: all .3s var(--ease);
  white-space: nowrap;
}

.btn .arrow {
  transition: transform .3s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--anthracite);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--ink);
}

.on-dark .btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.on-dark .btn-primary:hover {
  background: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--anthracite);
  border-color: var(--line-dark);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--bronze);
}

.on-dark .btn-ghost {
  color: var(--cream);
  border-color: var(--line-light);
}

.on-dark .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--bronze);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold);
}

.btn-text:hover {
  color: var(--gold);
}

/* =======================  HERO  ======================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px var(--pad) 90px;
  max-width: 720px;
  margin-left: auto;
  width: 100%;
}

.hero-copy .wrap-inner {
  max-width: 600px;
  margin-left: auto;
}

.hero h1 {
  color: var(--cream);
}

.hero h1 .accent {
  color: var(--gold);
  font-style: italic;
  font-weight: 800;
}

.hero .lede {
  margin-top: 26px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.18) contrast(1.04);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--ink) 0%, rgba(20, 20, 20, .55) 22%, rgba(20, 20, 20, 0) 55%);
}

.hero-scroll {
  position: absolute;
  left: var(--pad);
  bottom: 30px;
  z-index: 3;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, .5);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-scroll::before {
  content: "";
  width: 1px;
  height: 40px;
  background: rgba(250, 246, 238, .3);
}

/* =======================  PILLARS  ======================= */
.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head h2 .accent {
  color: var(--bronze);
  font-style: italic;
}

.on-dark .section-head h2 .accent {
  color: var(--gold);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.pillar {
  background: var(--cream);
  padding: clamp(28px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  min-height: 290px;
  transition: background .35s var(--ease);
}

.pillar:hover {
  background: #fff;
}

.pillar .num {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--gold);
  margin-bottom: auto;
}

.pillar h3 {
  margin: 0 0 12px;
}

.pillar p {
  font-size: .96rem;
  color: #56544f;
  margin: 0;
}

.pillar .tags {
  margin-top: 18px;
  font-size: .8rem;
  color: var(--stone);
  letter-spacing: .02em;
}

/* =======================  SPLIT (Bild + Text)  ======================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
  min-height: 440px;
  overflow: hidden;
}

.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.12) contrast(1.03);
  transition: transform 1.1s var(--ease);
}

.split:hover .split-media img {
  transform: scale(1.04);
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px) clamp(28px, 5vw, 80px);
}

.feature-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding: 16px 0 16px 30px;
  border-top: 1px solid var(--line-light);
  font-size: .98rem;
}

.on-cream .feature-list li {
  border-color: var(--line-dark);
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--line-light);
}

.on-cream .feature-list li:last-child {
  border-color: var(--line-dark);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.feature-list b {
  font-weight: 600;
  color: var(--gold-soft);
}

.on-cream .feature-list b {
  color: var(--bronze);
}

.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.stat .k {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--gold);
}

.stat .l {
  font-size: .82rem;
  color: var(--stone);
  letter-spacing: .04em;
}

/* =======================  REFERENZEN  ======================= */
.refs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ref-card {
  border: 1px solid var(--line-dark);
  padding: 32px 28px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}

.ref-card .meta {
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 18px;
}

.ref-card .result {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--anthracite);
  margin-bottom: 14px;
}

.ref-card p {
  font-size: .92rem;
  color: #56544f;
  margin: 0;
}

.ph {
  color: var(--bronze);
  font-style: normal;
  border-bottom: 1px dashed var(--bronze);
}

/* =======================  FORMS  ======================= */
.form {
  display: grid;
  gap: 16px;
  max-width: 520px;
}

.form.inline-form {
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--stone);
}

.input {
  width: 100%;
  padding: 15px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream);
  background: rgba(250, 246, 238, .05);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  transition: border-color .25s, background .25s;
}

.input::placeholder {
  color: rgba(250, 246, 238, .4);
}

.input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(250, 246, 238, .08);
}

.on-cream .input {
  color: var(--anthracite);
  background: #fff;
  border-color: var(--line-dark);
}

.on-cream .input::placeholder {
  color: #a8a49c;
}

textarea.input {
  resize: vertical;
  min-height: 120px;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .84rem;
  color: rgba(250, 246, 238, .7);
  line-height: 1.5;
}

.on-cream .consent {
  color: #6b6962;
}

.consent input {
  margin-top: 3px;
  accent-color: var(--gold);
  width: 17px;
  height: 17px;
  flex: none;
}

.consent a {
  color: var(--gold);
  border-bottom: 1px solid transparent;
}

.consent a:hover {
  border-color: var(--gold);
}

.form-note {
  font-size: .8rem;
  color: var(--stone);
  margin-top: 4px;
}

.form-msg {
  font-size: .92rem;
  padding: 12px 0;
  min-height: 1px;
}

.form-msg.ok {
  color: var(--gold-soft);
}

.form-msg.err {
  color: #e0a3a3;
}

.on-cream .form-msg.ok {
  color: var(--bronze);
}

/* =======================  QUOTE BAND  ======================= */
.quote-band {
  position: relative;
  padding-block: clamp(90px, 12vw, 150px);
  text-align: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}

.quote-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
  filter: grayscale(.2);
}

.quote-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 50% 50%, rgba(20, 20, 20, .2), rgba(20, 20, 20, .85));
}

.quote-band .wrap {
  position: relative;
  z-index: 2;
}

.quote-band blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.25;
  margin: 0 auto;
  max-width: 880px;
  color: var(--cream);
}

.quote-band .cite {
  display: block;
  margin-top: 26px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* =======================  FOOTER  ======================= */
.site-footer {
  background: var(--anthracite);
  color: rgba(250, 246, 238, .66);
  padding-block: 64px 34px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand img {
  width: 52px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: .92rem;
  padding: 5px 0;
  color: rgba(250, 246, 238, .66);
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-size: .8rem;
  color: rgba(250, 246, 238, .45);
  letter-spacing: .02em;
}

.footer-motto {
  font-style: italic;
  color: var(--gold-soft);
}

/* =======================  REVEAL ANIMATION  ======================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  .split:hover .split-media img {
    transform: none;
  }
}

/* =======================  LEGAL PAGES  ======================= */
.legal {
  padding: 150px var(--pad) 90px;
  max-width: 820px;
  margin-inline: auto;
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 8px;
}

.legal h2 {
  font-size: 1.3rem;
  margin: 44px 0 12px;
}

.legal p,
.legal li {
  font-size: .98rem;
  color: #4a4843;
}

.legal a {
  color: var(--bronze);
  border-bottom: 1px solid var(--gold);
}

.legal .back {
  display: inline-block;
  margin-bottom: 30px;
  font-size: .85rem;
  color: var(--bronze);
}

.legal dl {
  margin: 0;
}

.legal dt {
  font-weight: 600;
  margin-top: 16px;
}

/* =======================  RESPONSIVE  ======================= */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    min-height: 46vh;
    order: -1;
  }

  .hero-media::after {
    background: linear-gradient(0deg, var(--ink) 0%, rgba(20, 20, 20, .25) 60%, rgba(20, 20, 20, 0) 100%);
  }

  .hero-copy {
    padding: 120px var(--pad) 70px;
    max-width: none;
  }

  .hero-copy .wrap-inner {
    margin-left: 0;
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: -1;
  }

  .split-media {
    min-height: 320px;
  }

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

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

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    background: var(--anthracite);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
  }

  .nav.open {
    transform: none;
  }

  .nav a,
  .scrolled .nav a {
    color: var(--cream);
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: block;
    z-index: 60;
  }

  .form.inline-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .footer-top {
    flex-direction: column;
  }
}

.nl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.brevo-form-wrap {
  width: 100%;
}


.brevo-newsletter-iframe {
  display: block;
  width: 100%;
  max-width: 540px;
  min-height: 305px;
  margin-left: auto;
  margin-right: auto;
  border: 0;
}

@media (max-width: 820px) {
  .nl-grid {
    grid-template-columns: 1fr;
  }

  .brevo-newsletter-iframe {
    max-width: 100%;
  }
}