/* In Balance — Andreas Lohrean Ernstbrunner */

@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: #faf5ec;
  --cream-alt: #f1e6d3;
  --paper: #fffdf9;
  --ink: #2c2418;
  --ink-soft: #5c5142;
  --gold: #b8823b;
  --gold-dark: #8f632a;
  --gold-light: #e3b96a;
  --indigo: #241c3f;
  --indigo-deep: #16112a;
  --indigo-soft: #4a3c72;
  --line: rgba(44, 36, 24, 0.12);
  --radius: 18px;
  --shadow: 0 20px 50px rgba(36, 28, 63, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--indigo);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.7rem); }

p { margin: 0 0 1.1em; }

a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); }

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

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

.eyebrow {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-dark);
  margin-bottom: 0.9em;
}

.center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--paper);
}

.btn-ghost {
  border-color: rgba(250, 245, 236, 0.5);
  color: var(--cream);
}
.btn-ghost:hover {
  background: rgba(250, 245, 236, 0.12);
  color: var(--cream);
}

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

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--indigo);
  font-weight: 600;
}
.brand img { width: 42px; height: 42px; }
.brand span { display: block; }
.brand small {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
}

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

nav.main-nav a {
  color: var(--ink);
  font-size: 0.95rem;
  position: relative;
}
nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
nav.main-nav a:hover::after,
nav.main-nav a.active::after { width: 100%; }
nav.main-nav a.active { color: var(--gold-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px; height: 24px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--indigo);
  transition: all 0.2s ease;
}
.nav-toggle span { top: 11px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  background-color: var(--indigo-deep);
  background-repeat: no-repeat;
  background-position: center 20%;
  background-size: cover;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184,130,59,0.25), transparent 60%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 680px; }
.hero h1 { color: var(--paper); }
.hero .eyebrow { color: var(--gold-light); }
.hero p.lead {
  font-size: 1.1rem;
  color: rgba(250, 245, 236, 0.88);
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; margin-top: 1.6em; flex-wrap: wrap; }

/* Sections */
section { padding: 92px 0; }
.section-alt { background: var(--cream-alt); }
.section-deep {
  background: linear-gradient(160deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  color: rgba(250,245,236,0.9);
}
.section-deep h2, .section-deep h3 { color: var(--paper); }
.section-deep .eyebrow { color: var(--gold-light); }

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

/* About teaser / two-col */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split.reverse { grid-template-columns: 1.15fr 0.85fr; }
.split.reverse .split-media { order: 2; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-6px); }
.card-media { height: 210px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 28px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 0.4em; }
.card-body p { flex: 1; color: var(--ink-soft); }
.card-body a.more { font-size: 0.88rem; letter-spacing: 0.04em; }

/* Feature list (Ausbildungen etc.) */
.feature-list { display: grid; gap: 26px; }
.feature-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.feature-item h3 { margin-bottom: 0.3em; font-size: 1.25rem; }
.feature-item p { color: var(--ink-soft); margin-bottom: 0; }

/* Quote / testimonial */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.quote {
  background: rgba(250,245,236,0.06);
  border: 1px solid rgba(250,245,236,0.16);
  border-radius: var(--radius);
  padding: 24px 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
}

/* Pricing */
.price-list { max-width: 720px; margin: 0 auto; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.price-row:last-of-type { border-bottom: none; }
.price-row h3 { margin: 0; font-size: 1.3rem; }
.price-row .amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--gold-dark);
  white-space: nowrap;
}
.price-note { color: var(--ink-soft); font-size: 0.92rem; margin-top: 4px; }
.bank-box {
  margin-top: 3em;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  text-align: center;
  color: var(--ink-soft);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.contact-card p { margin-bottom: 0.6em; }
.contact-card a { color: var(--ink); }
.contact-card a:hover { color: var(--gold-dark); }

form.contact-form { display: grid; gap: 16px; }
form.contact-form label {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 6px;
}
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
}
form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
form.contact-form textarea { min-height: 130px; resize: vertical; }

/* CTA banner */
.cta-banner {
  text-align: center;
  padding: 70px 0;
}
.cta-banner h2 { max-width: 620px; margin-left: auto; margin-right: auto; }

/* Page hero (inner pages) */
.page-hero {
  padding: 130px 0 70px;
  background: linear-gradient(160deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  color: var(--paper);
  text-align: center;
}
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero p { max-width: 640px; margin: 0 auto; color: rgba(250,245,236,0.85); }

/* Footer */
footer.site-footer {
  background: var(--indigo-deep);
  color: rgba(250, 245, 236, 0.75);
  padding: 64px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250,245,236,0.12);
}
.footer-grid h4 {
  color: var(--paper);
  font-size: 1.05rem;
  margin-bottom: 0.8em;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 38px; height: 38px; }
.footer-brand span { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--paper); }
footer.site-footer a { color: rgba(250, 245, 236, 0.75); }
footer.site-footer a:hover { color: var(--gold-light); }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.85rem;
}
.footer-bottom ul { list-style: none; display: flex; gap: 20px; padding: 0; margin: 0; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { margin-top: 1.6em; }

/* Responsive */
@media (max-width: 880px) {
  nav.main-nav {
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 30px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav a { font-size: 1.1rem; }
  .nav-toggle { display: block; }

  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
