/* ZahnZeit – Rechtsseiten. Farben und Schrift aus der App
   (lib/ui/app_theme.dart, Nunito lokal). Kein JavaScript, keine
   Cookies, keine Anfrage an Dritte. Kein Dunkelmodus: die App ist hell. */

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Nunito-Regular.ttf") format("truetype");
}

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Nunito-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Nunito-Bold.ttf") format("truetype");
}

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/Nunito-ExtraBold.ttf") format("truetype");
}

:root {
  --blau: #2E7CF6;
  --blau-tief: #1B5FD0;
  --text: #35415C;
  --text-leise: #64708C;
  --linie: #DCE4F2;
  --flaeche: #FFFFFF;
  --hintergrund: #F1F7FF;
  --hintergrund-unten: #D9EAFF;
  --akzent-flaeche: #DCEBFF;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: linear-gradient(180deg, var(--hintergrund) 0%, var(--hintergrund-unten) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: Nunito, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}

.kopf { padding: 20px 16px 0; }

.kopf .innen { max-width: 760px; margin: 0 auto; }

.markenzeile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kopf a.marke { display: block; line-height: 0; }

.kopf .logo {
  width: 56px;
  height: 56px;
  border-radius: 13px;
}

.kopf .wort {
  color: var(--text);
  text-decoration: none;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.kopf p {
  margin: 2px 0 0;
  color: var(--text-leise);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

nav.wege .innen {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 16px 0;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

nav.wege a {
  display: block;
  padding: 12px 12px 10px;
  color: var(--text-leise);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 3px solid transparent;
}

nav.wege a:hover { color: var(--text); }

nav.wege a[aria-current="page"] {
  color: var(--blau-tief);
  border-bottom-color: var(--blau);
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px 64px;
}

.karte {
  background: var(--flaeche);
  border-radius: 20px;
  padding: 24px 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(46, 124, 246, 0.08);
}

h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.stand {
  color: var(--text-leise);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 24px;
}

h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 32px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--linie);
}

.karte > h2:first-child,
h1 + h2 { border-top: 0; padding-top: 0; margin-top: 0; }

h3 { font-size: 18px; font-weight: 700; margin: 22px 0 6px; }

p { margin: 0 0 14px; }

ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 7px; }

a { color: var(--blau-tief); }

a:focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: 3px;
}

strong { font-weight: 700; }

.kernsatz {
  background: var(--akzent-flaeche);
  border-left: 4px solid var(--blau);
  border-radius: 0 16px 16px 0;
  padding: 16px 18px;
  margin: 0 0 22px;
}

.kernsatz p:last-child { margin-bottom: 0; }

.anschrift {
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 14px;
}

.leise { color: var(--text-leise); font-size: 16px; font-weight: 600; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 16px;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--linie);
}

th { font-weight: 700; width: 40%; }

tbody tr:last-child th,
tbody tr:last-child td { border-bottom: 0; }

footer { padding: 8px 16px 40px; }

footer .innen {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-leise);
  font-size: 15px;
  font-weight: 600;
}

footer a { color: var(--text-leise); margin-right: 14px; font-weight: 700; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 26px; }
  .kopf .wort { font-size: 24px; }
  .kopf .logo { width: 52px; height: 52px; border-radius: 12px; }
  .karte { padding: 20px 16px; }
  th { width: auto; display: block; padding-bottom: 2px; border-bottom: 0; }
  td { display: block; padding-top: 0; padding-bottom: 12px; }
}
