/* ALog NG – Website Styles
   Keine externen Fonts (DSGVO): System-Schriften, Zahlen tabellarisch. */
:root {
  --blue: #0562BA;
  --blue-ink: #034A8E;
  --bg: #F4F7FA;
  --surface: #FFFFFF;
  --ink: #14202E;
  --muted: #5A6B7D;
  --rule: #C9D6E3;
  --on-blue: #FFFFFF;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --blue: #3D8DE0;
    --blue-ink: #7DB4EE;
    --bg: #0F1823;
    --surface: #16222F;
    --ink: #E6EDF4;
    --muted: #9AABBD;
    --rule: #2A3A4C;
    --on-blue: #FFFFFF;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: inherit; }

html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }

/* Header */
.site-header { padding: 1.25rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo {
  display: inline-block;
  background: #0562BA; color: #fff;
  font-weight: 700; font-size: 1.05rem; letter-spacing: .01em;
  padding: .35rem .7rem; border-radius: 6px; text-decoration: none;
}
.site-header nav { display: flex; gap: 1.25rem; font-size: .95rem; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 3.5rem 0 4rem; }
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.05; letter-spacing: -.02em; font-weight: 700;
  margin: 0 0 1rem; max-width: 16ch;
}
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 52ch; margin: 0 0 2rem; }
.stores { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 3rem; }
.btn {
  display: inline-block; padding: .75rem 1.2rem; border-radius: 8px;
  background: var(--blue); color: var(--on-blue); text-decoration: none; font-weight: 600;
}
.btn.secondary { background: transparent; color: var(--ink); border: 1px solid var(--rule); }

/* Das eine markante Element: eine Logbuchzeile */
.logline {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 6px solid var(--blue);
  border-radius: 4px;
  overflow-x: auto;
}
.logline table { border-collapse: collapse; width: 100%; min-width: 640px; font-variant-numeric: tabular-nums; }
.logline th, .logline td { padding: .55rem .9rem; text-align: left; white-space: nowrap; border-right: 1px solid var(--rule); }
.logline th:last-child, .logline td:last-child { border-right: 0; }
.logline th { font-size: .78rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--rule); }
.logline td { font-size: 1.15rem; font-weight: 600; }
.logline td.total { color: var(--blue-ink); }
.logline caption { caption-side: bottom; text-align: left; padding: .5rem .9rem; font-size: .85rem; color: var(--muted); }

/* Sections */
section { padding: 3.5rem 0; border-top: 1px solid var(--rule); }
h2 { font-size: 1.7rem; letter-spacing: -.01em; margin: 0 0 .5rem; }
.section-intro { color: var(--muted); max-width: 60ch; margin: 0 0 2rem; }

/* Screenshots */
.shots { display: flex; gap: 1.5rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; }
.shot { flex: 0 0 auto; width: 220px; scroll-snap-align: start; margin: 0; }
.shot .frame {
  aspect-ratio: 9 / 19.5; border-radius: 22px; border: 6px solid var(--ink);
  background: var(--surface);
  display: grid; place-items: center;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  color: var(--muted); font-size: .9rem; overflow: hidden;
  
}
.shot .frame img {
  width: 100%; height: 100%;
  object-fit: fill;
  border-radius: 1  2px;
}
.shot figcaption {margin-top: .6rem; font-size: .95rem; text-align: center;}
.shots + .shots { margin-top: 2rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem 3rem; margin: 0; padding: 0; list-style: none; }
.features h3 { font-size: 1.1rem; margin: 0 0 .25rem; }
.features p { margin: 0; color: var(--muted); }

.platforms { font-size: 1.05rem; }

/* Support */
.support-box { max-width: 60ch; }
.support-box p { margin: 0 0 1rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 2rem 0 3rem; font-size: .92rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer a { color: var(--muted); }

/* Rechtstexte */
.legal { padding: 2rem 0 4rem; }
.legal article { max-width: 65ch; }
.legal h1 { font-size: 2.2rem; margin: 0 0 1.5rem; }
.legal h2 { font-size: 1.15rem; margin: 2rem 0 .4rem; }
.legal p { margin: 0 0 .6rem; }
.mock { background: color-mix(in srgb, var(--blue) 14%, transparent); padding: 0 .25rem; border-radius: 3px; }
.note { border-left: 4px solid var(--blue); background: var(--surface); padding: .8rem 1rem; font-size: .92rem; color: var(--muted); margin: 0 0 2rem; }

@media (prefers-reduced-motion: no-preference) {
  .logline { animation: slide .6s ease-out both; }
  @keyframes slide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* Kontaktformular */
.contact-form { display: grid; gap: .4rem; margin: 2rem 0 1.5rem; }
.contact-form label { font-weight: 600; font-size: .95rem; margin-top: .8rem; }
.contact-form .optional { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--rule); border-radius: 6px; padding: .65rem .8rem; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.contact-form textarea { resize: vertical; min-height: 9rem; }
.contact-form .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 600; margin-top: .6rem; }
.contact-form .btn:disabled { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-hint { font-size: .88rem; color: var(--muted); margin: .8rem 0 0; }
.form-status { min-height: 1.5em; margin: .4rem 0 0; font-weight: 600; }
.form-status.ok { color: var(--blue-ink); }
.form-status.error { color: #C0392B; }
@media (prefers-color-scheme: dark) { .form-status.error { color: #F08C7E; } }
.form-alt { color: var(--muted); }
