@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #2c3e50;
  font-size: 18px;
  line-height: 1.7;
  background-color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

:root {
  --primary-dark: #1a472a;
  --primary-light: #2d8659;
  --secondary: #f4a261;
  --accent: #e76f51;
  --light-bg: #f8f9fa;
  --dark-text: #2c3e50;
  --light-text: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ========== LAYOUT ========== */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-area {
  flex: 1;
}

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

/* ========== HEADER ========== */
.site-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--light-text);
  text-decoration: none;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

.site-logo:hover {
  opacity: 0.9;
}

.main-navigation {
  display: flex;
  gap: 35px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--light-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--light-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

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

/* ========== HERO SECTION ========== */
.hero-section {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
  padding: 100px 0;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 30px;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 22px;
  color: var(--dark-text);
  font-weight: 400;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* ========== CARDS SECTION ========== */
.cards-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.card-item {
  display: flex;
  flex-direction: column;
  background: var(--light-bg);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image-wrapper {
  width: 100%;
  height: 300px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  box-shadow: none;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.3;
  margin: 0;
}

.card-text {
  font-size: 16px;
  color: var(--dark-text);
  line-height: 1.7;
  margin: 0;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #ffb84d 100%);
  padding: 70px 0;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 25px;
}

.cta-text {
  font-size: 20px;
  color: var(--dark-text);
  line-height: 1.7;
}

/* ========== CONTACT FORM ========== */
.contact-section {
  background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
  padding: 80px 0;
}

.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.contact-subtitle {
  font-size: 20px;
  color: var(--dark-text);
}

.contact-form {
  background: #ffffff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-input,
.form-textarea {
  padding: 15px 20px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  transition: border-color 0.3s ease;
  background-color: #ffffff;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-light);
}

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

.form-submit {
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  color: var(--light-text);
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 10px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ========== CONTACTS PAGE ========== */
.contacts-page {
  padding: 60px 0;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contacts-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 18px;
  color: var(--dark-text);
}

.contact-details a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========== POLICY PAGES ========== */
.policy-page {
  padding: 60px 0;
  background-color: #ffffff;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
}

.policy-section {
  margin-bottom: 50px;
}

.policy-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 25px;
  text-align: center;
}

.policy-text {
  font-size: 18px;
  color: var(--dark-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.policy-text ul {
  margin-left: 30px;
  margin-top: 15px;
}

.policy-text ul li {
  margin-bottom: 10px;
}

/* ========== IMPRESSUM PAGE ========== */
.impressum-page {
  padding: 60px 0;
}

.impressum-content {
  max-width: 900px;
  margin: 0 auto;
}

.impressum-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 40px;
  text-align: center;
}

.impressum-section {
  margin-bottom: 35px;
}

.impressum-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.impressum-section address,
.impressum-section p {
  font-size: 18px;
  color: var(--dark-text);
  line-height: 1.8;
  margin-bottom: 12px;
}

.impressum-section a {
  color: var(--primary-light);
  text-decoration: none;
}

.impressum-section a:hover {
  text-decoration: underline;
}

/* ========== FOOTER ========== */
.site-footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  color: var(--light-text);
  padding: 50px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
}

.footer-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.footer-link {
  color: var(--light-text);
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ========== COOKIE NOTICE ========== */
.cookie-notice {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  width: 600px;
  background: #1a1a1a;
  color: #ffffff;
  padding: 20px 25px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-notice.show {
  display: block;
}

.cookie-notice-content {
  margin-bottom: 15px;
}

.cookie-notice a {
  color: var(--secondary);
  text-decoration: underline;
}

.cookie-accept-btn {
  background: var(--secondary);
  color: #ffffff;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  float: right;
}

.cookie-accept-btn:hover {
  background: #ffb84d;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 40px;
  }

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

  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .main-navigation {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .main-navigation.active {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .cards-section {
    padding: 50px 0;
  }

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

  .card-image-wrapper {
    height: 250px;
  }

  .card-content {
    padding: 25px;
    gap: 15px;
  }

  .card-title {
    font-size: 24px;
  }

  .card-text {
    font-size: 15px;
  }

  .cta-section {
    padding: 50px 0;
  }

  .cta-title {
    font-size: 32px;
  }

  .contact-section {
    padding: 50px 0;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .contact-title {
    font-size: 32px;
  }

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

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  .policy-title,
  .impressum-title {
    font-size: 32px;
  }

  .cookie-notice {
    width: 95%;
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .site-logo {
    font-size: 24px;
  }

  .hero-title {
    font-size: 26px;
  }

  .card-title {
    font-size: 24px;
  }

  .cta-title {
    font-size: 26px;
  }

  .contact-title {
    font-size: 26px;
  }

  .policy-title,
  .impressum-title {
    font-size: 26px;
  }
}

body.lock-scroll {
  overflow: hidden;
}