:root {
  --primary-color: #7B0000;
  --dark-gray: #222;
  --light-gray: #f5f5f5;
  --font-sans: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: var(--font-sans);
  color: var(--dark-gray);
  background: #fff;
  min-height: 100vh;
}

/* ---------- HEADER & BURGER-MENÜ ---------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  background: #fff; /* Immer weiß, kein transparent! */
  backdrop-filter: saturate(180%) blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.07);
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
  box-shadow: none !important;
  filter: none !important;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  padding: 0.7rem 0.3rem;
}

nav a:hover,
nav a:focus {
  color: var(--primary-color);
  outline: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 38px;
  height: 38px;
  cursor: pointer;
  margin-left: 8px;
  z-index: 1200;
}
.hamburger span {
  height: 4px;
  width: 100%;
  background: var(--primary-color);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
  display: block;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

.menu-overlay {
  display: none;
}
body.menu-open .menu-overlay {
  display: block;
  position: fixed;
  z-index: 1199;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.2);
  animation: fadeinOverlay .2s;
}
@keyframes fadeinOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ----- BURGER/MOBILE NAV ----- */
@media (max-width: 800px) {
  header {
    flex-direction: row;
    align-items: center;
    padding: 1rem 1rem 1rem 1rem;
  }
  .logo {
    flex-shrink: 0;
  }
  .hamburger {
    display: flex;
  }
  nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.12);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 0 18px 0;
    display: none;
    z-index: 1200;
    animation: navDropDown 0.29s cubic-bezier(.42,.25,.69,1.42);
  }
  nav.open {
    display: flex;
  }
  nav a {
    padding: 20px 24px;
    width: 100%;
    font-size: 1.25rem;
    border-radius: 0;
    color: var(--dark-gray);
    border-bottom: 1px solid #eee;
    text-align: left;
  }
  nav a:last-child {
    border-bottom: none;
  }
  body.menu-open {
    overflow: hidden;
    height: 100vh;
    position: relative;
    touch-action: none;
  }
  @keyframes navDropDown {
    from { opacity: 0; transform: translateY(-40px);}
    to { opacity: 1; transform: translateY(0);}
  }
}

/* ---------- HERO SECTION ---------- */
#hero {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  background: #7b0000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  padding: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  width: 94%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#hero h1 {
  font-size: 2.95rem;
  font-weight: 800;
  margin-bottom: 1.15rem;
  line-height: 1.07;
  letter-spacing: -0.8px;
}

#hero p {
  font-size: 1.35rem;
  margin: 0 auto 2.3rem auto;
  line-height: 1.55;
  max-width: 540px;
  color: #fff;
  text-align: center;
  font-weight: 400;
  opacity: 0.99;
}

#hero p strong {
  font-weight: 700;
  color: #fff;
}

#hero .btn {
  background: #fff;
  color: var(--primary-color);
  padding: 1rem 2.1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.18rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 3px 16px 0 rgba(123,0,0,0.09);
  margin-top: 0.3rem;
}

#hero .btn:hover {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(123,0,0,0.16);
  transform: translateY(-2px) scale(1.03);
}

/* ---------- MAIN & SECTIONS ---------- */
main {
  padding-top: 110px;
  background: #fff;
}

section {
  padding: 64px 0 52px 0;
  margin: 0 auto;
  width: 100%;
}

.section-title {
  text-align: center;
  font-size: 2.3rem;
  color: var(--primary-color);
  margin-bottom: 2.6rem;
  margin-top: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  word-break: break-word;
  hyphens: auto;
}

/* ---------- CARDS ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto 0 auto;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(0,0,0,0.04);
  transition: transform 0.23s;
  margin-bottom: 0;
  min-height: 210px;
}

.card:hover {
  transform: translateY(-7px) scale(1.012);
}

.card-content {
  padding: 1.7rem 1.4rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-content h3 {
  margin-bottom: 1rem;
  font-size: 1.45rem;
  color: var(--primary-color);
  font-weight: 700;
}

.card-content p {
  font-size: 1.05rem;
  line-height: 1.52;
}

.card-logo {
  display: block;
  margin: 1rem auto 0.8rem auto;
  height: 54px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

/* ---------- FOCUS CARDS ---------- */
.focus-grid2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.focus-card {
  position: relative;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 2.1rem 1.3rem 1.5rem 1.3rem;
  width: calc(32% - 1.5rem);
  min-width: 290px;
  margin: 0.5rem;
  text-align: left;
  box-shadow: 0 2px 18px 0 rgba(0,0,0,0.03);
  transition: transform 0.24s, box-shadow 0.2s;
}

.focus-card:hover {
  transform: translateY(-10px) scale(1.022);
  box-shadow: 0 8px 16px rgba(0,0,0,0.10);
}

.focus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.icon-container {
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
  color: var(--primary-color);
}

.focus-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
  font-weight: 700;
}

.focus-card p {
  font-size: 1.01rem;
  color: var(--dark-gray);
  line-height: 1.52;
  margin-bottom: 0.5rem;
}

/* ---------- FORMULAR ---------- */
form {
  max-width: 500px;
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
  margin-top: 0.8rem;
}

input,
textarea {
  width: 100%;
  padding: 0.82rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: rgba(255,255,255,0.92);
  font-size: 1.08rem;
}

textarea {
  resize: vertical;
}

#contact .btn {
  background: linear-gradient(135deg, var(--primary-color), #a00000);
  color: #fff;
  padding: 1rem;
  border: none;
  width: 100%;
  border-radius: 8px;
  font-size: 1.13rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  box-shadow: 0 4px 6px rgba(0,0,0,0.11);
  transition: background 0.25s, transform 0.21s, box-shadow 0.19s;
  margin-top: 0.5rem;
}

#contact .btn:hover {
  background: linear-gradient(135deg, #a00000, var(--primary-color));
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

#contact .btn::after {
  content: '→';
  margin-left: 0.5rem;
  display: inline-block;
  transition: margin-left 0.2s;
}

#contact .btn:hover::after {
  margin-left: 1rem;
}

/* ---------- INFO-BLOCKS ---------- */
.info-block {
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  padding: 2rem 2rem 1.2rem 2rem;
  background: #faf6f6;
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(123,0,0,0.04);
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.7;
}

/* ---------- MEDIA QUERIES ---------- */
@media (max-width: 1200px) {
  .cards, .focus-grid2 { max-width: 97vw; }
  .focus-card { width: 90vw; min-width: unset; }
}

@media (max-width: 850px) {
  .focus-card { width: 98vw; min-width: unset; }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  #hero {
    min-height: 380px;
  }
  .hero-content {
    max-width: 99vw;
    padding: 0 8px;
  }
  #hero h1 {
    font-size: 2.0rem;
    margin-bottom: 0.85rem;
  }
  #hero p {
    font-size: 1.07rem;
    margin-bottom: 1.3rem;
    max-width: 98vw;
  }
  .info-block { padding: 1.2rem 0.7rem 0.9rem 0.7rem; }
}

@media (max-width: 500px) {
  .section-title { font-size: 1.3rem; }
}

/* ---------- FOOTER ---------- */
footer {
  text-align: center;
  padding: 2.7rem 1rem 2rem 1rem;
  background: var(--dark-gray);
  color: #fff;
  margin-top: 4rem;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
}

footer a {
  color: #ddd;
  margin: 0 0.8rem;
  text-decoration: none;
  transition: color 0.21s;
}

footer a:hover {
  color: var(--primary-color);
}