/* Klassische Spiele – portal pages (home, legal, 404). Same look as the games. */
:root { --felt: #166534; --felt-dark: #14532d; --ink: #1f2937; --muted: #4b5563; --accent: #f59e0b;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 18px/1.6 var(--font); color: var(--ink); background: #f3f4f1; }
a { color: var(--felt); }
a:focus-visible { outline: 3px solid #ca8a04; outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.site-header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 12px 16px; background: var(--felt-dark); color: #fff; }
.brand { color: #fff; font-weight: 700; text-decoration: none; font-size: 1.25rem; }
.brand-sub { font-size: .95rem; opacity: .85; }
main { max-width: 980px; margin: 0 auto; padding: 0 14px 28px; }
.hero { background: radial-gradient(ellipse at center, #1d7a42 0%, var(--felt) 55%, var(--felt-dark) 100%); color: #fff;
  border-radius: 16px; padding: 22px 20px; margin: 16px 0; box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.hero h1 { font-size: clamp(1.5rem, 6vw, 2.2rem); line-height: 1.2; margin: 0 0 8px; }
.hero p { margin: 0; font-size: 1.1rem; }
.section-title { margin: 6px 2px 12px; font-size: 1.3rem; }
.games { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .games { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 14px; padding: 18px;
  border: 3px solid #e5e7eb; color: var(--ink); text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
a.tile:hover, a.tile:focus-visible { border-color: var(--accent); }
.tile-icon { font-size: 2.6rem; line-height: 1; margin-bottom: 8px; }
.tile h2 { margin: 0 0 4px; font-size: 1.45rem; color: var(--felt-dark); }
.tile p { margin: 0 0 14px; color: var(--muted); }
.tile .btn { margin-top: auto; display: inline-block; text-align: center; background: var(--felt); color: #fff; font-weight: 700;
  font-size: 1.15rem; padding: 12px 16px; border-radius: 10px; min-height: 52px; }
.tile.soon { opacity: .8; border-style: dashed; }
.tile.soon .btn { background: #e5e7eb; color: #374151; }
.content { background: #fff; border-radius: 14px; padding: 16px 20px; margin-top: 18px; }
.content h1 { font-size: 1.6rem; margin: 6px 0 12px; color: var(--felt-dark); }
.content h2 { font-size: 1.3rem; margin: 20px 0 8px; color: var(--felt-dark); }
.features { padding-left: 1.2em; }
.features li { margin: 6px 0; }
.ph { background: #fef3c7; border: 1px dashed #d97706; padding: 0 4px; border-radius: 4px; font-weight: 700; }
.note { background: #fef3c7; border-left: 4px solid #d97706; padding: 8px 12px; border-radius: 6px; }
.site-footer { text-align: center; font-size: .95rem; color: var(--muted); padding: 12px 12px 30px; }

/* ---------------------------------------------------------- language switch --- */
.site-header { display: flex; align-items: center; }
.site-header .brand-sub { flex: 1 1 auto; min-width: 0; }
.site-header .lang-switch { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.site-header .lang-switch a,
.site-header .lang-switch a:link,
.site-header .lang-switch a:visited {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  min-width: 52px; min-height: 44px; padding: 0 14px; border: 2px solid #ffffff; border-radius: 999px;
  background: transparent; color: #ffffff; font: 700 17px/1 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: .04em; text-decoration: none;
}
.site-header .lang-switch a:hover { background: rgba(255,255,255,.18); color: #ffffff; text-decoration: none; }
.site-header .lang-switch a[aria-current="page"],
.site-header .lang-switch a[aria-current="page"]:link,
.site-header .lang-switch a[aria-current="page"]:visited,
.site-header .lang-switch a[aria-current="page"]:hover { background: #ffffff; color: #14532d; border-color: #ffffff; }
.site-header .lang-switch a:focus-visible { outline: 3px solid #fde047; outline-offset: 3px; }
@media (max-width: 400px) { .site-header .brand-sub { display: none; } }
