/* =========================
   Grundlayout / Reset
   ========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;

  display: flex;
  flex-direction: column;
}

/* =========================
   Farbvariablen
   ========================= */
:root {
  --hauptfarbe: #b32020;
  --dunkelrot: #8f1919;
}

/* =========================
   Header & Navigation
   ========================= */
.site-header {
  background: #ffffff;
  border-bottom: 3px solid var(--hauptfarbe);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 55px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--hauptfarbe);
}

/* =========================
   Main / Sections
   ========================= */
main {
  flex: 1 0 auto;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.hero {
  text-align: center;
  background: #fff;
}

.hero h1 {
  color: var(--hauptfarbe);
  margin-bottom: 15px;
}

.section h2 {
  color: var(--hauptfarbe);
  margin-bottom: 20px;
}

/* =========================
   Text-Sektion
   ========================= */
.text-section {
  background: #ffffff;
}

.text-section-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.text-block {
  margin-bottom: 25px;
}

.text-block p {
  line-height: 1.7;
}

/* =========================
   Leistungen
   ========================= */
.leistungen-liste {
  list-style: disc;
  padding-left: 20px;
}

.leistungen-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.leistung-box {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-top: 4px solid var(--hauptfarbe);
  padding: 25px;
}

.leistung-box h2 {
  margin-bottom: 15px;
  color: var(--hauptfarbe);
}

.leistung-box ul {
  padding-left: 20px;
}

/* =========================
   Kontakt
   ========================= */
.kontakt a {
  color: var(--hauptfarbe);
  text-decoration: none;
}

.kontakt a:hover {
  text-decoration: underline;
}

/* =========================
   Footer (Sticky)
   ========================= */
.site-footer {
  background: #eee;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.footer-sep {
  margin: 0 6px;
}

/* =========================
   Cookie Banner
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 12px;
}

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #111;
  color: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.cookie-banner__text a {
  color: inherit;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.cookie-btn--primary {
  background: #fff;
  color: #111;
}

.cookie-btn--secondary {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 900px) {
  .leistungen-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .leistungen-grid {
    grid-template-columns: 1fr;
  }

  .text-section-inner {
    text-align: left;
  }
}
