/* Vintage Retro CSS for Heidelberg Entdecken */

/* =========================
   1. CSS Variables & Fonts
   ========================= */
:root {
  --color-primary: #253A52;
  --color-secondary: #A68D5D;
  --color-accent: #F5F3EC;
  --color-bg: #F5F3EC;
  --color-bg-alt: #F9F6F1;
  --color-retro-red: #C1440E;
  --color-retro-blue: #4B6C8B;
  --color-retro-yellow: #F6C85F;
  --color-retro-green: #7A9D54;
  --color-retro-brown: #7C5E3C;
  --color-retro-orange: #E89A3D;
  --color-text: #253A52;
  --color-text-dark: #1B263B;
  --color-text-light: #F5F3EC;
  --color-shadow: rgba(60, 40, 20, 0.10);
  --color-shadow-strong: rgba(60, 40, 20, 0.18);
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', 'Futura', 'Trebuchet MS', sans-serif;
  --font-body: 'Open Sans', 'Arial', 'Helvetica Neue', Arial, sans-serif;
  --font-retro: 'Montserrat', 'Futura', 'Trebuchet MS', 'Arial Rounded MT Bold', sans-serif;
  --border-radius: 14px;
  --border-radius-sm: 8px;
  --border-radius-lg: 24px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --pattern-bg: repeating-linear-gradient(135deg, #F5F3EC 0 10px, #F6C85F 10px 20px, #F5F3EC 20px 30px, #E89A3D 30px 40px);
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');

html {
  box-sizing: border-box;
  font-size: 18px;
  background: var(--color-bg);
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  margin: 0;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

/* =========================
   2. Typography
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: 0.7em;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-shadow: 1px 2px 0 var(--color-retro-yellow), 0 1px 0 var(--color-bg-alt);
}
h1 {
  font-size: 2.2rem;
  line-height: 1.1;
}
h2 {
  font-size: 1.6rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.3;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-dark);
  margin-bottom: 1em;
}
strong {
  color: var(--color-retro-red);
  font-weight: 700;
}
a {
  color: var(--color-retro-blue);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--color-retro-red);
  text-decoration: underline;
}

/* =========================
   3. Layout Containers
   ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-alt);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 24px var(--color-shadow);
  position: relative;
}

/* =========================
   4. Header & Navigation
   ========================= */
header {
  background: var(--pattern-bg);
  border-bottom: 4px solid var(--color-secondary);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 18px 12px 18px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-retro);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 6px 10px;
  border-radius: var(--border-radius-sm);
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-retro-yellow);
  color: var(--color-retro-red);
}
.cta-button {
  font-family: var(--font-retro);
  font-weight: 900;
  font-size: 1.1rem;
  background: linear-gradient(90deg, var(--color-retro-yellow) 60%, var(--color-retro-orange) 100%);
  color: var(--color-primary);
  border: none;
  border-radius: var(--border-radius-lg);
  padding: 12px 32px;
  margin-left: 18px;
  box-shadow: 0 2px 8px var(--color-shadow);
  cursor: pointer;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 0 var(--color-bg);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, var(--color-retro-orange) 60%, var(--color-retro-yellow) 100%);
  color: var(--color-retro-red);
  box-shadow: 0 4px 16px var(--color-shadow-strong);
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
}

/* =========================
   5. Mobile Navigation
   ========================= */
@media (max-width: 900px) {
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: var(--color-retro-yellow);
    color: var(--color-primary);
    border: none;
    font-size: 2rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 120;
    box-shadow: 0 2px 8px var(--color-shadow);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: var(--color-retro-orange);
    color: var(--color-retro-red);
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, var(--color-bg) 80%, var(--color-retro-yellow) 100%);
  box-shadow: 0 8px 32px var(--color-shadow-strong);
  z-index: 200;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.7,0,.3,1), opacity 0.3s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--color-retro-yellow);
  color: var(--color-primary);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  box-shadow: 0 2px 8px var(--color-shadow);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-retro-orange);
  color: var(--color-retro-red);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
  padding: 48px 32px 0 32px;
}
.mobile-nav a {
  font-family: var(--font-retro);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 10px 0;
  border-bottom: 2px dotted var(--color-retro-yellow);
  width: 100%;
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-retro-red);
  background: var(--color-retro-yellow);
}

/* Slide-in animation for mobile menu */
.mobile-menu {
  will-change: transform, opacity;
}

/* =========================
   6. Hero Section
   ========================= */
.hero {
  background: linear-gradient(120deg, var(--color-retro-yellow) 0%, var(--color-bg) 100%);
  padding: 60px 0 40px 0;
  border-bottom: 6px double var(--color-secondary);
  box-shadow: 0 8px 32px var(--color-shadow-strong);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  color: var(--color-retro-red);
  font-size: 2.5rem;
  text-shadow: 2px 3px 0 var(--color-retro-yellow), 0 2px 0 var(--color-bg);
}
.hero p {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 1.5em;
}

/* =========================
   7. Features & Cards
   ========================= */
.feature-grid, .tour-cards, .tour-list, .testimonial-slider, .testimonial-list, .image-grid, .highlighted-photos, .customer-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature {
  background: var(--color-bg);
  border: 2px solid var(--color-retro-yellow);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 28px 22px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature:hover {
  box-shadow: 0 8px 24px var(--color-shadow-strong);
  transform: translateY(-4px) scale(1.03);
}
.tour-card {
  background: var(--color-retro-yellow);
  border: 2px solid var(--color-retro-orange);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 28px 22px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.tour-card:hover {
  box-shadow: 0 8px 24px var(--color-shadow-strong);
  transform: translateY(-4px) scale(1.03);
}

/* =========================
   8. Text-Image Section
   ========================= */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-image-section > div {
  flex: 1 1 320px;
  min-width: 220px;
}
.text-image-section img {
  width: 100%;
  max-width: 340px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 24px var(--color-shadow-strong);
  border: 4px solid var(--color-retro-yellow);
}

/* =========================
   9. Image Grids & Gallery
   ========================= */
.image-grid, .highlighted-photos, .customer-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.image-grid > div, .highlighted-photos > div, .customer-photos > div {
  background: var(--color-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 12px 12px 8px 12px;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 320px;
  margin-bottom: 20px;
  text-align: center;
}
.image-grid img, .highlighted-photos img, .customer-photos img {
  width: 100%;
  border-radius: var(--border-radius-sm);
  margin-bottom: 8px;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.image-grid p, .highlighted-photos p, .customer-photos p {
  font-size: 0.98rem;
  color: var(--color-retro-brown);
  margin: 0;
}

/* =========================
   10. Testimonials
   ========================= */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-bg);
  border: 2px solid var(--color-retro-green);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px var(--color-shadow);
  min-width: 220px;
  max-width: 420px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px var(--color-shadow-strong);
  transform: translateY(-4px) scale(1.03);
}
.testimonial-card p {
  color: var(--color-text-dark);
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 0.5em;
}
.star-rating {
  color: var(--color-retro-orange);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  font-family: var(--font-retro);
}
.testimonial-author {
  color: var(--color-retro-brown);
  font-size: 0.98rem;
  font-family: var(--font-retro);
  font-weight: 700;
}

/* =========================
   11. Footer
   ========================= */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 0;
  margin-top: 60px;
  border-top: 6px double var(--color-secondary);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 0 20px 0;
}
.footer-content > div, .footer-nav {
  flex: 1 1 220px;
  min-width: 180px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--color-retro-yellow);
  font-family: var(--font-retro);
  font-size: 1rem;
  font-weight: 700;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-retro-orange);
}
.footer-contact p {
  color: var(--color-accent);
  font-size: 0.98rem;
  margin-bottom: 0.5em;
}
.footer-bottom {
  border-top: 1px solid var(--color-secondary);
  text-align: center;
  padding: 16px 0 8px 0;
  font-size: 0.95rem;
  color: var(--color-retro-yellow);
}
footer img {
  height: 38px;
  width: auto;
  margin-bottom: 10px;
}

/* =========================
   12. Cookie Consent Banner
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--color-retro-yellow);
  color: var(--color-primary);
  box-shadow: 0 -4px 24px var(--color-shadow-strong);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
  font-size: 1rem;
  border-top-left-radius: var(--border-radius-lg);
  border-top-right-radius: var(--border-radius-lg);
  animation: cookieBannerIn 0.6s cubic-bezier(.7,0,.3,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-family: var(--font-retro);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 10px 22px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  margin: 0;
}
.cookie-banner .accept {
  background: var(--color-retro-green);
  color: var(--color-text-light);
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-retro-blue);
}
.cookie-banner .reject {
  background: var(--color-retro-red);
  color: var(--color-text-light);
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--color-retro-brown);
}
.cookie-banner .settings {
  background: var(--color-retro-yellow);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-retro-orange);
  color: var(--color-retro-red);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(37,58,82,0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 32px var(--color-shadow-strong);
  padding: 36px 32px 28px 32px;
  min-width: 320px;
  max-width: 95vw;
  animation: cookieModalIn 0.5s cubic-bezier(.7,0,.3,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
@keyframes cookieModalIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5em;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-retro-green);
  width: 20px;
  height: 20px;
}
.cookie-category .essential {
  color: var(--color-retro-brown);
  font-weight: 700;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--color-retro-yellow);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-retro-orange);
  color: var(--color-retro-red);
}

/* =========================
   13. Lists, Features, Misc
   ========================= */
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.5em;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* =========================
   14. Spacing & Alignment
   ========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================
   15. Responsive Design
   ========================= */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .main-nav, .cta-button {
    display: none;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .content-wrapper, .feature-grid, .tour-cards, .tour-list, .testimonial-slider, .testimonial-list, .image-grid, .highlighted-photos, .customer-photos {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .feature, .tour-card, .image-grid > div, .highlighted-photos > div, .customer-photos > div, .testimonial-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .footer-content {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 24px 0 12px 0;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
  }
  .cookie-modal-content {
    padding: 18px 8px 14px 8px;
    min-width: 0;
    width: 98vw;
  }
}

/* =========================
   16. Micro-Interactions
   ========================= */
button, .cta-button, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal-close {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
button:active, .cta-button:active, .mobile-menu-toggle:active, .mobile-menu-close:active, .cookie-banner button:active, .cookie-modal-close:active {
  transform: scale(0.97);
}

/* =========================
   17. Accessibility
   ========================= */
:focus {
  outline: 2px dashed var(--color-retro-blue);
  outline-offset: 2px;
}

/* =========================
   18. Decorative Retro Patterns
   ========================= */
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.07;
  pointer-events: none;
  background: var(--pattern-bg);
  border-radius: var(--border-radius);
}
.section > * {
  position: relative;
  z-index: 1;
}

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

/* =========================
   20. Prevent Overlapping
   ========================= */
.feature, .tour-card, .testimonial-card, .image-grid > div, .highlighted-photos > div, .customer-photos > div {
  margin-bottom: 20px;
}

/* =========================
   END OF CSS
   ========================= */
