/*
Theme Name: Maike Riedel 2026
Theme URI: https://maikeriedel.de
Author: Maike Riedel
Description: Custom Speaker Website Theme – Warm Minimal CI. Keynote Speakerin für Generative KI.
Version: 1.0.0
License: Private
Text Domain: maikeriedel
*/

/* ════════════════════════════════════════════
   TOKENS
════════════════════════════════════════════ */
:root {
  --cream:   #F8F5F0;
  --dark:    #0D0D0D;
  --petrol:  #005F6B;
  --pink:    #A30050;
  --mid:     #4A4A4A;
  --light:   #9A9A9A;
  --rule:    #E2DDD8;
  --white:   #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(248,245,240,0.95);
  backdrop-filter: blur(8px);
}
.nav-logo {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--petrol); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--dark); }
.nav-cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 2px;
  background: var(--dark);
  color: var(--white) !important;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--petrol); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.2s;
}

/* HERO */
#hero {
  background: var(--cream);
  min-height: calc(100vh - 60px);
  max-height: 800px;
  display: grid;
  grid-template-columns: 1fr 460px;
}
.hero-left {
  padding: 88px 64px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 28px;
}
.hero-h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--dark);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--mid);
  max-width: 440px;
  margin-bottom: 40px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  background: var(--pink);
  color: var(--white);
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.85; }
.btn-ghost {
  font-size: 13px;
  font-weight: 500;
  color: var(--petrol);
  border-bottom: 1px solid var(--petrol);
  padding-bottom: 2px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-ghost:hover { opacity: 0.7; }
.hero-photo {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.petrol-rule { height: 3px; background: var(--petrol); }

/* SECTIONS */
.section { padding: 80px 64px; }
.section--dark { background: var(--dark); color: var(--white); }
.section--white { background: var(--white); }
.sec-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 16px;
}
.sec-eyebrow--petrol { color: var(--petrol); }
.sec-h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.sec-intro {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 48px;
}

/* LOGOS */
#logos {
  padding: 48px 64px;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.logos-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light);
  text-align: center;
  margin-bottom: 32px;
}
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px 52px;
}
.logo-item {
  height: 28px;
  display: flex;
  align-items: center;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: opacity 0.15s, filter 0.15s;
}
.logo-item:hover { opacity: 0.8; filter: grayscale(0%); }
.logo-item img { height: 100%; width: auto; object-fit: contain; }

/* USP */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.usp-item { background: var(--cream); padding: 36px 32px; }
.usp-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.usp-num::after { content: ''; flex: 0 0 32px; height: 1px; background: var(--petrol); opacity: 0.4; }
.usp-title { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.3; }
.usp-text { font-size: 13px; color: var(--mid); line-height: 1.7; }

/* KEYNOTES */
.keynote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 40px;
}
.keynote-card {
  background: var(--white);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.15s;
}
.keynote-card:hover { background: #FAFAF9; }
.kn-num { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); }
.kn-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: #F0FAF9; color: var(--petrol); padding: 2px 8px; border-radius: 2px; display: inline-block; width: fit-content; margin-bottom: 2px; }
.kn-title { font-size: 15px; font-weight: 800; color: var(--dark); line-height: 1.25; letter-spacing: -0.01em; }
.kn-subtitle { font-size: 13px; font-weight: 500; color: var(--petrol); line-height: 1.35; }
.kn-desc { font-size: 12px; color: var(--mid); line-height: 1.65; margin-top: 4px; flex: 1; }
.kn-meta { font-size: 10px; color: var(--light); letter-spacing: 0.04em; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--rule); }

/* WORKSHOPS */
.workshop-section { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--rule); }
.workshop-h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--dark); margin-bottom: 6px; }
.workshop-sub { font-size: 14px; color: var(--mid); margin-bottom: 32px; }
.workshop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.workshop-card { border: 1px solid var(--rule); border-radius: 3px; padding: 28px 24px; background: var(--cream); display: flex; flex-direction: column; gap: 8px; }
.ws-num { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--petrol); margin-bottom: 4px; }
.ws-title { font-size: 15px; font-weight: 800; color: var(--dark); line-height: 1.25; }
.ws-subtitle { font-size: 12px; color: var(--petrol); font-weight: 500; }
.ws-desc { font-size: 12px; color: var(--mid); line-height: 1.65; flex: 1; }

/* GALLERY */
.gallery-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; height: 320px; gap: 3px; background: var(--dark); }
.gallery-cell { overflow: hidden; position: relative; }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-cell:hover img { transform: scale(1.04); }

/* VIDEO */
.video-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; background: #111; border-radius: 2px; overflow: hidden; margin-bottom: 16px; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-label { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--petrol); margin-bottom: 6px; }
.video-title { font-size: 16px; font-weight: 700; color: var(--dark); line-height: 1.3; margin-bottom: 8px; }
.video-desc { font-size: 13px; color: var(--mid); line-height: 1.65; }

/* PODCAST */
.podcast-card { margin-top: 40px; padding: 28px 32px; border: 1px solid var(--rule); border-radius: 3px; background: var(--white); display: grid; grid-template-columns: 80px 1fr; gap: 24px; align-items: center; }
.podcast-cover { width: 80px; height: 80px; border-radius: 4px; overflow: hidden; background: linear-gradient(135deg, var(--petrol) 0%, #003D47 100%); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.podcast-cover img { width: 100%; height: 100%; object-fit: cover; }
.podcast-cover-icon { font-size: 32px; opacity: 0.7; }
.podcast-label { font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--light); margin-bottom: 4px; }
.podcast-title { font-size: 14px; font-weight: 700; color: var(--dark); line-height: 1.3; margin-bottom: 4px; }
.podcast-sub { font-size: 12px; color: var(--mid); margin-bottom: 10px; }
.podcast-desc { font-size: 13px; color: var(--mid); line-height: 1.6; margin-bottom: 14px; }
.podcast-links { display: flex; gap: 10px; flex-wrap: wrap; }
.podcast-link { font-size: 11px; font-weight: 600; color: var(--petrol); border: 1px solid var(--petrol); padding: 5px 12px; border-radius: 2px; letter-spacing: 0.04em; transition: background 0.15s, color 0.15s; }
.podcast-link:hover { background: var(--petrol); color: var(--white); }

/* PULL QUOTE */
.pull-quote { background: var(--petrol); padding: 48px 64px; text-align: center; }
.pull-quote-text { font-size: 28px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; line-height: 1.25; max-width: 700px; margin: 0 auto; }

/* ABOUT */
#about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.about-photo-wrap { border-radius: 2px; overflow: hidden; background: #D4E8EA; }
.about-photo-wrap img { width: 100%; height: 460px; object-fit: cover; object-position: center top; display: block; }
.about-h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.025em; color: var(--dark); line-height: 1.1; margin-bottom: 24px; }
.about-text { font-size: 15px; color: var(--mid); line-height: 1.8; margin-bottom: 20px; }
.about-credentials { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--rule); }
.credential { display: flex; align-items: baseline; gap: 10px; }
.cred-line { flex-shrink: 0; width: 16px; height: 1px; background: var(--petrol); margin-top: 10px; }
.cred-text { font-size: 13px; color: var(--mid); line-height: 1.5; }
.cred-text strong { color: var(--dark); font-weight: 600; }
.cred-text a { color: var(--petrol); border-bottom: 1px solid rgba(0,95,107,0.3); transition: border-color 0.15s; }
.cred-text a:hover { border-bottom-color: var(--petrol); }
.about-linkedin-link { display: inline-block; margin-top: 28px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--petrol); border-bottom: 1px solid var(--petrol); padding-bottom: 2px; }

/* ANFRAGE */
#anfrage { background: var(--dark); }
.anfrage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.anfrage-h2 { font-size: 40px; font-weight: 800; letter-spacing: -0.025em; color: var(--cream); line-height: 1.1; margin-bottom: 20px; }
.anfrage-text { font-size: 15px; color: #888; line-height: 1.8; margin-bottom: 28px; }
.anfrage-email { font-size: 14px; color: var(--cream); font-weight: 500; border-bottom: 1px solid #444; padding-bottom: 2px; display: inline-block; }
.anfrage-email:hover { border-bottom-color: var(--petrol); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #555; }
.form-input, .form-textarea { background: #1A1A1A; border: 1px solid #2A2A2A; border-radius: 2px; padding: 12px 14px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; color: var(--cream); transition: border-color 0.15s; outline: none; }
.form-input::placeholder, .form-textarea::placeholder { color: #444; }
.form-input:focus, .form-textarea:focus { border-color: var(--petrol); }
.form-textarea { resize: vertical; min-height: 90px; }
.form-submit { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--pink); color: var(--white); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border: none; border-radius: 2px; cursor: pointer; transition: opacity 0.15s; align-self: flex-start; margin-top: 4px; }
.form-submit:hover { opacity: 0.85; }

/* CF7 */
.wpcf7 .contact-form { display: flex; flex-direction: column; gap: 16px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea { background: #1A1A1A; border: 1px solid #2A2A2A; border-radius: 2px; padding: 12px 14px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; color: var(--cream); transition: border-color 0.15s; outline: none; width: 100%; }
.wpcf7 input[type="submit"] { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--pink); color: var(--white); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border: none; border-radius: 2px; cursor: pointer; transition: opacity 0.15s; }
.wpcf7 input[type="submit"]:hover { opacity: 0.85; }

/* LEGAL */
.legal-page { max-width: 760px; margin: 0 auto; padding: 80px 64px; }
.legal-page h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.025em; color: var(--dark); margin-bottom: 48px; }
.legal-page h2 { font-size: 18px; font-weight: 700; color: var(--dark); margin-top: 40px; margin-bottom: 12px; }
.legal-page p { font-size: 15px; color: var(--mid); line-height: 1.8; margin-bottom: 16px; }
.legal-page ul { font-size: 15px; color: var(--mid); line-height: 1.8; padding-left: 20px; margin-bottom: 16px; }
.legal-page a { color: var(--petrol); border-bottom: 1px solid rgba(0,95,107,0.3); }
.legal-page a:hover { border-bottom-color: var(--petrol); }

/* FOOTER */
footer { background: #080808; padding: 32px 64px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; border-top: 1px solid #1A1A1A; }
.footer-logo { font-size: 14px; font-weight: 800; color: var(--cream); }
.footer-tagline { font-size: 11px; color: #444; margin-top: 3px; }
.footer-right { display: flex; align-items: center; gap: 28px; }
.footer-right a { font-size: 12px; color: #444; transition: color 0.15s; }
.footer-right a:hover { color: #888; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-hamburger { display: flex; }
  .nav-links { display: none; flex-direction: column; align-items: flex-start; gap: 0; position: absolute; top: 60px; left: 0; right: 0; background: rgba(248,245,240,0.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); padding: 16px 24px 20px; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--rule); width: 100%; font-size: 15px; }
  .nav-links a:last-child { border-bottom: none; margin-top: 8px; text-align: center; border-radius: 6px; padding: 10px 16px; }
  #hero { grid-template-columns: 1fr; min-height: auto; max-height: none; }
  .hero-photo { height: 400px; order: -1; }
  .hero-left { padding: 48px 24px 40px; }
  .hero-h1 { font-size: clamp(1.6rem, 7.5vw, 2.1rem); }
  .section { padding: 56px 24px; }
  #logos { padding: 40px 24px; }
  .keynote-grid, .workshop-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; }
  .gallery-strip { height: 220px; grid-template-columns: 1fr 1fr; }
  .gallery-cell:last-child { display: none; }
  .video-two-col { grid-template-columns: 1fr; }
  .podcast-card { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap img { height: 300px; }
  .anfrage-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .pull-quote { padding: 40px 24px; }
  .pull-quote-text { font-size: 22px; }
  footer { padding: 28px 24px; flex-direction: column; gap: 16px; align-items: flex-start; }
  /* Bug 1: Footer horizontal overflow fix */
  .footer-right { flex-wrap: wrap; gap: 12px; }
  /* Fix 6: Stage photos — Maike besser sichtbar auf Mobile */
  .gallery-cell:first-child img { object-position: 20% center; }
  /* Fix 7: About-Portrait — weniger Luft uber dem Kopf auf Mobile */
  .about-photo-wrap img { object-position: center 20%; }
  /* Bug 3: CF7 Kontaktformular Layout auf Mobile */
  .wpcf7-form p { display: flex; flex-direction: column; gap: 8px; }
  .wpcf7-form label { display: block; width: 100%; }
  /* Fix: Zweite Gallery (stage-large) auf Mobile — nur Portrait zeigen */
  #gallery-2 { grid-template-columns: 1fr; }
  #gallery-2 .gallery-cell:first-child { display: none; }
  #gallery-2 .gallery-cell:last-child { display: block; }
  /* Keynotes 3-6 auf Mobile einklappen */
  .keynote-card--mobile-hidden { display: none; }
  .keynote-toggle-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 14px 24px;
    background: none;
    border: 1px solid var(--rule);
    border-radius: 2px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--petrol);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
  }
  .keynote-toggle-btn:hover { background: var(--petrol); color: #fff; }
  .legal-page { padding: 56px 24px; }
}

@media (min-width: 901px) {
  .keynote-toggle-btn { display: none; }
}

/* Fix 5: Hero-Headline auf sehr kleinen Mobilgeraten (< 390px) */
@media (max-width: 390px) {
  .hero-h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
}
