/* Foldermind – Webseite. Farben wie in der App (dunkel, gedämpftes Indigo).
   Alles liegt auf dem eigenen Server: keine fremden Schriften, Skripte oder Cookies. */

@font-face {
  font-family: 'Manrope';
  src: url('schrift/Manrope_500Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('schrift/Manrope_700Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('schrift/Manrope_800ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

:root {
  --hintergrund: #0f1014;
  --karte: #1b1d23;
  --karte-hell: #23262d;
  --linie: #2a2d35;
  --text: #f3f4f6;
  --text-leise: #8b8f9a;
  --indigo: #8c7cf5;
  --indigo-hell: #aa9ef9;
  --indigo-feld: #29264a;
  --rund: 20px;
  --breite: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--hintergrund);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--indigo-hell); }
a:hover { color: var(--text); }

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

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marke img { width: 36px; height: 36px; }
.schriftzug { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 22px; color: var(--text); letter-spacing: -0.3px; }
.schriftzug span, .akzent {
  color: var(--indigo-hell);
  background: linear-gradient(90deg, #8c96f8, #ba8cfa);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--text-leise); text-decoration: none; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--text); }

/* Überschriften */
h1, h2, h3 { font-family: 'Manrope', sans-serif; letter-spacing: -0.5px; line-height: 1.2; }
h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; margin: 0 0 18px; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin: 0 0 14px; }
h3 { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.leise { color: var(--text-leise); }

/* Startbereich */
.start { padding: 64px 0 40px; }
.start .huelle { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.start p.lead { font-size: 20px; color: var(--text-leise); margin: 0 0 28px; max-width: 34em; }
.knopf {
  display: inline-block; background: var(--indigo); color: #15171c; font-weight: 700;
  padding: 15px 26px; border-radius: 999px; text-decoration: none; font-size: 17px;
}
.knopf:hover { background: var(--indigo-hell); color: #15171c; }
.knopf.still { background: var(--karte-hell); color: var(--text); cursor: default; }
.hinweis-klein { display: block; margin-top: 12px; font-size: 14px; color: var(--text-leise); }

.telefone { display: flex; gap: 18px; justify-content: center; }
.telefon {
  width: 46%; max-width: 230px; border-radius: 34px; border: 6px solid #2f323b;
  background: #000; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.telefon img { display: block; width: 100%; height: auto; }
.telefon.versetzt { margin-top: 48px; }

/* Schwebende Hinweise an den Handys */
.telefone { position: relative; }
.merkmal {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px 9px 13px; border-radius: 999px; white-space: nowrap;
  font-size: 14px; font-weight: 700; color: var(--text);
  background: rgba(30, 28, 52, 0.94); border: 1px solid #5c50aa;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.merkmal::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--indigo-hell); }
.merkmal.m1 { left: 0; top: 14%; }
.merkmal.m2 { right: 0; top: 46%; }
.merkmal.m3 { left: 2%; top: 74%; }

/* Sanfte Bewegung: Handys schweben, Hinweise erscheinen nacheinander */
@media (prefers-reduced-motion: no-preference) {
  .telefon { animation: auftauchen 0.9s cubic-bezier(.2, .8, .2, 1) both, schweben 6s ease-in-out 1s infinite; }
  .telefon.versetzt { animation-delay: 0.15s, 2.2s; }
  .merkmal { animation: aufploppen 0.6s cubic-bezier(.2, 1.4, .4, 1) both, schweben-klein 5s ease-in-out infinite; }
  .merkmal.m1 { animation-delay: 0.9s, 1.5s; }
  .merkmal.m2 { animation-delay: 1.25s, 2.4s; }
  .merkmal.m3 { animation-delay: 1.6s, 3.1s; }
  .merkmal::before { animation: puls 2.4s ease-in-out infinite; }
}
@keyframes auftauchen { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes schweben-klein { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes aufploppen { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(170, 158, 249, .55); } 50% { box-shadow: 0 0 0 6px rgba(170, 158, 249, 0); } }

/* Abschnitte */
.abschnitt { padding: 56px 0; }
.abschnitt.karte-grund { background: #13151a; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.abschnitt .einleitung { max-width: 40em; margin: 0 0 32px; color: var(--text-leise); font-size: 18px; }

.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: schritt; }
.schritt { background: var(--karte); border-radius: var(--rund); padding: 24px; }
.schritt::before {
  counter-increment: schritt; content: counter(schritt);
  display: inline-flex; width: 36px; height: 36px; border-radius: 12px; align-items: center; justify-content: center;
  background: var(--indigo-feld); color: var(--indigo-hell); font-weight: 800; margin-bottom: 14px;
}
.schritt p { margin: 0; color: var(--text-leise); }

.raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kachel { background: var(--karte); border-radius: var(--rund); padding: 22px; }
.kachel p { margin: 0; color: var(--text-leise); font-size: 16px; }
.zeichen {
  width: 42px; height: 42px; border-radius: 13px; background: var(--indigo-feld); color: var(--indigo-hell);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.zeichen svg { width: 22px; height: 22px; }

.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.liste-haken { list-style: none; padding: 0; margin: 0; }
.liste-haken li { padding-left: 30px; position: relative; margin-bottom: 12px; }
.liste-haken li::before { content: '✓'; position: absolute; left: 0; color: var(--indigo-hell); font-weight: 800; }

/* Lesbare Zeilenlänge, aber bündig mit den anderen Abschnitten */
.geschichte p { font-size: 18px; max-width: 44em; }
.unterschrift { font-family: 'Manrope', sans-serif; font-weight: 700; color: var(--indigo-hell); }

/* Textseiten (Hilfe, Datenschutz, Impressum) */
.textseite { padding: 48px 0 64px; }
.textseite .huelle { max-width: 760px; }
.textseite h2 { font-size: 24px; margin-top: 40px; }
.textseite h3 { margin-top: 24px; }
.textseite p, .textseite li { color: #d6d8de; }
.stand { color: var(--text-leise); font-size: 15px; }
.platzhalter { background: #4a3a12; color: #ffd98a; padding: 1px 6px; border-radius: 6px; font-weight: 600; }

details { background: var(--karte); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; font-family: 'Manrope', sans-serif; font-size: 18px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--indigo-hell); font-weight: 800; }
details[open] summary::after { content: '–'; }
details p { margin: 12px 0 0; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); padding: 28px 0 40px; font-size: 15px; color: var(--text-leise); }
.fuss .huelle { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.fuss nav { display: flex; gap: 22px; flex-wrap: wrap; }
.fuss a { color: var(--text-leise); text-decoration: none; }
.fuss a:hover { color: var(--text); }

/* Handy */
@media (max-width: 820px) {
  .start .huelle, .zweispaltig { grid-template-columns: 1fr; }
  .start { padding-top: 36px; }
  .schritte, .raster { grid-template-columns: 1fr; }
  .nav { gap: 14px; font-size: 14px; }
  .telefon.versetzt { margin-top: 28px; }
  .merkmal { font-size: 12px; padding: 7px 12px 7px 10px; gap: 7px; }
}
@media (max-width: 420px) {
  .nav a.nur-gross { display: none; }
}

/* Sprachumschalter DE/EN */
.nav a.sprache { border: 1px solid var(--linie); border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.nav a.sprache:hover { border-color: var(--text-leise); }
