/*
 * Startup Germany - Founder public shell V5
 * Referenz fuer den sichtbaren Grundstil: mitgliedschaft.html (10.09.2026)
 *
 * WICHTIG:
 * - nur aktiv auf <html class="sg-founder-shell">
 * - portal.css bleibt unangetastet
 * - sg-founder.css bleibt fuer Matching-Karten, Filter, Badges usw. zustaendig
 */

.sg-founder-shell {
  --navy:#082f55;
  --blue:#185891;
  --green:#238650;
  --purple:#7d278b;
  --orange:#ed5b21;
  --gold:#f1b419;
  --ink:#132033;
  --muted:#5d6978;
  --line:#dde5ed;
  --soft:#f5f8fb;
  --shadow:0 18px 50px rgba(8,47,85,.1);
}

.sg-founder-shell body {
  margin:0;
  color:var(--ink);
  font:16px/1.65 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  background:#fff;
}

.sg-founder-shell .wrap {
  width:min(1180px,calc(100% - 40px));
  margin:auto;
}

/* Gemeinsamer Website-Kopf wie bei den statischen Kernseiten */
.sg-founder-shell header {
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(221,229,237,.85);
}

.sg-founder-shell .nav {
  width:min(1440px,calc(100% - 40px));
  min-height:86px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:10px 0;
}

.sg-founder-shell .brand {
  display:flex;
  align-items:center;
  flex:0 0 auto;
}

.sg-founder-shell .logo {
  width:210px;
  height:auto;
  display:block;
  flex:0 0 auto;
}

.sg-founder-shell .links {
  display:flex;
  flex:1;
  min-width:0;
  align-items:flex-end;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}

.sg-founder-shell .nav-row {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  column-gap:12px;
  row-gap:5px;
  flex-wrap:wrap;
}

.sg-founder-shell .links a {
  color:var(--ink);
  text-decoration:none;
  font-size:.8rem;
  font-weight:750;
  line-height:1.2;
  white-space:nowrap;
}

.sg-founder-shell .links a:hover,
.sg-founder-shell .links a:focus-visible {
  color:var(--purple);
  text-decoration:none;
}

.sg-founder-shell .links a[aria-current="page"] {
  color:var(--purple);
}

/* portal.css macht den Login-Link zum Pill-Button; Kernseiten zeigen ihn normal. */
.sg-founder-shell .account-link {
  border:0;
  border-radius:0;
  padding:0;
}

.sg-founder-shell .menu {
  display:none;
  border:0;
  background:none;
  border-radius:0;
  padding:0;
  font-size:1.6rem;
  color:var(--ink);
}

/* Hero und Grundtypografie */
.sg-founder-shell .hero {
  position:relative;
  overflow:hidden;
  padding:100px 0 90px;
  border-bottom:0;
  background:
    radial-gradient(circle at 90% 10%,rgba(241,180,25,.15),transparent 26%),
    radial-gradient(circle at 5% 88%,rgba(35,134,80,.12),transparent 28%),
    linear-gradient(145deg,#fff 50%,#f5f8fb);
}

.sg-founder-shell .hero-grid {
  display:grid;
  grid-template-columns:1.08fr .72fr;
  gap:58px;
  align-items:center;
}

.sg-founder-shell .eyebrow {
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:var(--blue);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.75rem;
  margin-bottom:10px;
}

.sg-founder-shell .eyebrow::before {
  content:"";
  width:28px;
  height:3px;
  background:linear-gradient(90deg,var(--green),var(--blue),var(--purple),var(--orange));
  border-radius:2px;
}

.sg-founder-shell .hero h1 {
  margin:0 0 18px;
  color:var(--ink);
  font-size:clamp(2.45rem,6vw,5.3rem);
  line-height:1.12;
  letter-spacing:-.055em;
}

.sg-founder-shell .hero .lead {
  margin:0;
  color:#3d4c5e;
  font-size:clamp(1.08rem,2vw,1.35rem);
  line-height:1.65;
  max-width:760px;
}

.sg-founder-shell .gradient {
  background:linear-gradient(90deg,var(--green),var(--blue),var(--purple),var(--orange));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.sg-founder-shell .hero-card {
  background:var(--navy);
  color:#fff;
  border-radius:24px;
  padding:36px;
  box-shadow:var(--shadow);
}

.sg-founder-shell .hero-card strong {
  display:block;
  font-size:2rem;
  line-height:1.1;
}

.sg-founder-shell .hero-card p {
  color:#cad8e5;
  margin:15px 0 0;
}

/* Buttons: Reihenfolge korrigiert; portal.css setzt font:inherit nach font-weight. */
.sg-founder-shell .btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  text-decoration:none;
  padding:13px 20px;
  border-radius:9px;
  border:1px solid transparent;
  cursor:pointer;
  font:inherit;
  font-weight:800;
  line-height:1.2;
  transition:.2s;
}

.sg-founder-shell .btn:hover {
  text-decoration:none;
}

.sg-founder-shell .btn-primary {
  color:#fff;
  background:var(--navy);
  box-shadow:0 9px 20px rgba(8,47,85,.2);
}

.sg-founder-shell .btn-primary:hover,
.sg-founder-shell .btn-primary:focus-visible {
  transform:translateY(-2px);
  background:#0d477d;
  color:#fff;
}

.sg-founder-shell .btn-light {
  color:var(--ink);
  background:#fff;
  border-color:var(--line);
}

.sg-founder-shell .btn-light:hover,
.sg-founder-shell .btn-light:focus-visible {
  color:var(--navy);
  border-color:var(--blue);
}

/* Matching-Inhalt: passende Hierarchie ohne riesige globale H2-Werte. */
.sg-founder-shell .founder-card h2,
.sg-founder-shell .founder-card h3 {
  color:var(--navy);
  font-size:1.3rem;
  line-height:1.12;
  letter-spacing:0;
  margin:0;
}

.sg-founder-shell .panel h2 {
  color:var(--navy);
  font-size:clamp(1.45rem,2.4vw,2rem);
  line-height:1.12;
  letter-spacing:-.02em;
  margin:0 0 18px;
}

.sg-founder-shell .field label {
  font-size:.9rem;
  font-weight:800;
  color:#263d52;
}

.sg-founder-shell .founder-card p,
.sg-founder-shell .founder-card li,
.sg-founder-shell .panel p,
.sg-founder-shell .panel li {
  line-height:1.65;
}

/* Desktop bleibt zweizeilig; mobil wie die statischen Kernseiten. */
@media(max-width:980px) {
  .sg-founder-shell .nav {
    position:relative;
    width:min(1180px,calc(100% - 40px));
  }

  .sg-founder-shell .links {
    display:none;
    position:absolute;
    top:calc(100% - 4px);
    right:0;
    left:auto;
    min-width:280px;
    max-height:calc(100vh - 100px);
    overflow:auto;
    align-items:stretch;
    flex-direction:column;
    gap:2px;
    background:#fff;
    padding:18px;
    border:1px solid var(--line);
    border-radius:14px;
    box-shadow:var(--shadow);
  }

  .sg-founder-shell .links.is-open {
    display:flex;
  }

  .sg-founder-shell .nav-row {
    display:contents;
  }

  .sg-founder-shell .links a {
    padding:7px 9px;
  }

  .sg-founder-shell .account-link {
    padding:7px 9px;
  }

  .sg-founder-shell .menu {
    display:block;
    margin-left:auto;
  }

  .sg-founder-shell .hero-grid {
    grid-template-columns:1fr;
  }

  .sg-founder-shell .hero-card {
    max-width:700px;
  }
}

@media(max-width:760px) {
  .sg-founder-shell .wrap {
    width:min(100% - 26px,1180px);
  }

  .sg-founder-shell .nav {
    width:min(100% - 26px,1180px);
    min-height:72px;
    padding:8px 0;
  }

  .sg-founder-shell .logo {
    width:190px;
  }

  .sg-founder-shell .hero {
    padding:62px 0;
  }

  .sg-founder-shell .hero-grid {
    gap:35px;
  }

  .sg-founder-shell .hero-card {
    padding:27px;
  }
}