:root {
  --primary: #d32031;
  --dark: #111;
  --text: #333;
  --light: #f9f9f9;
  --font: 'Roboto', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font);
  scroll-behavior: smooth;
}

.navbar {
  background-color: var(--primary);
  color: white;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1437px;
  margin-left: 70px;
  margin-right: 0px;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1.9rem;
  list-style: none;
  padding-top:25px;
  padding-right: 20px;
}
.nav-links :hover{
    text-decoration: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* HERO SECTION */
#hero {
  background: url('https://images.unsplash.com/photo-1607799279861-27d9aef131c5?auto=format&fit=crop&w=1950&q=80') no-repeat center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 1rem;
}

.hero-content h1 {
  font-size: 3rem;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: white;
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: bold;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--primary);
    position: absolute;
    color:gray;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 1rem;
  }

  .nav-links.show {
    display: flex;
    margin-top:-30px;
  }

  .hamburger {
    display: block;
  }
}
/* Allgemein */
section {
      scroll-margin-top: 130px; /* Höhe deines Navbar-Headers */

  padding: 0rem  4rem 2rem;
  background: white;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}

/* Über uns */
.section-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.placeholder-image {
  width: 300px;
  height: 200px;
  background-color: #ccc;
  border-radius: 1rem;
}

.section-text {
  max-width: 500px;
}

/* Produkte */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #f2f2f2;
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card-image {
  width: 100%;
  height: 150px;
  background-color: #bbb;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* Funktionen */
.feature-list {
  list-style: none;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.icon-square {
  width: 20px;
  height: 20px;
  background-color: var(--primary);
  margin-right: 1rem;
  border-radius: 4px;
}

/* Hamburger-Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
 width: 35px;
    height: 19px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
}


/* Animation wenn aktiv */
.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Menü */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .logo {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: bold;
  gap: 1rem;
  margin-left: -70px;
}
.hamburger .bar {
  background-color: black;
}


  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #c1323f;
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    padding: 1rem;
  }

  .nav-links.show {
    display: flex;
    margin-top: -40px;
  }

  .nav-links li {
    text-align: center;
    margin: 0.5rem 0;
  }
}
.footer {
  background-color: #222;
  color: white;
  padding: 2rem 1rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 2rem;
}

.footer-left {
  flex: 1;
  min-width: 200px;
}

.footer-left h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.footer-right {
  flex: 1;
  min-width: 200px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #ccc;
  border-top: 1px solid #444;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.9rem;
  font-weight: bold;
  gap: 1.5rem;
}

.logo-icon {
  height: 60px; /* oder was optisch passt */
  width: 65px;
}

.footer {
  background-color: #222;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links li a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
}

.footer-links li a:hover {
  text-decoration:underline;
}

.footer-copy {
  font-size: 0.9rem;
  color: #aaa;
}

/* Responsive Anpassung */
@media (max-width: 500px) {
  .footer-links {
    flex-direction: row;
    gap: 1.5rem;
  }

  .footer-copy {
    font-size: 0.8rem;
  }
}

main {
  width: 90%;
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  box-sizing: border-box;
}
h1 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
}

h2 {
  font-size: clamp(1.3rem, 3vw, 1.5rem);
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

p {
  font-size: clamp(1rem, 2vw, 1.1rem);
}
@media (max-width: 600px) {
  h1, h2, h3 {
    text-align: left;
  }

  ul {
    padding-left: 1rem;
  }

  section{
    padding: 0px;
  }
  
}
.feature-list {
  list-style: none;
  margin-top: 2rem;
}

.feature-list li {
      display: table-header-group;

  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1.05rem;
}

.feature-list strong {
  color: #000000;
  font-size: 1.1rem;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.media-item {
  background: #f1f1f1;
  border-radius: 0.75rem;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.media-item:hover {
  transform: translateY(-5px);
}

.media-preview {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hamburger {
  border: 1px solid gray;
}

.hamburger .bar {
  background-color: #fff;
}
