/* MAMIWO-Homepage (mamiwo.de) – Farben und Schrift wie im Kopfrechenstudio (public/oeffentlich/anmeldung.css) */
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url('schriften/poppins-latin-400-normal.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url('schriften/poppins-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url('schriften/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('schriften/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url('schriften/poppins-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 800; font-display: swap; src: url('schriften/poppins-latin-800-normal.woff2') format('woff2'); }

:root {
  --navy-950: #07142b;
  --navy-900: #0b1d36;
  --navy-800: #0e2a5c;
  --navy-700: #163a78;
  --tuerkis: #2bc4bd;
  --tuerkis-text: #0f7f7a;
  --orange: #f28b2d;
  --rot: #c8323c;
  --tinte: #14213d;
  --grau-600: #4a5670;
  --grau-300: #c9d2e3;
  --flaeche: #f5f8fd;
  --weiss: #ffffff;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--tinte);
  background: var(--flaeche);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
a { color: inherit; }

/* Kopfbereich mit dunklem Verlauf */
.held {
  position: relative;
  overflow: hidden;
  color: var(--weiss);
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(43, 196, 189, 0.22), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, rgba(242, 139, 45, 0.16), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
}
.innen { position: relative; z-index: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

.kopf { display: flex; align-items: center; gap: 12px; padding-top: clamp(18px, 3vw, 28px); }
.kopf img { width: 44px; height: 44px; border-radius: 12px; }
.kopf strong { display: block; font-weight: 800; letter-spacing: 0.08em; font-size: 17px; line-height: 1.1; }
.kopf span { display: block; font-size: 13px; opacity: 0.75; line-height: 1.2; }

.held-raster {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center;
  gap: clamp(24px, 5vw, 64px); padding: clamp(36px, 7vw, 96px) 0 clamp(48px, 8vw, 112px);
}
.held h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; margin: 0 0 20px; font-weight: 800; letter-spacing: -0.02em; }
.held h1 em { font-style: normal; color: var(--tuerkis); }
.held .einleitung { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; opacity: 0.9; margin: 0 0 32px; max-width: 34em; }

.knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 26px; border-radius: 16px;
  font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap;
  transition: transform 0.12s, box-shadow 0.12s, background-color 0.12s;
}
.knopf svg { width: 22px; height: 22px; flex: 0 0 auto; }
.knopf:hover { transform: translateY(-2px); }
.knopf:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.knopf-youtube { background: var(--rot); color: var(--weiss); box-shadow: 0 12px 28px -12px rgba(200, 50, 60, 0.8); }
.knopf-youtube:hover { background: #b22a33; }
.knopf-studio { background: var(--weiss); color: var(--navy-800); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.55); }
.knopf-studio:hover { background: #eef9f8; }

.avatar-buehne { position: relative; display: flex; justify-content: center; }
.avatar-buehne::before {
  content: ''; position: absolute; inset: 6% 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 196, 189, 0.35), transparent 68%); filter: blur(10px);
}
.avatar-buehne img { position: relative; width: min(100%, 420px); height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.4)); }

/* schwebende Mathematik im Hintergrund (MAMIWO-Bruchregel: Abstand zum Bruchstrich je 0,11 em) */
.symbole { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.symbole span { position: absolute; font-weight: 700; color: rgba(255, 255, 255, 0.07); font-size: 64px; animation: schweben 14s ease-in-out infinite; }
.symbole .b { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; font-size: 56px; }
.symbole .b i { font-style: normal; padding: 0 0.1em 0.11em; border-bottom: 0.07em solid currentColor; }
.symbole .b u { text-decoration: none; padding-top: 0.11em; }
@keyframes schweben { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-18px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .symbole span { animation: none; } .knopf { transition: none; } }

/* Angebote */
.angebote { padding: clamp(40px, 7vw, 88px) 0; }
.angebote h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 8px; }
.angebote .unter { color: var(--grau-600); margin: 0 0 32px; max-width: 40em; }
.karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.karte {
  background: var(--weiss); border: 1px solid #e4eaf5; border-radius: 24px; padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 1px 2px rgba(14, 42, 92, 0.06), 0 24px 60px -28px rgba(14, 42, 92, 0.28);
  display: flex; flex-direction: column; gap: 12px;
}
.karte .symbol { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.karte .symbol svg { width: 28px; height: 28px; }
.symbol-rot { background: #fdecee; color: var(--rot); }
.symbol-tuerkis { background: #e6f7f6; color: var(--tuerkis-text); }
.karte h3 { margin: 4px 0 0; font-size: 22px; line-height: 1.25; }
.karte p { margin: 0; color: var(--grau-600); }
.karte ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--tinte); }
.karte li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.karte li::before {
  content: ''; flex: 0 0 22px; height: 22px; margin-top: 1px; border-radius: 7px;
  background: rgba(43, 196, 189, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F7F7A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.karte .karten-link { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--navy-700); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.karte .karten-link:hover, .karte .karten-link:focus-visible { text-decoration: underline; }
.hinweis-klein { font-size: 13.5px; color: var(--grau-600); }
.karten-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.karten-links .karten-link { margin-top: 0; }

/* Vorstellungsvideo (03.11.2026) */
.video-bereich { margin-top: clamp(40px, 6vw, 72px); scroll-margin-top: 24px; }
.video-rahmen {
  border-radius: 24px; overflow: hidden; background: var(--navy-950); border: 1px solid #e4eaf5;
  box-shadow: 0 1px 2px rgba(14, 42, 92, 0.06), 0 24px 60px -28px rgba(14, 42, 92, 0.35);
}
.video-rahmen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--navy-950); }
.video-nachweis { margin: 12px 4px 0; font-size: 12.5px; line-height: 1.5; color: var(--grau-600); }
.video-nachweis a { color: inherit; }

/* Fuß */
.fuss { border-top: 1px solid #e4eaf5; background: var(--weiss); }
.fuss .innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 22px; font-size: 14px; color: var(--grau-600); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.fuss a { color: var(--navy-700); font-weight: 600; text-decoration: none; }
.fuss a:hover, .fuss a:focus-visible { text-decoration: underline; }

/* Rechtstexte */
.rechtstext { max-width: 760px; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 80px); }
.rechtstext h1 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 24px; letter-spacing: -0.01em; }
.rechtstext h2 { font-size: 20px; margin: 32px 0 8px; }
.rechtstext p, .rechtstext li { color: var(--tinte); }
.rechtstext .zurueck { display: inline-block; margin-bottom: 24px; color: var(--navy-700); font-weight: 600; text-decoration: none; }
.kopf-hell { color: var(--weiss); background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); padding-bottom: 18px; }
.kopf-hell a { text-decoration: none; }

@media (max-width: 860px) {
  .held-raster { grid-template-columns: 1fr; padding-top: 28px; }
  .avatar-buehne { order: -1; }
  .avatar-buehne img { width: min(62vw, 280px); }
  .karten { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .knoepfe { flex-direction: column; }
  .knopf { width: 100%; }
  .symbole span:nth-child(n + 4) { display: none; }
}
