/* ============================================================
   Schnipp-Schnapp – Stylesheet
   Farbpalette: Gold (#c9a96e), Schwarz (#1a1a1a), Dunkel (#2c2c2c),
                Weiß (#ffffff), Warmgrau (#f7f5f3)
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #2c2c2c;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: #c9a96e;
  color: #fff;
}

.btn--primary:hover {
  background: #b8944f;
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: background 0.3s;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c2c2c;
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__toggle span {
  width: 26px;
  height: 2px;
  background: #2c2c2c;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.header__list {
  display: flex;
  gap: 2rem;
}

.header__link {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #c9a96e;
  transition: width 0.3s;
}

.header__link:hover::after,
.header__link.active::after {
  width: 100%;
}

.header__link:hover {
  color: #c9a96e;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #3a3530 100%);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.12;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  color: #d4cfc8;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: #f7f5f3;
}

.section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section__title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #c9a96e;
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* ---------- Über mich ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

.about__image img {
  border-radius: 8px;
  width: 100%;
  max-width: 360px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about__text p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}

/* ---------- Leistungen ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card__list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #555;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed #e0dcd8;
}

.service-card__list li span {
  font-weight: 600;
  color: #c9a96e;
  white-space: nowrap;
}

.services__note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #888;
}

/* ---------- Galerie ---------- */
.gallery__subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}

.gallery__subtitle:first-of-type {
  margin-top: 0;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.gallery__grid--vorher-nachher {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.gallery__grid--mobil {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.gallery__item {
  border-radius: 8px;
  overflow: hidden;
  object-fit: cover;
  width: 100%;
  aspect-ratio: 1;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.gallery__grid--vorher-nachher .gallery__item {
  aspect-ratio: 1;
}

.gallery__grid--mobil .gallery__item {
  aspect-ratio: 4 / 3;
}

.gallery__item:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ---------- Placeholder-Bild ---------- */
.placeholder-img {
  background: linear-gradient(135deg, #c9a96e 0%, #a8884e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  min-height: 200px;
  border-radius: 8px;
}

/* ---------- Öffnungszeiten ---------- */
.hours__grid {
  max-width: 500px;
  margin: 0 auto;
}

.hours__table {
  width: 100%;
  border-collapse: collapse;
}

.hours__table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0dcd8;
  font-size: 1rem;
}

.hours__table td:first-child {
  font-weight: 500;
}

.hours__table td:last-child {
  text-align: right;
  color: #555;
}

.hours__note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #555;
}

.hours__note a {
  color: #c9a96e;
  font-weight: 600;
}

/* ---------- Kontakt ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact__map {
  margin-top: 2.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.contact__info p {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #444;
}

.contact__info a {
  color: #c9a96e;
  transition: color 0.3s;
}

.contact__info a:hover {
  color: #b8944f;
}

/* ---------- Contact Form ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #2c2c2c;
}

.form-optional {
  font-weight: 400;
  color: #888;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1px solid #d4d0cc;
  border-radius: 4px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #2c2c2c;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c9a96e;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

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

.form-group--privacy label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #555;
  cursor: pointer;
}

.form-group--privacy input[type="checkbox"] {
  margin-top: 0.15rem;
  accent-color: #c9a96e;
}

.form-group--privacy a {
  color: #c9a96e;
  text-decoration: underline;
}

.contact__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  padding: 0.5rem 1rem;
  border: 1px solid #c9a96e;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #c9a96e;
  transition: background 0.3s, color 0.3s;
}

.social-link:hover {
  background: #c9a96e;
  color: #fff;
}

/* ---------- Footer ---------- */
.footer {
  background: #2c2c2c;
  color: #aaa;
  padding: 2rem 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.footer__nav {
  display: flex;
  gap: 1.5rem;
}

.footer__nav a {
  color: #ccc;
  transition: color 0.3s;
}

.footer__nav a:hover {
  color: #c9a96e;
}

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: #444;
}

.legal-content a {
  color: #c9a96e;
  text-decoration: underline;
}

.legal-content a:hover {
  color: #b8944f;
}

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .header__toggle {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    z-index: 999;
  }

  .header__nav.open {
    transform: translateY(0);
  }

  .header__list {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  .header__link {
    display: block;
    padding: 0.85rem 5%;
  }

  .header__link::after {
    display: none;
  }

  /* Toggle X animation */
  .header__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .header__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .header__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__image {
    order: -1;
  }

  .contact__form-wrap {
    order: 2;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid--mobil {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 2rem;
  }
}
