/* ==========================================================================
   Holler Raumausstattung – Main Stylesheet
   ========================================================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #c8a944;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #a68c2a;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: #222;
}

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

/* --- Header --- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-top {
  border-bottom: 1px solid #eee;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 20px;
}

.logo img {
  height: 50px;
  width: auto;
}

.header-info {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 0.9rem;
}

.header-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.header-info-icon {
  font-size: 1.1rem;
  color: #c8a944;
}

.header-info a {
  color: #333;
}

.header-info a:hover {
  color: #c8a944;
}

/* --- Mobile Nav Toggle --- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 26px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Main Navigation --- */
.main-nav {
  background: #222;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: block;
  padding: 14px 22px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  background: #c8a944;
  color: #fff;
}

/* --- Dropdown --- */
.dropdown {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 280px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 50;
}

.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  font-size: 0.88rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.dropdown li:last-child a {
  border-bottom: none;
}

.dropdown li a:hover {
  background: #fbf5e0;
  color: #c8a944;
}

/* --- Hero Slider --- */
.hero {
  position: relative;
  overflow: hidden;
  background: #fbcd2c;
}

.hero-slider {
  display: flex;
  transition: transform 0.7s ease;
}

.hero-slide {
  min-width: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
}

.hero-text {
  font-family: 'Raleway', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #161616;
  text-align: center;
  background: rgba(251, 205, 44, 0.7);
  padding: 10px 30px;
  backdrop-filter: blur(2px);
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-dot.active {
  background: #c8a944;
}

/* --- Section Styles --- */
.section {
  padding: 60px 0;
}

.section-light {
  background: #fff;
}

.section-highlight {
  background: #fff0c2;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;
}

.section-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #555;
  line-height: 1.8;
}

.section-cta {
  text-align: center;
  color: #c8a944;
  font-weight: 600;
  font-style: italic;
}

/* --- Icon Boxes (Home) --- */
.icon-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 50px 0;
}

.icon-box {
  text-align: center;
}

.icon-box-img {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  transition: transform 0.3s;
}

.icon-box:hover .icon-box-img {
  transform: translateY(-6px);
}

.icon-box h3 {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.icon-box p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 4px;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-item:nth-child(4) {
  grid-row: 1 / 3;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 20px;
}

.service-card-body h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.service-card-body p {
  font-size: 0.88rem;
  color: #666;
  font-style: italic;
}

.service-card-body a {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c8a944;
}

.service-card-body a:hover {
  text-decoration: underline;
}

/* --- Service Detail Page --- */
.service-detail {
  padding: 60px 0;
}

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.service-detail-img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.service-detail-content h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.service-detail-content h2 {
  font-size: 1.3rem;
  color: #c8a944;
  margin-bottom: 20px;
  font-weight: 400;
}

.service-detail-content p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: #555;
}

.service-detail-cta {
  font-weight: 600;
  font-style: italic;
  color: #c8a944;
}

.back-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #c8a944;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

/* --- About Page --- */
.about-section {
  padding: 60px 0;
}

.about-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-inner h1 {
  margin-bottom: 30px;
  font-size: 2rem;
}

.about-inner p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: #555;
}

.about-signature {
  margin-top: 30px;
}

.about-signature img {
  max-width: 200px;
  margin: 0 auto;
}

/* --- Contact Page --- */
.contact-section {
  padding: 60px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form h1 {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c8a944;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  background: #c8a944;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: #a68c2a;
  color: #fff;
}

.contact-info h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.contact-info-block {
  margin-bottom: 24px;
}

.contact-info-block p {
  line-height: 1.8;
  color: #555;
}

.contact-map {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 6px;
  margin-top: 20px;
}

/* --- Legal Pages --- */
.legal-page {
  padding: 60px 0;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.legal-page h2,
.legal-page h3 {
  margin-top: 30px;
  margin-bottom: 12px;
}

.legal-page p {
  margin-bottom: 12px;
  line-height: 1.8;
  color: #555;
}

.legal-page a {
  word-break: break-word;
}

/* --- Pre-Footer --- */
.pre-footer {
  background: #2a2a2a;
  color: #ccc;
  padding: 40px 0;
}

.pre-footer-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.pre-footer-logo img {
  width: 80px;
  height: auto;
}

.pre-footer-contact p {
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.pre-footer-contact strong {
  color: #c8a944;
}

/* --- Footer --- */
.site-footer {
  background: #1a1a1a;
  color: #999;
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: #999;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #c8a944;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #222;
  color: #fff;
  padding: 8px 14px;
  font-size: 0.8rem;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 50;
  border: none;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: #888;
  background: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.breadcrumb a {
  color: #c8a944;
}

.breadcrumb span {
  margin: 0 6px;
}

/* --- Page Header Banner --- */
.page-header-banner {
  background: #fbcd2c;
  padding: 50px 0;
  text-align: center;
}

.page-header-banner h1 {
  font-size: 2.2rem;
  color: #222;
}

.page-header-banner p {
  font-size: 1.1rem;
  color: #444;
  margin-top: 8px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 992px) {
  .icon-boxes {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .service-detail-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  .gallery-item:nth-child(4) {
    grid-row: auto;
  }

  .hero-text {
    font-size: 1.8rem;
  }

  .hero-slide img {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .header-info {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .main-nav.open {
    max-height: 600px;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-list > li > a {
    padding: 12px 20px;
    border-bottom: 1px solid #333;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #333;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .has-dropdown.open .dropdown {
    max-height: 600px;
  }

  .dropdown li a {
    color: #ddd;
    border-bottom-color: #444;
    padding-left: 36px;
  }

  .dropdown li a:hover {
    background: #444;
    color: #c8a944;
  }

  .icon-boxes {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-text {
    font-size: 1.3rem;
    padding: 8px 16px;
  }

  .hero-slide img {
    height: 250px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .pre-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .page-header-banner h1 {
    font-size: 1.6rem;
  }
}

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