/* =========================================
   KOERKS – Global Stylesheet
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --black:   #1d1d1f;
  --dark:    #f5f5f7;
  --mid:     #e8e8ed;
  --stone:   #86868b;
  --cream:   #1d1d1f;
  --white:   #ffffff;
  --gold:    #8a6d3b;
  --gold-lt: #a0824a;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', Helvetica, sans-serif;
  --max: 1140px;
  --gap: clamp(1.5rem, 4vw, 3rem);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 400; font-style: italic; color: var(--gold-lt); }

p { margin-bottom: 1.4rem; color: #3a3a3c; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-lt); }

strong { font-weight: 500; color: var(--black); }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--light {
  background: var(--dark);
}

.section--mid {
  background: var(--mid);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

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

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: padding .3s;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--black);
  text-transform: uppercase;
}
.nav__logo span { color: var(--gold); }

.nav__links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav__links a {
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color .2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--gold); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--black);
  transition: transform .3s, opacity .3s;
}

/* ---- Hero ---- */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 80% 50%, rgba(138,109,59,.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero__content {
  padding: 4rem var(--gap) 4rem calc((100vw - var(--max)) / 2 + var(--gap));
  position: relative;
  z-index: 1;
}

.hero__image {
  height: 100svh;
  position: relative;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,.15) 0%, transparent 40%);
}

.hero__eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp .8s .2s ease forwards;
}

.hero__title {
  opacity: 0;
  animation: fadeUp .9s .4s ease forwards;
  margin-bottom: 1.8rem;
  color: var(--black);
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--stone);
  max-width: 480px;
  opacity: 0;
  animation: fadeUp .9s .6s ease forwards;
  margin-bottom: 2.8rem;
}

.hero__cta {
  opacity: 0;
  animation: fadeUp .9s .8s ease forwards;
}

.btn {
  display: inline-block;
  padding: .85rem 2.2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: background .25s, color .25s;
  background: transparent;
}
.btn:hover {
  background: var(--gold);
  color: var(--white);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: 0;
  animation: fadeIn 1s 1.2s ease forwards;
  z-index: 2;
}
.hero__scroll span {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}

/* ---- Divider ---- */
.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1.6rem 0;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* ---- Cards ---- */
.card {
  padding: 2.4rem;
  border: 1px solid rgba(0,0,0,.08);
  background: var(--white);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.card:hover {
  border-color: rgba(138,109,59,.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.07);
}
.card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(138,109,59,.15);
  line-height: 1;
  margin-bottom: 1rem;
}
.card h2 {
  font-size: 1.2rem;
  margin-bottom: .8rem;
  color: var(--black);
}

/* ---- Quote ---- */
.quote-block {
  border-left: 2px solid var(--gold);
  padding: 1.4rem 2rem;
  margin: 2.5rem 0;
  background: var(--dark);
}
.quote-block p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--black);
  margin: 0;
}

/* ---- FAQ ---- */
.faq { margin-top: 2rem; }
.faq__item {
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.faq__q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--black);
  transition: color .2s;
}
.faq__q:hover { color: var(--gold); }
.faq__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--gold);
  margin-left: 1rem;
  transition: transform .3s;
}
.faq__a {
  display: none;
  padding-bottom: 1.3rem;
  color: var(--stone);
  font-size: .95rem;
}
.faq__item.open .faq__a { display: block; }
.faq__item.open .faq__icon { transform: rotate(45deg); }

/* ---- Page Header (Unterseiten) ---- */
.page-header {
  padding: 9rem var(--gap) 5rem;
  background: var(--dark);
  text-align: center;
}
.page-header .eyebrow {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.page-header p {
  max-width: 600px;
  margin: 1.2rem auto 0;
  color: var(--stone);
}

/* ---- Text Article ---- */
.article-body {
  max-width: 720px;
}
.article-body h2 {
  margin-top: 2.8rem;
  margin-bottom: 1rem;
}
.article-body p {
  font-size: 1.02rem;
  line-height: 1.85;
}

/* ---- Footer ---- */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 4rem 0 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: .8rem;
}
.footer__brand span { color: var(--gold); }
.footer__desc {
  font-size: .88rem;
  color: var(--stone);
  margin: 0;
}
.footer__col h3 {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone);
  font-style: normal;
  margin-bottom: 1.2rem;
}
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: .6rem; }
.footer__col ul a {
  font-size: .9rem;
  color: var(--stone);
}
.footer__col ul a:hover { color: var(--gold); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: .8rem;
  color: var(--stone);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__partner {
  font-size: .82rem;
  color: var(--stone);
}
.footer__partner a {
  color: var(--gold);
  font-weight: 500;
}

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; }
  50% { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--white);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 99;
  }
  .nav__links.open a { font-size: 1.1rem; color: var(--black); }
  .nav__burger { display: flex; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
