/* pwdChanger – Farben aus dem App-Symbol: Schiefer, e-Paper, Mint.
   Schriften selbst gehostet (SIL OFL): Bricolage Grotesque (Überschriften), Inter (Text). */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #1f2a30;
  --ink-2: #2a3a41;
  --ink-3: #15201f;
  --paper: #eeeee6;
  --paper-2: #fafaf6;
  --mint: #7fd1b9;
  --mint-2: #a8e6d4;
  --mint-soft: #e2f4ee;
  --mint-dark: #237060;
  --text: #1f2a30;
  --muted: #56646a;
  --on-dark: #c7d4d0;
  --line: #dcdcd2;
  --radius: 20px;
  --wrap: 70rem;
  --display: "Bricolage Grotesque", "Avenir Next", -apple-system, sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 1.0625rem/1.65 var(--font);
  font-feature-settings: "cv11", "ss01";
  color: var(--text);
  background: var(--paper-2);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 750; letter-spacing: -.025em; text-wrap: balance; }
p { text-wrap: pretty; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint-dark); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(44rem, 100% - 2.5rem); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: .5rem .75rem; z-index: 10; }

/* Kopf */
.top { background: var(--ink); color: var(--paper); position: relative; z-index: 2; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none;
  font-family: var(--display); font-weight: 750; font-size: 1.15rem; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { display: flex; gap: 1.4rem; font-size: .95rem; font-weight: 500; }
.top nav a { color: var(--on-dark); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--mint); }

/* Einstieg */
.hero {
  background:
    radial-gradient(60rem 30rem at 85% 110%, rgb(127 209 185 / .22), transparent 60%),
    radial-gradient(40rem 20rem at 0% 0%, rgb(127 209 185 / .08), transparent 70%),
    var(--ink);
  color: var(--paper);
  padding-block: 3.5rem 0;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: end; }
.hero-text { padding-bottom: 5rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.25rem;
  padding: .35rem .8rem; border-radius: 999px; background: rgb(127 209 185 / .14);
  color: var(--mint); font-weight: 600; font-size: .9rem;
}
.eyebrow .dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgb(127 209 185 / .25); }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1; margin: 0 0 1.5rem; font-weight: 800; }
.hero mark {
  color: var(--ink); background: var(--mint); padding: 0 .18em; border-radius: .18em;
  display: inline-block; transform: rotate(-2deg);
}
.lead { font-size: 1.2rem; color: var(--on-dark); max-width: 34rem; margin: 0 0 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 2rem; }
.chips li {
  font-size: .88rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px;
  border: 1px solid rgb(199 212 208 / .3); color: var(--paper);
}
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.cta .badge img { height: 54px; width: auto; }
.ghost {
  display: inline-flex; align-items: center; height: 54px; padding-inline: 1.4rem; border-radius: 12px;
  color: var(--paper); text-decoration: none; font-weight: 600; border: 1.5px solid rgb(127 209 185 / .5);
  transition: background .2s, border-color .2s;
}
.ghost:hover { color: var(--ink); background: var(--mint); border-color: var(--mint); }
.req { color: #93a6a0; font-size: .9rem; margin: 1rem 0 0; }

.hero-shot { position: relative; justify-self: center; width: min(330px, 100%); }
.phone {
  border-radius: 46px 46px 0 0;
  border: 10px solid var(--ink-3);
  border-bottom: 0;
  overflow: hidden;
  background: var(--ink-3);
  box-shadow: 0 -20px 80px rgb(127 209 185 / .25);
}
.phone img { width: 100%; }
.hero-shot .epaper {
  position: absolute; left: -38%; bottom: 3.5rem; width: 19rem;
  transform: rotate(-6deg);
  box-shadow: 0 24px 50px rgb(0 0 0 / .45);
}

.epaper {
  font-family: var(--mono); background: var(--paper); color: var(--ink); border: 3px solid var(--ink-3);
  border-radius: 12px; padding: .85rem 1rem;
}
.epaper .h { border-bottom: 3px solid var(--ink); padding-bottom: .35rem; font-weight: 700; font-size: .95rem; }
.epaper .pw { font-size: 1.7rem; font-weight: 800; padding-block: .7rem; letter-spacing: .02em; }
.epaper .f { border-top: 2px solid var(--ink); padding-top: .35rem; font-size: .8rem; }

/* Abschnitte */
section { padding-block: 5.5rem; }
section h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin: 0 0 1rem; }
.kicker {
  margin: 0 0 .75rem; font-weight: 700; font-size: .85rem; letter-spacing: .02em; color: var(--mint-dark);
}
.dark .kicker { color: var(--mint); }
.intro { max-width: 40rem; color: var(--muted); font-size: 1.12rem; margin: 0 0 3rem; }

.tint { background: var(--mint-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  background: #fff; border-radius: var(--radius); padding: 1.5rem 1.4rem 1.6rem; counter-increment: step;
  box-shadow: 0 1px 0 rgb(31 42 48 / .04), 0 10px 30px rgb(35 112 96 / .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.steps li:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgb(31 42 48 / .04), 0 18px 40px rgb(35 112 96 / .14); }
.steps li::before {
  content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 3rem;
  line-height: 1; color: var(--mint); -webkit-text-stroke: 1.5px var(--mint-dark); margin-bottom: .75rem;
}
.steps h3 { font-size: 1.2rem; margin: 0 0 .4rem; letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature + .feature { margin-top: 6rem; }
.feature.flip .shot { order: -1; }
.feature .shot { justify-self: center; width: min(300px, 100%); position: relative; }
.feature .shot::before {
  content: ""; position: absolute; inset: 12% -18% -6% -18%; border-radius: 40px;
  background: var(--mint-soft); transform: rotate(4deg); z-index: -1;
}
.feature.flip .shot::before { transform: rotate(-4deg); background: #e9e9df; }
.feature .shot { isolation: isolate; }
.feature .shot img { border-radius: 30px; box-shadow: 0 30px 60px rgb(31 42 48 / .16); }
.feature h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; margin: 0 0 1rem; }
.feature p { color: var(--muted); margin: 0 0 1rem; font-size: 1.08rem; }
.ticks { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 2rem; color: var(--text); }
.ticks li + li { margin-top: .6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a30' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.dark { background: var(--ink); color: var(--paper); }
.dark .intro, .dark p { color: var(--on-dark); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--ink-2); border-radius: var(--radius); padding: 1.6rem;
  border: 1px solid rgb(127 209 185 / .12); transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgb(127 209 185 / .45); transform: translateY(-3px); }
.card h3 { margin: 0 0 .45rem; font-size: 1.25rem; color: var(--paper); letter-spacing: -.01em; }
.card p { margin: 0; font-size: .98rem; }
.card .icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px;
  background: var(--mint); color: var(--ink); margin-bottom: 1.1rem;
}
.card svg { width: 1.5rem; height: 1.5rem; }

.band { background: var(--mint); text-align: center; }
.band h2 { color: var(--ink); }
.band p { color: #24443c; font-size: 1.12rem; max-width: 36rem; margin-inline: auto; }
.band .cta { justify-content: center; margin-top: 2rem; }

/* Textseiten */
.page { padding-block: 3.5rem 5rem; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; margin: 0 0 .6rem; font-weight: 800; }
.page h2 { font-size: 1.45rem; margin: 2.5rem 0 .5rem; }
.page h3 { font-size: 1.15rem; margin: 1.6rem 0 .35rem; letter-spacing: -.01em; }
.page p, .page li { color: #33434a; }
.page .meta { color: var(--muted); margin-bottom: 2rem; font-size: 1.1rem; }
.contact {
  background: var(--mint-soft); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.5rem 0 2rem;
  border-left: 5px solid var(--mint);
}
.contact p { margin: 0; }
details {
  background: #fff; border-radius: 16px; padding: 0 1.3rem; margin-bottom: .75rem;
  box-shadow: 0 1px 0 rgb(31 42 48 / .04), 0 6px 20px rgb(35 112 96 / .07);
}
details[open] { padding-bottom: 1rem; }
summary {
  cursor: pointer; font-weight: 600; padding-block: 1.05rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--mint-soft); color: var(--mint-dark); font-weight: 700; transition: transform .2s;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 .6rem; }

/* Fuß */
footer { background: var(--ink); color: #93a6a0; font-size: .92rem; padding-block: 2.25rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
footer nav { display: flex; gap: 1.25rem; }
footer a { color: var(--on-dark); }
footer a:hover { color: var(--mint); }

@media (max-width: 56rem) {
  .hero .wrap, .feature { grid-template-columns: 1fr; }
  .hero-text { padding-bottom: 1rem; }
  .hero-shot { margin-top: 2rem; }
  .hero-shot .epaper { left: -8%; bottom: 2rem; width: 16rem; }
  .feature.flip .shot { order: 0; }
  .feature { gap: 2.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: 1fr; }
}
@media (max-width: 34rem) {
  .steps { grid-template-columns: 1fr; }
  .top nav { gap: .9rem; font-size: .9rem; }
  section { padding-block: 4rem; }
  .hero-shot .epaper { width: 14rem; left: -4%; }
  .epaper .pw { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
