/* Shared by / (German) and /en (English) — one stylesheet, two languages. */
/* ── Variant C · "Mesh" — one screen, no scroll ───────────────────────────
     Three grid rows sized to 100dvh: menu, content, footer. Nothing below the
     fold because there is no fold. The hero and the three cards now sit side
     by side rather than stacked — that is what buys back the vertical space,
     since the tall hero was what pushed the cards off screen.

     Anything that could grow is clamped against `vh` as well as `vw`, so on a
     short laptop screen the type shrinks instead of the page scrolling.      */
  :root {
    --blue: #3f8fd6;
    --coral: #ef6b6b;
    --ink: #111418;
    --paper: #f7f6f2;
    --ball: url('images/ball-32.png') 16 16, auto;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, Helvetica, sans-serif; }
  html { cursor: var(--ball); }
  a, button { cursor: var(--ball); }

  /* `.screen` is the old body: one viewport, nothing below the fold *within
     it*. The document itself now scrolls, because 110 words cannot rank and
     the venue/price content has to live somewhere. The promise kept is the one
     that was asked for — everything essential visible without scrolling. */
  body {
    color: var(--ink);
    background:
      repeating-linear-gradient(45deg, rgba(17,20,24,.09) 0 1px, transparent 1px 14px),
      repeating-linear-gradient(-45deg, rgba(17,20,24,.09) 0 1px, transparent 1px 14px),
      var(--paper);
  }

  .screen {
    height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
  }

  /* ── menu ── */
  header {
    margin: clamp(.6rem, 1.4vh, 1rem) auto 0;
    max-width: 1100px; width: calc(100% - 2rem);
    background: var(--ink); border-radius: 999px;
    display: flex; align-items: center; justify-content: space-between;
    padding: .5rem .55rem .5rem 1.15rem; gap: 1rem;
    box-shadow: 0 10px 30px rgba(17,20,24,.22);
  }
  .brand { display: flex; align-items: center; gap: .55rem; color: #fff; font-weight: 800; font-size: .9rem; }
  .brand img { width: 26px; height: 26px; }
  nav { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem 1.2rem; }
  /* Scoped to the header on purpose: the footer's links are in a <nav> as
     well, and an unscoped `nav a` painted them white on white paper — legible
     at rest only because `footer a` happened to win, invisible on hover. */
  header nav a { color: rgba(255,255,255,.8); text-decoration: none; font-weight: 700; font-size: .85rem; }
  header nav a:hover { color: #fff; }
  header nav a.cta { background: #fff; color: var(--ink); border-radius: 999px; padding: .45rem 1.05rem; }
  header nav a.cta:hover { background: #d2ed05; }

  /* ── content: hero left, cards right ── */
  main {
    max-width: 1100px; width: calc(100% - 2rem); margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.75rem); align-items: center;
    /* top padding stays small (the gap you flagged); the bottom one is what
       lifts the block above dead centre on a tall screen. */
    padding: clamp(.5rem, 1.4vh, 1rem) 0 clamp(1rem, 7vh, 5rem);
    min-height: 0;
  }
  .hero { display: grid; gap: clamp(.5rem, 1.4vh, .9rem); align-content: center; }
  h1.kicker, .kicker {
    font-size: clamp(.62rem, .8vw, .74rem); letter-spacing: .2em; text-transform: uppercase;
    font-weight: 800; color: var(--blue); margin: 0; line-height: 1.3;
  }
  .slogan {
    font-size: clamp(1.9rem, min(4.6vw, 6.2vh), 3.9rem);
    line-height: 1.02; letter-spacing: -.035em; font-weight: 700;
  }
  .slogan em { font-style: normal; color: var(--coral); }
  .lede { font-size: clamp(.88rem, 1.05vw, 1rem); line-height: 1.6; color: #414852; max-width: 42ch; }
  /* Brand line. Three logo strokes → three words → three initials, so "PCD"
     and "Padel Community Darmstadt" are the same object at two sizes.

     These are the page's own two accents, not a third pair invented for the
     brand line: --coral is exactly the red on "players" in the headline, and
     --blue is exactly the kicker above it. One red and one blue on the whole
     page.

     Trade-off, stated: at this size the accents measure 2.7:1 (coral) and
     3.1:1 (blue) against the paper, under the 4.5:1 AA floor. Only the three
     brand words carry it — the sentence they sit in stays near-black — so
     nothing informational depends on reading a low-contrast colour. */
  .lede strong { font-weight: 800; }
  .brand-blue { color: var(--blue); }
  .brand-ink  { color: var(--ink); }
  .brand-red  { color: var(--coral); }
  .pcd { letter-spacing: .04em; font-size: 1.12em; white-space: nowrap; }
  /* ── cards ── */
  .cards { display: grid; gap: clamp(.55rem, 1.2vh, .85rem); align-content: center; min-height: 0; }
  .card {
    background: #fff; border: 2px solid var(--ink); border-radius: 16px;
    padding: clamp(.7rem, 1.5vh, 1.05rem) clamp(.9rem, 1.6vw, 1.2rem);
    display: flex; align-items: center; gap: clamp(.7rem, 1.4vw, 1.1rem);
    text-decoration: none; color: inherit;
    box-shadow: 5px 5px 0 var(--ink);
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
  .card .body { display: grid; gap: .15rem; min-width: 0; }
  .card .tag { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; }
  .card.app .tag { color: var(--blue); }
  .card.chat .tag { color: #1faa53; }
  .card.feedback .tag { color: var(--coral); }
  .card h2 { font-size: clamp(.95rem, min(1.25vw, 1.9vh), 1.15rem); letter-spacing: -.01em; }
  .card p { font-size: clamp(.76rem, .9vw, .85rem); line-height: 1.45; color: #545b66; }
  .card .arrow { margin-left: auto; font-weight: 800; font-size: 1.1rem; }
  /* On the WhatsApp card the QR is what gets pushed right; the arrow then
     sits after it, in the same slot as the other two cards. */
  .card .qr + .arrow { margin-left: 0; }
  .card .qr { flex-shrink: 0; margin-left: auto; }
  .card .qr img { display: block; width: clamp(56px, 8vh, 84px); height: clamp(56px, 8vh, 84px); }

  /* ── footer, centred ── */
  /* Two rows, one column: the label sits above its links instead of joining
     the same wrap flow, where a narrow screen broke the row after "Feedback"
     and left Instagram stranded on a line of its own. */
  footer {
    display: flex; flex-direction: column; align-items: center; gap: .4rem;
    text-align: center; padding: clamp(.6rem, 1.6vh, 1.1rem) 1rem;
    color: #6b7280; font-size: .78rem;
  }
  .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; }
  footer a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 1px; }
  footer a:hover { color: var(--coral); border-bottom-color: var(--coral); }

  /* ── phones: one column. A hero plus three cards genuinely cannot fit a
       small screen without shrinking type past readable, so here the page may
       scroll — the no-scroll promise is kept wherever there is room for it. ── */
  @media (max-width: 820px) {
    .screen { height: auto; min-height: 100dvh; overflow: visible; }
    /* Stacked on a phone, so both rows centre rather than hanging off the
       left edge of a pill that spans the full width. */
    header { flex-direction: column; align-items: center; border-radius: 20px; padding: .75rem 1rem; }
    header nav { justify-content: center; width: 100%; }
    /* The three-line headline is kept here too — it is the shape of the brand
       line, not a desktop-only flourish, so the <br>s stay and the type is
       sized to fit them on a 360px screen. */
    main { grid-template-columns: 1fr; gap: 1.1rem; padding: 1rem 0 1.25rem; }
    .slogan { font-size: clamp(1.75rem, 7.6vw, 2.4rem); }
    .lede { font-size: .9rem; }
    .cards { gap: .55rem; }
    .card { padding: .7rem .85rem; }
    .card p { font-size: .78rem; }
    .card .qr img { width: 58px; height: 58px; }
    footer { padding: .8rem 1rem 1.1rem; }
  }
  /* very short laptop screens: drop the card descriptions rather than scroll */
  @media (min-width: 821px) and (max-height: 680px) {
    .card p { display: none; }
    .lede { font-size: .85rem; }
  }

/* ── Content below the first screen ─────────────────────────────────────────
   Sections that exist so there is something for a search engine to rank, and
   something for a visitor who wants the detail: which courts, what they cost,
   how to start. Same mesh ground, same two accents, cards reused. */
.content { max-width: 1100px; width: calc(100% - 2rem); margin: 0 auto; padding: clamp(2rem, 6vh, 4rem) 0; }
.content section { margin-bottom: clamp(2.5rem, 7vh, 4.5rem); scroll-margin-top: 1.5rem; }
.content h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem); letter-spacing: -.025em; line-height: 1.1;
  margin-bottom: .6rem;
}
.content h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.content p { font-size: clamp(.92rem, 1.05vw, 1rem); line-height: 1.65; color: #414852; max-width: 68ch; }
.content p + p { margin-top: .7rem; }
.content .lead { margin-bottom: 1.4rem; }

.venues { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 1.2rem; }
.venue {
  background: #fff; border: 2px solid var(--ink); border-radius: 16px;
  padding: 1rem 1.15rem; box-shadow: 5px 5px 0 var(--ink);
  display: flex; flex-direction: column; gap: .35rem;
}
.venue .where { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--blue); }
.venue dl { display: grid; grid-template-columns: auto 1fr; gap: .15rem .6rem; font-size: .85rem; margin-top: .2rem; }
.venue dt { color: #6b7280; }
.venue dd { margin: 0; font-weight: 600; }

.pricetable { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .88rem; }
.pricetable caption { text-align: left; font-size: .8rem; color: #6b7280; padding-bottom: .5rem; }
.pricetable th, .pricetable td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid rgba(17,20,24,.15); }
.pricetable thead th { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: #6b7280; }
.pricetable td:not(:first-child) { font-variant-numeric: tabular-nums; }
.pricetable tbody tr:last-child td { border-bottom: 0; }
.tablewrap { overflow-x: auto; }

.faq { display: grid; gap: .8rem; margin-top: 1.2rem; }
.faq details { background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: .85rem 1.1rem; }
.faq summary { font-weight: 700; cursor: var(--ball); font-size: .95rem; }
.faq details[open] summary { margin-bottom: .5rem; }
.faq p { font-size: .88rem; }

.scrollcue {
  display: flex; justify-content: center; padding-bottom: .5rem;
  font-size: .75rem; color: #6b7280; font-weight: 700;
  letter-spacing: .05em; text-decoration: none;
}
.scrollcue:hover { color: var(--ink); }
@media (max-width: 820px) { .content { padding: 1.5rem 0 2rem; } }

.fineprint { margin-top: .8rem; font-size: .8rem; color: #6b7280; }
