/* Ribbo: Farben wie in der App (src/theme/colors.json im App-Repo), Systemschrift, keine externen Schriften */
:root {
  color-scheme: dark;
  --hintergrund: #090c10;
  --text: #f4f1ea;
  --leise: #858d98;
  --karte: #14191f;
  --linie: #272e36;
  --akzent-start: #ff9829;
  --akzent-ende: #f04b32;
  --verlauf: linear-gradient(90deg, var(--akzent-start), var(--akzent-ende));
  --spalte: 40rem;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--hintergrund);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.rahmen {
  width: min(100% - 2rem, var(--spalte));
  margin-inline: auto;
}

/* Kopf der Unterseiten */
.kopf {
  padding-block: 1.5rem 0.5rem;
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.marke img {
  width: 36px;
  height: 36px;
  border-radius: 22%;
}

main {
  flex: 1;
  padding-bottom: 3rem;
}

main p,
main li {
  hyphens: auto;
  overflow-wrap: break-word;
}

/* Links, Hervorhebungen, Mailadressen und Telefonnummern nicht trennen */
main a,
main strong {
  hyphens: manual;
}

a[href^="mailto:"],
a[href^="tel:"] {
  white-space: nowrap;
}

h1 {
  margin: 1.5rem 0 0.5rem;
  font-size: clamp(2rem, 1.6rem + 2vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: 1.375rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.0625rem;
  line-height: 1.4;
}

p,
ul,
ol,
address {
  margin: 0 0 1rem;
}

address {
  font-style: normal;
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

li::marker {
  color: var(--akzent-start);
}

a {
  color: var(--akzent-start);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

a:focus-visible {
  outline: 2px solid var(--akzent-start);
  outline-offset: 3px;
  border-radius: 4px;
}

.leise {
  color: var(--leise);
}

.kasten {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem 1.25rem 0.25rem;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 16px;
}

.inhalt {
  margin-bottom: 0;
}

.inhalt li {
  margin-bottom: 0.15rem;
}

/* Startseite */
.start {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: 4rem;
  text-align: center;
}

.start .logo {
  width: 128px;
  height: 128px;
  border-radius: 22%;
  box-shadow: 0 0 0 1px var(--linie);
}

.start h1 {
  margin: 1.75rem 0 0.75rem;
  font-size: clamp(2.75rem, 2rem + 4vw, 4rem);
}

.satz {
  max-width: 30rem;
  margin: 0 auto 2rem;
  font-size: 1.25rem;
  line-height: 1.5;
  hyphens: manual;
}

.strich {
  width: 64px;
  height: 4px;
  margin: 0 auto 1.25rem;
  border-radius: 2px;
  background: var(--verlauf);
}

.bald {
  margin: 0;
  color: var(--akzent-start);
  font-weight: 600;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .bald span {
    background: var(--verlauf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* Fusszeile */
.fuss {
  border-top: 1px solid var(--linie);
  padding-block: 1.5rem 2rem;
  font-size: 0.9375rem;
}

.fuss ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fuss li {
  margin: 0;
}

.fuss a {
  color: var(--leise);
  text-decoration: none;
}

.fuss a:hover,
.fuss a[aria-current="page"] {
  color: var(--text);
}

.fuss a:hover {
  text-decoration: underline;
}
