/* Favourite Education — Classic Editorial (DE / CH) */

:root {
  --navy: #16324f;
  --navy-dark: #0f2438;
  --gold: #c19a4b;
  --gold-dark: #a5813a;
  --text: #2c353f;
  --muted: #64707c;
  --paper: #ffffff;
  --cream: #f7f4ec;
  --cream-2: #efe9dc;
  --border: #e3ddce;
  --container: 1120px;
  --font: "Georgia", "Times New Roman", serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 14px 40px rgba(22, 50, 79, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--paper); line-height: 1.72; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 26px; }
.section { padding: 92px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #fff; }

/* Centered heads with gold rule */
.head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.head .kick { display: block; color: var(--gold-dark); font-family: var(--sans); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 16px; }
.head h2 { font-family: var(--font); font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--navy); line-height: 1.2; font-weight: 700; }
.head h2 + .rule { width: 60px; height: 3px; background: var(--gold); margin: 20px auto 0; }
.head p { color: var(--muted); margin-top: 20px; font-size: 1.06rem; }
.section--navy .head h2 { color: #fff; }
.section--navy .head p { color: rgba(255,255,255,0.78); }
.section--navy .head .kick { color: var(--gold); }
h1, h2, h3 { font-family: var(--font); color: var(--navy); line-height: 1.25; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 32px; border-radius: 2px; font-weight: 700; font-size: 0.96rem; cursor: pointer; border: 2px solid transparent; transition: all 0.2s ease; font-family: var(--sans); letter-spacing: 0.02em; }
.btn--gold { background: var(--gold); color: var(--navy-dark); }
.btn--gold:hover { background: var(--gold-dark); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--block { width: 100%; }

/* Header (centered logo) */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.98); border-bottom: 1px solid var(--border); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 92px; gap: 20px; }
.nav-left { justify-self: start; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 24px; }
.nav-menu { display: flex; gap: 26px; list-style: none; }
.nav-menu a { font-family: var(--sans); font-weight: 600; font-size: 0.9rem; color: var(--navy); letter-spacing: 0.02em; transition: color 0.2s; }
.nav-menu a:hover { color: var(--gold-dark); }
.logo { justify-self: center; }
.logo img { height: 52px; width: auto; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; justify-self: end; }
.burger span { width: 26px; height: 3px; background: var(--navy); transition: 0.3s; }

/* Hero — split layout, full (uncropped) image */
.hero { background: var(--cream); border-bottom: 1px solid var(--border); }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 72px; }
.hero__content { max-width: 560px; }
.hero .kick { display: block; color: var(--gold-dark); font-family: var(--sans); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); color: var(--navy); line-height: 1.12; margin-bottom: 20px; }
.hero .sub { font-size: 1.16rem; color: var(--muted); margin-bottom: 32px; }
.hero__btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__media { display: flex; justify-content: center; align-items: center; }
.hero__media img { width: 100%; height: auto; max-height: 560px; object-fit: contain; display: block; }

/* Karriere-Check strip (overlapping) */
.check-strip { max-width: 940px; margin: 48px auto 0; position: relative; z-index: 5; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); padding: 28px 34px; display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; }
.check-strip .label { font-family: var(--font); font-size: 1.2rem; color: var(--navy); border-right: 1px solid var(--border); padding-right: 30px; }
.check-strip ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 26px; }
.check-strip li { display: flex; gap: 10px; align-items: center; font-size: 0.95rem; color: var(--text); }
.check-strip li::before { content: "✓"; width: 22px; height: 22px; flex-shrink: 0; background: var(--gold); color: var(--navy-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; }

/* Problem theses */
.theses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.thesis { padding: 30px 26px; border-right: 1px solid var(--border); }
.thesis:last-child { border-right: none; }
.thesis .n { font-family: var(--font); font-size: 2rem; color: var(--gold); line-height: 1; }
.thesis h3 { font-size: 1.16rem; margin: 12px 0 8px; }
.thesis p { color: var(--muted); font-size: 0.96rem; }

/* Age block */
.age-block { background: #fff; border: 1px solid var(--border); padding: 44px; box-shadow: var(--shadow); max-width: 820px; margin: 0 auto; text-align: center; }
.age-block .kick { display: block; color: var(--gold-dark); font-family: var(--sans); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
.age-block h3 { font-size: 1.55rem; margin-bottom: 10px; }
.age-block p { color: var(--muted); margin-bottom: 26px; }
.age-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.age-btn { padding: 16px 10px; border: 1px solid var(--navy); background: #fff; font-weight: 700; color: var(--navy); cursor: pointer; transition: all 0.2s; font-family: var(--sans); font-size: 0.96rem; }
.age-btn:hover { background: var(--cream); }
.age-btn.selected { background: var(--navy); color: #fff; }
.age-note { margin-top: 18px; font-size: 0.92rem; color: var(--gold-dark); font-weight: 600; min-height: 1.2em; }

/* Vertical timeline (improve + roadmap) */
.vtimeline { max-width: 820px; margin: 0 auto; position: relative; }
.vtimeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--border); }
.vt-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding: 20px 0; }
.vt-item .marker { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--font); font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.vt-item h3 { font-size: 1.24rem; margin-bottom: 6px; }
.vt-item p { color: var(--muted); font-size: 0.98rem; }
.section--navy .vtimeline::before { background: rgba(255,255,255,0.2); }
.section--navy .vt-item .marker { background: var(--gold); color: var(--navy-dark); }
.section--navy .vt-item h3 { color: #fff; }
.section--navy .vt-item p { color: rgba(255,255,255,0.72); }

/* Scenarios */
.scenarios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.scenario { background: #fff; border: 1px solid var(--border); padding: 32px; }
.scenario .head-row { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.scenario .ic { width: 48px; height: 48px; flex-shrink: 0; border: 1px solid var(--gold); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.scenario h3 { font-size: 1.18rem; }
.scenario p { color: var(--muted); font-size: 0.97rem; }

/* Advantages (photo + classic list) */
.adv-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.adv-media img { width: 100%; height: auto; object-fit: contain; display: block; border: 1px solid var(--border); }
.adv-list { display: grid; gap: 0; }
.adv-row { display: flex; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--border); }
.adv-row:last-child { border-bottom: none; }
.adv-row::before { content: "✓"; width: 30px; height: 30px; flex-shrink: 0; background: var(--cream); color: var(--gold-dark); border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; }
.adv-row span { font-weight: 600; color: var(--navy); font-size: 1.02rem; }

/* CTA */
.cta { text-align: center; }
.cta .kick { display: block; color: var(--gold); font-family: var(--sans); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 16px; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; max-width: 720px; margin-left: auto; margin-right: auto; }
.cta p { color: rgba(255,255,255,0.82); max-width: 620px; margin: 0 auto 30px; }
.cta .age-grid { max-width: 640px; margin: 0 auto 22px; }
.cta .age-btn { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.cta .age-btn:hover, .cta .age-btn.selected { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.cta .age-note { color: var(--gold); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 24px 0; font-family: var(--font); font-size: 1.14rem; font-weight: 700; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; gap: 16px; }
.faq-q::after { content: "+"; font-size: 1.4rem; color: var(--gold-dark); transition: transform 0.3s; font-family: var(--sans); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--muted); }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 24px; }

/* Contact (map left, form right) */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.map-side { text-align: center; }
.form { }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--border); font-family: var(--sans); font-size: 0.96rem; color: var(--text); background: #fff; transition: border 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 100px; }
.form-success { display: none; background: #eef6ec; border: 1px solid #c3e0b6; color: #3d6b1c; padding: 16px; margin-bottom: 16px; font-weight: 600; }
.form-success.show { display: block; }

/* Footer */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.72); padding: 72px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1.3fr; gap: 40px; }
.footer__logo { height: 48px; margin-bottom: 18px; background: #fff; padding: 8px 12px; display: inline-block; }
.footer__logo img { height: 40px; }
.footer h4 { color: #fff; font-family: var(--font); font-size: 1.05rem; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { font-size: 0.94rem; }
.footer ul a:hover { color: var(--gold); }
.footer__col p { font-size: 0.94rem; margin-bottom: 8px; }
.disclaimer { margin-top: 46px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.84rem; color: rgba(255,255,255,0.5); }
.copyright { margin-top: 18px; font-size: 0.84rem; color: rgba(255,255,255,0.45); text-align: center; }

/* Responsive */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero__content { max-width: 640px; margin: 0 auto; }
  .hero__btns { justify-content: center; }
  .hero__media { order: -1; }
  .hero__media img { max-height: 380px; }
  .theses { grid-template-columns: 1fr; }
  .thesis { border-right: none; border-bottom: 1px solid var(--border); }
  .adv-wrap { grid-template-columns: 1fr; gap: 32px; }
  .adv-media { max-width: 560px; margin: 0 auto; }
  .scenarios { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .check-strip { grid-template-columns: 1fr; gap: 18px; }
  .check-strip .label { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 14px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 62px 0; }
  .header__inner { grid-template-columns: auto 1fr; height: 76px; }
  .logo { justify-self: start; }
  .logo img { height: 42px; }
  .nav-left { display: none; }
  .nav-right .nav-menu { display: none; }
  .nav-right { justify-self: end; }
  .burger { display: flex; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: #fff; padding: 20px 26px; gap: 16px; border-bottom: 1px solid var(--border); }
  .age-grid, .form-row, .check-strip ul { grid-template-columns: 1fr; }
  .age-block { padding: 28px; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ===== Sharp corners + white footer logo (project requirement) ===== */
.btn, .check-strip li::before, .vt-item .marker, .scenario .ic,
.adv-row::before, .field input, .field select, .field textarea,
.form-success { border-radius: 0 !important; }
.field input, .field select, .field textarea { border-radius: 2px !important; }
.footer__logo { background: none !important; padding: 0 !important; }
.footer__logo img { height: 44px; }
