/* onlyB – Farben aus dem Logo: Dunkelgrau #2b2a29 und Weiß */

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/roboto-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #2b2a29;        /* Hintergrund wie Visitenkarte */
  --bg-dark: #222120;   /* Kopf- und Fußbereich */
  --text: #e9e8e6;      /* Fließtext */
  --muted: #a3a19d;     /* Nebentext */
  --white: #fefefe;     /* Überschriften, Logo */
  --line: #4a4846;      /* Trennlinien */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 300 1.0625rem/1.7 "Roboto", system-ui, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--white); text-decoration-color: var(--muted); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--white); }

.wrap { width: 100%; max-width: 60rem; margin: 0 auto; padding: 0 1.25rem; }

/* Kopf */
.site-header { background: var(--bg-dark); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: .9rem; padding-bottom: .9rem; }
.brand img { width: 110px; }
.nav { display: flex; gap: 1.75rem; }
.nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-weight: 400; font-size: .9rem; color: var(--muted); padding: .25rem 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--white); }

main.wrap { flex: 1; padding-top: 3rem; padding-bottom: 4rem; }

/* Startseite: kleines Logo oben ausblenden, das große steht direkt darunter */
.page-home .brand { visibility: hidden; }

/* Startseite */
.hero { text-align: center; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.hero-logo { width: min(100%, 560px); margin: 0 auto 2.25rem; }
.hero-slogan { width: min(100%, 440px); margin: 0 auto; }
.hero-sub { margin: .5rem 0 0; color: var(--muted); font-weight: 400; letter-spacing: .04em; }

.intro { max-width: 38rem; margin: 2.5rem auto 0; text-align: center; }
.intro h1 { font-weight: 300; text-transform: uppercase; letter-spacing: .14em; font-size: 1.6rem; color: var(--white); margin: 0 0 .25rem; }
.lead { font-size: 1.2rem; font-weight: 400; color: var(--white); margin: 0 0 1.5rem; }
.cta { margin-top: 2rem; }
.button { display: inline-block; padding: .7rem 1.6rem; border: 1px solid var(--white); color: var(--white); text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; font-weight: 400; transition: background .2s, color .2s; }
.button:hover { background: var(--white); color: var(--bg); }

/* Textseiten */
.text { max-width: 42rem; }
.text h1 { font-weight: 300; text-transform: uppercase; letter-spacing: .12em; font-size: 1.75rem; color: var(--white); margin: 0 0 1.5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.text h2 { font-weight: 500; font-size: 1.05rem; color: var(--white); margin: 2rem 0 .4rem; }
.text p { margin: 0 0 1rem; }
address { font-style: normal; margin-bottom: 1.5rem; }
address strong { font-weight: 500; color: var(--white); }
.contact span { display: inline-block; min-width: 5.5rem; color: var(--muted); }
.small { font-size: .9rem; color: var(--muted); margin-top: 2rem; }

/* Fuß */
.site-footer { background: var(--bg-dark); border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); }

@media (max-width: 560px) {
  main.wrap { padding-top: 2rem; }
  .brand img { width: 90px; }
  .nav { gap: 1.1rem; }
  .intro h1 { font-size: 1.25rem; letter-spacing: .1em; }
  .site-footer .wrap { flex-direction: column; }
}
