/*============================================================
 Variables
============================================================*/
:root {
  --color-primary: #ef4444;
  --color-primary-hover: #dc2626;
  --color-primary-light: #fee2e2;

  --color-dark: #111827;
  --color-light: #ffffff;
  --color-muted: #9ca3af;

  --color-footer-bg: #111827;
  --color-footer-border: #1f2937;

  --font-body: 'Source Sans Pro', sans-serif;
}

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

html, body {
  height: 100%;
  width: 100%;
  background-color: var(--color-light);
  font-family: var(--font-body);
  color: var(--color-dark);
}

html { scroll-padding-top: 120px; }

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-dark);
}

section { margin-top: 0; }

/* Global Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/*============================================================
 Global Links
============================================================*/
a {
  color: var(--color-dark);
  text-decoration: underline;
  transition: color 0.2s ease;
}
a:hover { color: var(--color-primary); }

/*============================================================
 Header
============================================================*/
.site-header {
  background: var(--color-light);
  width: 100%;
  height: 100px;
  position: fixed;
  top: 0; left: 0;
  border-bottom: 1px solid #eee;
  z-index: 1000;
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo img { height: 35px; }

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.header-right .phone {
  font-size: 1.3rem;
  color: var(--color-dark);
  display: flex; align-items: center; gap: 8px;
}

/* Button-Bild */
.header-image-btn {
  height: 90px; /* Größe anpassen */
  position: relative;
  top: 20px; /* lässt es unten aus dem Header ragen */
}

/* LinkedIn Icon im Header */
.header-right .linkedin-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary-light); /* gleiche Logik wie Footer */
  color: var(--color-primary);
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.header-right .facebook-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary-light); /* gleiche Logik wie Footer */
  color: var(--color-primary);
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

/* Hover Effekt */
.header-right .linkedin-icon:hover {
  background: var(--color-primary);
  color: #fff;
}
.header-right .facebook-icon:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Mobilgeräte: LinkedIn Icon ausblenden */
@media (max-width: 768px) {
  .header-right .linkedin-icon {
    display: none;
  }
  .header-right .facebook-icon {
    display: none;
  }	
}




/*============================================================
 Hero Section
============================================================*/
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 120px 20px 80px; /* mehr Abstand nach oben */
  color: var(--color-dark);
  min-height: 70vh;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 60vh;
}

/* Slider Hintergrund */
.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Content Box */
.hero-content {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.85);
  padding: 40px;
  border-radius: 8px;
  max-width: 600px;
  text-align: left;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--color-dark);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--color-dark);
  line-height: 1.6;
}

/* Hero Features */
.hero-features {
  margin: 25px 0;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.85);
  border-left: 4px solid var(--color-primary);
  border-radius: 6px;
  list-style: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.hero-features li {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-features li:last-child {
  margin-bottom: 0;
}

.hero-features i {
  color: var(--color-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* CTA Intro */
.hero-cta-intro {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 20px 0 10px;
  color: var(--color-dark);
}

/* Buttons */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  width: auto;
}

/* Primary CTA */
.hero-btn.primary {
  background: var(--color-primary);
  color: var(--color-light);
}

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

/* Secondary CTA */
.hero-btn.secondary {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    padding: 25px;
  }

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

  .hero-content p,
  .hero-cta-intro {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }
}


/*============================================================
 Responsive
============================================================*/
@media (max-width: 992px) {
  .hero-section {
    height: auto;
    padding: 100px 20px 60px;
  }

  .hero-content {
    max-width: 100%;
    padding: 30px 20px;
  }

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

  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 20px 15px;
  }

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

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-btn {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
}




/*============================================================
 Products Section
============================================================*/
.products-section {
  padding: 80px 20px;
  background: #f9fafb;
  text-align: center;
}

.products-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.products-section .section-title {
  font-size: 2rem;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.products-section .section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  margin: 10px auto 0;
}

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

.product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0; /* komplett eckig */
  overflow: hidden;
  text-align: left;
  transition: all 0.3s ease;
}

.product-card:hover {
  /* kein roter Rand */
  border-color: #e5e7eb;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.product-card img[src*="IMG_0152.jpeg"] {
  object-position: right center;
}

.product-content {
  padding: 20px;
}

.product-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--color-dark);
}

.product-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--color-dark);
}

.badge {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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





/*============================================================
 About Section
============================================================*/
.about-section {
  background: #ffffff;        /* weißer Hintergrund */
  padding: 80px 20px;
}

.about-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 60px;
  color: var(--color-dark);
  font-family: var(--font-titles);
}

/* Container */
.about-container {
  max-width: 1200px;
  margin: 0 auto 80px;        /* Abstand unten */
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-container.reverse {
  grid-template-columns: 1fr 1.1fr;
}

/* Media (Bild) */
.about-media img {
  max-width: 80%;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.about-media-2 img {
  max-width: 60%;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

/* Textbereich */
.about-content h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  font-family: var(--font-titles);
  color: var(--color-dark);
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--color-dark);
}

/* Stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 12px 16px;
  border-radius: 6px;
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.stat-item strong {
  font-weight: 700;
  color: var(--color-dark);
  display: block;
}

.stat-item small {
  color: var(--color-dark);
  opacity: 0.8;
}

/*============================================================
 Responsive
============================================================*/
@media (max-width: 992px) {
  .about-container,
  .about-container.reverse {
    grid-template-columns: 1fr;   /* einspaltig */
    text-align: center;           /* zentrierter Text */
  }

  .about-media img {
    max-width: 70%;               /* Bild kleiner */
  }

  .about-stats {
    grid-template-columns: 1fr 1fr; /* zwei Spalten */
    max-width: 500px;
    margin: 20px auto 0;          /* zentriert */
  }
}

@media (max-width: 600px) {
  .about-stats {
    grid-template-columns: 1fr;   /* nur noch eine Spalte */
  }

  .about-media img {
    max-width: 100%;
  }
}




/*============================================================
 Services Section
============================================================*/
.services-section {
  padding: 80px 20px;
  background: #f9fafb;
  text-align: center;
}

.services-section .container { max-width: 1200px; margin: 0 auto; }

/* Intro-Text */
.section-title {
  font-size: 2rem;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Cards */
.service-card {
  position: relative;
  padding: 40px 30px;
  border-radius: 0; /* eckige Ecken */
  text-align: left;
  background-size: cover;
  background-position: center;
  color: var(--color-light);
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/*.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 0;
	}*/

.service-card h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  color: var(--color-light); /* Titel weiß */
}

.service-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  opacity: 0.95;
  color: var(--color-light);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

/* individuelle Hintergründe */
.service-card-1 { background-image: url('../images/dsc01425-wo.jpg'); }
.service-card-2 { background-image: url('../images/180226_ctr_stwoing_oak_logs_image1.jpeg'); }
.service-card-3 { background-image: url('../images/port.jpg'); }

/* Responsive */
@media (max-width: 992px) { .services-grid { grid-template-columns: 1fr; } }


/*============================================================
 Legal Section
============================================================*/
.legal-section {
  padding: 180px 20px;
  background: var(--color-light);
  color: var(--color-dark);
}

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

.legal-section article {
  margin-bottom: 80px;
}

.legal-section h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.legal-section h2 {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.legal-section p,
.legal-section ul {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.legal-section ul {
  list-style: disc;
  padding-left: 20px;
}



/*============================================================
 Contact Section
============================================================*/
.contact-section { padding: 80px 20px; }

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 { font-size: 1.8rem; margin-bottom: 20px; }
.contact-info p  { font-size: 1.05rem; margin-bottom: 30px; line-height: 1.6; }

.info-item {
  display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px;
}
.info-item i {
  color: var(--color-primary);
  background: var(--color-primary-light);
  font-size: 1.2rem;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.info-item strong { display: block; margin-bottom: 5px; }
.info-item p { margin: 0; font-size: 1rem; }

.contact-form {
  background: #f9fafb;
  padding: 30px; border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.contact-form h2 { font-size: 1.8rem; margin-bottom: 20px; }

.contact-form form { display: flex; flex-direction: column; gap: 15px; }

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid #e5e7eb; border-radius: 6px;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(239,68,68,0.3);
}

.contact-form button {
  background: var(--color-primary);
  color: var(--color-light);
  font-size: 1.1rem;
  padding: 14px; border: none; border-radius: 6px;
  cursor: pointer; transition: background 0.2s ease;
  width: 100%;
}
.contact-form button:hover { background: var(--color-primary-hover); }

@media (max-width: 992px) {
  .contact-container { grid-template-columns: 1fr; gap: 40px; }
}

/*============================================================
 Footer
============================================================*/
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-muted);
  padding: 80px 20px 20px;
}

.footer-container {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

.footer-col h3.brand, .footer-col h4 { color: var(--color-light); font-weight: 700; }

.footer-col h3.brand { font-size: 1.8rem; margin-bottom: 15px; }
.footer-col h4       { font-size: 1.3rem; margin-bottom: 20px; }

.footer-col p { font-size: 1.05rem; margin-bottom: 20px; line-height: 1.6; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }

.footer-col ul li a {
  text-decoration: none; color: var(--color-muted);
  font-size: 1.05rem; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--color-primary); }

.social-icons a {
  color: var(--color-primary); background: var(--color-primary-light);
  margin-right: 12px; font-size: 1.2rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.social-icons a:hover { background: var(--color-primary); color: var(--color-light); }

.footer-col.newsletter form { display: flex; margin-top: 15px; }
.footer-col.newsletter input[type="email"] {
  flex: 1; padding: 12px; border: none; border-radius: 6px 0 0 6px; font-size: 1rem;
}
.footer-col.newsletter button {
  background: var(--color-primary); border: none; color: var(--color-light);
  padding: 0 18px; font-size: 1.2rem; border-radius: 0 6px 6px 0;
  cursor: pointer; transition: background 0.2s;
}
.footer-col.newsletter button:hover { background: var(--color-primary-hover); }

.footer-bottom {
  border-top: 1px solid var(--color-footer-border);
  text-align: center; margin-top: 50px; padding-top: 25px;
  font-size: 0.95rem; color: var(--color-muted);
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-container { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .footer-container { grid-template-columns: 1fr; gap: 30px; }
}