:root {
  --blue: #123f6d;
  --blue-dark: #08253f;
  --red: #b71924;
  --cream: #faf6ed;
  --paper: #fffdf8;
  --ink: #202020;
  --muted: #6f6a62;
  --line: rgba(18, 63, 109, 0.16);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

.hero {
  position: relative;
  min-height: 58vh;
  overflow: hidden;
  background: var(--blue-dark);
}

.hero__image {
  width: 100%;
  height: 58vh;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 37, 63, 0.84), rgba(8, 37, 63, 0.32) 46%, rgba(8, 37, 63, 0.08));
}

.hero__overlay {
  position: absolute;
  z-index: 1;
  left: clamp(20px, 7vw, 96px);
  bottom: clamp(28px, 8vw, 86px);
  max-width: 760px;
  color: #fff;
}

.hero__kicker,
.section-label {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__kicker {
  color: #ffd4d4;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: clamp(3.3rem, 10vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
}

.hero__text {
  max-width: 650px;
  margin: 20px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 700;
}

.mainnav {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255, 253, 248, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.mainnav a {
  min-height: 46px;
  padding: 11px 18px;
  color: var(--blue-dark);
  border: 2px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mainnav a:hover,
.mainnav a:focus,
.mainnav a[aria-current="page"] {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

main {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.intro {
  max-width: 850px;
  margin: 58px auto 34px;
  text-align: center;
}

.intro h2,
.feature h2 {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.intro p:not(.section-label) {
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.16rem;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 38px 0 64px;
}

.entry-card {
  min-height: 190px;
  padding: 28px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(18, 63, 109, 0.08);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.entry-card:hover,
.entry-card:focus {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.entry-card span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--red);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: 2.1rem;
  line-height: 1;
}

.entry-card strong {
  display: block;
  color: var(--blue-dark);
  font-size: 1.5rem;
  line-height: 1.2;
}

.entry-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 1rem;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: center;
  margin: 0 0 72px;
  padding: clamp(20px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.feature__image img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.feature__text p {
  color: var(--muted);
  font-size: 1.06rem;
}

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

.site-footer {
  padding: 34px 20px;
  color: #fff;
  background: var(--blue-dark);
  text-align: center;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

/* Unfall-Seite: responsive Bildgruppen mit Bildunterschriften exakt in Bildbreite */
.accident-card--report {
  overflow: hidden;
}

.accident-grid {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 1.4rem 1.6rem;
  align-items: start;
  justify-content: center;
  margin: 1.5rem auto 2.2rem;
}

.accident-grid--single {
  grid-template-columns: minmax(0, 900px);
  justify-content: stretch;
}

.accident-figure {
  margin: 0;
  width: var(--figure-width);
  max-width: 100%;
}

.accident-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.accident-caption {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin-top: .45rem;
  padding: .75rem .85rem;
  background: #f2eee6;
  border-left: 4px solid #b88a4a;
  border-radius: 0 5px 5px 0;
  line-height: 1.55;
}

.accident-textbox {
  box-sizing: border-box;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: .75rem .85rem;
  background: #f2eee6;
  border-left: 4px solid #b88a4a;
  border-radius: 0 5px 5px 0;
  line-height: 1.55;
}

.warning-text {
  display: inline-block;
  margin-top: .45rem;
  font-weight: 600;
}

.injury-list {
  margin: .45rem 0 0 1.2rem;
  padding: 0;
}

.accident-caption--center {
  text-align: center;
}

@media (max-width: 980px) {
  .accident-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .accident-grid--single {
    grid-template-columns: 1fr;
  }

  .accident-textbox {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .hero,
  .hero__image {
    min-height: 460px;
    height: 62vh;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(8, 37, 63, 0.9), rgba(8, 37, 63, 0.15));
  }

  .entry-grid,
  .feature {
    grid-template-columns: 1fr;
  }

  .mainnav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .mainnav a {
    flex: 0 0 auto;
  }
}

@media (max-width: 520px) {
  main {
    width: min(100% - 24px, 1120px);
  }

  .hero__overlay {
    left: 18px;
    right: 18px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .intro {
    margin-top: 42px;
  }

  .entry-card,
  .feature {
    border-radius: 18px;
  }
}
/* NEU für Responsive Design */
img {
    max-width: 100%;
    height: auto;
}

/* NEU: Responsive Bildreihen */
.image-row{
    display:flex;
    gap:1.5rem;
    justify-content:center;
    align-items:flex-start;
    margin:2rem 0;
}

.image-row figure{
    flex:1;
    margin:0;
}

.image-row img{
    width:100%;
    height:auto;
    display:block;
}

.caption-center{
    text-align:center;
    margin-top:.75rem;
}

@media (max-width:768px){
    .image-row{
        flex-direction:column;
    }
}
figure {
    margin: 2rem auto;
    text-align: center;
    max-width: 900px;
}

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

figcaption {
    margin-top: .8rem;
    text-align: justify;
}
.site-footer{
    background:#e9e4dc;
    color:#555;
    border-top:3px solid #b08a3c;
}

.hero > a{
    display:block;
    position:relative;
    color:inherit;
    text-decoration:none;
}
