/* ===========================
   Grundlayout & Variablen
=========================== */
:root {
  --bg-light: #f5f5f5;
  --accent-red: #c62828;
  --accent-red-dark: #8e0000;
  --text-dark: #333333;
  --text-light: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===========================
   Container
=========================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===========================
   Header-Bild (zweigeteilt)
=========================== */
.header-image-split {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0;
}

.header-image-split img {
  width: 50%;
  height: auto;
  display: block;
}

/* ===========================
   Header & Navigation
=========================== */
header {
  background: #ffffff;
  border-bottom: 1px solid #dddddd;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: var(--accent-red);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--accent-red);
}

/* ===========================
   Mobile Navigation
=========================== */
@media (max-width: 700px) {
  .nav {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 8px 0;
  }

  nav ul {
    flex-direction: column;
    gap: 4px;
  }

  nav ul li a {
    display: block;
    padding: 4px 0;
    font-size: 0.95rem;
  }
}

/* ===========================
   Buttons
=========================== */
.btn-primary {
  display: inline-block;
  background: var(--accent-red);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background: var(--accent-red-dark);
  transform: translateY(-1px);
}

.btn-primary + .btn-primary {
  margin-left: 10px;
}

@media (max-width: 700px) {
  .btn-primary + .btn-primary {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* ===========================
   HERO
=========================== */
.hero {
  background: #ffffff;
  padding: 60px 0 50px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.hero h2 {
  font-size: 1.3rem;
  font-weight: 500;
  color: #555555;
  margin-bottom: 18px;
}

.hero p {
  margin-bottom: 20px;
  max-width: 520px;
}

.hero-image {
  width: 100%;
  min-height: 220px;
  background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777777;
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

/* ===========================
   Sections
=========================== */
section {
  padding: 50px 0;
}

section:nth-of-type(even) {
  background: #ffffff;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

/* ===========================
   Scroll-Offset für mobile Sprungziele
=========================== */
@media (max-width: 700px) {

  /* Standard-Offset für alle Bereiche */
  section {
    scroll-margin-top: 220px;
  }

  /* Größerer Offset nur für #start */
  #start {
    scroll-margin-top: 240px;
  }
}

/* ===========================
   Two-Column Layout
=========================== */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .hero-inner,
  .two-column {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   Listen
=========================== */
.text-block p {
  margin-bottom: 12px;
}

.list-check {
  list-style: none;
  margin-top: 10px;
}

.list-check li {
  margin-bottom: 6px;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
}

.list-check li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-weight: 700;
}

/* ===========================
   Leistungen (Cards)
=========================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.card {
  background: #ffffff;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.card h4 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.card p {
  font-size: 0.95rem;
}

/* ===========================
   Galerie
=========================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.gallery-item {
  background: #ffffff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  font-size: 0.9rem;
}

.gallery-image {
  width: 100%;
  height: 150px;
  border-radius: 6px;
  background: #e0e0e0;
  margin-bottom: 8px;
}

/* ===========================
   Kontakt
=========================== */
.contact-box {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  max-width: 520px;
}

.contact-box p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.contact-box strong {
  display: inline-block;
  width: 110px;
}

/* ===========================
   Lieferanten
=========================== */
#lieferanten {
  background: #ffffff;
}

.lieferanten-logos {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 25px;
  align-items: center;
  justify-items: center;
}

.lieferanten-logos img {
  max-width: 140px;
  height: auto;
  display: block;
}

@media (max-width: 600px) {
  .lieferanten-logos img {
    max-width: 110px;
  }
}

.lieferanten-hinweis {
  margin-top: 25px;
  font-size: 0.95rem;
  color: #555;
  text-align: center;
}

/* ===========================
   Footer
=========================== */
footer {
  background: #222222;
  color: #bbbbbb;
  padding: 20px 0;
  font-size: 0.85rem;
}

footer a {
  color: #dddddd;
}

footer a:hover {
  color: #ffffff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.footer-right img {
  height: 80px;
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .footer-right img {
    height: 60px;
  }
}

.map-wrapper iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

@media (max-width: 600px) {
  .map-wrapper iframe {
    height: 280px;
  }
}

.btn-back {
  display: inline-block;
  margin: 20px 0;
  padding: 10px 18px;
  background: var(--accent-red);
  color: #ffffff;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-back:hover {
  background: var(--accent-red-dark);
}
