/*
 * Inform & Stil — Onepager
 * Farben und Schrift übernommen aus dem alten Joomla-Template (Favourite).
 */

/* Variable Schrift: eine Datei deckt 100–900 ab. Lokal gehostet, damit beim
   Seitenaufruf keine Verbindung zu Google aufgebaut wird. */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../schriften/roboto-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../schriften/roboto-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 {
  --rot: #c50d20;
  --rot-dunkel: #a30a1a;
  --text: #444;
  --text-hell: #666;
  --footer: #727272;
  --flaeche: #f2f2f2;
  --linie: #ddd;
  --breite: 1170px;
  --radius: 15px;
}

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

html {
  scroll-behavior: smooth;
  /* Sprungziele nicht unter die klebende Navileiste schieben */
  scroll-padding-top: 60px;
}

body {
  margin: 0;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--rot);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--rot);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-weight: 300;
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 400;
}

p {
  margin: 0 0 1em;
}

.inhalt {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Kopf ------------------------------------------------------------- */

.kopf {
  padding: 22px 0 18px;
}

.kopf .inhalt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 30px;
}

.kopf__logo {
  width: 100%;
  max-width: 600px;
}

.kopf__draht {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  font-size: 0.95rem;
}

.kopf__draht a {
  color: var(--text);
  white-space: nowrap;
}

.kopf__draht a:hover {
  color: var(--rot);
}

.kopf__draht span[aria-hidden] {
  color: var(--rot);
  margin-right: 7px;
  font-weight: 500;
}

/* --- Navigation ------------------------------------------------------- */

.navi {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--rot);
}

.navi ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--breite);
  margin: 0 auto;
}

.navi a {
  display: block;
  padding: 14px 20px;
  color: #fff;
  font-weight: 400;
  font-size: 0.97rem;
}

.navi a:hover,
.navi a:focus-visible {
  background: var(--rot-dunkel);
  text-decoration: none;
}

/* --- Hero ------------------------------------------------------------- */

/* Das Bild liegt als Fläche hinter dem Text, der Text bestimmt die Höhe.
   So bleibt der Hero auch dann ausreichend hoch, wenn der Claim auf schmalen
   Geräten auf drei Zeilen umbricht. */
.hero {
  position: relative;
  overflow: hidden;
  background: #2b2b2b;
  min-height: 300px;
  display: flex;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Dunkler Grund plus gedämpftes Bild: trägt den hellen Schriftzug auch über
	   den ausgefressenen Stellen des Motivs */
  opacity: 0.45;
}

.hero__text {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 46px 20px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
  /* Schleier, der zur Mitte hin abdunkelt – hält den Text auch über den
	   hellen Stellen des Motivs lesbar, ohne das Bild flächig zu überdecken */
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.3) 55%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 4.5vw, 2.9rem);
  margin: 0 0 0.3em;
}

.hero h1 .punkt {
  color: var(--rot);
  font-weight: 500;
}

.hero p {
  margin: 0;
  font-weight: 400;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  max-width: 36em;
}

/* --- Abschnitte ------------------------------------------------------- */

.block {
  padding: 60px 0;
}

.block--grau {
  background: var(--flaeche);
}

.block--schmal {
  padding: 48px 0;
}

.leitsatz {
  text-align: center;
  max-width: 46em;
  margin: 0 auto;
}

.leitsatz blockquote {
  margin: 0 0 0.8em;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.3;
  color: var(--text);
}

.leitsatz blockquote::before {
  content: "„";
  color: var(--rot);
}

.leitsatz blockquote::after {
  content: "“";
  color: var(--rot);
}

/* Überschrift mit rotem Punkt wie im Logo */
.ueberschrift {
  margin-bottom: 1.2em;
}

.ueberschrift h2::after {
  content: ".";
  color: var(--rot);
  font-weight: 500;
}

.ueberschrift p {
  max-width: 46em;
  margin: 0;
  color: var(--text-hell);
}

.bild-band {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
}

.bild-band img {
  width: 100%;
  max-height: 230px;
  object-fit: cover;
}

/* --- Karten ----------------------------------------------------------- */

.karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.karte {
  border: 1px solid #ccc;
  border-radius: var(--radius);
  background: #fff;
  padding: 24px 26px 26px;
}

.block--grau .karte {
  border-color: #d5d5d5;
}

.karte h3 {
  margin-bottom: 0.5em;
}

.karte h3::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rot);
  margin-right: 10px;
  vertical-align: 0.1em;
}

.karte p {
  font-size: 0.97rem;
}

.karte ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.97rem;
}

.karte li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
}

.karte li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rot);
}

.karte > :last-child {
  margin-bottom: 0;
}

/* --- Über uns --------------------------------------------------------- */

.personen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.person {
  border-left: 3px solid var(--rot);
  padding-left: 20px;
}

.person h3 {
  margin-bottom: 0.2em;
}

.person .rolle {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rot);
  margin-bottom: 0.7em;
}

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

/* --- Kontakt ---------------------------------------------------------- */

.kontakt {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.kontakt__draht {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.1rem;
}

.kontakt__draht li {
  margin-bottom: 12px;
}

.kontakt__draht .kennzeichnung {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-hell);
}

address {
  font-style: normal;
}

/* --- Footer ----------------------------------------------------------- */

.fuss {
  background: var(--footer);
  color: #eee;
  padding: 36px 0 30px;
  font-size: 0.93rem;
}

.fuss .inhalt {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 26px;
}

.fuss img {
  width: 200px;
}

.fuss a {
  color: #fff;
  text-decoration: underline;
}

.fuss a:hover {
  color: #fff;
  text-decoration: none;
}

.fuss ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fuss li {
  margin-bottom: 5px;
}

/* --- Rechtstexte (Impressum, Datenschutz) ----------------------------- */

.rechtstext {
  max-width: 46em;
}

.rechtstext h2 {
  font-size: 1.6rem;
  margin-top: 1.6em;
}

.rechtstext h3 {
  margin-top: 1.4em;
}

.rechtstext ul {
  padding-left: 20px;
}

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

.zurueck {
  display: inline-block;
  margin-top: 2.4em;
  font-weight: 400;
}

/* --- Bewegung sparsam ------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* --- Schmale Geräte --------------------------------------------------- */

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .block {
    padding: 44px 0;
  }

  .navi a {
    padding: 11px 14px;
    font-size: 0.9rem;
  }

  .kopf .inhalt {
    justify-content: center;
    text-align: center;
  }

  .kopf__draht {
    justify-content: center;
  }
}

/* --- Druck ------------------------------------------------------------ */

@media print {
  .navi,
  .hero img {
    display: none;
  }

  body {
    color: #000;
    font-size: 11pt;
  }
}
