/* =====================================================
   RÖSTEL & TÜRK — MAIN STYLESHEET
   Design system: warm cream, terracotta, sage, earth tones
   Fonts: Fraunces (headlines) + Inter (body)
   ===================================================== */

/* ---------- 1. DESIGN TOKENS (CSS variables) ---------- */
:root {
  /* Colors */
  --cream:        #faf6f0;   /* page background */
  --cream-dark:   #f0e9dc;   /* subtle borders, cards */
  --terracotta:   #c45a3a;   /* primary accent, buttons */
  --terracotta-d: #9c3f24;   /* button hover */
  --sage:         #6b7d5a;   /* secondary accent */
  --sage-light:   #a8b598;   /* soft green touches */
  --gold:         #c8a45c;   /* small decorative details */
  --ink:          #2d2418;   /* main text (warm near-black) */
  --ink-soft:     #5a4d3c;   /* secondary text */
  --ink-muted:    #8a7a64;   /* subtle text, captions */

  /* Typography */
  --font-head: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing scale */
  --space-xs: 8px;
  --space-s:  16px;
  --space-m:  32px;
  --space-l:  64px;
  --space-xl: 112px;

  /* Misc */
  --radius: 12px;
  --maxwidth: 1120px;
}

/* ---------- 2. RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- 3. LAYOUT HELPERS ---------- */
.container {
  max-width: var(--maxwidth);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 100px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 4px 18px rgba(196, 90, 58, 0.28);
}

.btn-primary:hover {
  background: var(--terracotta-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(196, 90, 58, 0.36);
}

.btn-ghost {
  color: var(--ink-soft);
  border: 1.5px solid var(--cream-dark);
  background: transparent;
}

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

.btn-small {
  padding: 10px 22px;
  font-size: 15px;
  background: var(--terracotta);
  color: #fff;
}

.btn-small:hover {
  background: var(--terracotta-d);
}

/* ---------- 5. HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 36, 24, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.wordmark {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.wordmark .amp {
  color: var(--terracotta);
  font-style: italic;
  font-weight: 300;
}

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

.main-nav a:not(.btn) {
  font-size: 15px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.main-nav a:not(.btn):hover {
  color: var(--terracotta);
}

/* language switcher (DE | EN) */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.lang-switch a {
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.lang-switch a:hover {
  color: var(--terracotta);
}

.lang-active {
  color: var(--ink);
  font-weight: 600;
}

.lang-sep {
  color: var(--cream-dark);
}

/* ---------- 6. HERO ---------- */
.hero {
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* soft radial warmth behind the hero text */
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(circle,
    rgba(200, 164, 92, 0.10) 0%,
    rgba(196, 90, 58, 0.06) 40%,
    transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
}

.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-s);
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-m);
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta);
}

.hero-subtitle {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto var(--space-m);
}

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

/* ---------- 7. MOBILE ADJUSTMENTS ---------- */
@media (max-width: 640px) {
  .main-nav > a:not(.btn) {
    display: none; /* hide text links on small screens; lang switcher stays */
  }

  .hero {
    padding: var(--space-l) 0;
  }

  .hero-subtitle {
    font-size: 17px;
  }
}

/* ---------- 8. SECTION BASICS (reused by all sections) ---------- */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-l);
}

.section-eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-s);
}

.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta);
}

.section-intro {
  font-size: 17px;
  color: var(--ink-soft);
}

/* ---------- 9. TRUST BAR ---------- */
.trustbar {
  border-top: 1px solid rgba(45, 36, 24, 0.06);
  border-bottom: 1px solid rgba(45, 36, 24, 0.06);
  background: rgba(240, 233, 220, 0.35);
  padding: var(--space-m) 0;
}

.trustbar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-m);
}

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

.trust-icon {
  display: flex;
  flex-shrink: 0;
}

/* Inline Lucide icons, smaller counterpart to .service-icon svg */
.trust-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--terracotta);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.trust-item p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ---------- 10. SERVICES ---------- */
.services {
  padding: var(--space-xl) 0;
}

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

.service-card {
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: all 0.28s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(45, 36, 24, 0.09);
  border-color: rgba(196, 90, 58, 0.25);
}

.service-icon {
  margin-bottom: var(--space-s);
  line-height: 0; /* inline SVG would otherwise add baseline gap below the icon */
}

/* Inline Lucide icons: stroke styling lives here so the markup stays clean */
.service-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--terracotta);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.service-card h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 21px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15.5px;
  color: var(--ink-soft);
}

/* the special CTA card */
.service-card-cta {
  background: linear-gradient(145deg, #fdf3ec, #f8e8db);
  border-color: rgba(196, 90, 58, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.service-card-cta p {
  margin-bottom: var(--space-s);
}

/* ---------- 11. TRUST BAR + SERVICES MOBILE ---------- */
@media (max-width: 900px) {
  .trustbar-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .trustbar-inner {
    grid-template-columns: 1fr;
    gap: var(--space-s);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 12. TEAM / MEET THE DUO ---------- */
.team {
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, rgba(240, 233, 220, 0.4), transparent 40%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 940px;
  margin: 0 auto;
}

.team-card {
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.28s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(45, 36, 24, 0.10);
}

.team-photo-wrap {
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.5s ease;
}

.team-card:hover .team-photo {
  transform: scale(1.035);
}

/* Buddy sits centred beneath the duo, same card width as the other two */
.team-card-buddy {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 454px;
}

.team-photo-buddy {
  object-position: center 42%;
}

.team-info {
  padding: 28px 30px 32px;
}

.team-info h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 4px;
}

.team-role {
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: var(--space-s);
}

.team-bio {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin-bottom: var(--space-s);
}

.team-linkedin {
  font-size: 15px;
  font-weight: 500;
  color: var(--sage);
  transition: color 0.2s ease;
}

.team-linkedin:hover {
  color: var(--terracotta);
}

/* ---------- 13. WHY US ---------- */
.whyus {
  padding: var(--space-xl) 0;
}

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

.why-item {
  text-align: center;
  padding: 0 8px;
}

.why-item h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 10px;
  position: relative;
  padding-top: 22px;
}

/* small decorative line above each why-item */
.why-item h3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
}

.why-item p {
  font-size: 15.5px;
  color: var(--ink-soft);
}

/* ---------- 14. TEAM + WHYUS MOBILE ---------- */
@media (max-width: 800px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .team-card-buddy {
    max-width: none;
  }
  .whyus-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ---------- 15. FINAL CTA ---------- */
.finalcta {
  background: linear-gradient(135deg, var(--terracotta) 0%, #a84a2c 55%, #8f3a1f 100%);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* soft glow decoration */
.finalcta::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 235, 214, 0.16), transparent 65%);
  pointer-events: none;
}

.finalcta-inner {
  position: relative;
}

.finalcta-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  color: #fff;
  margin-bottom: var(--space-s);
}

.finalcta-title em {
  font-style: italic;
  font-weight: 300;
  color: #ffd9c4;
}

.finalcta-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin: 0 auto var(--space-m);
}

.btn-light {
  background: #fff;
  color: var(--terracotta-d);
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
}

.finalcta-alt {
  margin-top: var(--space-m);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}

.finalcta-mail {
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 16. FOOTER ---------- */
.site-footer {
  background: #221b12;
  color: #cfc5b6;
  padding: var(--space-l) 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-m);
  padding-bottom: var(--space-m);
}

.footer-brand .wordmark {
  color: #f5efe6;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 14.5px;
  line-height: 1.6;
  color: #9a8f7d;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a7f6c;
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 15px;
  color: #cfc5b6;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer-bottom p {
  font-size: 13.5px;
  color: #8a7f6c;
}

/* ---------- 17. CTA + FOOTER MOBILE ---------- */
@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- 18. LEGAL PAGES ---------- */
.legal-page {
  padding: var(--space-l) 0 var(--space-xl);
}

.legal-container {
  max-width: 760px;
}

.legal-page h1 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 48px);
  margin-bottom: 6px;
}

.legal-updated {
  font-size: 14px;
  color: var(--ink-muted);
  font-style: italic;
  margin-bottom: var(--space-l);
}

.legal-page h2 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 22px;
  margin: var(--space-m) 0 10px;
}

.legal-page p {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin-bottom: var(--space-s);
}

.legal-page a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.legal-page a:hover {
  color: var(--terracotta-d);
}