/* Layout: centered column, logo on top, App-Store-Connect-style tile grid with large squircle icons, quiet footer. */
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --fg: #141418;
  --muted: #6b6f78;
  --line: #e3e5ea;
  --logo: #000000;
  --teal: #2fb8c4;
  --orange: #f0734d;
  --blue: #5b8def;
  --pink: #e04f8e;
  --button: #141418;
  --button-fg: #ffffff;
  --soon: #eceef2;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* Die Seite ist bewusst immer hell – kein Dark Mode. */
:root { color-scheme: light; }
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--body); font-size: 16px; line-height: 1.5;
  padding-block: 40px 56px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }

/* Logo */
.brand { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px 36px; }
.brand svg { display: block; width: 240px; max-width: 100%; height: auto; }
.brand .word { font-family: var(--display); font-weight: 700; font-size: 72px; line-height: 0.9; letter-spacing: -2px; display: flex; align-items: baseline; }
.brand .word .tld { font-weight: 600; font-size: 0.5em; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.brand .word .dash { display: inline-block; width: 26px; height: 3px; border-radius: 2px; background: var(--logo); margin-right: 14px; position: relative; top: -17px; }
.brand { gap: 8px 14px; }
.tagline { margin: 10px 0 0; color: var(--muted); font-size: 17px; max-width: 48ch; }

/* Grid */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 28px 24px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; box-shadow: 0 2px 8px rgba(20,20,24,.05); transition: transform .18s ease, box-shadow .18s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(20,20,24,.10); }
@media (prefers-reduced-motion: reduce) { .tile, .tile:hover { transition: none; transform: none; } }
.icon { position: relative; width: 160px; height: 160px; max-width: 100%; border-radius: 22.5%; overflow: hidden; box-shadow: 0 8px 22px rgba(20,20,24,.18); }
.icon img, .icon svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.icon img { z-index: 1; object-fit: cover; }
.icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); z-index: 2; pointer-events: none; }
.tile h2 { font-family: var(--display); font-weight: 600; font-size: 26px; margin: 6px 0 0; line-height: 1.1; text-wrap: balance; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; min-height: 2.9em; }
.meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.meta span + span::before { content: "·"; margin-right: 6px; }
.btn {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  background: var(--button); color: var(--button-fg); text-decoration: none;
  font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 999px;
}
.btn:hover { opacity: .88; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn svg { width: 16px; height: 16px; }
.tile.soon { background: var(--soon); border-style: dashed; }
.tile.soon .icon { opacity: .9; }
.tile.soon .btn { background: transparent; color: var(--muted); border: 1.5px solid var(--line); cursor: default; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }
footer nav { display: flex; gap: 18px; }

@media (max-width: 560px) {
  body { padding-block: 28px 40px; }
  .wrap { gap: 36px; }
  .brand .word { font-size: 56px; }
  .apps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { padding: 20px 14px 18px; border-radius: 18px; }
  .icon { width: 112px; height: 112px; }
  .tile h2 { font-size: 20px; }
  .tile p { font-size: 13px; }
  .btn { font-size: 13px; padding: 9px 14px; }
}

/* Unterseiten (Kontakt, Impressum, Datenschutz) */
.brand.small svg { width: 150px; }
.brand.small .word { font-size: 44px; letter-spacing: -1px; }
.brand.small .word .dash { width: 16px; height: 2px; margin-right: 9px; top: -10px; }
.brand.small { gap: 6px 9px; }
a.home { text-decoration: none; color: inherit; display: inline-block; }
.page { max-width: 68ch; display: flex; flex-direction: column; gap: 18px; }
.page h1 { font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1.1; margin: 0 0 8px; text-wrap: balance; }
.page h2 { font-family: var(--display); font-weight: 600; font-size: 22px; margin: 18px 0 0; line-height: 1.2; }
.page p, .page li { margin: 0; }
.page ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.page a { color: var(--blue); }
.page address { font-style: normal; }
.page .lead { font-size: 18px; color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; box-shadow: 0 2px 8px rgba(20,20,24,.05); display: flex; flex-direction: column; gap: 8px; }
.card .label { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card .value { font-size: 18px; font-weight: 500; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.btn.outline { background: transparent; color: var(--fg); border: 1.5px solid var(--fg); margin-top: 0; }
.btn.outline:hover { background: var(--fg); color: var(--button-fg); opacity: 1; }
