/* Öffentliche Seiten des Betreibers (nicht die Webseiten der Mandanten, die nutzen webseite.css): Landingpage «Demnächst» und Webseite (/v1/, nach der Lancierung
   /willkommen). Eigenes Erscheinungsbild, unabhängig vom Programm (stil.css). */

:root {
  --w-tief: #15301f;        /* Tannengrün, dunkel: Kopf, Fuss, Flächen mit weisser Schrift */
  --w-gruen: #2c6a43;
  --w-gruen-hell: #e7f0e8;
  --w-gold: #e8a83a;        /* Eigelb-Gold: Hervorhebung, Hauptknopf */
  --w-gold-dunkel: #b97a12;
  --w-papier: #faf7f0;
  --w-weiss: #ffffff;
  --w-text: #1b1f1b;
  --w-grau: #5c6359;
  --w-linie: #e3ded2;
  --w-radius: 14px;
  --w-schatten: 0 1px 2px rgba(21, 48, 31, .06), 0 12px 32px -8px rgba(21, 48, 31, .18);
  --w-breite: 1160px;
}

.w { margin: 0; background: var(--w-papier); color: var(--w-text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; }
.w *, .w *::before, .w *::after { box-sizing: border-box; }
.w img { max-width: 100%; height: auto; display: block; }
.w a { color: var(--w-gruen); }
.w h1, .w h2, .w h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; color: inherit; }
.w p { margin: 0; }
.w-innen { max-width: var(--w-breite); margin: 0 auto; padding: 0 24px; }

/* Wortmarke */
.w-marke { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -0.02em;
  color: inherit; text-decoration: none; }
.w-marke svg { width: 34px; height: 34px; flex: none; }
.w-marke span { font-weight: 500; opacity: .85; }

/* Knöpfe */
.w-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px;
  border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.w-knopf:hover { transform: translateY(-1px); }
.w-knopf-gold { background: var(--w-gold); color: var(--w-tief) !important; box-shadow: 0 6px 18px -6px rgba(232, 168, 58, .7); }
.w-knopf-gold:hover { background: #f0b54f; }
.w-knopf-rand { border-color: currentColor; color: inherit !important; background: transparent; }
.w :focus-visible { outline: 3px solid var(--w-gold); outline-offset: 3px; border-radius: 6px; }

/* Kopfzeile */
.w-kopf { position: sticky; top: 0; z-index: 20; background: rgba(250, 247, 240, .88); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--w-linie); }
.w-kopf .w-innen { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.w-kopf nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.w-kopf nav a { color: var(--w-text); text-decoration: none; }
.w-kopf nav a:hover { color: var(--w-gruen); }
.w-kopf .w-knopf { padding: 9px 18px; font-size: 15px; }
@media (max-width: 860px) { .w-kopf nav a.w-weg { display: none; } }

/* Erster Bildschirm der Webseite */
.w-held { padding: 72px 0 40px; position: relative; overflow: hidden; }
.w-held::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 168, 58, .22), transparent 65%); pointer-events: none; }
.w-held .w-innen { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.w-zeile { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--w-gruen);
  background: var(--w-gruen-hell); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.w-held h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; margin-bottom: 20px; }
.w-held h1 em { font-style: normal; background: linear-gradient(transparent 62%, rgba(232, 168, 58, .45) 62%); }
.w-held .w-lead { font-size: 19px; color: var(--w-grau); max-width: 560px; margin-bottom: 30px; }
.w-knoepfe { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.w-held .w-klein { margin-top: 16px; font-size: 14px; color: var(--w-grau); }

/* Bildschirmfoto im Browserrahmen */
.w-held .w-innen > *, .w-funktion > *, .w-bald-mitte > * { min-width: 0; }
.w-fenster { background: var(--w-weiss); border-radius: var(--w-radius); box-shadow: var(--w-schatten);
  border: 1px solid var(--w-linie); overflow: hidden; }
.w-fenster::before { content: ""; display: block; height: 30px; border-bottom: 1px solid var(--w-linie);
  background: radial-gradient(circle at 16px 15px, #e6e1d5 5px, transparent 6px),
              radial-gradient(circle at 34px 15px, #e6e1d5 5px, transparent 6px),
              radial-gradient(circle at 52px 15px, #e6e1d5 5px, transparent 6px), #f6f3ec; }
.w-fenster img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: #f6f3ec; }
.w-handy img { aspect-ratio: auto; }
.w-held .w-fenster { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.w-handy { width: 220px; border-radius: 30px; border: 8px solid var(--w-tief); overflow: hidden; box-shadow: var(--w-schatten);
  background: var(--w-tief); }
.w-buehne { position: relative; }
.w-blatt { max-width: 420px; margin: 0 auto; transform: rotate(-2deg); filter: drop-shadow(0 18px 30px rgba(21, 48, 31, .22)); }
.w-blatt img { border-radius: 6px; }
.w-buehne .w-handy { position: absolute; right: -14px; bottom: -40px; width: 170px; }

/* Vertrauensleiste */
.w-leiste { padding: 26px 0; border-top: 1px solid var(--w-linie); border-bottom: 1px solid var(--w-linie); background: var(--w-weiss); }
.w-leiste ul { list-style: none; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.w-leiste li { display: flex; align-items: center; gap: 12px; font-weight: 650; font-size: 15px; }
.w-symbol { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--w-gruen-hell); color: var(--w-gruen); }
.w-symbol svg { width: 22px; height: 22px; }

/* Abschnitte */
.w-abschnitt { padding: 96px 0; }
.w-abschnitt.w-weiss { background: var(--w-weiss); }
.w-abschnitt.w-dunkel { background: var(--w-tief); color: #f3efe4; }
.w-abschnitt.w-dunkel .w-unter, .w-abschnitt.w-dunkel p { color: #c9d4c8; }
.w-kopftext { max-width: 720px; margin-bottom: 48px; }
.w-kopftext.w-mitte { margin-left: auto; margin-right: auto; text-align: center; }
.w-ueber { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--w-gold-dunkel); margin-bottom: 12px; }
.w-dunkel .w-ueber { color: var(--w-gold); }
.w h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; margin-bottom: 14px; }
.w-unter { font-size: 18px; color: var(--w-grau); }

/* Funktion mit Bild, abwechselnd links und rechts */
.w-funktion { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.w-funktion + .w-funktion { margin-top: 110px; }
.w-funktion.w-umgekehrt > :first-child { order: 2; }
.w-funktion h3 { font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.w-funktion p { color: var(--w-grau); margin-bottom: 18px; }
.w-haken { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.w-haken li { padding-left: 32px; position: relative; }
.w-haken li::before { content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--w-gruen-hell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c6a43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }

/* Karten */
.w-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.w-karte { background: var(--w-weiss); border: 1px solid var(--w-linie); border-radius: var(--w-radius); padding: 26px;
  transition: transform .15s ease, box-shadow .15s ease; }
.w-karte:hover { transform: translateY(-2px); box-shadow: var(--w-schatten); }
.w-karte h3 { font-size: 19px; font-weight: 750; margin: 14px 0 8px; }
.w-karte p { color: var(--w-grau); font-size: 16px; }
.w-dunkel .w-karte { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.w-dunkel .w-karte h3 { color: #fff; }
.w-dunkel .w-symbol { background: rgba(232, 168, 58, .16); color: var(--w-gold); }

/* Preise */
.w-preise { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.w-paket { background: var(--w-weiss); border: 1px solid var(--w-linie); border-radius: var(--w-radius); padding: 26px;
  display: flex; flex-direction: column; gap: 10px; }
.w-paket.w-basis { border: 2px solid var(--w-gruen); position: relative; }
.w-paket.w-basis::after { content: attr(data-merk); position: absolute; top: -13px; left: 22px; background: var(--w-gruen); color: #fff;
  font-size: 12px; font-weight: 800; padding: 3px 12px; border-radius: 999px; letter-spacing: .03em; }
.w-paket h3 { font-size: 20px; font-weight: 800; }
.w-betrag { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--w-tief); }
.w-betrag small { font-size: 15px; font-weight: 600; color: var(--w-grau); letter-spacing: 0; }
.w-paket .w-klein { font-size: 14px; color: var(--w-grau); }
.w-hinweiszeile { margin-top: 26px; font-size: 15px; color: var(--w-grau); text-align: center; }

/* Fragen */
.w-fragen { max-width: 780px; margin: 0 auto; }
.w-fragen details { background: var(--w-weiss); border: 1px solid var(--w-linie); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.w-fragen summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.w-fragen summary::-webkit-details-marker { display: none; }
.w-fragen summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--w-gruen); }
.w-fragen details[open] summary::after { content: "–"; }
.w-fragen details p { margin-top: 10px; color: var(--w-grau); }

/* Schluss-Aufruf */
.w-aufruf { text-align: center; }
.w-aufruf h2 { color: #fff; }
.w-aufruf .w-unter { margin: 0 auto 30px; max-width: 560px; }
.w-aufruf .w-knoepfe { justify-content: center; }

/* Fuss */
.w-fuss { background: var(--w-tief); color: #c9d4c8; padding: 48px 0 36px; font-size: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.w-fuss .w-innen { display: grid; gap: 22px; }
.w-fuss .w-zeilen { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.w-fuss a { color: #f3efe4; }
.w-fuss .w-marke { color: #fff; }
.w-fuss .sprachwahl, .w-bald .sprachwahl { margin: 0; font-size: 14px; color: inherit; }
.w-fuss .sprachwahl a, .w-bald .sprachwahl a { color: inherit; }
.w-fuss .rechtliches a { color: #c9d4c8; }

/* ---------------------------------------------------------------- Landingpage «Demnächst» */
.w-bald { min-height: 100vh; background: var(--w-tief); color: #f3efe4; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.w-bald::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 600px at 85% 15%, rgba(232, 168, 58, .20), transparent 60%),
              radial-gradient(700px 500px at 10% 90%, rgba(44, 106, 67, .55), transparent 60%); }
.w-bald::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.w-bald > * { position: relative; z-index: 1; }
.w-bald > .w-innen { width: 100%; }
.w-bald a { color: #f3efe4; }
.w-bald-kopf { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0; flex-wrap: wrap; }
.w-bald-kopf .w-marke { color: #fff; }
.w-bald-mitte { flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 40px 0 64px; }
.w-bald .w-zeile { background: rgba(232, 168, 58, .14); color: var(--w-gold); }
.w-puls { width: 8px; height: 8px; border-radius: 50%; background: var(--w-gold); box-shadow: 0 0 0 0 rgba(232, 168, 58, .7); animation: w-puls 2s infinite; }
@keyframes w-puls { 70% { box-shadow: 0 0 0 10px rgba(232, 168, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 168, 58, 0); } }
.w-bald h1 { font-size: clamp(38px, 5.2vw, 66px); font-weight: 850; color: #fff; margin-bottom: 22px; }
.w-bald h1 em { font-style: normal; color: var(--w-gold); }
.w-bald .w-lead { font-size: 20px; color: #c9d4c8; max-width: 560px; margin-bottom: 34px; }
.w-eintrag { display: flex; gap: 10px; max-width: 520px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px; padding: 6px; }
.w-eintrag input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: inherit; padding: 10px 16px; }
.w-eintrag input[type=email]::placeholder { color: #9fb0a0; }
.w-eintrag input[type=email]:focus { outline: none; }
.w-eintrag:focus-within { border-color: var(--w-gold); }
.w-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.w-zustimmung { margin-top: 12px; font-size: 13px; color: #9fb0a0; max-width: 520px; }
.w-zustimmung a { color: #c9d4c8; }
.w-meldung { max-width: 520px; margin-bottom: 18px; padding: 12px 18px; border-radius: 12px; font-weight: 600; }
.w-meldung.ok { background: rgba(232, 168, 58, .16); color: var(--w-gold); border: 1px solid rgba(232, 168, 58, .4); }
.w-meldung.fehler { background: rgba(220, 80, 60, .14); color: #ffb4a6; border: 1px solid rgba(220, 80, 60, .4); }
.w-vorschau { position: relative; min-width: 0; }
.w-vorschau .w-fenster { aspect-ratio: 16 / 10; }
.w-vorschau img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.w-vorschau .w-fenster { transform: perspective(1400px) rotateY(-10deg) rotateX(4deg); border-color: rgba(255, 255, 255, .1); }
.w-vorschau img { filter: blur(3px) saturate(.9); }
.w-vorschau::after { content: attr(data-text); position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  background: rgba(21, 48, 31, .85); color: var(--w-gold); padding: 10px 20px; border-radius: 999px; font-weight: 800;
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid rgba(232, 168, 58, .4); white-space: nowrap; }
.w-drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 56px; }
.w-drei div { display: flex; gap: 14px; align-items: flex-start; }
.w-drei .w-symbol { background: rgba(232, 168, 58, .14); color: var(--w-gold); }
.w-drei strong { display: block; color: #fff; margin-bottom: 2px; }
.w-drei p { color: #9fb0a0; font-size: 15px; }
.w-bald-fuss { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: 14px; color: #9fb0a0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.w-bald-fuss .rechtliches a { color: #9fb0a0; }

/* Handy und Tablet */
@media (max-width: 960px) {
  .w-held .w-innen, .w-funktion, .w-bald-mitte { grid-template-columns: 1fr; gap: 40px; }
  .w-funktion.w-umgekehrt > :first-child { order: 0; }
  .w-held .w-fenster, .w-vorschau .w-fenster { transform: none; }
  .w-buehne .w-handy { display: none; }
  .w-leiste ul { grid-template-columns: repeat(2, 1fr); }
  .w-drei { grid-template-columns: 1fr; }
  .w-abschnitt { padding: 72px 0; }
  .w-funktion + .w-funktion { margin-top: 72px; }
}
@media (max-width: 560px) {
  .w { font-size: 16px; }
  .w-innen { padding: 0 16px; }
  .w-held { padding-top: 44px; }
  .w-eintrag { flex-direction: column; border-radius: 18px; }
  .w-eintrag .w-knopf { width: 100%; }
  .w-leiste ul { grid-template-columns: 1fr; }
  .w-kopf nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .w-knopf, .w-karte { transition: none; }
  .w-puls { animation: none; }
}
