/* ===== CSS RESET & NORMALIZE ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #F5F3EE; /* soft earth background */
  color: #28332F; /* deep forest earth tone */
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #387F94;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #22456B;
}

/* ===== CSS VARIABLES (EARTH TONES) ===== */
:root {
  --color-primary: #22456B;
  --color-secondary: #F9E9C3;
  --color-accent: #387F94;
  --color-green: #68916C;
  --color-brown: #AF9471;
  --color-sand: #F6F2E9;
  --color-offwhite: #FCFBF7;
  --color-dark: #28332F;
  --color-muted: #A7B3A1;
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-md: 0 4px 24px rgba(33,54,44, 0.10);
  --shadow-sm: 0 2px 6px rgba(33,54,44, 0.07);
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
}

/* ===== TYPOGRAPHY FOR NATURE_ORGANIC ===== */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.14;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1.18;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.2;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, li, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.7;
}
blockquote {
  border-left: 5px solid var(--color-green);
  background: var(--color-offwhite);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-style: italic;
  margin: 18px 0;
  color: var(--color-primary);
}
strong {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  p, li, blockquote { font-size: 1rem; }
}

/* ===== GENERAL SPACING & LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  background: var(--color-offwhite);
  box-shadow: var(--shadow-md);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--color-sand);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(33,54,44,0.14);
}
.content-grid, .office-info, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 10px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-secondary);
  color: var(--color-dark);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 0;
  transition: box-shadow var(--transition);
}
.testimonial-card p {
  color: var(--color-dark);
  margin-bottom: 0;
}
.testimonial-card strong {
  color: var(--color-green);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-sand);
  padding: 18px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .content-grid, .office-info, .feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 32px;
  }
  .container {
    padding: 0 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--color-secondary);
  box-shadow: 0 2px 12px rgba(80,98,80,.05);
  position: relative;
  z-index: 10;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.main-nav {
  display: flex;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 8px 10px 6px;
  border-radius: var(--radius-sm);
  background: none;
  transition: background 0.12s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-green);
  color: #fff;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-green);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 28px 16px 28px 16px;
  padding: 12px 30px;
  border: none;
  margin-left: 12px;
  box-shadow: 0 4px 18px rgba(104,145,108,0.08);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), box-shadow var(--transition), transform 0.1s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-accent);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(56,127,148,0.13);
}
button, input[type=button], input[type=submit] {
  font-family: inherit;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-green);
  color: #fff;
  padding: 8px 18px;
  border: none;
  font-size: 1.7rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition), transform 0.18s;
  margin-left: 14px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  transform: scale(1.15);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, var(--color-offwhite) 80%, var(--color-green) 100%);
  z-index: 999;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 28px 18px 28px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.52,.01,.56,1), box-shadow 0.25s;
  box-shadow: 0 8px 48px 0 rgba(33,54,44,0.10);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-green);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: var(--radius-md);
  padding: 4px 15px;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background 0.15s, color 0.1s, transform 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-primary);
  color: #F9E9C3;
  transform: scale(1.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  background: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: background 0.13s, color 0.17s;
  text-align: left;
  text-decoration: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-green);
  color: #fff;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, var(--color-sand) 70%, var(--color-green) 100%);
  padding: 60px 0 40px 0;
  min-height: 350px;
  gap: 20px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}
.hero h1 {
  color: var(--color-green);
}
.hero .btn-primary {
  margin-top: 18px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 180px;
    padding: 34px 0 26px 0;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    margin-bottom: 22px;
  }
}

/* ===== FEATURES, HIGHLIGHTS, LISTS ===== */
.feature-grid > div {
  background: var(--color-offwhite);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 230px;
  transition: box-shadow var(--transition), background 0.14s;
}
.feature-grid img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 7px #b4ceaf44);
  margin-bottom: 5px;
}
.feature-grid h3 {
  font-size: 1.1rem;
  margin: 0 0 6px 0;
  color: var(--color-green);
}
.feature-grid > div:hover {
  box-shadow: 0 10px 32px rgba(104,145,108,0.13);
  background: var(--color-secondary);
}

ul {
  margin-left: 1.2em;
  margin-bottom: 18px;
}
li {
  margin-bottom: 10px;
  font-size: 1.09em;
}

/* ===== HIGHLIGHT ICONS (REISETIPPS PAGE) ===== */
.highlight-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin: 8px 0 12px 0;
  font-weight: 500;
  font-size: 1.1em;
  color: var(--color-green);
}
.highlight-icons img {
  vertical-align: middle;
  width: 30px;
  height: 30px;
  margin-right: 7px;
}

/* ===== SORTING FILTER (STÄDTEÜBERSICHT) ===== */
.sorting-filter {
  margin: 18px 0 10px 0;
  font-size: 1.09em;
  color: var(--color-muted);
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sorting-filter strong {
  color: var(--color-green);
}

/* ===== OFFICE INFO & MAP EMBED (KONTAKT) ===== */
.office-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
.map-embed {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-offwhite);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  box-shadow: var(--shadow-sm);
}

/* ===== THANK YOU PAGE SPECIFICS ===== */
.thank-you-next-steps {
  background: var(--color-sand);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 18px 18px 10px 18px;
  margin-bottom: 22px;
  margin-top: 8px;
}
.thank-you-next-steps h2 { color: var(--color-green); margin-bottom: 9px; }

/* ===== FOOTER ===== */
footer {
  background: var(--color-primary);
  color: var(--color-secondary);
  padding: 32px 0 0 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 70px;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--color-sand);
  text-decoration: none;
  font-size: 1.05em;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
  transition: color 0.17s, text-decoration 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-green);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1em;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  filter: invert(0.74) sepia(0.25) saturate(2.2) opacity(0.93);
}
.copyright {
  text-align: center;
  background: none;
  color: var(--color-brown);
  font-size: 0.98em;
  margin-top: 16px;
  padding-bottom: 18px;
}
@media (max-width: 900px) {
  .footer-flex {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: var(--color-sand);
  color: var(--color-dark);
  box-shadow: 0 -2px 14px 0 rgba(104, 145, 108, 0.13);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 22px 16px;
  z-index: 2000;
  animation: cookieBannerIn .28s cubic-bezier(.25,.8,.45,1.05);
  font-size: 1em;
}
@keyframes cookieBannerIn {
  0% { transform: translateY(120%); opacity:0; }
  100%{ transform: translateY(0); opacity:1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cookie-banner button {
  background: var(--color-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 0.97em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.13s, box-shadow 0.14s, color 0.13s;
}
.cookie-banner button.cookie-settings {
  background: var(--color-accent);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
}

/* ===== COOKIE CONSENT MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(40,51,47, 0.4);
  z-index: 2010;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.2s cubic-bezier(.25,.7,.45,1.02);
}
@keyframes cookieModalIn {
  0%{ opacity:0; }
  100%{ opacity:1; }
}
.cookie-modal {
  background: var(--color-offwhite);
  max-width: 390px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 42px 0 rgba(33,54,44,0.15);
  padding: 32px 28px 24px 28px;
  color: var(--color-dark);
  animation: cookieModalSlide 0.34s cubic-bezier(.22,.85,.47,1);
  position: relative;
}
@keyframes cookieModalSlide {
  0% { transform: translateY(80px) scale(.98); opacity:0; }
  100%{ transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal h3 {
  font-size: 1.3em;
  color: var(--color-green);
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--color-green);
  width: 18px;
  height: 18px;
  margin: 0;
}
.cookie-modal label {
  font-weight: 500;
  cursor: pointer;
}
.cookie-modal .category-desc {
  color: var(--color-muted);
  font-size: 0.97em;
}
.cookie-modal .cookie-modal-footer {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px; height: 28px;
  font-size: 1.2em;
  cursor: pointer;
  transition: background 0.12s, opacity 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-primary);
  opacity: 0.85;
}

/* ===== UTILITIES ===== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.1em;
  margin-bottom: 2px;
}
.text-section img {
  width: 22px;
  height: 22px;
  filter: invert(0.4) sepia(1) hue-rotate(65deg) brightness(0.95);
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 16px 7px;
    font-size: 0.98em;
  }
  .cookie-modal { padding: 20px 8px 14px 8px; }
}

/* ===== ANIMATIONS AND HOVERS ===== */
.card, .feature-grid > div, .testimonial-card, .thank-you-next-steps {
  transition: box-shadow 0.14s, transform 0.14s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 38px 0 rgba(56, 127, 148, 0.11);
  transform: translateY(-3px) scale(1.015);
}

/* ===== VISUAL ORGANIC DECOR ===== */
.section, .feature-grid > div, .card, .testimonial-card, .thank-you-next-steps, .cookie-modal {
  border-radius: 26px 14px 28px 12px;
}
.card-container, .content-grid, .feature-grid, .office-info, .footer-flex {
  gap: 24px;
}

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

/* ===== PRINT ===== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
}
