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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #2f2520;
  background-color: #f7f1e8;
  display: flex;       /* Footer'ı aşağı itmek için */
  flex-direction: column;
  min-height: 100vh;
}

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

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

/* HEADER / NAV */
.top-header {
  background: #f0e3d5;
  padding: 0.75rem 1.5rem 1.1rem;
  border-bottom: 1px solid rgba(120, 92, 70, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.4rem;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.35em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #7a5134;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.nav-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(122, 81, 52, 0.4),
    transparent
  );
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5a4333;
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #c68b59;
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links li.active a {
  color: #c0683c;
}

.nav-links li.active a::after {
  width: 100%;
}

/* HERO – STARTSEITE */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 4rem 8vw;
  color: #2f2520;
  background-image:
    linear-gradient(
      to right,
      rgba(247, 241, 232, 0.96),
      rgba(247, 241, 232, 0.8),
      rgba(240, 227, 213, 0.2)
    ),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 520px;
  background: rgba(248, 241, 232, 0.88);
  padding: 2.25rem 2.5rem;
  border-radius: 1.75rem;
  box-shadow: 0 18px 40px rgba(50, 34, 24, 0.18);
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
  font-weight: 600;
  color: #3a291f;
}

.hero h1 span {
  color: #c0683c;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 1.75rem;
  color: #4a3830;
}

/* BUTON */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #c68b59, #c0683c);
  color: #fffaf4;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(158, 90, 45, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(158, 90, 45, 0.5);
  opacity: 0.96;
}

/* GENEL BÖLÜM */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.75rem;
  flex: 1; /* Footer'ı aşağı iter */
}

#ueber-uns.section,
#warum-wir.section {
  background: #f9f2e8;
  border-radius: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 32px rgba(100, 75, 55, 0.12);
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
  color: #3a291f;
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section p {
  font-size: 0.98rem;
  color: #4b3730;
  margin-bottom: 0.6rem;
  text-align: center;
}

#leistungen {
  text-align: center;
}

.leistungen-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* ✅ Desktop: 3 sütun */
  gap: 1.8rem;
  width: 100%;
  text-align: left;
}


@media (max-width: 1000px) {
  .leistungen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


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


.leistung {
  background: #fdf7ef;
  border-radius: 1.5rem;
  padding: 1.6rem 1.5rem 1.8rem;
  box-shadow: 0 10px 26px rgba(108, 78, 55, 0.14);
  border: 1px solid rgba(186, 141, 99, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.leistung-image {
  width: 100%;
  max-width: 260px;
  border-radius: 1.2rem;
  margin-bottom: 1rem;
  object-fit: cover;
}

.leistung h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #3b2a20;
  text-align: center;
}

.leistung ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.2rem;
  width: 100%;
}

.leistung li {
  font-size: 0.95rem;
  color: #4d3a31;
  padding-left: 1.3rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.leistung li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.62rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #c0683c;
}

/* FOOTER */
.footer {
  padding: 1.3rem;
  text-align: center;
  font-size: 0.85rem;
  background: #3b2b21;
  color: #f5e9dc;
  margin-top: auto; /* Footer her zaman en altta */
}

/* Footer içine Rechtliches linkleri (kahverengi barda) */
.footer-legal {
  text-align: left;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 233, 220, 0.35);
  color: #f5e9dc;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.footer-link:hover {
  background: rgba(245, 233, 220, 0.10);
  border-color: rgba(245, 233, 220, 0.60);
  transform: translateY(-1px);
}

/* KONTAKT – LOCATION BANNER */
.kontakt-location {
  position: relative;
  padding: 5rem 8%;
  min-height: 70vh;
  background-image: linear-gradient(
      to right,
      rgba(247, 241, 232, 0.85),
      rgba(247, 241, 232, 0.55),
      rgba(247, 241, 232, 0.30)
    ),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.kontakt-location-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1300px;
  margin: auto;
}

.kontakt-info {
  flex: 1;
  color: #2f2520;
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
}

.kontakt-info h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.kontakt-info p {
  margin-bottom: 1rem;
}

.kontakt-map {
  flex: 1;
  background: #ffffff;
  padding: 0.8rem;
  border-radius: 0.8rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.kontakt-map iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 0.6rem;
}

/* KONTAKT – FORMULAR */
.kontakt-formular {
  padding: 5rem 8%;
  background: #ffffff;
}

.kontakt-formular-inner {
  max-width: 900px;
  margin: auto;
  text-align: left;
}

.kontakt-formular h2 {
  margin-bottom: 2rem;
  font-size: 1.9rem;
  color: #2f2520;
}

.kontakt-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.kontakt-form input,
.kontakt-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-family: inherit;
}

.kontakt-form textarea {
  height: 140px;
  resize: vertical;
}

.kontakt-form button {
  padding: 0.9rem 2rem;
  background: #c0683c;
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
}

.kontakt-form button:hover {
  background: #a9582f;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .kontakt-location-inner {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .kontakt-info {
    text-align: center;
  }
  .kontakt-info p {
    text-align: center;
  }
  .form-row {
    flex-direction: column;
  }
  .kontakt-map iframe {
    height: 300px;
  }
}

@media (max-width: 800px) {
  .hero {
    padding: 3.2rem 1.6rem;
    justify-content: center;
    text-align: center;
  }
  .hero-content {
    padding: 2rem 1.8rem;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
  .main-nav {
    flex-direction: column;
    gap: 0.6rem;
  }
  .nav-links {
    gap: 1.4rem;
  }
  .section {
    padding: 3rem 1.4rem;
  }
}

@media (max-width: 600px) {
  .logo-text {
    letter-spacing: 0.2em;
  }
  .nav-links {
    gap: 0.9rem;
  }
  .nav-links a {
    font-size: 0.8rem;
  }
  .hero-content {
    padding: 1.8rem 1.4rem;
  }
  .section h2 {
    font-size: 1.4rem;
  }
  .kontakt-location {
    padding: 3.2rem 1.6rem;
  }
  .kontakt-formular {
    padding: 3.2rem 1.6rem;
  }
  .kontakt-formular-inner {
    padding: 1.2rem 1rem;
    background: #fdf7ef;
    border-radius: 1.4rem;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  }
}

/* ===== LEGAL FOOTER BUTONLAR (Datenschutz / Impressum) ===== */
.legal-footer {
  max-width: 1100px;
  margin: 2.4rem auto 0;
  padding: 1.6rem 1.2rem 2.8rem;
  text-align: center;
}

.legal-title {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(90, 60, 40, 0.7);
  margin-bottom: 0.9rem;
}

.legal-footer-inner {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.legal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.65rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(192, 104, 60, 0.35);
  background: rgba(253, 247, 239, 0.95);
  color: #5a4333;
  box-shadow: 0 10px 24px rgba(90, 60, 40, 0.10);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.legal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(90, 60, 40, 0.16);
  background: rgba(253, 247, 239, 1);
}

.legal-btn.is-active {
  background: linear-gradient(135deg, #c68b59, #c0683c);
  color: #fffaf4;
  border: none;
  box-shadow: 0 12px 28px rgba(158, 90, 45, 0.28);
  pointer-events: none;
}

/* ===== YASAL SAYFALAR İÇİN KUTU DÜZENİ ===== */
.legal-container {
  background: #ffffff;
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px rgba(50, 34, 24, 0.08);
  border: 1px solid rgba(120, 92, 70, 0.1);
}

.legal-container h2 {
  font-size: 2rem;
  color: #3a291f;
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Senin orijinal html etiketlerin için stiller */
.legal-container h3 {
  font-size: 1.3rem;
  color: #3a291f;
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
}

.legal-container p {
  color: #4b3730;
  margin-bottom: 1rem;
  text-align: left;
}

@media (max-width: 768px) {
  .legal-container {
    padding: 1.5rem;
  }
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-button{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 68px;
  height: 68px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  z-index: 9999;
  animation: pulse 2.2s infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-button img{
  width: 36px;
  height: 36px;
}
.whatsapp-button:hover{
  transform: scale(1.12);
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}
@keyframes pulse {
  0%   { transform: scale(1);   box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
  70%  { transform: scale(1.05);box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
