/* =======================================================
   RESET & BASE TYPOGRAPHY
   ======================================================= */
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,
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, 
main, 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;
}

html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #223344;
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

:root {
  --primary: #20537a;
  --secondary: #fae09b;
  --accent: #228c7f;
  --background: #ffffff;
  --card-bg: #fff;
  --text-main: #223344;
  --text-dark: #20537a;
  --text-accent: #228c7f;
  --border: #eef2f4;
  --shadow: 0 4px 18px rgba(32,83,122,0.06);
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover, a:active { color: var(--accent); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
}
h1 { font-size: 2.25rem; line-height: 1.2; margin-bottom: 18px; }
h2 { font-size: 1.5rem; line-height: 1.28; margin-bottom: 16px; }
h3 { font-size: 1.125rem; margin-bottom: 12px; font-weight: 600; }
h4 { font-size: 1rem; margin-bottom: 10px; }

p, ul, ol, li { margin-bottom: 12px; }
ul, ol { padding-left: 22px; }
ul:last-child, ol:last-child, p:last-child { margin-bottom: 0; }

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

img { max-width: 100%; height: auto; border-radius: 6px; display: block; }

.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

/* =======================================================
   HEADER & NAVIGATION
   ======================================================= */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(32,83,122,0.03);
  top: 0;
  width: 100%;
  z-index: 98;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  gap: 24px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 22px;
}
nav {
  display: flex;
  gap: 23px;
  align-items: center;
}
header nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.16s, border-color 0.22s;
}
header nav a:hover, header nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  outline: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--secondary);
}

/* ============================
   MOBILE MENU-OFF-CANVAS
   ============================ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ffffffcc;
  backdrop-filter: blur(2px);
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.77,0,.18,1);
  z-index: 9999;
  padding: 0 0 0 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  margin: 18px 20px 0 0;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.17s;
  z-index: 10001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100vw;
  padding: 54px 34px 16px 36px;
  max-width: 340px;
  background: #fff;
  box-shadow: 4px 0 32px rgba(32,83,122,0.09);
  height: 100vh;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  padding: 7px 4px;
  font-weight: 600;
  border-radius: 5px;
  transition: background 0.13s, color 0.14s;
}
.mobile-nav a:hover {
  background: var(--secondary);
  color: var(--accent);
}

/* Hide nav on mobile, show mobile menu toggle */
@media (max-width: 980px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}

/* =======================================================
   LAYOUT & SPACING UTILITIES
   ======================================================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.text-section {
  padding: 24px 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
  padding: 32px 28px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(32,83,122,0.07);
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid #f2f2f3;
  max-width: 540px;
}
.testimonial-card p {
  font-size: 1.12rem;
  color: #222c35;
}
.testimonial-card span {
  color: var(--accent);
  font-size: 0.92rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  opacity: 0.96;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.angebot-preview, .feature-grid, .indoor-tipps-grid, .highlight-grid, .event-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.angebot-preview > div,
.feature-grid > div,
.indoor-tipps-grid > div,
.highlight-grid > div,
.event-highlights > div {
  flex: 1 1 180px;
  min-width: 240px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 24px 18px 18px;
  border: 1px solid #f1f2f2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-grid img, .highlight-grid img, .indoor-tipps-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  opacity: 0.87;
}

.kurzfristige-tipps {
  margin-bottom: 24px;
  background: var(--secondary);
  padding: 16px 22px;
  border-radius: 10px;
  font-size: 1.08rem;
  color: var(--primary);
}

.filter-function, .themenfilter, .search-bar-outer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filter-function button, .themenfilter button {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 7px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.16s;
  margin-bottom: 4px;
}
.filter-function button:hover, .themenfilter button:hover {
  background: var(--accent);
  color: #fff;
}

.search-bar-outer {
  width: 100%;
  gap: 10px;
}
.search-bar-outer input {
  flex:1 1 180px;
  padding: 10px 14px;
  border: 1px solid #dde4e9;
  border-radius: 7px;
  font-size: 1.05rem;
  background: #fff;
  color: #20537a;
  outline: none;
  transition: border 0.15s;
}
.search-bar-outer input:focus {
  border: 1.5px solid var(--accent);
}
.search-bar-outer button {
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 18px;
  border-radius: 7px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}
.search-bar-outer button:hover, .search-bar-outer button:focus {
  background: var(--primary);
}

.cta-button {
  display: inline-block;
  padding: 13px 30px;
  background: var(--primary);
  color: #fff;
  font-size: 1.13rem;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.015em;
  transition: background 0.23s, transform 0.18s, box-shadow 0.21s;
  outline: none;
  margin-top: 5px;
  box-shadow: 0 2px 10px rgba(32,83,122,0.09);
}
.cta-button:hover, .cta-button:focus {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 7px 20px rgba(32,134,110,0.11);
}

.aktivitaetenliste, .gratis-event-list, .familientipps {
  list-style: disc;
  color: #2a415c;
  font-size: 1.01rem;
  margin-bottom: 18px;
}
.aktivitaetenliste li, .gratis-event-list li, .familientipps li {
  margin-bottom: 10px;
  padding-left: 0;
}

.address-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  background: #f8f9fa;
  padding: 16px 18px;
  border-radius: 9px;
}
.address-block img {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  opacity: 0.74;
  vertical-align: middle;
  display: inline-block;
}
.address-block p { display: flex; align-items: center; }
.map-embed { margin-top: 14px; }

/* =======================================================
   CALENDAR, WEATHER, SPECIAL CARDS
   ======================================================= */
.calendar-widget, .weather-widget, .seasonal-tip {
  margin: 17px 0 13px 0;
  padding: 14px 19px;
  background: #fffbe7;
  border-radius: 10px;
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(32,83,122,0.045);
  border: 1px solid #fae09b;
}
.weather-widget img {
  width: 38px; height: 38px; margin: 0;
}

.seasonal-tip strong { color: var(--accent); }

/* =======================================================
   FOOTER
   ======================================================= */
footer {
  background: #f9fafc;
  border-top: 1px solid #e2e7ea;
  padding: 38px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
footer nav a {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.013em;
  opacity: 0.90;
  transition: color 0.15s;
  padding: 4px 0;
}
footer nav a:hover { color: var(--accent); }
.brand-contact {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: flex-start;
}
.brand-contact img {
  width: 46px;
  height: auto;
  margin-right: 6px;
  border-radius: 10px;
}
.brand-contact p {
  color: #556;
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

/* =======================================================
   COOKIE CONSENT BANNER & MODAL
   ======================================================= */
.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(48px);
  bottom: 0;
  z-index: 99999;
  width: 98%;
  max-width: 510px;
  background: #fffffffa;
  box-shadow: 0 10px 44px rgba(32,83,122,0.14), 0 1.5px 12px #eceff3;
  border-radius: 14px 14px 0 0;
  border: 1.5px solid #f0e4bc;
  padding: 28px 28px 17px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.02rem;
  animation: slideUp .7s ease;
}
@keyframes slideUp {
  from { transform: translateX(-50%) translateY(100px); opacity: 0; }
  to { transform: translateX(-50%) translateY(48px); opacity:1; }
}
.cookie-banner h3 {
  font-size: 1.03rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
}
.cookie-banner p { color: #353a44; margin-bottom: 10px; }
.cookie-banner-btns {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 6px;
}
.cookie-banner-btns button {
  min-width: 120px;
  padding: 9px 20px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.16s, color 0.12s, box-shadow 0.16s;
  box-shadow: 0 1.7px 8px rgba(32,83,122,0.07);
}
.cookie-banner-btns .accept {
  background: var(--accent);
  color: #fff;
}
.cookie-banner-btns .accept:hover { background: #20665a; }
.cookie-banner-btns .reject {
  background: #f5f5f5;
  color: var(--primary);
  border: 1px solid #f0e4bc;
}
.cookie-banner-btns .reject:hover {
  background: var(--secondary);
}
.cookie-banner-btns .settings {
  background: none;
  color: var(--accent);
  border: 1.2px solid var(--accent);
}
.cookie-banner-btns .settings:hover {
  background: var(--accent);
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed; left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(50,60,80,0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  opacity: 1;
  pointer-events: auto;
  animation: fadeInModal .32s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 40px 32px 28px 32px;
  box-shadow: 0 11px 30px rgba(32,83,122,0.13);
  width: 95vw;
  max-width: 430px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 13px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8fafa;
  padding: 11px 15px;
  border-radius: 9px;
  margin-bottom: 9px;
  font-size: 1rem;
}
.cookie-modal .category label {
  font-weight: 500;
  flex: 1;
  color: #282b35;
  cursor: pointer;
}
.cookie-modal .category input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: var(--accent);
  margin-right: 7px;
}
.cookie-modal .category.essential label {
  color: #757575;
}
.cookie-modal .category.essential input[type="checkbox"] {
  accent-color: #adb5bd;
  pointer-events: none;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  opacity: 0.69;
  cursor: pointer;
  padding: 2px 5px;
  border-radius: 6px;
  transition: background 0.13s;
}
.cookie-modal .close-modal:hover { background: var(--secondary); }
.cookie-modal .actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 9px;
  width: 100%;
}
.cookie-modal .actions button {
  min-width: 106px;
  padding: 9px 18px;
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  transition: background 0.16s, color 0.14s;
  cursor: pointer;
}
.cookie-modal .actions .accept {
  background: var(--accent);
  color: #fff;
}
.cookie-modal .actions .accept:hover {
  background: #20665a;
}
.cookie-modal .actions .reject {
  background: #f5f5f5;
  color: var(--primary);
  border: 1px solid #e1e1e1;
}
.cookie-modal .actions .reject:hover { background: var(--secondary); }

/* =======================================================
   SOCIAL
   ======================================================= */
.social-media-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
  font-size: 1.05rem;
}
.social-media-links li { list-style: none; display: flex; align-items: center; gap:8px; }
.social-media-links img {
  width: 24px; height: 24px; border-radius:6px; margin-right:3px;
}

/* =======================================================
   RESPONSIVE BREAKPOINTS
   ======================================================= */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .angebot-preview > div,
  .feature-grid > div,
  .indoor-tipps-grid > div,
  .highlight-grid > div,
  .event-highlights > div {
    min-width: 180px;
    flex: 1 1 130px;
    padding: 16px 11px 11px;
  }
}
@media (max-width: 810px) {
  .container { padding:0 10px; }
  section { padding: 28px 10px; }
  .card { padding: 19px 12px; }
  .testimonial-card { max-width: 98vw; }
  footer .container { flex-direction: column; gap: 14px; }
  .brand-contact { flex-direction: column; gap: 9px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.14rem; }
  h3 { font-size: 1.03rem; }
  section { margin-bottom: 40px; }
  .feature-grid, .angebot-preview, .highlight-grid, .event-highlights, .indoor-tipps-grid {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid, .address-block, .brand-contact {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .search-bar-outer { flex-direction: column; gap:9px; }
}

@media (max-width: 520px) {
  .testimonial-card { padding: 12px 7px; }
  .cookie-banner {
    padding: 15px 13px 11px 13px;
    max-width:95vw;
    font-size: 0.98rem;
  }
  .cookie-modal {
    padding: 19px 7px 14px 9px;
  }
  section { padding: 18px 4vw; }
}

/*
  Helper: Hide visually, but keep available for screen readers
*/
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); border: 0;
}

/* Focus ring for accessibility */
a:focus, button:focus, input:focus, .cta-button:focus {
  outline: 2px solid var(--accent);
  outline-offset:2px;
}

/* ================
  Animations for cards and microinteractions
  ================ */
.card, .angebot-preview > div, .feature-grid > div, .testimonial-card, .indoor-tipps-grid > div {
  transition: box-shadow 0.19s, transform 0.15s;
}
.card:hover, .angebot-preview>div:hover, 
.feature-grid>div:hover, .highlight-grid>div:hover, 
.indoor-tipps-grid>div:hover, .testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(32,134,110,0.09);
  transform: translateY(-3px) scale(1.018);
}

/* UTILITIES */
.gap-24 { gap:24px; }
.gap-12 { gap:12px; }
.mb-32 { margin-bottom:32px !important; }

/* ===============
FORMS (if added later)
================== */
input[type="text"], input[type="email"], textarea {
  font-family: 'Roboto', Arial, sans-serif;
  border: 1px solid #dde4e9;
  border-radius: 6px;
  padding: 11px 13px;
  width: 100%;
  font-size: 1.03rem;
  margin-bottom: 13px;
  background: #fff;
  color: #20537a;
  transition: border 0.15s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.7px solid var(--accent);
  outline: none;
}
button:active {
  transform: scale(0.97);
}

/* Hide mobile menu overlay on desktop */
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}

/* =============================
   END OF FILE
   ============================= */
