/* ============================================
   olaugh.de – Midnight Gold Design System
   Elegant · Zeitlos · Souverän
   ============================================ */

/* ── Self-Hosted Fonts (DSGVO-konform, keine Google-CDN-Verbindung) ── */

/* Inter Variable — deckt alle Gewichte 100–900 mit einer einzigen Datei ab */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+00C4, U+00D6, U+00DC, U+00E4, U+00F6, U+00FC, U+00DF; /* Deutsche Umlaute */
}

/* Playfair Display — Serif für Überschriften */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/playfair-700.woff2') format('woff2');
}

:root {
  /* Midnight Gold palette */
  --ivory:      #F5F2EE;   /* Pergament — primärer Seitenhintergrund */
  --warm:       #EDEAE2;   /* Sektionflächen */
  --stone:      #DEDAD1;   /* feine Linien, Trennelemente */
  --white:      #FFFFFF;   /* Karten, Oberflächen */
  --navy:       #1A2E4A;   /* Mitternachtsblau — Überschriften, Text */
  --gold:       #C9A84C;   /* Gold-Akzent — dekorativ (Linien, Borders, Logo, Buttons) */
  --amber:      #7B5800;   /* Bernstein — Gold für Textfarben (Kontrast 6.2:1) */
  --gold-light: #F0E8CA;   /* Gold-Tint */
  --charcoal:   #1A2E4A;   /* Fließtext */
  --muted:      #7A7060;   /* Sekundärtext — warm grau-braun */
  --text-muted: #7A7060;
  --text:       #1A2E4A;
  --border:     #DEDAD1;
  --success:    #2D6A4F;

  /* Typography */
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Layout */
  --max-w:     1200px;
  --radius:    8px;

  /* Shadows — warm, dezent */
  --shadow:    0 1px 12px rgba(26,46,74,.05);
  --shadow-lg: 0 4px 24px rgba(26,46,74,.08);
  --transition: 0.25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--charcoal); background: var(--ivory); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }

/* ── Skip-Link (Accessibility) ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
  font-size: .9rem;
}
.skip-link:focus {
  left: 0;
  color: var(--white);
  outline: 2px solid var(--gold);
}

/* ── Typography — Midnight Gold ── */
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.22; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-style: italic; font-weight: 400; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
.lead { font-size: 1.1rem; color: var(--muted); line-height: 1.8; }

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section--white { background: var(--white); }
.section--warm  { background: var(--warm); }
.section--dark  { background: var(--warm); }                 /* repurposed: warm instead of dark */
.section--dark h2, .section--dark h3 { color: var(--navy); }
/* Hero-Variante: echtes Dunkel — Seiten mit hartkodiert weißer Hero-Schrift
   (nlp-seminare) erwarten Navy-Hintergrund. */
.section--dark.hero { background: var(--navy); }
.section--dark.hero .section-label { color: var(--gold); }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 24px; }

/* ── Navigation ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid var(--stone);
  box-shadow: 0 1px 8px rgba(26,46,74,.06);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}

/* Logo — Variant 2: wordmark | Olaf Schneider / tagline */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-mark {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  font-style: italic;
  color: var(--charcoal);
  letter-spacing: -.01em;
  line-height: 1;
}
.nav__logo-o { color: var(--gold); }
.nav__logo-bar {
  width: 1px;
  height: 36px;
  background: var(--gold);
  opacity: .65;
  flex-shrink: 0;
}
.nav__logo-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nav__logo-name {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: .05em;
  line-height: 1;
}
.nav__logo-tagline {
  font-family: var(--font-body);
  font-size: .67rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: .09em;
  line-height: 1;
}

.nav__menu { display: flex; gap: 4px; list-style: none; }
.nav__menu a { padding: 8px 14px; border-radius: 6px; font-size: .9rem; font-weight: 500; color: var(--charcoal); transition: all var(--transition); }
.nav__menu a:hover { background: var(--warm); color: var(--navy); }
.nav__menu .active > a { color: var(--amber); }
.nav__cta { background: var(--navy); color: var(--white) !important; border-radius: var(--radius); padding: 10px 20px !important; font-weight: 600; }
.nav__cta:hover { background: var(--gold) !important; color: var(--white) !important; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown__menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 220px; list-style: none; padding: 8px 0; }
.dropdown:hover .dropdown__menu, .dropdown:focus-within .dropdown__menu { display: block; }
.dropdown__menu li a { display: block; padding: 10px 18px; font-size: .88rem; color: var(--charcoal); border-radius: 0; }
.dropdown__menu li a:hover { background: var(--warm); color: var(--navy); }
.dropdown__menu .badge { font-size: .7rem; background: var(--gold); color: var(--white); border-radius: 20px; padding: 1px 7px; margin-left: 6px; vertical-align: middle; }

/* Mobile toggle */
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: all var(--transition); }

/* ── Hero — Midnight Gold ── */
.hero {
  background: var(--ivory);
  color: var(--charcoal);
  padding: 80px 0 0;
  border-bottom: 1px solid var(--stone);
}

/* Zentriertes Hero-Layout */
.hero__centered {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 0;
}
.hero__overline {
  display: block;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .9rem;
}
.hero__rule {
  width: 52px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 1.75rem;
}
.hero h1 {
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.25rem;
  letter-spacing: .005em;
}
.hero h1 em {
  color: var(--amber);
  font-style: italic;
  display: block;
}
.hero .lead {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 2rem;
  line-height: 1.75;
}
.hero__ctas { justify-content: center; margin-bottom: 3.5rem; }

/* Feature-Cards unter dem Hero */
.hero__feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,168,76,.2);
  border-top: 1px solid rgba(201,168,76,.2);
  margin-top: 0;
}
.hero__feat {
  background: var(--white);
  padding: 1.5rem 1.75rem;
  text-align: left;
}
.hero__feat h3 {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 400;
  font-size: .98rem;
  color: var(--amber);
  margin-bottom: .4rem;
  line-height: 1.3;
}
.hero__feat p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Legacy hero-inner für Unterseiten */
.hero__inner { position: relative; }
.hero__badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hero__badge {
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(201,168,76,.08); border: 1px solid rgba(201,168,76,.25);
  color: var(--navy); padding: 5px 12px; border-radius: 20px;
}
.hero__stat { background: var(--white); border: 1px solid rgba(201,168,76,.2); border-radius: 10px; padding: 18px 22px; }
.hero__stat strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--amber); font-style: italic; font-weight: 400; }
.hero__stat span { font-size: .82rem; color: var(--muted); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); text-decoration: none; }
.btn--primary { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 600; }
.btn--primary:hover { background: #B8924A; border-color: #B8924A; color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,.3); }
.btn--navy   { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: #243558; color: var(--white); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--stone); }
.btn--outline:hover { background: var(--warm); border-color: var(--navy); color: var(--navy); }
.btn--ghost  { background: transparent; color: var(--navy); border-color: var(--stone); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ── Cards — hairline border ── */
.card { background: var(--white); border-radius: var(--radius); border: 1px solid rgba(201,168,76,.15); box-shadow: none; padding: 36px; transition: border-color var(--transition); }
.card:hover { border-color: rgba(201,168,76,.32); }
.card__icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.4rem; }
.card__icon--gold { background: rgba(201,168,76,.12); }
.card__icon--navy { background: rgba(26,46,74,.08); }
.card__tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--amber); margin-bottom: 10px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }

/* Category cards — both on white */
.cat-card { border-radius: 14px; overflow: hidden; position: relative; }
.cat-card--trading {
  background: var(--white);
  border: 1px solid var(--stone);
  border-top: 3px solid var(--gold);
  color: var(--charcoal);
}
.cat-card--nlp { background: var(--white); border: 1px solid var(--stone); }
.cat-card__body { padding: 44px 40px; }
.cat-card--trading h3    { color: var(--navy); }
.cat-card--trading .cat-card__tag { color: var(--amber); }
.cat-card--trading p     { color: var(--muted); }
.cat-card--nlp .cat-card__tag { color: var(--navy); }
.cat-card__price { margin: 20px 0 24px; }
.cat-card__price strong { font-size: 1.6rem; font-family: var(--font-head); color: var(--amber); }
.cat-card__price del { font-size: .9rem; color: var(--muted); margin-left: 8px; }

/* ── Feature list ── */
.feature-list { list-style: none; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--stone); font-size: .95rem; }
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: '✓'; color: var(--amber); font-weight: 700; font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.feature-list--white li { border-color: var(--stone); color: var(--charcoal); }

/* ── Section headings ── */
.section-label { font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .2em; color: var(--amber); display: block; margin-bottom: 12px; }
.section-title { margin-bottom: 16px; }
.section-intro { color: var(--muted); max-width: 600px; font-size: 1.05rem; margin-bottom: 48px; }

/* ── Testimonial ── */
.testimonial { border-left: 3px solid var(--gold); padding: 24px 32px; background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.testimonial blockquote { font-family: var(--font-head); font-size: 1.15rem; font-style: italic; color: var(--navy); margin-bottom: 16px; }
.testimonial cite { font-size: .88rem; color: var(--muted); font-style: normal; }
.testimonial cite strong { color: var(--navy); }

/* ── Pricing table ── */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.price-table th { background: var(--navy); color: var(--white); padding: 14px 20px; text-align: left; font-size: .85rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.price-table td { padding: 16px 20px; border-bottom: 1px solid var(--stone); font-size: .95rem; vertical-align: middle; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--warm); }
.price-badge { display: inline-block; background: var(--gold); color: var(--white); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.price-badge--intro { background: var(--success); }
.price-old { text-decoration: line-through; color: var(--muted); font-size: .85rem; display: block; }

/* ── Info badge ── */
.info-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.35); color: var(--navy); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 6px 14px; border-radius: 20px; margin-bottom: 20px; }
.info-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); display: inline-block; }

/* Session promise grid */
.promise-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--stone); border-radius: 12px; overflow: hidden; }
.promise-col { background: var(--white); padding: 28px 24px; text-align: center; }
.promise-col__icon { font-size: 1.8rem; margin-bottom: 12px; }
.promise-col h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--amber); margin-bottom: 10px; }
.promise-col p { font-size: .88rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── Legal disclaimer ── */
.legal-box { background: var(--warm); border: 1px solid var(--stone); border-left: 3px solid var(--navy); border-radius: var(--radius); padding: 20px 24px; font-size: .82rem; color: var(--muted); line-height: 1.65; }
.legal-box strong { color: var(--navy); display: block; margin-bottom: 6px; }

/* ── Form ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--stone);
  border-radius: var(--radius); font-family: var(--font-body); font-size: .95rem;
  color: var(--charcoal); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.12); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 6px; }

/* ── Footer — ivory ── */
.footer {
  background: var(--warm);
  color: var(--charcoal);
  border-top: 1px solid var(--stone);
  padding: 60px 0 32px;
}
.footer h4 { color: var(--navy); font-size: 1rem; margin-bottom: 16px; font-family: var(--font-body); }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { color: var(--muted); font-size: .88rem; }
.footer__links a:hover { color: var(--gold); }

/* Footer logo — same variant 2 structure */
.footer__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.footer__logo .nav__logo-mark { font-size: 1.4rem; }
.footer__logo .nav__logo-bar { height: 32px; }

.footer__tagline { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.footer__bottom {
  border-top: 1px solid var(--stone);
  padding-top: 24px; margin-top: 48px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--muted);
}
.footer__disclaimer { font-size: .75rem; color: var(--muted); max-width: 600px; line-height: 1.5; margin-top: 12px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; }
  .hero__feats { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .nav__menu { gap: 2px; }
  .nav__menu a { padding: 8px 10px; font-size: .85rem; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 52px 0 0; }
  .hero__feats { grid-template-columns: 1fr; }
  .hero__feat { border-top: 1px solid rgba(201,168,76,.15); }
  .nav__menu, .nav__cta-wrap { display: none; }
  .nav__toggle { display: block; }
  .nav__logo-tagline { display: none; }
  .nav.open .nav__menu {
    display: flex; flex-direction: column;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--ivory); border-top: 1px solid var(--stone);
    padding: 16px; box-shadow: var(--shadow);
  }
  .promise-grid { grid-template-columns: 1fr; }
  .cat-card__body { padding: 28px 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
}
