:root {
  --primary: #f47c48;
  --dark: #2c2c2c;
  --light: #f5f5f5;
}

/* ======================
   RESET & BASE
====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* ======================
   HEADER / NAVIGATION
====================== */
.header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-weight: bold;
  font-size: 1.3rem;
}

.logo span {
  color: var(--primary);
}

.nav {
  display: none;
  gap: 20px;
}

.material-symbols-outlined {
  font-size: 2rem;
  font-weight: 300;
}
.nav a {
  color: var(--dark);
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav a:hover {
  color: var(--primary);
}

.nav a:hover .nav-icon {
  opacity: 1;
}



.menu-toggle {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* ======================
   HERO SLIDER
====================== */
.hero-slider {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background: #888;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide:nth-child(1) {
  background: url("../images/hero1.jpg") center / cover no-repeat;
}
.slide:nth-child(2) {
  background: url("../images/hero2.jpg") center / cover no-repeat;
}
.slide:nth-child(3) {
  background: url("../images/hero3.jpg") center / cover no-repeat;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.content {
  position: relative;
  color: white;
  padding: 40px;
  max-width: 600px;
  z-index: 2;
}

.content h1 {
  font-size: 2.2rem;
}

.content p {
  margin: 15px 0;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 3;
}

.slider-nav.prev { left: 10px; }
.slider-nav.next { right: 10px; }

/* Buttons */
.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 25px;
}

/* ======================
   SECTIONS – GENERAL
====================== */

.services {
  padding: 70px 0 40px;
  background: #fff;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: center;
}

.section-subtitle {
  color: #666;
  max-width: 600px;
  margin: 0 auto 50px;
  text-align: center;
}

/* ======================
   SERVICES – MINIMAL STYLE
====================== */

.services-minimal {
  display: grid;
  gap: 60px;
}

.service-block {
  text-align: left;
  padding-top: 10px;
}

.service-block h3 {
  font-size: 2rem;
  color: var(--dark);
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 26px;
}

.service-block h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 3px;
  background: var(--primary);
}

.service-block p {
  color: #555;
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 36px;
}

/* Tags / Pills */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.service-tags span {
  border: 1.5px solid var(--primary);
  color: var(--dark);
  border-radius: 999px;
  font-size: 0.67rem;
  padding: 7px 16px;
  transition: all 0.25s ease;
}

.service-tags span:hover {
  background: var(--primary);
  color: #fff;
}

/* ======================
   PROJECTS
====================== */

.projects {
  padding: 80px 0;
  background: #fdfdfd;
  border-top: 1px solid #eee;
}

.projects-grid {
  display: grid;
  gap: 30px;
}

/* Card */
.project-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover – subtil & hochwertig */
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* Image */
.project-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

/* leichtes Zoom beim Hover */
.project-card:hover .project-image {
  transform: scale(1.04);
}

/* Content */
.project-content {
  padding: 26px 26px 30px;
}

/* Title */
.project-content h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  color: var(--dark);
  transition: color 0.3s ease;
}

/* Titel reagiert auf Hover */
.project-card:hover h3 {
  color: var(--primary);
}

/* Text */
.project-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Optionaler Mini-CTA */
.project-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
}

.project-card:hover .project-link {
  opacity: 1;
  transform: translateY(0);
}

/* ======================
   ABOUT
====================== */

.about {
  padding: 90px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.about-intro {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 25px;
}

.about-content p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 520px;
}

.about-points {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.about-points div {
  font-size: 0.95rem;
  color: #333;
}

/* Image */
.about-image img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* ======================
   CONTACT
====================== */
.contact {
  padding: 80px 0;
  background: #fff;
}

.contact-form {
  max-width: 600px;
  margin: 40px auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-note {
  margin-top: 15px;
  font-size: 0.85rem;
  color: #777;
}

.contact-details {
  margin-top: 30px;
  text-align: center;
  color: #444;
}

/* ======================
   FOOTER
====================== */
.footer {
  background: #222;
  color: #ddd;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  gap: 30px;
}

.footer-block h4 {
  color: white;
  margin-bottom: 10px;
}

.footer-block p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
  color: #aaa;
  border-top: 1px solid #333;
  padding-top: 15px;
}

/* ======================
   RESPONSIVE – MOBILE UX
====================== */
@media (max-width: 767px) {
  .content {
    text-align: center;
    padding: 20px;
    margin: 0 auto;
  }

  .slider-nav {
    display: none;
  }

  .btn {
    padding: 14px 30px;
    font-size: 1.05rem;
  }

  .services,
  .projects,
  .contact {
    padding: 50px 0;
  }

  .service-card,
  .project-card {
    margin: 0 5px;
  }
}

/* ======================
   RESPONSIVE – Mobil
====================== */

@media (max-width: 767px) {
  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
  }

  .nav a {
    padding: 12px 20px;
    display: block;
  }
}

/* ======================
   RESPONSIVE – DESKTOP
====================== */
@media (min-width: 768px) {
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    border: none;
  }

  .menu-toggle {
    display: none;
  }

  .services-grid,
  .projects-grid,
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .content h1 {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 767px) {
  .logo img {
    height: 34px;
  }
}

@media (min-width: 768px) {
  .services-minimal {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-minimal {
    gap: 90px;
  }
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (max-width: 767px) {
  .about {
    padding: 70px 0;
  }

  .about-points {
    flex-direction: column;
    gap: 15px;
  }
}
.logo a { display: inline-block; }
.service-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 24px; }
.service-gallery img { width: 100%; border-radius: 12px; object-fit: cover; aspect-ratio: 4 / 3; }

/* ======================
   SERVICE IMAGE PREVIEW
====================== */
.service-gallery-preview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: -18px 0 28px;
  max-width: 420px;
}

.service-gallery-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}
