@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("raleway-300.woff2") format("woff2");
}

:root {
  --text: #3d3d3d;
  --brand: #30126e;
  --nav-active: #115172;
  --nav: #bebebe;
  --box: #eaeaea;
  --footer-bg: #303030;
  --footer-text: #9a9a9a;
  --warn-bg: #fff4d6;
  --warn-border: #e0b84c;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font: 300 14px/1.7 "Raleway", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

.wrap { max-width: 1170px; margin: 0 auto; padding: 0 15px; }

/* Wartungshinweis */
.maintenance {
  background: var(--warn-bg);
  border-bottom: 2px solid var(--warn-border);
  color: #4a3a00;
  text-align: center;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 400;
}

/* Header */
.site-header { border-bottom: 1px solid #eee; }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 20px;
}
.logo img { display: block; width: 240px; height: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 13px; }
.nav a, .nav span { color: var(--nav); text-decoration: none; }
.nav span { cursor: not-allowed; }
.nav a.active { color: var(--nav-active); font-weight: 400; }

/* Hero */
.hero { position: relative; margin: 20px 0; }
.hero img { display: block; width: 100%; height: auto; }
.hero h1 {
  position: absolute; left: 3%; bottom: 10%; margin: 0;
  padding: 4px 10px;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font: 700 clamp(15px, 2.6vw, 28px)/1.3 "Open Sans", Helvetica, Arial, sans-serif;
}

/* Intro */
.intro {
  background: var(--box);
  border-radius: 10px;
  padding: 18px 25px;
}
.intro p { margin: 0 0 14px; }
.intro p:last-child { margin-bottom: 0; }

/* Interner Bereich */
.internal { margin: 30px 0 50px; }
.internal h2, .impressum h2 {
  position: relative; text-align: center; margin: 0 0 30px;
  font: 400 14px "PT Sans", Helvetica, Arial, sans-serif; color: #000;
}
.internal h2::before, .impressum h2::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  border-top: 1px solid #ddd;
}
.internal h2 span, .impressum h2 span { position: relative; background: #fff; padding: 0 12px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; }
.tile .icon {
  width: 104px; height: 104px; border-radius: 5px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.tile svg { width: 60px; height: 60px; fill: #fff; }
.tile .label {
  font: 400 20px "PT Sans", Helvetica, Arial, sans-serif;
  color: #000; text-decoration: underline;
}
.tile:hover .icon, .tile:focus-visible .icon { filter: brightness(1.25); }

@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr; }
  .header-inner { justify-content: center; }
}

/* Footer */
.site-footer {
  background: var(--footer-bg); color: var(--footer-text);
  font-size: 13px; padding: 15px 0; text-align: center;
}

strong, b { font-weight: 700; }

/* Impressum */
.impressum { margin: 0 0 50px; scroll-margin-top: 20px; }
.imp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 30px; }
.imp-grid p { margin: 0 0 16px; }
.site-footer a { color: #d0d0d0; }
