/* =========================
   HorizontReisen Nature Organic CSS
   ========================= */

/* ====== CSS Variables ====== */
:root {
  /* Brand Colors */
  --color-primary: #174E7C;
  --color-secondary: #F2A85D;
  --color-accent: #F7F7F9;
  /* Nature Organic Palette */
  --color-earth: #8D6748;
  --color-leaf: #3B7A57;
  --color-moss: #B7C9A8;
  --color-sand: #F5E9DA;
  --color-forest: #2E4D36;
  --color-bark: #5C4326;
  --color-sky: #E3F0E8;
  --color-white: #fff;
  --color-black: #222;
  --color-grey: #6B6B6B;
  /* Typography */
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  /* Shadows */
  --shadow-card: 0 4px 16px 0 rgba(60, 80, 60, 0.08);
  --shadow-btn: 0 2px 8px 0 rgba(60, 80, 60, 0.10);
  /* Border Radius */
  --radius-card: 22px;
  --radius-btn: 28px;
  --radius-section: 36px 36px 0 0;
  /* Spacing */
  --gap-section: 60px;
  --gap-card: 24px;
  --gap-content: 20px;
  --gap-feature: 15px;
  --gap-testimonial: 20px;
  --container-max: 1200px;
}

/* ====== Reset & Base ====== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-forest);
  background: linear-gradient(180deg, var(--color-sky) 0%, var(--color-sand) 100%);
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: 0.6em;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }

p, ul, ol {
  margin-top: 0;
  margin-bottom: 1em;
}

ul, ol {
  padding-left: 1.2em;
}

strong {
  color: var(--color-leaf);
  font-weight: 700;
}

a {
  color: var(--color-leaf);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--color-secondary);
}

/* ====== Layout Containers ====== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap-content);
}

.section {
  margin-bottom: var(--gap-section);
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: var(--radius-section);
  box-shadow: var(--shadow-card);
  position: relative;
}

/* ====== Header & Navigation ====== */
header {
  background: var(--color-earth);
  box-shadow: 0 2px 12px 0 rgba(60, 80, 60, 0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}
header img {
  height: 48px;
  border-radius: 12px;
  background: var(--color-sky);
  padding: 4px 8px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-white);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
nav a:hover, nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}

.cta-btn {
  background: linear-gradient(90deg, var(--color-leaf) 60%, var(--color-secondary) 100%);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 32px;
  margin-left: 16px;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.03em;
  font-size: 1rem;
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--color-secondary) 60%, var(--color-leaf) 100%);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px 0 rgba(60, 80, 60, 0.13);
}

/* ====== Mobile Navigation ====== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-leaf);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-left: 12px;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: scale(1.08);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34, 34, 34, 0.92);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  align-items: center;
  justify-content: center;
  display: flex;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-leaf);
  color: var(--color-white);
  transform: scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin: 48px 0 0 36px;
}
.mobile-nav a {
  color: var(--color-white);
  font-size: 1.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}

/* ====== Hero Section ====== */
.hero {
  background: linear-gradient(120deg, var(--color-moss) 0%, var(--color-sand) 100%);
  border-radius: 0 0 48px 48px;
  box-shadow: 0 8px 32px 0 rgba(60, 80, 60, 0.10);
  margin-bottom: var(--gap-section);
  padding: 60px 0 40px 0;
  position: relative;
  overflow: hidden;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 24px;
}
.hero h1 {
  color: var(--color-leaf);
  font-size: 2.5rem;
  margin-bottom: 0.3em;
}
.hero p {
  color: var(--color-earth);
  font-size: 1.2rem;
  margin-bottom: 1.2em;
}

/* ====== Feature Grid & Cards ====== */
.feature-grid, .destination-grid, .offer-list, .blog-teasers, .team-list, .image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-card);
  margin-bottom: 20px;
}
.feature-grid > div, .destination-grid > div, .offer-list > div, .blog-teasers > div, .team-list > div, .image-gallery > div {
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.18s;
  border: 1.5px solid var(--color-moss);
}
.feature-grid > div:hover, .destination-grid > div:hover, .offer-list > div:hover, .blog-teasers > div:hover, .team-list > div:hover, .image-gallery > div:hover {
  box-shadow: 0 8px 32px 0 rgba(60, 80, 60, 0.13);
  transform: translateY(-4px) scale(1.02);
}

.special-badge {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 18px;
  padding: 8px 18px;
  align-self: flex-start;
  margin-top: 12px;
  box-shadow: var(--shadow-btn);
  font-size: 1rem;
  letter-spacing: 0.03em;
}

/* ====== Testimonial Cards ====== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: var(--gap-testimonial);
  background: var(--color-sky);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px;
  margin-bottom: 20px;
  color: var(--color-black);
  font-size: 1.1rem;
  border-left: 6px solid var(--color-leaf);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(60, 80, 60, 0.13);
  border-left: 6px solid var(--color-secondary);
}
.testimonial-card strong {
  color: var(--color-earth);
  font-size: 1rem;
}

/* ====== Newsletter Signup & Forms ====== */
.newsletter-signup, .newsletter-form, .search-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.newsletter-signup input, .newsletter-form input, .search-bar input {
  padding: 10px 16px;
  border-radius: 18px;
  border: 1.5px solid var(--color-moss);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  background: var(--color-accent);
  transition: border-color 0.2s;
}
.newsletter-signup input:focus, .newsletter-form input:focus, .search-bar input:focus {
  border-color: var(--color-leaf);
}
.newsletter-signup button, .newsletter-form button, .search-bar button {
  background: var(--color-leaf);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-btn);
  padding: 10px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.newsletter-signup button:hover, .newsletter-form button:hover, .search-bar button:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: scale(1.05);
}

/* ====== Footer ====== */
footer {
  background: var(--color-earth);
  color: var(--color-white);
  padding: 40px 0 20px 0;
  border-radius: 48px 48px 0 0;
  box-shadow: 0 -4px 24px 0 rgba(60, 80, 60, 0.08);
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  gap: 24px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-menu a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-leaf);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
  color: var(--color-sand);
}
.footer-social {
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-bottom: 8px;
}
.footer-social a {
  color: var(--color-secondary);
  font-weight: 600;
  margin: 0 4px;
  transition: color 0.2s;
}
.footer-social a:hover, .footer-social a:focus {
  color: var(--color-leaf);
}

/* ====== Miscellaneous Layouts ====== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-card);
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  min-width: 220px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(60, 80, 60, 0.13);
  transform: translateY(-4px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-content);
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-feature);
}

/* ====== FAQ Accordion ====== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-accordion strong {
  cursor: pointer;
  color: var(--color-leaf);
  font-size: 1.1rem;
  margin-bottom: 2px;
  transition: color 0.2s;
}
.faq-accordion strong:hover {
  color: var(--color-secondary);
}
.faq-accordion p {
  margin-bottom: 0;
  color: var(--color-earth);
  font-size: 1rem;
}

/* ====== Cookie Consent Banner ====== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-white);
  color: var(--color-black);
  box-shadow: 0 -2px 24px 0 rgba(60, 80, 60, 0.13);
  border-top: 4px solid var(--color-leaf);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
  font-size: 1rem;
  animation: cookieBannerIn 0.5s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  border: none;
  border-radius: var(--radius-btn);
  padding: 10px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.cookie-banner .accept {
  background: var(--color-leaf);
  color: var(--color-white);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .reject {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--color-leaf);
  color: var(--color-white);
}
.cookie-banner .settings {
  background: var(--color-accent);
  color: var(--color-leaf);
  border: 1.5px solid var(--color-leaf);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-leaf);
  color: var(--color-white);
}

/* ====== Cookie Modal ====== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34, 34, 34, 0.65);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.4s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-white);
  border-radius: 32px;
  box-shadow: 0 8px 48px 0 rgba(60, 80, 60, 0.18);
  padding: 38px 32px 28px 32px;
  max-width: 420px;
  width: 90vw;
  color: var(--color-black);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalPop 0.4s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieModalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--color-leaf);
  margin-bottom: 0.5em;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: var(--color-earth);
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 22px;
  background: var(--color-moss);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  outline: none;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
  background: var(--color-leaf);
}
.cookie-modal .cookie-toggle::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: var(--color-white);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.2s;
}
.cookie-modal .cookie-toggle[aria-checked="true"]::after {
  left: 18px;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--color-leaf);
  color: var(--color-white);
}

/* ====== Responsive Design ====== */
@media (max-width: 1024px) {
  .container {
    max-width: 900px;
  }
  .feature-grid > div, .destination-grid > div, .offer-list > div, .blog-teasers > div, .team-list > div, .image-gallery > div {
    min-width: 180px;
    flex: 1 1 180px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .footer-menu {
    gap: 12px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    padding: 10px 18px;
    font-size: 0.98rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    padding: 36px 0 24px 0;
    border-radius: 0 0 32px 32px;
  }
  .feature-grid, .destination-grid, .offer-list, .blog-teasers, .team-list, .image-gallery {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .destination-grid > div, .offer-list > div, .blog-teasers > div, .team-list > div, .image-gallery > div {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }
  .footer-menu {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .newsletter-signup, .newsletter-form, .search-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 12px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 8px;
  }
  .cookie-modal {
    padding: 22px 10px 18px 10px;
    max-width: 98vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 1rem; }
  .section {
    padding: 24px 6px;
    border-radius: 18px 18px 0 0;
  }
  footer {
    border-radius: 18px 18px 0 0;
    padding: 24px 0 10px 0;
  }
}

/* ====== Organic/Nature Visuals ====== */
.section, .card, .testimonial-card, .feature-grid > div, .destination-grid > div, .offer-list > div, .blog-teasers > div, .team-list > div, .image-gallery > div {
  /* Subtle organic shape using clip-path for a soft, natural edge */
  clip-path: ellipse(98% 100% at 50% 50%);
}
.hero, footer {
  clip-path: ellipse(100% 100% at 50% 0%);
}

/* Decorative leaf accent for hero (optional, can be added via ::before) */
.hero::before {
  content: '';
  position: absolute;
  left: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 60% 40%, var(--color-leaf) 60%, transparent 100%);
  opacity: 0.13;
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 40% 60%, var(--color-secondary) 60%, transparent 100%);
  opacity: 0.10;
  z-index: 0;
  pointer-events: none;
}

/* ====== Utility Classes ====== */
.hide {
  display: none !important;
}

/* ====== Accessibility ====== */
:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ====== Prevent Overlapping ====== */
.section, .card, .testimonial-card, .feature-grid > div, .destination-grid > div, .offer-list > div, .blog-teasers > div, .team-list > div, .image-gallery > div {
  margin-bottom: 20px;
}

/* ====== End of CSS ====== */
