/* ECHTZEIT — Sarah Alhorn | Global Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --cream: #faf6f0;
  --sand: #f1e7da;
  --beige: #e6d8c4;
  --taupe: #c9ac8a;
  --terracotta: #b98565;
  --clay: #a06a4c;
  --ink: #3a332c;
  --ink-soft: #6b6053;
  --white: #fffdfa;
  --line: #e2d3bd;
  --shadow: 0 20px 50px -25px rgba(58, 51, 44, 0.35);
  --radius: 2px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.15; }
h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }

p { color: var(--ink-soft); }

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 14px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links.left { justify-content: flex-end; }
.nav-links.right { justify-content: flex-start; }

.nav-links a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--clay);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--clay); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.is-active { color: var(--clay); }
.nav-links a.is-active::after { width: 100%; }

.logo {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  letter-spacing: 0.32em;
  font-weight: 600;
  white-space: nowrap;
}

.logo span {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 2px;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.footer-logo img { height: 34px; width: auto; }

.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-wrap { grid-template-columns: auto auto; justify-content: space-between; }
  .nav-links { display: none; }
  .logo { text-align: left; font-size: 1.25rem; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  background: transparent;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--clay); border-color: var(--clay); }

.btn-outline:hover { background: var(--ink); color: var(--white); }

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

/* ===== Hero ===== */
.hero {
  padding: 90px 0 110px;
  text-align: center;
  background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
}

.hero-inner { max-width: 780px; margin: 0 auto; }

.hero p.lead {
  max-width: 560px;
  margin: 22px auto 36px;
  font-size: 1.08rem;
}

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-media {
  margin-top: 60px;
  height: 480px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--beige) 0%, var(--taupe) 55%, var(--terracotta) 100%);
  position: relative;
  overflow: hidden;
}

/* Das Startseitenfoto ist ein Hochformat und soll vollständig sichtbar bleiben. */
.hero-media--portrait {
  width: min(100%, 720px);
  height: auto;
  aspect-ratio: 1280 / 1681;
  margin-inline: auto;
}

.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(120deg, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 2px, transparent 2px, transparent 40px);
}

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

.pos-top { object-position: center 15%; }

.hero-media.has-photo::after { display: none; }

/* Page hero (subpages) */
.page-hero {
  padding: 70px 0 60px;
  text-align: center;
  background: var(--sand);
}
.page-hero p.lead { max-width: 620px; margin: 18px auto 0; }

/* ===== Sections ===== */
section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: var(--cream); }
.bg-ink h2, .bg-ink h3 { color: var(--cream); }
.bg-ink p { color: #d8cfc2; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }

/* ===== 5 Pillars Grid ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pillar {
  background: var(--white);
  padding: 42px 24px;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
}
.pillar:hover { background: var(--sand); transform: translateY(-4px); }

.pillar-icon {
  width: 46px; height: 46px;
  margin: 0 auto 20px;
  border: 1px solid var(--taupe);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--clay);
}

.pillar h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pillar p { font-size: 0.88rem; }

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px 32px;
}

.card .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  color: var(--taupe);
  margin-bottom: 14px;
  line-height: 1;
}

.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.94rem; }

/* ===== Testimonials ===== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

.testi {
  background: var(--white);
  padding: 36px 32px;
  border-top: 2px solid var(--taupe);
}
.testi blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 18px;
}
.testi cite {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
}

/* ===== Partners ===== */
.partners-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  opacity: 0.85;
}
.partner-logo {
  padding: 18px 34px;
  border: 1px solid var(--line);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: all 0.3s ease;
}
.partner-logo:hover { border-color: var(--clay); color: var(--clay); }

/* ===== Media block placeholder ===== */
.media-block {
  background: linear-gradient(135deg, var(--beige), var(--taupe));
  border-radius: var(--radius);
}
.media-16-9 { aspect-ratio: 16/9; }
.media-4-5 { aspect-ratio: 4/5; }
.media-1-1 { aspect-ratio: 1/1; }

/* ===== Split layout ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) { .split.reverse .split-media { order: 0; } }

/* ===== Feature list ===== */
.feature-list { list-style: none; margin-top: 24px; }
.feature-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.feature-list li::before {
  content: "—";
  color: var(--clay);
  flex-shrink: 0;
}

/* ===== CTA band ===== */
.cta-band {
  text-align: center;
  padding: 90px 0;
  background: var(--ink);
  color: var(--cream);
}
.cta-band h2 { color: var(--cream); margin-bottom: 18px; }
.cta-band p { color: #d8cfc2; max-width: 520px; margin: 0 auto 32px; }

/* ===== Contact icons ===== */
.contact-icons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.contact-icons a {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.contact-icons a:hover { border-color: var(--clay); background: var(--clay); color: var(--white); }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: #cfc5b6;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  letter-spacing: 0.24em;
  color: var(--cream);
  margin-bottom: 14px;
}
.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--taupe); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #a89c8a;
}
.footer-bottom a { margin-left: 18px; }
.footer-bottom a:hover { color: var(--taupe); }

/* ===== Legal pages ===== */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { margin-top: 46px; margin-bottom: 14px; font-size: 1.6rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); margin-bottom: 12px; font-size: 0.96rem; }
.legal-content ul { padding-left: 22px; margin-bottom: 12px; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.tag {
  border: 1px solid var(--line);
  padding: 8px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
