/*
 * One stylesheet, no framework, two self hosted fonts.
 *
 * The design has to carry a brand before a single photograph exists, so the
 * weight sits in type, scale and one cold accent. Two decisions do most of the
 * work:
 *
 * 1. A dark full bleed hero. Without it the page is an evenly grey document
 *    with nowhere for the eye to land.
 * 2. Hairlines instead of boxes. Every panel being a rounded rectangle with a
 *    grey border is what made the first version read as a form rather than a
 *    brand.
 *
 * The accent is a graphic element, not a link colour. Blue underlined links on
 * white are the strongest signal of an unstyled document there is.
 */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }

:root {
  --ink:       #08151a;
  --paper:     #f2f5f6;
  --white:     #ffffff;
  --muted:     #4a5c64;
  --dim:       #93a7ae;
  --line:      #d3dde1;
  --line-dark: #1f3d48;
  --accent:    #00a7c4;
  --accent-ink: #00707f;

  --display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;

  --wrap: 44rem;
  --gap: clamp(2.75rem, 6vw, 4.5rem);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.15rem);
  line-height: 1.62;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: underline; text-decoration-color: var(--accent);
    text-decoration-thickness: 0.09em; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-ink); text-decoration-color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 0.75rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* ------------------------------------------------------------------ head */

.site-head { background: var(--ink); color: var(--white); }
.head-inner {
  display: flex; flex-wrap: wrap; gap: 0.85rem 2rem;
  align-items: center; justify-content: space-between;
  padding-block: 1.15rem;
  width: min(100% - 2.5rem, 68rem);
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; }
.brand-mark { width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 0.3rem solid var(--accent); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--display); font-size: 1.22rem; font-weight: 700; letter-spacing: -0.025em; }
.brand-sub { font-size: 0.76rem; color: var(--dim); letter-spacing: 0.02em; }

.site-head nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.35rem; }
.site-head nav a {
  font-family: var(--display); font-size: 0.83rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--dim); text-decoration: none; padding-block: 0.2rem;
}
.site-head nav a:hover { color: var(--white); }
.site-head nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--accent); }

/* ------------------------------------------------------------------ hero */

.hero {
  background: var(--ink); color: var(--white);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.75rem, 6vw, 4.25rem);
}
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.35rem, 1.4rem + 4.2vw, 4.4rem);
  line-height: 0.99; letter-spacing: -0.042em;
  text-wrap: balance;
}
.hero .lead {
  margin-top: 1.5rem; max-width: 34rem;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.24rem);
  line-height: 1.55; color: #c3d3d9; text-wrap: pretty;
}

/* Numbers as the hero's second voice: no box, just a rule and scale. */
/* Fixed counts rather than auto-fit. Six facts against a minmax track resolve
   to four columns plus two orphans at the content width, which looks like a
   mistake. Two by three and three by two are both balanced. */
.hero .facts {
  margin-top: clamp(2.25rem, 5vw, 3rem);
  display: grid; gap: 1.7rem 1.75rem;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark); padding-top: 1.7rem;
}
@media (min-width: 40em) {
  .hero .facts { grid-template-columns: repeat(3, 1fr); gap: 1.8rem 2.5rem; }
}
.hero .facts dt {
  font-family: var(--display); font-size: 0.71rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.13em; color: var(--accent);
}
.hero .facts dd {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.12rem, 1rem + 0.45vw, 1.35rem);
  letter-spacing: -0.025em; line-height: 1.2; margin-top: 0.4rem;
  font-variant-numeric: tabular-nums;
}

.hero-cta {
  margin-top: clamp(2rem, 4vw, 2.6rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem;
}

/* ------------------------------------------------------------------ text */

main { padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.body-flow { padding-top: clamp(2.5rem, 6vw, 4rem); }
/* The first heading already has the section padding above it, so its own top
   margin would double the gap under the hero. */
.body-flow > :first-child { margin-top: 0; }

h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.45rem, 1.2rem + 1.1vw, 1.95rem);
  line-height: 1.14; letter-spacing: -0.028em;
  margin-top: var(--gap); margin-bottom: 0.85rem;
  text-wrap: balance;
}
h3 { font-family: var(--display); font-size: 1.12rem; font-weight: 700; letter-spacing: -0.015em;
     margin-top: 2rem; margin-bottom: 0.4rem; }

p + p { margin-top: 1.05rem; }
h2 + p, h2 + ul, h2 + ol, h2 + .table-wrap, h2 + .qa, h2 + .steps { margin-top: 0; }

main ul:not(.termine) { margin-top: 1.15rem; display: grid; gap: 0.7rem; }
main ul:not(.termine) li { padding-left: 1.5rem; position: relative; text-wrap: pretty; }
main ul:not(.termine) li::before {
  content: ""; position: absolute; left: 0; top: 0.66em;
  width: 0.62rem; height: 2px; background: var(--accent);
}

/* ----------------------------------------------------------------- steps */

.steps { margin-top: 1.4rem; border-top: 1px solid var(--line); }
.steps li {
  display: grid; grid-template-columns: 4.6rem 1fr; gap: 0 1.25rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line);
}
.steps-time {
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
  color: var(--accent-ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.steps-text { text-wrap: pretty; }

/* ----------------------------------------------------------------- table */

.table-wrap { margin-top: 1.4rem; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 32rem; font-size: 0.97rem; }
th, td { text-align: left; padding: 0.8rem 1.1rem 0.8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  font-family: var(--display); font-size: 0.71rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.13em; color: var(--muted);
  border-bottom: 1px solid var(--ink); padding-bottom: 0.6rem;
}
tbody th { font-weight: 600; }
tbody td:last-child { color: var(--muted); }

/* -------------------------------------------------------------------- qa */

.qa { margin-top: 1.2rem; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  cursor: pointer; padding: 1.05rem 2.25rem 1.05rem 0;
  font-family: var(--display); font-weight: 600; letter-spacing: -0.012em;
  list-style: none; position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 1.55rem;
  width: 0.8rem; height: 2px; background: var(--accent);
}
.qa summary::before {
  content: ""; position: absolute; right: 0.79rem; top: 1.16rem;
  width: 2px; height: 0.8rem; background: var(--accent); transition: opacity 0.15s;
}
.qa details[open] summary::before { opacity: 0; }
.qa details > p { padding-bottom: 1.15rem; margin-top: -0.25rem; color: var(--muted); max-width: 38rem; }

/* ------------------------------------------------------------------ note */

.note { margin-top: 2rem; padding: 1.15rem 0 1.15rem 1.4rem; border-left: 3px solid var(--accent); }
.note p { font-size: 0.98rem; color: var(--muted); }
.note a { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------- cta */

.cta {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  background: var(--ink); color: var(--white);
  padding: clamp(1.6rem, 4vw, 2.1rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem;
}
.button {
  display: inline-block; background: var(--accent); color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  letter-spacing: -0.01em; text-decoration: none;
  padding: 0.85rem 1.7rem;
}
.button:hover { background: var(--white); color: var(--ink); }
.cta-price {
  font-family: var(--display); font-size: 1.6rem; font-weight: 700;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.cta-sub { flex-basis: 100%; font-size: 0.88rem; color: var(--dim); }

/* --------------------------------------------------------------- termine */

.termine { margin-top: 1.6rem; border-top: 1px solid var(--ink); }
.termine .termin {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 1.25rem;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line);
}
.termin time {
  flex: 1 1 15rem; font-family: var(--display); font-weight: 600;
  letter-spacing: -0.015em; font-size: 1.05rem;
}
.termin-time { color: var(--muted); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.termin-link {
  font-family: var(--display); font-weight: 700; font-size: 0.92rem;
  text-transform: uppercase; letter-spacing: 0.07em;
  text-decoration: none; color: var(--accent-ink);
}
.termin-link:hover { text-decoration: underline; }

/* ----------------------------------------------------------------- legal */

.legal { margin-top: 1.6rem; display: grid; gap: 1rem; }
.legal dt {
  font-family: var(--display); font-size: 0.71rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.13em; color: var(--muted);
}
.legal dd { margin: 0.15rem 0 0; }

/* ------------------------------------------------------------------ foot */

.site-foot { background: var(--ink); color: var(--dim); padding-block: 2.75rem 3.25rem; font-size: 0.9rem; }
.foot-claim {
  font-family: var(--display); font-weight: 600; color: var(--white);
  font-size: 1.02rem; letter-spacing: -0.015em; max-width: 30rem;
}
.site-foot nav { margin-top: 1.15rem; display: flex; gap: 1.5rem; }
.site-foot nav a { color: var(--dim); }
.site-foot nav a:hover { color: var(--white); }
.foot-note { margin-top: 1.15rem; font-size: 0.83rem; color: #6d838b; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
