/* Morgentau (Demo), modern und freundlich: Nachtblau, Blau, Himmelblau */
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --nacht: #16203a;
  --nacht-2: #1f2b4a;
  --weiss: #f5f7fc;
  --leise-dunkel: #b9c3dc;
  --blau: #3b64e6;
  --blau-tief: #2c52c9;
  --blau-hell: #8fb0ff;
  --himmel: #eaf0fd;
  --himmel-2: #cfdcfb;
  --tinte: #16203a;
  --leise: #4a5675;
  --text: "Figtree", system-ui, sans-serif;
  --rand: clamp(20px, 5vw, 64px);
  --sektion: clamp(4.5rem, 10vw, 8rem);
  --rund: 1.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--himmel); color: var(--tinte); font: 400 clamp(1.0625rem, 1rem + 0.3vw, 1.25rem)/1.65 var(--text); }
svg { display: block; max-width: 100%; }
button { font: inherit; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--blau-hell); outline-offset: 3px; }

.skip-link { position: absolute; left: var(--rand); top: -100%; z-index: 100; padding: 0.75rem 1.1rem; background: var(--blau); color: #fff; border-radius: 999px; }
.skip-link:focus { top: 1rem; }

.button { display: inline-flex; align-items: center; min-height: 54px; padding: 0 1.9rem; border-radius: 999px; background: var(--blau); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px -12px rgba(59, 100, 230, 0.7); transition: transform 0.2s ease, background-color 0.2s ease; }
.button:hover { background: var(--blau-tief); transform: translateY(-2px); }
.button-hell { background: #fff; color: var(--tinte); box-shadow: 0 10px 24px -14px rgba(22, 32, 58, 0.35); }
.button-hell:hover { background: var(--weiss); }

/* Kopf und Einstieg (dunkel) */
.kopf { position: absolute; inset: 0 0 auto; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem var(--rand); color: var(--weiss); }
.marke { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.marke::after { content: ""; display: inline-block; width: 0.32em; height: 0.32em; margin-left: 0.1em; border-radius: 50%; background: var(--blau-hell); }
.nav ul { display: flex; gap: 0.4rem; padding: 0; list-style: none; }
.nav a { display: inline-block; padding: 0.5rem 1.1rem; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--leise-dunkel); }
.nav a:hover { color: #fff; background: var(--nacht-2); }
.nav-toggle { display: none; min-height: 44px; padding: 0 1.2rem; border: 0; border-radius: 999px; background: var(--nacht-2); color: #fff; font-weight: 700; cursor: pointer; }

.einstieg { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 7rem var(--rand) 9rem; overflow: hidden; background: radial-gradient(ellipse at 80% 85%, #2a3d78 0%, var(--nacht) 58%); color: var(--weiss); border-radius: 0 0 3rem 3rem; }
.aufgang { position: absolute; inset: 0; }
.sonne { position: absolute; right: -8vw; bottom: -16vw; width: clamp(20rem, 50vw, 48rem); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #6b8ff5 0%, var(--blau) 60%); box-shadow: 0 0 140px rgba(91, 130, 245, 0.45); }
.welle { position: absolute; border-radius: 50%; border: 1.5px solid var(--blau-hell); }
.w1 { right: -14vw; bottom: -22vw; width: clamp(26rem, 62vw, 60rem); aspect-ratio: 1; opacity: 0.35; }
.w2 { right: -20vw; bottom: -28vw; width: clamp(32rem, 74vw, 72rem); aspect-ratio: 1; opacity: 0.18; }
.einstieg-text { position: relative; max-width: 48rem; display: grid; gap: 1.75rem; justify-items: start; }
.einstieg h1 { font-size: clamp(3.25rem, 8.5vw, 7.5rem); }
.lead { max-width: 32ch; font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem); line-height: 1.5; color: var(--leise-dunkel); }

/* Angebote (hell) */
.angebote { padding: var(--sektion) var(--rand); }
.angebote h2, .mira h2 { font-size: clamp(2.25rem, 5vw, 4rem); margin-bottom: 2.5rem; }
.karten { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.karte { display: grid; gap: 0.75rem; align-content: start; padding: clamp(1.6rem, 3vw, 2.5rem); border-radius: var(--rund); background: #fff; box-shadow: 0 18px 40px -28px rgba(22, 32, 58, 0.35); }
.karte:first-child { background: var(--blau); color: #fff; }
.karte:first-child .alter { background: #fff; color: var(--blau-tief); }
.karte:first-child p { color: #fff; }
.karte:nth-child(3) { background: var(--himmel-2); }
.karte p { color: var(--leise); }
.karte h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); }
.alter { justify-self: start; padding: 0.3rem 0.9rem; border-radius: 999px; background: var(--himmel); color: var(--blau-tief); font-size: 0.9375rem; font-weight: 700; }
.karte:nth-child(3) .alter { background: #fff; }
.karte .preis { font-weight: 800; color: inherit; margin-top: 0.5rem; }
.karte:not(:first-child) .preis { color: var(--tinte); }

/* Zitat (dunkel, gerundet) */
.zitat { margin: 0 var(--rand); padding: var(--sektion) clamp(1.5rem, 6vw, 6rem); border-radius: 3rem; background: var(--nacht); color: var(--weiss); text-align: center; }
.zitat p { max-width: 24ch; margin-inline: auto; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.zitat p::before { content: ""; display: block; width: 3.5rem; height: 3.5rem; margin: 0 auto 1.5rem; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #6b8ff5 0%, var(--blau) 65%); }

/* Über mich (hell) */
.mira { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: var(--sektion) var(--rand); }
.mira-bild svg { width: min(100%, 26rem); }
.mira-text { display: grid; gap: 1.25rem; max-width: 40rem; color: var(--leise); }
.mira-text h2 { margin-bottom: 0.5rem; color: var(--tinte); }

/* Kontakt (Blau) */
.kontakt { margin: 0 var(--rand) var(--sektion); padding: var(--sektion) clamp(1.5rem, 6vw, 6rem); display: grid; gap: 1.25rem; justify-items: center; text-align: center; border-radius: 3rem; background: var(--blau-tief); color: #fff; }
.kontakt h2 { font-size: clamp(2.75rem, 7vw, 6rem); }
.wege { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1rem; }
.kontakt .button { background: #fff; color: var(--tinte); box-shadow: none; }
.kontakt .button-hell { background: var(--nacht); color: #fff; }
.kontakt :focus-visible { outline-color: #fff; }

.fuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding: 2rem var(--rand); background: var(--nacht); color: var(--leise-dunkel); font-size: 1rem; }
.fuss ul { display: flex; gap: 1.5rem; padding: 0; list-style: none; }
.fuss a { display: inline-block; padding-block: 0.3rem; }
.fuss .demo { flex-basis: 100%; font-size: 0.9375rem; }

/* Unterseiten */
.unterseite { background: var(--himmel); }
.unterseite .kopf { position: static; color: var(--tinte); }
.prosa { max-width: 65ch; padding: 2rem var(--rand) var(--sektion); display: grid; gap: 1rem; }
.prosa h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 1rem; }
.prosa h2 { font-size: 1.6rem; margin-top: 1rem; }

@media (max-width: 52rem) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; right: var(--rand); min-width: 12rem; padding: 0.5rem; border-radius: 1.5rem; background: var(--nacht-2); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 0.75rem 1rem; color: #fff; }
  .karten, .mira { grid-template-columns: 1fr; }
  .mira-bild svg { width: 65%; }
  .sonne { width: 90vw; right: -30vw; bottom: -30vw; }
  .w1, .w2 { display: none; }
  .einstieg { border-radius: 0 0 2rem 2rem; }
  .zitat, .kontakt { border-radius: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
