/* ─────────────────────────────────────────────────────────────
   Felix Klemme Website – Shared Styles
   ───────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:      #0B0B0B;
  --white:      #F7F7F5;
  --gray:       #A8A8A8;
  --gray-dark:  #2A2A2A;
  --gold:       #C8A97E;
  --font-d:     'Playfair Display', Georgia, serif;
  --font-b:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --sv:         120px;
  --mw:         1100px;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-b);
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── NAVIGATION ──────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 30px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.45s ease, padding 0.45s ease,
              border-color 0.45s ease, backdrop-filter 0.45s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background-color: rgba(11, 11, 11, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 20px 52px;
  border-bottom-color: rgba(247, 247, 245, 0.06);
}

.nav-logo {
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 24px;
  width: auto;
  opacity: 0.8;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
  transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-family: var(--font-d);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* ─── UTILITIES ───────────────────────────────────────────── */

.container {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 52px;
}

.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.22s; }
.fade-up.d3 { transition-delay: 0.36s; }
.fade-up.d4 { transition-delay: 0.5s; }

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.bridge {
  font-family: var(--font-d);
  font-style: italic;
  font-size: 0.9rem;
  margin-top: 56px;
  display: block;
}

.bridge-on-light { color: rgba(11,11,11,0.27); }
.bridge-on-dark  { color: rgba(200,169,126,0.4); }

/* ─── BUTTONS ─────────────────────────────────────────────── */

.btn-light {
  display: inline-flex;
  align-items: center;
  padding: 13px 30px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-b);
  font-size: 0.83rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid var(--white);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  letter-spacing: 0.01em;
}

.btn-light:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  padding: 13px 30px;
  background: transparent;
  color: rgba(168,168,168,0.75);
  font-family: var(--font-b);
  font-size: 0.83rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid rgba(168,168,168,0.25);
  transition: color 0.3s, border-color 0.3s;
}

.btn-ghost-light:hover {
  color: var(--white);
  border-color: rgba(247,247,245,0.35);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  padding: 13px 30px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 0.83rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid rgba(247,247,245,0.15);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

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

.btn-gold {
  display: inline-flex;
  align-items: center;
  padding: 13px 30px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-b);
  font-size: 0.83rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid var(--gold);
  transition: background 0.3s, color 0.3s;
  letter-spacing: 0.01em;
}

.btn-gold:hover {
  background: #d4b88a;
  border-color: #d4b88a;
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  padding: 13px 30px;
  background: transparent;
  color: rgba(11,11,11,0.45);
  font-family: var(--font-b);
  font-size: 0.83rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid rgba(11,11,11,0.18);
  transition: color 0.3s, border-color 0.3s;
}

.btn-ghost-dark:hover {
  color: var(--black);
  border-color: rgba(11,11,11,0.45);
}

.text-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.83rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(247,247,245,0.2);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}

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

.text-link-dark {
  display: inline-flex;
  align-items: center;
  font-size: 0.83rem;
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(11,11,11,0.25);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}

.text-link-dark:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ─── PAGE HERO (Unterseiten) ─────────────────────────────── */

.page-hero {
  background: var(--black);
  padding: 200px 0 120px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(200,169,126,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-hero-eyebrow {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
}

.page-hero-h1 {
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 32px;
}

.page-hero-h1 em { font-style: italic; }

.page-hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--gray);
  max-width: 520px;
  line-height: 1.9;
  margin-bottom: 44px;
}

/* Two-column hero with portrait image */
.page-hero-split {
  padding: 200px 0 0;
}

.page-hero-split::after { display: none; }

.page-hero-split .page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: end;
}

.page-hero-split .page-hero-inner {
  padding-bottom: 100px;
  max-width: 100%;
}

.page-hero-img-col {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
}

.page-hero-img-col img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ─── COMMON SECTION PATTERNS ─────────────────────────────── */

.s-light {
  background: var(--white);
  padding: var(--sv) 0;
  color: var(--black);
}

.s-dark {
  background: var(--black);
  padding: var(--sv) 0;
  color: var(--white);
  position: relative;
}

.s-h2 {
  font-family: var(--font-d);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 44px;
}

.s-h2 em { font-style: italic; }
.s-h2--light { color: var(--black); }
.s-h2--dark  { color: var(--white); }

.s-h3 {
  font-family: var(--font-d);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 14px;
}

.s-h3--light { color: var(--black); }
.s-h3--dark  { color: var(--white); }

.s-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 2;
}

.s-text--gray { color: var(--gray); }
.s-text--dark-muted { color: rgba(11,11,11,0.6); }

.s-text p { margin-bottom: 24px; }
.s-text p:last-child { margin-bottom: 0; }

.hl       { color: var(--white); font-weight: 400; }
.hl-dark  { color: var(--black); font-weight: 400; }

.s-narrow { max-width: 680px; }
.s-mid    { max-width: 760px; }

/* Gold hairline top separator */
.hairline-top {
  position: relative;
}
.hairline-top::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  translate: -50% 0;
  width: 1px; height: 72px;
  background: linear-gradient(to bottom, transparent, var(--gold) 50%, transparent);
}

/* CTA row */
.cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 44px;
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ─── CARD PATTERNS ───────────────────────────────────────── */

.card-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.card-base {
  padding: 52px 44px;
}

.card-light {
  background: #EEEEED;
  transition: background 0.3s;
}
.card-light:hover { background: #E9E9E7; }

.card-dark {
  background: var(--gray-dark);
  transition: background 0.3s;
}
.card-dark:hover { background: #333; }

.card-num {
  font-family: var(--font-d);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 28px;
}

.card-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(11,11,11,0.38);
  display: block;
  margin-bottom: 10px;
}

.card-eyebrow--light {
  color: rgba(247,247,245,0.35);
}

.card-title {
  font-family: var(--font-d);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 14px;
  line-height: 1.2;
}

.card-title--white { color: var(--white); }

.card-text {
  font-size: 0.88rem;
  color: rgba(11,11,11,0.5);
  line-height: 1.85;
  margin-bottom: 32px;
}

.card-text--gray {
  color: rgba(168,168,168,0.6);
}

/* ─── FAQ ACCORDION ───────────────────────────────────────── */

.faq-list {
  border-top: 1px solid rgba(11,11,11,0.1);
}

.faq-item {
  border-bottom: 1px solid rgba(11,11,11,0.1);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 28px 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--black);
  gap: 32px;
}

.faq-q-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(11,11,11,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, border-color 0.3s;
  font-size: 1rem;
  line-height: 1;
  color: rgba(11,11,11,0.4);
}

.faq-item.open .faq-q-icon {
  transform: rotate(45deg);
  border-color: var(--gold);
  color: var(--gold);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-a-inner {
  padding: 0 0 28px;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(11,11,11,0.6);
  line-height: 1.9;
  max-width: 680px;
}

/* ─── PREIS BLOCK ─────────────────────────────────────────── */

.preis-block {
  background: var(--gray-dark);
  border-radius: 4px;
  padding: 60px 52px;
  max-width: 560px;
}

.preis-num {
  font-family: var(--font-d);
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.preis-hint {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 36px;
  display: block;
}

.preis-garantie {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(247,247,245,0.08);
  font-size: 0.82rem;
  color: rgba(168,168,168,0.5);
  line-height: 1.7;
}

/* ─── FOOTER ──────────────────────────────────────────────── */

.footer {
  background: var(--black);
  padding: 88px 0 52px;
  border-top: 1px solid rgba(247,247,245,0.06);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 72px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
}

.footer-tagline {
  font-family: var(--font-d);
  font-style: italic;
  font-size: 0.82rem;
  color: rgba(168,168,168,0.4);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-nav a {
  font-size: 0.78rem;
  color: var(--gray);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

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

.footer-newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.footer-nl-label {
  font-size: 0.75rem;
  color: rgba(168,168,168,0.45);
  letter-spacing: 0.05em;
  text-align: right;
}

.footer-nl-form { display: flex; }

.footer-nl-input {
  background: var(--gray-dark);
  border: none;
  border-radius: 3px 0 0 3px;
  padding: 10px 16px;
  font-family: var(--font-b);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--white);
  width: 210px;
  outline: none;
  transition: background 0.25s;
}

.footer-nl-input::placeholder { color: rgba(168,168,168,0.35); }
.footer-nl-input:focus { background: #333; }

.footer-nl-btn {
  background: var(--gold);
  border: none;
  border-radius: 0 3px 3px 0;
  padding: 10px 16px;
  font-family: var(--font-b);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s;
}

.footer-nl-btn:hover { background: #d4b88a; }

.footer-bottom {
  border-top: 1px solid rgba(247,247,245,0.06);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.73rem;
  color: rgba(168,168,168,0.3);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.73rem;
  color: rgba(168,168,168,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--gray); }

/* ─── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 960px) {
  :root { --sv: 88px; }

  .container { padding: 0 32px; }

  .nav { padding: 24px 32px; }
  .nav.scrolled { padding: 18px 32px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .page-hero { padding: 160px 0 80px; }

  .page-hero-split { padding: 160px 0 0; }
  .page-hero-split .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .page-hero-split .page-hero-inner { padding-bottom: 0; }
  .page-hero-img-col { aspect-ratio: 16/9; order: -1; }

  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 44px; }
  .footer-newsletter { align-items: flex-start; }
  .footer-nl-label { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 560px) {
  .page-hero-h1 { font-size: 2rem; }
  .cta-row { flex-direction: column; align-items: stretch; text-align: center; }
  .footer-nl-input { width: 100%; }
  .footer-nl-form { width: 100%; }
}
