/* ============================================================
   PROB-AR — strona firmowa (prob-ar.de)
   System wizualny: design/branding/logo-icon-concepts-2026-07-13/icon_spec.html
     Nachtblau  #1E2A3A  — atrament
     Messing    #8C6F36  — akcent (matowy)
     Creme      #ECE7D8  — tło
   Kroje: Cinzel 600 (wordmark), EB Garamond 400/500 (tekst).
   Kroje SERWOWANE Z NASZEJ DOMENY, nie z fonts.gstatic.com — inaczej każde
   wejście przekazywałoby adres IP odwiedzającego do Google, co musielibyśmy
   opisać we własnej Datenschutzerklärung (LG München I, 20.01.2022, 3 O 17493/20).
   Obie rodziny na licencji SIL OFL 1.1 — self-hosting dozwolony.
   ============================================================ */

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/cinzel-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/ebgaramond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --nachtblau: #1e2a3a;
  --messing: #8c6f36;
  --creme: #ece7d8;
  --papier: #f2efe6;
  --gedaempft: #6b6a5f;
  --linie: rgba(30, 42, 58, 0.14);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: var(--creme);
  color: var(--nachtblau);
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
}

/* --- Wordmark ------------------------------------------------
   Kanoniczny zapis nazwy to „PROB-AR": wersaliki z myślnikiem.
   Zapis wielbłądzi (małe p, sklejone AR) jest WYCOFANY i nie wolno go użyć
   nigdzie na tej stronie — pilnuje tego bramka treści w tools/site-deploy.sh. */
.wordmark {
  font-family: 'Cinzel', 'EB Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--nachtblau);
  text-transform: none;
  line-height: 1;
  white-space: nowrap;
}

.wordmark .bindestrich {
  color: var(--messing);
}

/* --- Strona główna ------------------------------------------- */
.start {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 40px;
}

.start__inner {
  width: 100%;
  max-width: 620px;
  text-align: center;
}

.start .wordmark {
  font-size: clamp(30px, 6.4vw, 44px);
  /* letter-spacing dokłada światło po ostatniej literze — kompensujemy,
     żeby blok został optycznie wyśrodkowany */
  margin-left: 0.22em;
}

.start__regel {
  width: 56px;
  height: 1px;
  background: var(--messing);
  border: 0;
  margin: 26px auto 30px;
}

.start__satz {
  font-size: clamp(20px, 3.4vw, 25px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--nachtblau);
  text-wrap: balance;
}

.start__kontakt {
  margin-top: 38px;
  font-size: 17px;
  letter-spacing: 0.01em;
}

.start__kontakt a {
  color: var(--messing);
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 111, 54, 0.42);
  padding-bottom: 1px;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.start__kontakt a:hover,
.start__kontakt a:focus-visible {
  color: var(--nachtblau);
  border-bottom-color: var(--nachtblau);
}

/* --- Stopka --------------------------------------------------- */
.fuss {
  padding: 22px 24px 34px;
  text-align: center;
  font-size: 14.5px;
  color: var(--gedaempft);
}

.fuss a {
  color: var(--gedaempft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.fuss a:hover,
.fuss a:focus-visible {
  color: var(--nachtblau);
  border-bottom-color: var(--linie);
}

.fuss__trenner {
  margin: 0 12px;
  color: var(--linie);
}

/* --- Podstrony prawne ------------------------------------------ */
.rechtstext {
  flex: 1;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: 44px 24px 8px;
}

.rechtstext .wordmark {
  font-size: 19px;
  display: inline-block;
  margin-bottom: 46px;
}

/* Wordmark w nagłówku podstrony jest linkiem do strony głównej, ale NIE ma
   wyglądać jak link w tekście — reguła `.rechtstext a` dokłada mu kreskę pod
   spodem, więc trzeba ją tu zdjąć jawnie. */
.rechtstext .wordmark a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0;
}

.rechtstext h1 {
  font-family: 'Cinzel', 'EB Garamond', Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.rechtstext h1 + .quelle {
  font-size: 15px;
  color: var(--gedaempft);
  margin-bottom: 34px;
}

.rechtstext h2 {
  font-family: 'Cinzel', 'EB Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 34px 0 10px;
}

.rechtstext p {
  margin-bottom: 14px;
}

.rechtstext ul {
  margin: 0 0 14px 22px;
}

.rechtstext li {
  margin-bottom: 6px;
}

.rechtstext a {
  color: var(--messing);
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 111, 54, 0.42);
}

.rechtstext a:hover,
.rechtstext a:focus-visible {
  color: var(--nachtblau);
  border-bottom-color: var(--nachtblau);
}

.rechtstext .anschrift {
  font-style: normal;
  line-height: 1.75;
}

.rechtstext hr {
  border: 0;
  border-top: 1px solid var(--linie);
  margin: 40px 0 22px;
}

.rechtstext .stand {
  font-size: 14px;
  color: var(--gedaempft);
}

@media (max-width: 480px) {
  body {
    font-size: 17px;
  }
  .start {
    padding: 40px 20px 28px;
  }
  .rechtstext {
    padding: 32px 20px 8px;
  }
}
