/* Sein-Wohnen-Leben — shared brand tokens */
:root {
  /* Brand palette pulled from the flyer */
  --terracotta: #C66B52;
  /* primary accent — terracotta box */
  --terracotta-deep: #B05B43;
  --terracotta-soft: #E5A48F;
  --ochre: #E0A24A;
  /* warm orange swatch */
  --navy: #3F4F66;
  /* deep blue swatch */
  --navy-deep: #2F3D52;
  --slate: #5A6B7F;
  /* muted blue */
  --cream: #F4F0E8;
  /* warm cream background */
  --cream-deep: #ECE6DA;
  --paper: #FBF8F2;
  --ink: #29261b;
  /* near-black warm */
  --ink-soft: #4a463d;
  --line: rgba(41, 38, 27, 0.14);
  --line-soft: rgba(41, 38, 27, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 350;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

/* Brand wordmark — small-caps with bullet separators, like the flyer */
.brand-tagline {
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--terracotta);
}

.brand-tagline .dot {
  display: inline-block;
  margin: 0 0.4em;
  transform: translateY(-0.1em);
  color: var(--terracotta);
}

/* Variante A Styles */
body {
  background: var(--cream);
}

.va {
  color: var(--ink);
}

/* ── NAV ──────────────────────────────────────────── */
.va header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px;
  background: rgba(244, 240, 232, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.va .brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.va .logo-mark {
  height: 44px;
  width: auto;
  display: block;
}

.va .nav-links {
  display: flex;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.va .nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.va .nav-links a:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.va .nav-cta {
  background: var(--terracotta);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 11px 22px;
  transition: background 0.2s;
}

.va .nav-cta:hover {
  background: var(--terracotta-deep);
}

/* ── HERO ─────────────────────────────────────────── */
.va .hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
  border-bottom: 1px solid var(--line-soft);
}

.va .hero-text {
  padding: 110px 72px 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
}

.va .eyebrow {
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 28px;
}

.va h1 {
  font-weight: 300;
  font-size: 60px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  margin: 0 0 28px;
}

.va h1 em {
  font-style: normal;
  font-weight: 500;
  color: var(--terracotta);
}

.va .lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 0 36px;
}

.va .hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.va .btn-primary {
  background: var(--terracotta);
  color: #fff;
  border: none;
  padding: 14px 26px;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.va .btn-primary:hover {
  background: var(--terracotta-deep);
}

.va .btn-ghost {
  background: transparent;
  color: var(--navy-deep);
  border: 1px solid var(--navy);
  padding: 13px 25px;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.va .btn-ghost:hover {
  background: var(--navy);
  color: var(--cream);
}

.va .hero-image {
  background: url('assets/fenster.jpg') center/cover;
}

/* ── PILLAR NAV — 4 anchors ──────────────────────── */
.va .pillar-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}

.va .pillar-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 28px 28px 30px;
  border-right: 1px solid var(--line-soft);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background 0.2s;
}

.va .pillar-nav a:last-child {
  border-right: none;
}

.va .pillar-nav a:hover {
  background: var(--cream);
}

.va .pillar-nav .sw {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
}

.va .pillar-nav a.p1 .sw {
  background: var(--navy);
}

.va .pillar-nav a.p2 .sw {
  background: var(--ochre);
}

.va .pillar-nav a.p3 .sw {
  background: var(--terracotta);
}

.va .pillar-nav a.p4 .sw {
  background: var(--slate);
}

.va .pillar-nav .num {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 8px;
}

.va .pillar-nav .ttl {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.5;
}

/* ── THEMED SECTION ──────────────────────────────── */
.va .theme {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--cream);
}

.va .theme.alt {
  background: var(--paper);
}

.va .theme.reverse .theme-img {
  order: 2;
}

.va .theme-img {
  background-size: cover;
  background-position: center;
  min-height: 480px;
  background-color: var(--paper);
  /* fallback when no image */
}

.va .theme-text {
  padding: 110px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
}

.va .theme-num {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 22px;
}

.va .theme-num .sw {
  width: 14px;
  height: 14px;
}

.va .theme.t1 .theme-num {
  color: var(--navy);
}

.va .theme.t1 .theme-num .sw {
  background: var(--navy);
}

.va .theme.t2 .theme-num {
  color: #b07a25;
}

.va .theme.t2 .theme-num .sw {
  background: var(--ochre);
}

.va .theme.t3 .theme-num {
  color: var(--terracotta);
}

.va .theme.t3 .theme-num .sw {
  background: var(--terracotta);
}

.va .theme.t4 .theme-num {
  color: var(--slate);
}

.va .theme.t4 .theme-num .sw {
  background: var(--slate);
}

.va .theme-text h2 {
  font-weight: 300;
  font-size: 42px;
  line-height: 1.18;
  color: var(--navy-deep);
  margin: 0 0 26px;
  max-width: 560px;
}

.va .theme-text h2 em {
  font-style: normal;
  color: var(--terracotta);
  font-weight: 500;
}

.va .theme-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 540px;
}

.va .theme-text p strong {
  color: var(--ink);
  font-weight: 500;
}

/* Decorative no-image side: stripe placeholder */
.va .theme-decor {
  background: var(--paper);
  background-image: linear-gradient(135deg, transparent 49%, var(--cream-deep) 49% 51%, transparent 51%);
  background-size: 24px 24px;
  border-left: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.va .theme-decor::before {
  content: '';
  position: absolute;
  inset: 60px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.va .theme-decor .icon-square {
  width: 88px;
  height: 88px;
  position: relative;
  z-index: 1;
}

.va .theme.t1 .theme-decor .icon-square {
  background: var(--navy);
}

/* Section 4 — Kontakt (now last, t3 class still terracotta accent) */
.va .theme.t3 .theme-text {
  padding-bottom: 110px;
}

.va .theme-img.portrait {
  background-position: center 22%;
  background-color: var(--navy-deep);
}

.va .contact-card {
  margin-top: 8px;
  background: var(--paper);
  padding: 32px 36px;
  border: 1px solid var(--line);
  max-width: 520px;
}

.va .contact-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.va .contact-row:last-child {
  border-bottom: none;
}

.va .contact-row .ic {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 4px;
}

.va .contact-row .ic.t {
  background: var(--terracotta);
}

.va .contact-row .ic.o {
  background: var(--ochre);
}

.va .contact-row .ic.n {
  background: var(--navy);
}

.va .contact-row .label {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
  font-weight: 500;
}

.va .contact-row .value {
  font-size: 17px;
  color: var(--ink);
  font-weight: 400;
  text-decoration: none;
}

.va .contact-row a.value:hover {
  color: var(--terracotta);
}

.va .theme.t3 .theme-decor {
  background: var(--terracotta);
  background-image: none;
  color: #fff;
  padding: 80px 60px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.va .theme.t3 .theme-decor::before {
  display: none;
}

.va .theme.t3 .theme-decor .pull {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 300;
  color: #fff;
  max-width: 420px;
}

.va .theme.t3 .theme-decor .sig {
  margin-top: 40px;
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* Quote moved into "Heim" — reused in section 2 */
.va .theme-quote {
  margin-top: 30px;
  padding: 22px 26px;
  background: var(--paper);
  border-left: 3px solid var(--terracotta);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 350;
  color: var(--navy-deep);
  max-width: 520px;
}

.va .theme-quote .em {
  color: var(--terracotta);
}

.va .theme-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ── FOOTER ──────────────────────────────────────── */
.va footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 80px 72px 32px;
}

.va .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  align-items: start;
}

.va .footer-logo {
  height: 110px;
  margin-bottom: 24px;
  margin-left: -12px;
  display: block;
}

.va footer h4 {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  font-weight: 500;
  margin: 0 0 18px;
}

.va footer p,
.va footer a {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(244, 240, 232, 0.78);
  margin: 0 0 4px;
  text-decoration: none;
}

.va footer a:hover {
  color: var(--terracotta-soft);
}

.va .footer-portrait {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 14px 0 0;
}

.va .footer-portrait .pic {
  width: 84px;
  height: 96px;
  background: url('assets/philip.jpg') center top / cover, var(--navy);
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.va .footer-portrait .meta .nm {
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.1;
  font-weight: 400;
}

.va .footer-portrait .meta .role {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  font-weight: 500;
}

.va .footer-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.5);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .va header.nav {
    padding: 14px 32px;
  }

  .va .hero {
    grid-template-columns: 1fr;
  }

  .va .hero-text {
    padding: 60px 32px;
  }

  .va .hero-image {
    min-height: 400px;
  }

  .va .pillar-nav {
    grid-template-columns: 1fr 1fr;
  }

  .va .theme {
    grid-template-columns: 1fr;
  }

  .va .theme.reverse .theme-img {
    order: initial;
  }

  .va .theme-text {
    padding: 60px 32px;
  }

  .va footer {
    padding: 60px 32px 24px;
  }

  .va .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {

  /* Hide navigation completely on mobile */
  .va header.nav {
    display: none;
  }

  /* Hide pillar nav on mobile */
  .va .pillar-nav {
    display: none;
  }

  /* Adjust hero to show logo at top, then image, then text with buttons */
  .va .hero {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .va .hero-text {
    padding: 40px 20px;
    order: 2;
  }

  .va .hero-image {
    min-height: 400px;
    order: 1;
  }

  /* Add logo to hero on mobile */
  .va .hero-text::before {
    content: '';
    display: block;
    width: 100%;
    max-width: 500px;
    height: 180px;
    margin: 0 auto 32px;
    background: url('assets/logo-hell.svg') center/contain no-repeat;
  }

  .va h1 {
    font-size: 42px;
  }

  .va .theme-text {
    padding: 40px 20px;
  }

  .va .theme-text h2 {
    font-size: 32px;
  }

  .va footer {
    padding: 40px 20px 20px;
  }

  .va .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .va .footer-logo {
    height: 80px;
  }
}