/* =========================
FILE: style.css
PROJECT: partner.mint-collegen.de
========================= */
:root{
  --primary:#689c97;
  --secondary:#9bcfb8;
  --accent:#fc4741;
  --text:#111827;
  --muted:#6b7280;
  --bg:#f7f9fb;
  --card:#ffffff;
  --border:#e5e7eb;
  --shadow: 0 10px 24px rgba(17,24,39,.08);
  --radius: 16px;
  --radius-sm: 12px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:linear-gradient(180deg, #ffffff 0%, var(--bg) 60%);
}

a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}

.container{max-width:var(--max);margin:0 auto;padding:0 20px}

/* Header */
.site-header{
  position:sticky;top:0;z-index:20;
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid rgba(229,231,235,.8);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:14px 0;
}
.brand{display:flex;align-items:center;gap:10px}
.brand-logo{height:68px;width:auto;display:block}
.nav{display:flex;gap:18px;align-items:center}
.nav a{color:var(--text);font-weight:650;opacity:.86}
.nav a:hover{opacity:1;text-decoration:none}
.header-actions{display:flex;align-items:center;gap:12px}
.header-actions{display:none}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:999px;border:1px solid transparent;
  font-weight:750;line-height:1;white-space:nowrap;cursor:pointer;
}
.btn-lg{padding:14px 18px;font-size:1.05rem}
.btn-primary{background:var(--primary);color:#fff;box-shadow:0 10px 20px rgba(104,156,151,.25)}
.btn-primary:hover{filter:brightness(.96);text-decoration:none}
.btn-secondary{
  background:rgba(155,207,184,.20);color:var(--text);
  border-color:rgba(104,156,151,.25)
}
.btn-secondary:hover{background:rgba(155,207,184,.28);text-decoration:none}
.btn-ghost{
  background:transparent;color:var(--text);
  border-color:rgba(17,24,39,.16)
}
.btn-ghost:hover{background:rgba(17,24,39,.04);text-decoration:none}

/* Hero */
.hero{padding:46px 0 18px}
.hero-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:22px;align-items:start}
.eyebrow{
  margin:0 0 10px;font-weight:850;color:var(--primary);
  letter-spacing:.02em;text-transform:uppercase;font-size:.82rem
}
h1{margin:0 0 12px;font-size:clamp(1.8rem, 3.2vw, 2.6rem);letter-spacing:-.02em}
.lead{margin:0 0 18px;color:rgba(17,24,39,.80);font-size:1.05rem;line-height:1.55}
.meta{margin:14px 0 0;color:var(--muted);font-size:.92rem}

/* HERO INTRO TUNING */
.hero-copy{max-width:42rem}
.hero-copy h1{white-space:nowrap}
.hero-copy .lead{margin:0 0 24px}
.hero-copy .lead-note{
  margin:4px 0 0;
  font-size:.98rem;
  background:rgba(17,24,39,.04);
  border:1px solid rgba(17,24,39,.10);
  border-radius:var(--radius-sm);
  padding:10px 12px;
  color:rgba(17,24,39,.72)
}

/* Cards */
.card{
  background:var(--card);border:1px solid var(--border);
  border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)
}
.hero-card .card{position:sticky;top:86px}
.card h2{margin:0 0 12px;font-size:1.1rem}
.quicklinks{margin:0;padding-left:18px}
.quicklinks li{margin:8px 0}
.hint{margin:12px 0 0;color:var(--muted);font-size:.92rem}

/* Sections */
.section{padding:34px 0}
.section-head h2{margin:0 0 8px;font-size:1.6rem;letter-spacing:-.01em}
.section-head p{margin:0 0 18px;color:var(--muted);line-height:1.55}

/* ANCHOR OFFSET – Sticky Header */
section[id]{scroll-margin-top:90px}

.badge{
  font-weight:850;font-size:.78rem;padding:6px 10px;border-radius:999px;
  background:rgba(104,156,151,.14);color:var(--text);
  border:1px solid rgba(104,156,151,.18)
}

.note{
  margin-top:14px;background:rgba(155,207,184,.18);
  border:1px solid rgba(104,156,151,.18);
  border-radius:var(--radius-sm);padding:12px 14px;
  color:rgba(17,24,39,.82)
}

.small{margin:10px 0 0;color:var(--muted);font-size:.92rem}
.muted{color:var(--muted)}

/* Videos */
.video-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}
.video-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:0 10px 22px rgba(17,24,39,.06);
}
.video-top{display:flex;gap:10px;align-items:flex-start}
.video-card h3{margin:0;font-size:1.05rem}
.video-embed{
  margin-top:12px;
  position:relative;
  padding-top:56.25%;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(229,231,235,.9);
  background:#000;
}
.video-embed iframe{
  position:absolute;top:0;left:0;width:100%;height:100%;
}
.video-embed.is-placeholder{
  background:linear-gradient(180deg, rgba(17,24,39,.12), rgba(17,24,39,.06));
  display:flex;align-items:center;justify-content:center;
}
.placeholder{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:16px;
  color:rgba(17,24,39,.75);
  text-align:center;
  background:rgba(255,255,255,.75);
}

/* Docs */
.grid{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:16px}
.doc-card{
  background:var(--card);border:1px solid var(--border);
  border-radius:var(--radius);padding:16px;
  box-shadow:0 10px 22px rgba(17,24,39,.06)
}
.doc-top{display:flex;gap:10px;align-items:flex-start}
.doc-card h3{margin:0;font-size:1.05rem}
.doc-card p{margin:10px 0 14px;color:rgba(17,24,39,.78);line-height:1.5}
.doc-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}

/* Booking accent section */
.section-accent{
  background:linear-gradient(180deg, rgba(104,156,151,.10), rgba(155,207,184,.16));
  border-top:1px solid rgba(229,231,235,.8);
  border-bottom:1px solid rgba(229,231,235,.8);
}
.booking{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;flex-wrap:wrap
}

/* TERMIN BLOCK TUNING */
#termin .booking{
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
#termin .booking-copy{max-width:65ch}
#termin .booking-action{flex:0 0 auto}
#termin .booking-action .btn{white-space:nowrap}

/* TERMIN BLOCK – FINAL POLISH (10/10) */
#termin.section-accent{padding:28px 0}
#termin .booking-copy h2{margin-bottom:10px}
#termin .booking-copy p{
  margin:10px 0 0;
  line-height:1.55;
}
#termin .booking-action{align-self:center}
#termin .booking-action .btn{
  padding:12px 18px;
  box-shadow:0 10px 18px rgba(104,156,151,.18);
}

/* TERMIN BLOCK – INNER INSET (Zäsur) */
#termin .container{max-width:1040px}
@media (max-width: 1200px){
  #termin .container{max-width:92%}
}

/* Webinar */
.webinar-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
}
.list{margin:0;padding-left:18px}
.list li{margin:8px 0;color:rgba(17,24,39,.78)}

/* =========================
NEWSLETTER-ARCHIV
========================= */

.newsletter-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.newsletter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid rgba(229,231,235,.9);
  border-radius: 14px;
}

.newsletter-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.newsletter-action {
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 720px) {
  .newsletter-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-action {
    width: 100%;
  }

  .newsletter-action .btn {
    width: 100%;
    justify-content: center;
  }

  /* TERMIN BLOCK TUNING */
  #termin .booking{
    flex-direction:column;
    align-items:flex-start;
  }
  #termin .booking-action,
  #termin .booking-action .btn{
    width:100%;
  }
}

/* Form */
.form{display:grid;gap:12px}
label{display:grid;gap:6px;font-weight:650}
input,textarea{
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(229,231,235,.95);
  font:inherit;
  background:#fff;
}
input::placeholder,
textarea::placeholder{
  font-weight:400;
  font-size:.95em;
  color:rgba(17,24,39,.55)
}
.form-status{
  display:none;
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(104,156,151,.12);
  border:1px solid rgba(104,156,151,.18);
  color:rgba(17,24,39,.78);
}
.form-status.is-visible{display:block}
input:focus,textarea:focus{
  outline:2px solid rgba(104,156,151,.25);
  border-color:rgba(104,156,151,.45);
}
.hp-field{display:none}

/* Footer */
.site-footer{
  padding:18px 0;
  border-top:1px solid rgba(229,231,235,.8);
  background:#fff;
}
.footer-inner{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  color:var(--muted);font-size:.92rem
}
.footer-meta{
  display:block;
  font-size:.85em;
  color:#9AA3A8;
  margin:8px 0 10px 0;
}
.footer-links{display:flex;gap:14px}

/* Responsive */
@media (max-width: 940px){
  .hero-grid{grid-template-columns:1fr}
  .hero-card .card{position:static}
  .video-grid{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .webinar-grid{grid-template-columns:1fr}
  .nav{display:none}
  .hero-copy h1{white-space:normal}
}
