:root {
  --bg: #fcfaf7;
  --white: #ffffff;
  --text: #2d2623;
  --muted: #6f635d;
  --primary: #b88b6a;
  --primary-dark: #9c7356;
  --accent: #e9ddd3;
  --border: #eadfd6;
  --shadow: 0 20px 50px rgba(52, 38, 30, 0.08);
  --radius: 20px;
  --container: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-label.light {
  color: #f3e8df;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 40px;
}

.section-heading h2,
.intro-text h2,
.about-content h2,
.kontakt-info h2,
.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-heading p,
.intro-text p,
.about-content p,
.kontakt-info p,
.cta-box p {
  color: var(--muted);
  font-size: 1.02rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(252, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 139, 106, 0.12);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 20px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  transition: 0.25s ease;
}

.nav a:hover {
  color: var(--primary-dark);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(45, 38, 35, 0.35), rgba(45, 38, 35, 0.35)),
    url("Bilder für Website/Startbild_für_Website.png") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(34, 28, 25, 0.45) 0%, rgba(34, 28, 25, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero-text {
  font-size: 1.12rem;
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 139, 106, 0.28);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.light-btn {
  background: #fff;
  color: var(--primary-dark);
}

.light-btn:hover {
  background: #f7f1ec;
}

.intro-grid,
.about-grid,
.kontakt-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.intro-card,
.contact-box,
.contact-form,
.card,
.gallery-item,
.about-image {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-card {
  padding: 34px;
}

.intro-card h3 {
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.intro-card ul {
  list-style: none;
}

.intro-card li {
  padding: 10px 0;
  border-bottom: 1px solid #f0e7e1;
  color: var(--muted);
}

.intro-card li:last-child {
  border-bottom: none;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  padding: 30px;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 800;
}

.card h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.card p {
  color: var(--muted);
}

.galerie {
  background: linear-gradient(180deg, #fff 0%, #fcfaf7 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding: 14px;
  background: #fffdfb;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 14px;
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #faf2ec 0%, #f5ebe4 100%);
  border: 2px dashed #d8c3b4;
  color: var(--primary-dark);
  text-align: center;
  padding: 20px;
}

.placeholder span {
  font-weight: 700;
}

.large-placeholder {
  min-height: 420px;
}

.about-content {
  max-width: 560px;
}

.about-image {
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-box {
  background: linear-gradient(135deg, #b88b6a 0%, #9c7356 100%);
  color: #fff;
  border-radius: 28px;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: 0 24px 50px rgba(156, 115, 86, 0.22);
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
}

.kontakt-info {
  max-width: 520px;
}

.contact-box {
  margin-top: 28px;
  padding: 24px;
}

.contact-box p {
  margin-bottom: 10px;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.contact-form {
  padding: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #dbcabe;
  border-radius: 14px;
  font-size: 1rem;
  background: #fffdfb;
  transition: 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(184, 139, 106, 0.12);
}

.form-btn {
  width: 100%;
}

.form-message {
  padding: 16px 18px;
  margin-bottom: 16px;
  font-weight: 700;
  border-radius: 14px;
}

.form-message.success {
  background: #eef9f0;
  color: #1f6a32;
}

.form-message.error {
  background: #fff0f0;
  color: #8f1d1d;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin: 20px 0 24px;
}

.checkbox-row input {
  margin-top: 4px;
}

.checkbox-row a {
  color: #9c7356;
  text-decoration: underline;
}

.legal-main {
  padding: 70px 0;
}

.legal-card {
  padding: 34px;
  background: #ffffff;
  border: 1px solid #eadfd6;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(52, 38, 30, 0.08);
}

.legal-content h1 {
  margin-bottom: 20px;
}

.legal-content h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.legal-content p {
  color: #6f635d;
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .cards-grid,
  .gallery-grid,
  .footer-grid,
  .intro-grid,
  .about-grid,
  .kontakt-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 80vh;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 70px 0;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 14px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .cta-box,
  .contact-form,
  .intro-card,
  .card {
    padding: 24px;
  }

  .gallery-item {
    padding: 10px;
  }
}

.page-hero {
  padding-top: 140px;
  padding-bottom: 40px;
}

.gallery-teaser-content {
  text-align: center;
  margin-top: 20px;
}

.main-nav a.active {
  font-weight: 700;
}

.nav a.active {
  color: var(--primary-dark);
  font-weight: 700;
}

.centered-heading {
  max-width: 760px;
  margin: 0 auto 35px;
  text-align: center;
}

.gallery-page-hero {
  padding-top: 110px;
  padding-bottom: 20px;
}

.gallery-teaser {
  background: linear-gradient(180deg, #fff 0%, #fcfaf7 100%);
}

.gallery-teaser .gallery-teaser-content {
  text-align: center;
  margin-top: 10px;
}

.gallery-page .gallery-grid {
  grid-template-columns: repeat(4, 1fr);
}



@media (max-width: 1000px) {
  .gallery-page .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .gallery-page .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  margin-top: 40px;
  background: #2f2724;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 70px 0 36px;
}

.footer-grid > div {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.footer-grid h3 {
  margin-bottom: 14px;
  color: #fff;
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.78);
}

#impressum {
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  padding: 20px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
}