/* Flippy German website. Plain CSS, system fonts, no external resources. */
:root {
  --ink: #1E1A4D;
  --muted: #4A4578;
  --accent: #4F46E5;
  --accent-text: #3A31B8;
  --accent-soft: #EEEDFF;
  --card: #FFFFFF;
  --line: #E3E0FA;
  --sky: #A6E4F4;
  --lavender: #B7C4FA;
  --indigo-soft: #A99AF8;
  --shadow: 0 18px 40px rgba(35, 25, 110, .14), 0 4px 12px rgba(35, 25, 110, .08);
  --radius: 24px;
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

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

html { background: var(--indigo-soft); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(175deg, var(--sky) 0%, var(--lavender) 55%, var(--indigo-soft) 100%);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

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

a { color: var(--accent-text); text-underline-offset: .15em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -100px;
  background: var(--card); color: var(--accent-text);
  padding: 8px 14px; border-radius: 999px; font-weight: 700; z-index: 10;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 780px; }

/* Header */
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 2px 6px rgba(35, 25, 110, .2); }
.brand:hover { color: var(--ink); }

.lang { display: flex; align-items: center; gap: 2px; background: rgba(255, 255, 255, .7); border-radius: 999px; padding: 4px; }
.lang ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.lang a {
  display: inline-block; min-width: 44px; min-height: 36px; padding: 6px 10px;
  text-align: center; border-radius: 999px; font-weight: 700; font-size: .9rem;
  color: var(--accent-text); text-decoration: none; line-height: 24px;
}
.lang a:hover { background: var(--accent-soft); }
.lang a[aria-current="page"] { background: var(--accent); color: #fff; }

main { flex: 1; padding-bottom: 48px; }

/* Cards and text */
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px 20px; margin-top: 20px;
}
@media (min-width: 640px) { .card { padding: 32px 36px; } }

h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); font-weight: 800; }
h2 { font-size: 1.35rem; font-weight: 800; margin-top: 1.6em; }
h3 { font-size: 1.05rem; font-weight: 700; margin-top: 1.3em; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
p, ul, ol, dl, table { margin: 0 0 1em; }
li + li { margin-top: .35em; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); }

.page-title { padding-top: 12px; }
.page-title h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: .25em; }
.page-title p { margin: 0; font-weight: 600; color: var(--ink); }

.summary {
  background: var(--accent-soft); border-radius: 18px; padding: 16px 18px;
  font-weight: 600; margin: 0 0 1.2em;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .85); color: var(--accent-text);
  border-radius: 999px; padding: 8px 18px 8px 12px; font-weight: 700; font-size: .98rem;
  box-shadow: 0 6px 16px rgba(35, 25, 110, .10);
}
.pill .check {
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft);
  display: inline-grid; place-items: center; font-size: .8rem; color: var(--accent);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1.05rem;
  text-decoration: none; box-shadow: 0 5px 0 var(--accent-text), 0 10px 22px rgba(58, 49, 184, .3);
  overflow-wrap: anywhere;
}
.btn:hover { background: #4840D6; color: #fff; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--accent-text); }

/* Tables (privacy) */
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--accent-soft); font-weight: 700; }
thead th:first-child { border-top-left-radius: 12px; }
thead th:last-child { border-top-right-radius: 12px; }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 4px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; font-weight: 700; padding: 12px 32px 12px 0; position: relative; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 4px; top: 8px; font-size: 1.4rem; color: var(--accent); font-weight: 700;
}
details[open] summary::after { content: "\2212"; }
details > div { padding: 0 0 8px; }

/* Home */
.hero { padding-top: 8px; display: grid; gap: 24px; align-items: center; }
.hero h1 { margin-bottom: .2em; }
.hero .pitch { font-size: clamp(1.2rem, 3.2vw, 1.5rem); font-weight: 700; margin-bottom: .4em; }
.hero .sub { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.1em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 20px; }
.hero .note { font-size: .95rem; color: var(--ink); margin: 0; }
.hero-art img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

.features { list-style: none; padding: 0; display: grid; gap: 12px; margin: 0; }
.features li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.features .dot {
  flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center; font-weight: 800; font-size: .85rem; margin-top: 1px;
}
@media (min-width: 720px) { .features { grid-template-columns: 1fr 1fr; gap: 14px 28px; } }

.shots {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px 16px; margin: 0 -4px; list-style: none;
}
.shots li { flex: none; width: 200px; scroll-snap-align: start; margin: 0; }
.shots img { border-radius: 22px; box-shadow: 0 10px 24px rgba(35, 25, 110, .18); }
@media (min-width: 900px) {
  .shots { display: grid; grid-template-columns: repeat(6, 1fr); overflow: visible; }
  .shots li { width: auto; }
}


/* Footer */
.site-footer { padding: 24px 0 32px; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer a { font-weight: 700; color: var(--ink); display: inline-block; padding: 6px 0; }
.site-footer p { margin: 0; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1.25fr; padding-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
