/* -------------------------------
   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: #F9FAFB;
  color: #234563;
  font-family: Arial, Helvetica, sans-serif;
}
ul,ol { list-style-position: inside; }
a { color: inherit; text-decoration: none; background-color: transparent; }
* { box-sizing: border-box; }
img { max-width: 100%; border: 0; display: block; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 16px; text-align: left;}
thead { background: #EAF4F6; color: #234563; font-weight: 700; font-family: 'Playfair Display', serif; }

/* -------------------------------
   CUSTOM PROPERTIES & PALETTES  
------------------------------- */
:root {
  --color-primary: #234563;
  --color-secondary: #D6E5EA;
  --color-accent: #8AB022;
  --color-pastel-blue: #D6E5EA;
  --color-pastel-mint: #E8F6F3;
  --color-pastel-lavender: #F0EAF6;
  --color-pastel-yellow: #FFF9E5;
  --color-pastel-pink: #FBECEE;
  --color-pastel-green: #E7F6E2;
  --color-white: #fff;
  --color-black: #232323;
  --font-display: 'Playfair Display', serif;
  --font-body: Arial, Helvetica, sans-serif;
  --shadow-card: 0 4px 28px 0 rgba(35,69,99,0.07);
  --shadow-btn: 0 2px 8px 0 rgba(35,69,99,0.08);
  --radius: 18px;
}

/* -------------------------------
   TYPOGRAPHY
------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
}
h1 { font-size: 2.25rem; margin-bottom: 20px; letter-spacing: -1px; }
h2 { font-size: 1.75rem; margin-bottom: 16px; letter-spacing: -.5px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; }

p, li, blockquote, dd, td, th {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
}
p { margin-bottom: 1.25em; }
ul, ol { margin-bottom: 1em; }
strong { color: var(--color-accent); font-weight: bold; }
blockquote {
  background: var(--color-pastel-blue);
  border-left: 4px solid var(--color-accent);
  padding: 18px 30px;
  border-radius: var(--radius);
  font-style: italic;
  color: var(--color-primary);
  margin-bottom: 8px;
}
cite {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  color: var(--color-black);
  opacity: 0.7;
}
.subheadline {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-accent);
  margin-bottom: 10px;
}

/* -------------------------------
   LAYOUT & ALIGNMENT
------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
}

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

.text-section {
  margin-bottom: 20px;
}

.feature-grid, .services-list, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-grid > div, .services-list > div, .card {
  background: var(--color-pastel-blue);
  border-radius: var(--radius);
  padding: 28px 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 255px;
  max-width: 375px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.feature-grid > div:hover, .services-list > div:hover, .card:hover {
  box-shadow: 0 8px 38px 0 rgba(143, 176, 34, 0.11);
  transform: translateY(-4px) scale(1.02);
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-pastel-yellow);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px 0 rgba(186,199,157,0.06);
  border-left: 4px solid var(--color-accent);
  max-width: 560px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.confirmation-card {
  background: var(--color-pastel-blue);
  border-radius: var(--radius);
  padding: 32px 24px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 480px;
  box-shadow: var(--shadow-card);
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-list > div {
  flex: 1 1 250px;
}

/* Table style (reisepakete) */
table {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  overflow: auto;
}
td {
  background: var(--color-pastel-blue);
}
th, td {
  border-bottom: 1px solid #e3ecef;
}
tr:last-child td {
  border-bottom: none;
}

/* -------------------------------
   HEADER & NAVIGATION
------------------------------- */
header {
  background: linear-gradient(90deg, var(--color-pastel-blue) 60%, var(--color-pastel-mint) 100%);
  box-shadow: 0 2px 12px 0 rgba(80,110,140,0.06);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  margin-bottom: 30px;
}
header .container {
  padding-top: 18px;
  padding-bottom: 14px;
}
.content-wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
header nav {
  display: flex;
  gap: 18px;
}
header nav a {
  font-family: var(--font-body);
  color: var(--color-primary);
  font-size: 1.05rem;
  opacity: 0.83;
  letter-spacing: 0.01em;
  border-radius: 12px;
  padding: 7px 16px;
  transition: background 0.19s, color 0.18s, opacity 0.17s;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-pastel-yellow);
  color: var(--color-accent);
  opacity: 1;
}
header .cta {
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 30px;
  transition: background 0.18s, box-shadow 0.20s;
  box-shadow: var(--shadow-btn);
  font-size: 1.04rem;
  border: none;
  outline: none;
  margin-left: 10px;
  letter-spacing: 0.03em;
  cursor: pointer;
}
header .cta:hover,
header .cta:focus {
  background: #6A8900;
  color: var(--color-white);
  box-shadow: 0 4px 24px 0 rgba(106,137,0,0.09);
  transform: translateY(-2px) scale(1.04);
}
header img {
  height: 46px;
  width: auto;
  border-radius: 9px;
}

/* -------------------------------
   BUTTONS & CTA
------------------------------- */
.cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  font-family: var(--font-display);
  font-size: 1.09rem;
  padding: 12px 32px;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow-btn);
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 8px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.21s, color 0.15s, transform 0.13s;
  font-weight: 600;
}
.cta:hover, .cta:focus {
  background: #6A8900;
  color: var(--color-white) !important;
  box-shadow: 0 6px 30px 0 rgba(138,176,34,0.15);
  transform: translateY(-2px) scale(1.03);
}

/* Generic button, e.g., in Cookie Banner */
.btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 18px;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 6px 6px 0;
  transition: background 0.15s, color 0.13s, box-shadow 0.19s;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
}
.btn:hover, .btn:focus {
  background: #688900;
  color: var(--color-white);
  box-shadow: 0 4px 16px 0 rgba(138,176,34,0.14);
  outline: 2px solid #bde440;
  outline-offset: 1px;
}
.btn.secondary {
  background: var(--color-pastel-blue);
  color: var(--color-primary);
  box-shadow: none;
  border: 1px solid var(--color-accent);
}
.btn.secondary:hover, .btn.secondary:focus {
  background: var(--color-white);
  color: var(--color-accent);
  border-color: #bde440;
}
.btn.text {
  background: transparent;
  color: var(--color-primary);
  border: none;
  padding: 0 8px;
  box-shadow: none;
}
.btn.text:hover, .btn.text:focus {
  color: var(--color-accent);
  background: #e8f6e2;
}

/* -------------------------------
   FOOTER
------------------------------- */
footer {
  background: var(--color-pastel-blue);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  box-shadow: 0 -2px 14px 0 rgba(80,110,140,0.05);
  padding-top: 26px;
  padding-bottom: 18px;
  margin-top: 42px;
  font-size: .98rem;
  color: var(--color-primary);
}
footer .container {
  padding-top: 0;
  padding-bottom: 0;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
footer nav {
  display: flex;
  gap: 12px;
}
footer nav a {
  color: var(--color-primary);
  opacity: 0.74;
  border-radius: 10px;
  padding: 3px 10px;
  transition: background 0.13s, color 0.12s;
  font-size: 1rem;
}
footer nav a:hover,
footer nav a:focus {
  background: var(--color-pastel-mint);
  color: var(--color-accent);
  opacity: 1;
}

/* -------------------------------
   MOBILE MENU
------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 1021;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  padding: 8px 17px 7px 17px;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(106,137,0,0.11);
  transition: background 0.19s, color 0.13s, box-shadow 0.16s, transform 0.11s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #6A8900;
  color: var(--color-white);
  box-shadow: 0 4px 14px 0 rgba(106,137,0,0.13);
  outline: 2px solid #bde440;
  outline-offset: 2px;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(105deg, var(--color-pastel-blue) 40%, var(--color-pastel-mint) 100%);
  box-shadow: 0 4px 54px 0 rgba(35, 69, 99, 0.12);
  z-index: 1050;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.56,.2,.38,1.17);
  flex-direction: column;
  padding-top: 38px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-pastel-pink);
  color: var(--color-primary);
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  padding: 10px 15px 6px 15px;
  cursor: pointer;
  align-self: flex-end;
  margin: 13px 20px 0 0;
  transition: background 0.13s, color 0.13s, box-shadow 0.19s;
  box-shadow: 0 2px 6px 0 rgba(235,188,200,0.08);
  z-index: 1101;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-pastel-yellow);
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 24px 0 0 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-primary);
  background: var(--color-pastel-blue);
  border-radius: 18px;
  font-size: 1.18rem;
  padding: 14px 36px 14px 18px;
  margin-bottom: 4px;
  transition: background 0.18s, color 0.16s;
  min-width: 200px;
  min-height: 24px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-white);
}

/* -------------------------------
   COOKIE CONSENT BANNER
------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-pastel-lavender);
  box-shadow: 0 -2px 22px 0 rgba(200,182,255,0.08);
  padding: 30px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2999;
  gap: 14px;
  animation: fadeInUp 0.35s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(64px); }
  to   { opacity: 1; transform: translateY(0);   }
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-consent-banner p, .cookie-consent-banner label {
  color: var(--color-primary);
  font-size: 1rem;
  opacity: 0.94;
  margin-bottom: 0;
}

/* Cookie settings modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(214,229,234,0.85);
  z-index: 3010;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open {
  display: flex;
  animation: fadeInUp 0.29s both;
}
.cookie-modal {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px 20px 26px 26px;
  min-width: 303px;
  max-width: 97vw;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.cookie-modal h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 8px;
  gap: 8px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 11px; right: 15px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  padding: 2px 10px 2px 8px;
  border-radius: 13px;
  transition: background 0.1s, color 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--color-pastel-yellow);
  color: var(--color-accent);
}

/* -------------------------------
   MICRO-INTERACTIONS & EFFECTS
------------------------------- */
a, button, .cta, .btn {
  transition: background 0.18s, color 0.14s, border 0.12s, box-shadow 0.16s, transform 0.11s;
}
input, textarea, select {
  border-radius: var(--radius);
  border: 1px solid #dde7ed;
  padding: 11px 15px;
  font-size: 1rem;
  margin-bottom: 10px;
  background: var(--color-pastel-blue);
  color: var(--color-primary);
  box-shadow: none;
  outline: none;
  transition: border-color .14s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 2px 11px 0 rgba(138,176,34,0.08);
}
label {
  color: var(--color-primary);
  font-weight: 500;
}

/* -------------------------------
   RESPONSIVE DESIGN
------------------------------- */
@media (max-width: 1050px) {
  .feature-grid > div, .services-list > div {
    min-width: 200px;
    max-width: 100%;
  }
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .content-wrapper { flex-direction: column; align-items: stretch; gap: 17px; }
  header .content-wrapper { flex-direction: column; align-items: center; gap: 10px; }
  footer .content-wrapper { flex-direction: column; align-items: center; }
  .feature-grid, .services-list, .card-container, .content-grid { flex-direction: column; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
  .feature-grid, .services-list, .card-container, .content-grid { flex-direction: column; gap: 20px; }
  .container { padding-left: 8px; padding-right: 8px; }
  .section { padding: 24px 6px; margin-bottom: 38px; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.24rem; }
  .confirmation-card { padding: 24px 7px; }
  table { font-size: 0.95rem; padding: 0; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.19rem; }
  .feature-grid > div, .services-list > div {
    padding: 18px 7px;
    min-width: unset;
    max-width: 99vw;
  }
  .section { padding: 19px 2px 19px 2px; }
}
@media (max-width: 650px) {
  .header nav, header .cta { display: none !important; }
  .mobile-menu-toggle { display: block !important; }
  header .content-wrapper { gap: 0; justify-content: space-between; }
  footer nav { flex-direction: column; gap: 4px; }
  .cookie-modal { min-width: unset; max-width: 96vw; padding: 18px 7px; }
}

/* Always hide main nav + CTA on mobile */
@media (max-width: 850px) {
  header nav, header .cta { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* Ensure testimonial readability */
.testimonial-card blockquote {
  color: #232323;
  font-size: 1.08rem;
}
.testimonial-card cite { color: #234563; font-size: 0.98rem; }

/* List styles & spacing */
ul, ol { padding-left: 18px; margin-bottom: 1.2em; }
li { margin-bottom: 8px; }
dl { margin-bottom: 18px; }
dl dt { color: var(--color-accent); font-family: var(--font-display); font-weight: 600; font-size: 1.07rem; margin: 14px 0 4px 0; }
dl dd { margin-left: 6px; margin-bottom: 8px; }

/* Fix: Prevent overlapping */
.section, .card, .feature-grid > div, .services-list > div, .testimonial-card {
  margin-bottom: 20px;
}

/* Decorative SVGs/icons */
.feature-grid img, .services-list img {
  width: 48px;
  height: auto;
  margin-bottom: 13px;
  border-radius: 10px;
  background: var(--color-white);
  padding: 4px;
}

/* Utility: visually hide elements */
.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Loader (optional for interaction) */
.loader {
  display: inline-block;
  width: 32px; height: 32px;
  border: 3px solid var(--color-pastel-blue);
  border-top: 3px solid var(--color-accent);
  border-radius: 50%;
  animation: spin 0.93s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

/* Confirmation Card Success (thank you page) */
.confirmation-card h1 {
  color: var(--color-accent);
  margin-bottom: 10px;
  text-align: center;
}
.confirmation-card p {
  color: var(--color-primary);
  margin-bottom: 12px;
  text-align: center;
}

/* Hide outline for mouse users, show for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

/* ---------------END--------------- */
