/* Schrift: Barlow Semi Condensed (selbst gehostet, OFL) als freie Alternative zu "Korolev" (Adobe Fonts) */
@font-face { font-family: "BSC"; src: url(fonts/barlow-sc-300.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "BSC"; src: url(fonts/barlow-sc-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BSC"; src: url(fonts/barlow-sc-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "BSC"; src: url(fonts/barlow-sc-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --red: #be2727;
  --red-dark: #9a1d1d;
  --blue: #004771;
  --grey: #898989;
  --header-bg: #f8f8f8;
  --header-h: 110px;
  --font: korolev, "BSC", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--blue); background: #fff; padding-top: var(--header-h); }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--red); }

.container { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 15px; }

/* ---------- Header (fixiert) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  border-bottom: 1px solid var(--red);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.brand img { display: block; width: 300px; height: auto; }

.nav { display: flex; align-items: flex-end; align-self: flex-end; padding-bottom: 16px; }
.nav a {
  color: var(--red); text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1;
  padding: 10px 9px 0; margin-left: 4px; border-top: 2px solid var(--grey);
  transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a.active { color: var(--red-dark); border-top-color: var(--red); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--red); margin: 5px 0; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Layout: Siegel links, Inhalt rechts ---------- */
.main { display: grid; grid-template-columns: 237px 1fr; padding-top: 16px; }
.sidebar { padding-right: 15px; }
.siegel { position: sticky; top: calc(var(--header-h) + 16px); display: block; width: 150px; height: 150px; }
.content { min-width: 0; padding-bottom: 60px; }

/* ---------- Typografie ---------- */
h1 { color: var(--red); font-size: 40px; font-weight: 300; line-height: 1.28; text-transform: uppercase; margin: 0 0 10px; }
h2 {
  color: var(--red); font-size: 32px; font-weight: 700; line-height: 1; text-transform: uppercase;
  margin: 70px 0 12px; padding-top: 14px; position: relative;
}
h2::before { content: ""; position: absolute; top: 0; left: 0; width: 55px; height: 1px; background: var(--red); }
h2.h2-small { font-size: 28px; }
h3 { color: var(--blue); font-size: 27px; font-weight: 500; line-height: 1.15; margin: 26px 0 8px; }
h3.intro-head { font-size: 19px; font-weight: 700; margin: 22px 0 6px; }
p { color: #000; font-size: 17px; line-height: 1.3; margin: 0 0 12px; }
.content ul { padding-left: 40px; margin: 10px 0 18px; }
.content li { color: var(--blue); font-size: 16px; line-height: 1.5; margin-bottom: 4px; }
.content li strong { text-decoration: underline; }
.price { color: var(--blue); }

/* ---------- Formular ---------- */
.messages-info {
  display: flex; gap: 10px; align-items: flex-start;
  background: #d9edf7; color: #31708f; border-left: 4px solid #31708f;
  padding: 14px 18px; margin: 18px 0 22px; border-radius: 0 4px 4px 0;
}
.messages-info p { color: #31708f; font-size: 15px; margin: 0; line-height: 1.6; }
.info-icon { flex: none; width: 16px; height: 16px; border-radius: 50%; background: #31708f; color: #d9edf7; font-size: 11px; font-weight: 700; display: grid; place-items: center; margin-top: 4px; }

.webform { max-width: 480px; }
.webform label { display: block; color: #333; font-size: 16px; font-weight: 400; margin: 0 0 8px; }
.webform input[type=text], .webform input[type=email], .webform input[type=tel], .webform textarea {
  display: block; width: 100%; margin-top: 3px;
  font: inherit; font-size: 15px; color: var(--red);
  padding: 5px 10px; height: 34px;
  border: 1px solid var(--red); border-radius: 0; background: #fff;
}
.webform textarea { height: auto; resize: vertical; }
.webform input:focus, .webform textarea:focus { outline: none; box-shadow: 0 0 0 2px rgba(190,39,39,.2); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.checks { margin: 18px 0 10px; max-width: 560px; }
.webform .check { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; line-height: 1.4; margin-bottom: 12px; cursor: pointer; color: #333; }
.check input { flex: none; margin: 4px 0 0; width: 16px; height: 16px; accent-color: var(--red); }
.agb { color: var(--red); font-size: 17px; text-decoration: none; }
.agb:hover { text-decoration: underline; }
.actions { text-align: left; max-width: 560px; margin-top: 30px; }
.submit {
  display: inline-block; width: 160px; padding: 10px 12px;
  background: var(--red); color: #fff; border: 0; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  transition: background .2s;
}
.submit:hover { background: var(--red-dark); }
.submit:disabled { opacity: .6; cursor: wait; }

.webform .invalid { box-shadow: 0 0 0 2px rgba(190,39,39,.35); background: #fff6f6; }
.check.invalid span { color: var(--red); }
.err { display: block; color: var(--red); font-size: 12px; margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 18px; margin: 0 0 20px; font-size: 16px; }
.form-status.ok { background: #dff0d8; color: #3c763d; border-left: 4px solid #3c763d; }
.form-status.error { background: #f2dede; color: #a94442; border-left: 4px solid #a94442; }

/* ---------- Kontakt ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 70px 30px; margin-top: 24px; }
.contact { border: 1px solid var(--red); padding: 22px 15px 30px; min-height: 470px; }
.contact h3 { font-size: 27px; font-weight: 400; line-height: 1.15; margin: 10px 0 8px; }
.contact img { display: block; width: auto; max-width: 100%; max-height: 80px; margin: 0 0 6px; }
.contact p { color: #000; font-size: 14px; font-weight: 400; line-height: 20px; margin: 0; }
.contact a { color: var(--red); text-decoration: none; word-break: break-word; }
.contact a.plain { color: #000; }
.contact a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--red); padding: 15px 0; }
.footer-inner { display: flex; justify-content: flex-end; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-end; padding-right: 15px; }
.site-footer a { color: #fff; font-weight: 700; font-size: 17px; line-height: 22px; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  :root { --header-h: 80px; }
  .brand img { width: 220px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; padding: 0 15px 10px;
    background: var(--header-bg); border-bottom: 1px solid var(--red);
  }
  .nav.open { display: flex; }
  .nav a { font-size: 19px; padding: 12px 0 12px 20px; margin: 0; }
  .main { grid-template-columns: 1fr; }
  .sidebar { display: flex; justify-content: center; padding: 10px 0 0; }
  .siegel { position: static; width: 120px; height: 120px; }
}
@media (max-width: 640px) {
  h1 { font-size: 30px; }
  h2 { font-size: 26px; margin-top: 50px; }
  h3 { font-size: 22px; }
  .contacts { grid-template-columns: 1fr; gap: 24px; }
  .contact { min-height: 0; }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
  .content ul { padding-left: 22px; }
}
