/* ============================================================
   kept — Landingpage
   Farben/Typo aus dem Claude-Design-Entwurf "Kept Landingpage.dc.html"
   ============================================================ */

:root {
  /* light (Standard) */
  --bg: #f5f3f0;
  --surface: #fbfaf8;
  --fg: #17171b;
  --muted: #6e6a66;
  --line: #e2ded8;
  --accent: #eba352;
  --accent-hover: #de9440;
  --link-hover: #c67f2e;
  --hatch: rgba(127, 120, 110, 0.1);

  /* pro Abschnitt: Kartenfläche = Seitenhintergrund, auf --surface-Sektionen überschrieben */
  --card: var(--bg);

  --font-display: "Space Grotesk", system-ui, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", "Menlo", monospace;

  --pad: clamp(22px, 6vw, 80px);
  --sec-y: clamp(56px, 9vw, 104px);
  --maxw: 1440px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17171b;
    --surface: #1d1d22;
    --fg: #f3f1ed;
    --muted: #9a9490;
    --line: #2c2c33;
    --accent: #eba352;
    --accent-hover: #f0b267;
    --link-hover: #f0b267;
    --hatch: rgba(243, 241, 237, 0.07);
  }
}

:root[data-theme="dark"] {
  --bg: #17171b;
  --surface: #1d1d22;
  --fg: #f3f1ed;
  --muted: #9a9490;
  --line: #2c2c33;
  --accent: #eba352;
  --accent-hover: #f0b267;
  --link-hover: #f0b267;
  --hatch: rgba(243, 241, 237, 0.07);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--link-hover);
}

::selection {
  background: var(--accent);
  color: #17171b;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  background: var(--fg);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 13px;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 16px;
  color: var(--bg);
}

/* ---------- shared bits ---------- */
.muted {
  color: var(--muted);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}

.eyebrow--dot {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow--dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.rule {
  height: 1px;
  background: var(--line);
}

.rule--accent {
  background: var(--accent);
}

/* content width + section rhythm */
.section {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: var(--sec-y) var(--pad);
  border-top: 1px solid var(--line);
}

.section--surface {
  background: var(--surface);
  --card: var(--surface);
}

/* ---------- header ---------- */
.site-header {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 26px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
}

.brand:hover {
  color: var(--fg);
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand__word {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand--sm .brand__mark {
  width: 22px;
  height: 22px;
}

.brand--sm .brand__word {
  font-size: 15px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 16px;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
}

.lang__current {
  color: var(--fg);
  font-weight: 500;
}

.lang__sep {
  opacity: 0.4;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: end;
  border-top: 0;
  padding-top: clamp(64px, 11vw, 128px);
  padding-bottom: clamp(64px, 10vw, 112px);
}

.hero h1 {
  font-size: clamp(2.9rem, 8.2vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin: 0;
}

.hero__lead {
  margin-top: 40px;
  max-width: 32ch;
  font-size: clamp(1.05rem, 1.5vw, 1.31rem);
  line-height: 1.55;
  color: var(--muted);
}

.hero__links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.hero__links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  transition: padding-left 0.18s ease, color 0.15s ease;
}

.hero__links a:hover {
  padding-left: 10px;
  color: var(--fg);
}

.hero__links-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
}

.hero__links-desc {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- drei apps, ein gedanke ---------- */
.idea {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
}

.idea__head h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.idea__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-content: start;
}

.idea__item h3 {
  font-size: 22px;
  margin: 22px 0 12px;
}

.idea__item p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- app sections ---------- */
/* Kopf (Eyebrow + Titel + Lead) — dann die Key-Art in voller Breite — dann
   "Bald verfügbar". Ein einfacher vertikaler Stapel, gleich auf allen Größen. */
.app {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}

.app__head {
  max-width: 46ch;
}

.app__head h2 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}

.app__lead {
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.5vw, 1.31rem);
  line-height: 1.5;
}

.feats {
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 42ch;
}

.feats li {
  position: relative;
  padding-left: 24px;
  padding-bottom: 14px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.feats li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.feats li::before {
  content: "·";
  position: absolute;
  left: 4px;
  top: -0.1em;
  color: var(--accent);
  font-weight: 700;
}

.buy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #17171b;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  padding: 15px 28px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--accent-hover);
  color: #17171b;
}

.link-underline {
  font-size: 17px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.link-underline:hover {
  color: var(--fg);
}

/* "Bald verfügbar" – Platzhalter statt Kaufen-Button, solange kein Verkauf läuft */
.soon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
}

.soon::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---------- media placeholders ---------- */
.shot,
.portrait {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: repeating-linear-gradient(
    135deg,
    var(--hatch) 0 7px,
    transparent 7px 14px
  );
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.shot {
  aspect-ratio: 4 / 3;
}

.portrait {
  aspect-ratio: 4 / 5;
}

.shot__cap {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--card);
  padding: 8px 12px;
  border-radius: 4px;
}

/* Key-Art in voller Breite, natürliches Seitenverhältnis – nie beschneiden. */
img.shot,
img.portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border-radius: 14px;
}

img.shot {
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.65);
}

img.portrait {
  border: 1px solid var(--line);
}

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.about__head h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.about__body {
  max-width: 62ch;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__body p {
  font-size: clamp(1.06rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

/* ---------- newsletter ---------- */
.newsletter {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.newsletter h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.newsletter__text p {
  font-size: 17px;
}

.newsletter__form {
  display: flex;
  gap: 12px;
}

.newsletter__form input {
  flex: 1;
  min-width: 0;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--card);
  color: var(--fg);
  font: inherit;
}

.newsletter__form input::placeholder {
  color: var(--muted);
}

.newsletter__form input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}

.newsletter__form button {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 7px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.newsletter__form button:hover {
  opacity: 0.88;
  color: var(--bg);
}

/* ---------- footer ---------- */
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 15px;
  color: var(--muted);
  padding-top: 40px;
  padding-bottom: 44px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer__meta {
  display: flex;
  justify-content: space-between;
  gap: 22px;
}

/* ---------- legal pages ---------- */
.legal {
  max-width: 72ch;
  margin-inline: auto;
  padding: clamp(48px, 8vw, 96px) var(--pad) 120px;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.legal h2 {
  font-size: 1.3rem;
  margin: 40px 0 12px;
}

.legal p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal .todo {
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 16px 18px;
  color: var(--fg);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  font-size: 15px;
}

.legal a.back {
  display: inline-block;
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

/* ============================================================
   Responsive — Design-Artboards: Desktop 1440 / Mobile 390
   ============================================================ */
@media (min-width: 880px) {
  .about {
    grid-template-columns: 300px 1fr;
    column-gap: 88px;
    row-gap: 24px;
    grid-template-areas:
      "portrait head"
      "portrait body";
    align-items: start;
  }

  .about__head {
    grid-area: head;
  }

  .about .portrait {
    grid-area: portrait;
    align-self: start;
  }

  .about__body {
    grid-area: body;
  }

  .newsletter {
    grid-template-columns: 1fr 1fr;
    gap: 88px;
    align-items: center;
  }

  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-footer__meta {
    justify-content: flex-end;
  }
}

@media (max-width: 879px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: stretch;
  }

  .hero__lead {
    margin-top: 24px;
    max-width: none;
  }

  .idea {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .idea__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .idea__item h3 {
    margin-top: 14px;
  }

  .buy {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .buy .btn,
  .buy .link-underline {
    width: 100%;
    text-align: center;
  }

  .buy .link-underline {
    border-bottom: 0;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 15px;
  }

  .newsletter__form {
    flex-direction: column;
  }

  .newsletter__form button {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .site-nav {
    gap: 16px;
    font-size: 15px;
  }

  .site-nav__about {
    display: none;
  }

  .site-footer__meta {
    flex-direction: column;
    gap: 6px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
