/* =========================================
   GLOBAL – Ivory + Stone Grey Luxury Look
   ========================================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 90px;
  font-family: "Inter", sans-serif;
  background: #f6f4f0; /* Ivory Base */
  color: #2b2725; /* Deep Greige */
  line-height: 1.6;
}

/* Typografie */
h1, h2, h3, h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #1a1614; /* Black Coffee */
  letter-spacing: 0.5px;
}

.section {
  padding: 5rem 8%;
}

/* =========================================
   NAVIGATION – Ivory + Muted Nickel
   ========================================= */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(246,244,240,0.96); /* Ivory Glass */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #a8a29c; /* Muted Nickel */
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  z-index: 1000;
  transition: padding 0.3s ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.4rem 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.nav-logo {
  height: 86px;
  transition: height 0.3s ease;
}

nav.scrolled .nav-logo {
  height: 72px;
}

.nav-right {
  display: flex;
  gap: 2rem;
}

.nav-right a {
  text-decoration: none;
  color: #2b2725;
  font-weight: 500;
  transition: 0.3s;
}

.nav-right a:hover {
  color: #a8a29c; /* Muted Nickel Hover */
}

/* Burger */
.burger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: #2b2725;
}

/* =========================================
   HERO – Ivory Gradient + Stone Grey
   ========================================= */

.hero {
  height: 90vh;
  background:
    linear-gradient(135deg, #f6f4f0, #d2cec9), /* Ivory → Stone Grey */
    url("../img/hero.png") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(168,162,156,0.15), transparent);
  pointer-events: none;
}

.hero-overlay {
  padding: 2rem;
}

.hero-claim {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
  color: #1a1614;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 0.5px;
}

/* CTA Button – Black Coffee */
.cta {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  background: #1a1614; /* Black Coffee */
  color: #fff;
  border-radius: 8px;
  border: 1px solid #a8a29c;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.cta:hover {
  background: #2b2725;
  border-color: #8f8983;
  transform: translateY(-3px);
}

/* =========================================
   INTRO
   ========================================= */

.intro p {
  max-width: 750px;
  font-size: 1.1rem;
}

/* =========================================
   LEISTUNGEN / CARDS – Stone Grey + Nickel
   ========================================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.card {
  background: #d2cec9; /* Stone Grey */
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid #a8a29c;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  text-align: center;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}

.card .icon {
  margin-bottom: 1rem;
}

/* =========================================
   ABOUT
   ========================================= */

.about {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about .portrait {
  width: 260px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* =========================================
   KONTAKT – Ivory Inputs
   ========================================= */

.contact-form {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #a8a29c;
  background: #f6f4f0;
  color: #2b2725;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 150px;
}

/* =========================================
   POPUP – Stone Grey Box
   ========================================= */

.success-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.success-popup.active {
  display: flex !important;
}

.popup-box {
  background: #d2cec9;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #a8a29c;
  text-align: center;
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* =========================================
   FOOTER – Black Coffee + Nickel
   ========================================= */

.footer {
  background: #1a1614;
  color: #fff;
  padding: 40px 20px;
  border-top: 1px solid #a8a29c;
}

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

.footer-inner p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer a {
  color: #a8a29c;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.footer a:hover {
  color: #8f8983;
}

/* =========================================
   REVEAL DEAKTIVIEREN
   ========================================= */

.reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 900px) {

  .burger {
    display: flex;
  }

  .nav-right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #f6f4f0;
    padding: 1rem 8%;
    display: none;
  }

  .nav-right.open {
    display: flex;
  }

  .about {
    flex-direction: column;
    text-align: center;
  }
}
