/* PicShrinker – Landingpage. Aufbau von der DisplayShot-Seite übernommen, Farben aus dem PicShrinker-Icon. */

:root {
  --blue-1: #3b82f6;
  --blue-2: #1d4ed8;
  --blue-ink: #1e3a8a;
  --sun: #ffc733;
  --sky: #c7ebfa;
  --mountain: #29996b;
  --editor-header: #2b2d31;
  --editor-work: #e4e7eb;
  --editor-status: #d9dde2;

  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: #162033;
  --muted: #55617a;
  --line: #d6dee9;
  --accent: var(--blue-ink);
  --accent-soft: #e4edfe;
  --shadow: 0 1px 2px rgba(16, 28, 48, .06), 0 12px 32px rgba(16, 28, 48, .10);

  --radius: 14px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151a22;
    --surface: #1b212b;
    --surface-2: #232a36;
    --text: #eef2f8;
    --muted: #aeb8c9;
    --line: #333c4b;
    --accent: #7fb0ff;
    --accent-soft: #1d2c4a;
    --editor-work: #3a3d42;
    --editor-status: #33363b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
kbd {
  font: 600 .82em var(--mono);
  padding: .12em .45em;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  white-space: nowrap;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .8rem;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.section { padding: 96px 0; }
.section-head { max-width: 46em; margin-bottom: 48px; }
.alt { background: var(--surface-2); }

/* Kopfzeile */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: var(--text); }
.lang-switch {
  margin-left: auto;
  font: 700 .8rem var(--font); letter-spacing: .04em;
  color: var(--muted); text-decoration: none;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px;
}
.lang-switch:hover { color: var(--text); border-color: var(--muted); }
.site-nav + .lang-switch { margin-left: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 650; font-size: 1rem; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  box-shadow: 0 6px 18px rgba(37, 99, 235, .30);
}
.btn-primary:hover { box-shadow: 0 8px 24px rgba(37, 99, 235, .42); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: 8px 16px; font-size: .9rem; }

/* Hero */
.hero { padding: 88px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: .88rem; font-weight: 650; margin-bottom: 22px;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(255, 199, 51, .3); }
.hero h1 span { background: linear-gradient(135deg, var(--blue-1), var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) {
  .hero h1 span { background: linear-gradient(135deg, #7cc4ff, var(--blue-1)); -webkit-background-clip: text; background-clip: text; }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.hero-meta { font-size: .9rem; color: var(--muted); }


/* Screenshots der App */
.shot-figure { margin: 0; }
.shot-figure img {
  width: 100%; height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .12);
  box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 24px 56px rgba(15, 30, 70, .22);
  background: var(--editor-header);
}
.hero-shot img { box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 30px 70px rgba(15, 30, 70, .30); }
.shot-wide { margin: 0 0 40px; }
@media (prefers-color-scheme: dark) {
  .shot-figure img { border-color: rgba(255, 255, 255, .08); box-shadow: 0 24px 56px rgba(0, 0, 0, .5); }
}
.spot-text .chips { margin-top: 22px; }

/* Vertrauensleiste */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 64px; }
.facts div { background: var(--surface); padding: 20px 22px; }
.facts strong { display: block; font-size: 1.05rem; }
.facts span { color: var(--muted); font-size: .92rem; }

/* Aufnahmemodi */
.modes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.mode {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 6px;
}
.mode .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 8px; }
.mode .ico svg { width: 22px; height: 22px; }
.mode h3 { margin: 0; }
.mode p { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.mode kbd { align-self: flex-start; margin-top: 10px; }
.note { color: var(--muted); font-size: .92rem; margin-top: 24px; }

/* Funktions-Spotlights */
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; }
.spot + .spot { border-top: 1px solid var(--line); }
.spot.rev .spot-text { order: 2; }
.spot ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.spot li { padding-left: 30px; position: relative; color: var(--muted); }
.spot li strong { color: var(--text); font-weight: 600; }
.spot li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%2321b878' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: .82rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }


.scroll-demo { display: grid; grid-template-columns: repeat(3, 1fr) auto 1fr; gap: 10px; align-items: center; }
.scroll-demo .frame { border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); padding: 10px; display: grid; gap: 6px; aspect-ratio: 3/4; align-content: start; }
.scroll-demo .frame i { display: block; height: 7px; border-radius: 3px; background: var(--line); }
.scroll-demo .frame i.a { background: var(--accent-soft); height: 22px; }
.scroll-demo .eq { color: var(--muted); font-weight: 700; font-size: 1.3rem; }
.scroll-demo .long { aspect-ratio: auto; height: 100%; min-height: 220px; border-color: var(--accent); }

/* Editor-Werkzeuge */
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.tool { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.tool kbd { min-width: 28px; text-align: center; }
.tool span { font-size: .96rem; }
.extras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.extras .panel { box-shadow: none; }
.extras h3 { margin-bottom: .35em; }
.extras p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Datenschutz-Abschnitt */
.private { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.shield {
  width: 132px; height: 132px; border-radius: 32px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2)); color: #fff;
  box-shadow: 0 16px 40px rgba(37, 99, 235, .35);
}
.shield svg { width: 64px; height: 64px; }
.private p { max-width: 44em; }

/* Ausgabe */
.out { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.out .panel { box-shadow: none; }
.out .chips { margin-top: 8px; }

/* Preis / Release */
.release {
  border-radius: 24px; padding: 56px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.release::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border: 10px solid rgba(255,255,255,.12); border-radius: 60px; transform: rotate(12deg);
}
.release h2 { color: #fff; }
.release p { color: rgba(255,255,255,.88); margin: 0; max-width: 34em; }
.release .btn { background: #fff; color: var(--blue-ink); box-shadow: 0 8px 22px rgba(0,0,0,.18); position: relative; z-index: 1; }
.release dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 22px 0 0; font-size: .95rem; }
.release dt { color: rgba(255,255,255,.7); }
.release dd { margin: 0; font-weight: 600; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Support */
.support { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; padding: 40px; }
.support-ico {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.support-ico svg { width: 32px; height: 32px; }
.support .lead { margin-bottom: .8em; }
.support-hint { color: var(--muted); font-size: .95rem; max-width: 44em; margin-bottom: 1.4em; }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.site-footer nav { display: flex; gap: 22px; margin-left: auto; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* Rechtstexte */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1em; }
.legal h2 { font-size: 1.45rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--muted); }
.legal address { font-style: normal; color: var(--text); margin-bottom: 1em; }
.legal .upper { text-transform: none; font-size: .95rem; }

/* Responsiv */
@media (max-width: 960px) {
  .hero-grid, .spot, .private, .release { grid-template-columns: 1fr; }
  .spot.rev .spot-text { order: 0; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .extras { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .site-header .lang-switch { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .out { grid-template-columns: 1fr; }
  .release { padding: 36px 24px; }
  .release::after { display: none; }
  .support { grid-template-columns: 1fr; gap: 16px; padding: 28px 20px; }
  .scroll-demo { grid-template-columns: repeat(3, 1fr); }
  .scroll-demo .eq, .scroll-demo .long { display: none; }
  .site-footer nav { margin-left: 0; }
  .site-header .btn { display: none; }
}
@media (max-width: 420px) {
  .facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
