/* =========================
   Variablen & Basics
========================= */
:root {
  --primary-color: #b80000;
  --secondary-color: #666666;
  --text-color: #000000;
}

html, body { height: 100%; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text-color);
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

section { scroll-margin-top: 100px; }

/* =========================
   NAVBAR / HEADER
========================= */
#mainHeader {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background-color .3s ease, box-shadow .3s ease, padding .3s ease;
  background-color: #fff;
}
#mainHeader.scrolled {
  background-color: rgba(255,255,255,.95);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.navbar .nav-link {
  color:#333;
  font-weight:500;
}
.navbar .nav-link:hover {
  color: var(--primary-color);
}

.logo-img { height: 40px; max-height: 40px; transition: height .25s ease; }
@media (min-width: 768px)  { .logo-img { height: 55px; } }
@media (min-width: 992px)  { .logo-img { height: 65px; } }
@media (min-width: 1200px) { .logo-img { height: 75px; } }

#mainHeader.scrolled .logo-img {
  height: 40px;
  max-height: 40px;
}

.navbar { padding-top: .5rem; padding-bottom: .5rem; }
@media (min-width: 992px) {
  .navbar { padding-top: .75rem; padding-bottom: .75rem; }
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('hof.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-content {
  color:#fff;
  text-align:center;
  max-width: 800px;
}

.hero-logo {
  max-width: 300px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display:flex;
  gap:1rem;
  justify-content:center;
  flex-wrap:wrap;
}

/* Buttons im Branding-Stil */
.btn {
  padding:.8rem 1.5rem;
  font-weight:bold;
  border-radius:5px;
  border:none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: scale(1.05); }

.btn-primary {
  background-color: var(--primary-color);
  color:#fff;
}
.btn-primary:hover {
  background-color:#900000;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color:#fff;
}
.btn-secondary:hover {
  background-color:#4d4d4d;
}

/* =========================
   ÜBER UNS
========================= */
#ueberuns h2 { font-size: 2.5rem; font-weight:700; }
#ueberuns .lead { font-size:1.1rem; line-height:1.6; }
#ueberuns .bi { transition: transform .3s ease, color .3s ease; }
#ueberuns .bi:hover { transform: scale(1.2); color: var(--primary-color); }

/* =========================
   PRODUKTE (nur Basics)
========================= */
#produkte {
  background:#fff;
  padding: 5rem 0;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}

.section-title {
  font-size:2.5rem;
  font-weight:700;
  position:relative;
  display:inline-block;
}
.section-title .highlight{
  color: var(--primary-color);
}
.section-title::after{
  content:"";
  position:absolute;
  width:60px;
  height:4px;
  background:var(--primary-color);
  bottom:-10px;
  left:50%;
  transform: translateX(-50%);
  border-radius:2px;
}

.product-card{
  background:#fff;
  border-radius: 15px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.product-card img{
  width:100%;
  height:250px;
  object-fit:cover;
  transition: transform .35s ease;
  cursor: pointer;
}
.product-card:hover{
  transform: translateY(-6px);
  box-shadow:0 8px 24px rgba(0,0,0,.15);
}
.product-card:hover img{ transform: scale(1.05); }

/* =========================
   Feature Cards & Icons
========================= */
.content-section{ background:#f8f8f8; }

.feature-card{
  position:relative;
  overflow:hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card::before{
  content:"";
  position:absolute; inset:0 0 auto 0;
  height:4px;
  background: linear-gradient(90deg, #dc3545, #ff6b6b);
}
.feature-card:hover{
  transform: translateY(-4px);
  box-shadow:0 12px 28px rgba(0,0,0,.12);
}

.feature-icon{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:12px;
  background: rgba(220,53,69,.1);
  color:#dc3545;
}

.feature-icon .bi { color:#dc3545; }

/* =========================
   Timeline / Kontakt
========================= */
.step-number i { color:#fff; }

/* =========================
   Footer
========================= */
.copyright-bar{
  width:100%;
  background:#111;
  color:#fff;
  text-align:center;
  padding:.7rem 0;
  font-size:.9rem;
}
.copyright-bar a{
  color:#fff;
  text-decoration:none;
  margin:0 5px;
}
.copyright-bar a:hover{ text-decoration:underline; }

/* =========================
   AOS
========================= */
[data-aos]{
  opacity:0;
  transform: translateY(30px);
  transition-property: opacity, transform;
}
[data-aos].aos-animate{
  opacity:1;
  transform: translateY(0);
}

/* =========================
   Responsive Hero-Typo
========================= */
@media (max-width: 768px){
  .hero-content h1{ font-size:2rem; }
  .hero-content p{ font-size:1rem; }
}