/* --- 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;
}

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

body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #F4F7F3;
  background: linear-gradient(135deg, #233043 0%, #255C4E 100%);
  background-color: #255C4E;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #51FFD8;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover,
a:focus { color: #F4FF70; }

ul, ol {
  list-style: none;
  padding-left: 0;
  margin: 0 0 18px 0;
}

strong {
  font-weight: 700;
  color: #58f7b3;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.25rem; color: #F4F7F3; text-shadow: 0 2px 16px #03241f80; }
h2 { font-size: 1.5rem; color: #A6F6C2; }
h3 { font-size: 1.2rem; color: #7DE2D1; }
h4, h5, h6 { color: #85a7ac; }
p, li, dd {
  color: #e4fff7;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 10px;
}
.subheadline { font-size: 1.15rem; color: #B7FFD4; margin-bottom: 24px; font-family: 'Montserrat', Arial, sans-serif; }

/* --- CONTAINER / SECTION LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: rgba(37, 92, 78, 0.7);
  border-radius: 14px;
  box-shadow: 0 8px 36px 0 #23d1a820, 0 2px 12px 0 #0f1c1b44;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}
.text-section {
  background: rgba(44,52,68,0.57);
  border-left: 4px solid #51FFD8;
  padding: 28px 20px 28px 36px;
  border-radius: 12px;
  box-shadow: 0 6px 24px 0 #366f6644;
}

/* --- FLEX LAYOUTS FOR PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #284e44;
  border-radius: 16px;
  box-shadow: 0 3px 18px 0 #26feba30, 0 1px 6px 0 #22343b44;
  padding: 32px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s cubic-bezier(0.4,0,0.2,1), transform 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  max-width: 450px;
  flex: 1 1 320px;
}
.card:hover {
  box-shadow: 0 8px 40px 0 #23f7bb75, 0 3px 12px #43929648;
  transform: translateY(-4px);
}
.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: center;
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
  background: #F4F7F3;
  box-shadow: 0 2px 20px #21ffe255;
  margin-bottom: 20px;
  color: #1B3A31;
  min-width: 240px;
  max-width: 500px;
}
.testimonial-card blockquote {
  color: #1B3A31;
  font-size: 1.12rem;
  font-style: italic;
  margin: 0 0 8px 0;
}
.testimonial-card strong {
  color: #255C4E;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER --- */
header {
  width: 100%;
  background: rgba(31,56,53,0.95);
  box-shadow: 0 2px 24px #0ff79b25;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 20px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #F4F7F3;
  letter-spacing: 0.01em;
  padding: 6px 17px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: #0ff7e3;
  color: #295241;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1a2327;
  background: linear-gradient(90deg, #26FFD7 0%, #58f7b3 100%);
  border: none;
  padding: 11px 36px;
  border-radius: 22px;
  font-size: 1.15rem;
  margin-left: 18px;
  box-shadow: 0 3px 16px 0 #0fffc06f;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.22s, transform 0.15s;
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(90deg, #B7FFD4 0%, #26FFD7 100%);
  box-shadow: 0 7px 32px #11cba44d;
  color: #1d2836;
  transform: translateY(-1px) scale(1.045);
  outline: none;
}

/* --- MOBILE HEADER / BURGER NAV --- */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  display: none;
  cursor: pointer;
  margin-left: 18px;
  z-index: 1040;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #051c18f7;
  z-index: 1030;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.37s cubic-bezier(0.77,0,0.175,1), opacity 0.22s;
  box-shadow: 0 0 0 100vw #08392280;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #0FDD8A;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 26px 18px 8px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #51FFD8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 40px 25px 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F4F7F3;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 15px 12px 15px 0;
  border-radius: 9px;
  transition: background 0.21s, color 0.21s;
  margin-right: 14px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #1B3A31;
  color: #22FFD7;
}

@media (max-width: 991px) {
  header .container nav,
  header .container .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 7vw;
  }
  section {
    padding: 24px 6vw;
  }
  .content-wrapper {
    gap: 13px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }
  .cta-btn { font-size: 1rem; padding: 8px 19px; }
  .mobile-nav a { font-size: 1rem; padding: 13px 0; }
}

/* --- FEATURE GRID & FILTERS (Index/Routenführer Pages) --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
  margin-bottom: 16px;
}
.feature-grid li {
  background: #071d17d7;
  border-radius: 14px;
  box-shadow: 0 1px 6px #35DBB834;
  padding: 20px 18px 14px 18px;
  min-width: 160px;
  max-width: 360px;
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
  transition: box-shadow 0.19s;
  border: 1.5px solid #1deec789;
  margin-bottom: 14px;
}
.feature-grid li:hover {
  box-shadow: 0 5px 24px #09fffb50;
}
.feature-grid img {
  width: 36px; height: 36px; margin-bottom: 6px;
}
/* Route Filters (routenfuehrer.html) */
.route-filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 13px 0;
  border-radius: 7px;
  background: #16342c62;
  margin-bottom: 19px;
  font-size: 1rem;
}
.route-filters strong { color: #1DEEB2; font-weight: 700; letter-spacing: 0.04em; }
.route-filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.route-filters li {
  display: flex; align-items: center; gap: 8px;
}
.route-filters li span {
  background: #0BE7AA33;
  color: #0FFFB6;
  font-weight: 600;
  padding: 2px 13px;
  border-radius: 8px;
  margin-left: 7px;
  margin-right: 2px;
  font-size: 0.95rem;
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: #172523;
  color: #F4F7F3;
  box-shadow: 0 -1px 14px #0BE7AA10;
  padding-top: 27px;
  padding-bottom: 27px;
  margin-top: 42px;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-logo img {
  height: 45px; width: auto; margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #A6F6C2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 0;
  border-radius: 6px;
  transition: background 0.23s, color 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #25FFD670;
  color: #1B3A31;
}
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 8px;
}
.contact-info li {
  display: flex;
  align-items: center;
  font-size: 0.96rem;
  color: #ecfff3;
  gap: 6px;
  padding: 2px 0 2px 0;
}
.contact-info img { width: 20px; height: 20px; opacity: 0.9; }
.social-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}
.social-links a img {
  width: 30px; height: 30px; filter: drop-shadow(0 1px 8px #14ffd833);
  transition: filter 0.2s;
}
.social-links a:hover img,
.social-links a:focus img {
  filter: drop-shadow(0 2px 20px #25FFD7) contrast(2) brightness(1.15);
}
@media (max-width: 820px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* --- DO/DONT LIST (Insider-Tipps) --- */
.do-dont-lists {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}
.do-dont-lists > div {
  background: #20ffd80f;
  border-radius: 13px;
  box-shadow: 0 2px 8px #0ffcb144;
  padding: 18px 20px 10px 20px;
  flex: 1 1 220px;
}
.do-dont-lists h3 {
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
}
.do-dont-lists ul li {
  margin-bottom: 7px;
  color: #AFFFE2;
  font-size: 0.97rem;
}

@media (max-width: 700px) {
  .do-dont-lists {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- DL (FAQ) Formatting --- */
dl {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
dl dt {
  color: #26FFD7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}
dl dd {
  color: #F4F7F3;
  margin-left: 22px;
  font-size: 1rem;
  margin-bottom: 0;
}

/* --- Animations / Transitions --- */
section, .cta-btn, .card, .testimonial-card, .feature-grid li, .mobile-menu, .mobile-nav a, header nav a, .footer-nav a {
  transition: box-shadow 0.23s cubic-bezier(0.4,0,0.2,1), background 0.2s, color 0.18s, transform 0.22s;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #152D23;
  color: #F4F7F3;
  padding: 22px 10vw 22px 10vw;
  z-index: 9001;
  box-shadow: 0 -6px 30px #09ffc075;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  animation: cookieBannerIn 0.7s cubic-bezier(.5,2,.35,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(60px); opacity: 0; } to { transform: translateY(0); opacity: 1; }
}

.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  padding: 8px 22px;
  border: none;
  transition: background 0.16s, color 0.18s, box-shadow 0.15s;
}
.cookie-accept {
  background: linear-gradient(90deg,#21ffe2 0%,#51FFD8 100%);
  color: #10221A;
  border: none;
  box-shadow: 0 1px 8px #21ffe277;
}
.cookie-accept:hover {
  background: #26FFD7;
  color: #03241F;
}
.cookie-reject {
  background: #183b34;
  color: #AFFFE2;
  border: 1.5px solid #0BE7AA;
}
.cookie-reject:hover {
  background: #255C4E;
  color: #A6F6C2;
}
.cookie-settings {
  background: #095f4a;
  color: #AFFFE2;
  border: 1.5px solid #20FFD8;
}
.cookie-settings:hover {
  background: #20FFD8;
  color: #1b423c;
}

@media (max-width: 650px) {
  .cookie-consent-banner {
    padding-left: 5vw;
    padding-right: 5vw;
    font-size: 15px;
  }
  .cookie-btns {
    gap: 14px;
  }
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(8,34,29,0.92);
  z-index: 9900;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalSlideIn 0.36s cubic-bezier(.85,0,.35,1);
}
@keyframes cookieModalSlideIn {
  from { opacity: 0; transform: scale(0.89); } to { opacity:1; transform: scale(1);}
}
.cookie-modal-content {
  background: #204642;
  padding: 38px 33px 25px 33px;
  border-radius: 20px;
  max-width: 460px;
  min-width: 265px;
  color: #F4F7F3;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 8px 40px #21ffe244;
}
.cookie-modal-content h3 {
  margin-bottom: 6px;
  letter-spacing: 0.03em;
  font-size: 1.19rem;
  color: #58f7b3;
}
.cookie-option-group {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}
.cookie-option input[type="checkbox"] {
  accent-color: #21ffe2;
  width: 22px; height: 22px;
}
.cookie-option.essential input[type="checkbox"] {
  accent-color: #b0ffc2;
}
.cookie-option.essential label {
  color: #A6F6C2;
  opacity: 0.8;
}
.cookie-modal-actions {
  display: flex;
  gap: 17px;
  justify-content: flex-end;
  align-items: center;
}
.cookie-modal-actions button {
  padding: 7px 25px;
  font-size: 1.01rem;
}

@media (max-width: 520px) {
  .cookie-modal-content {
    width: 90vw;
    min-width: unset;
    padding: 20px 9vw 18px 9vw;
  }
}

/* --- MISC: OVERRIDE & ALTERNATIVE STYLES --- */
blockquote {
  font-style: italic;
  quotes: none;
}

::-webkit-scrollbar {width: 10px;background: #132422;}
::-webkit-scrollbar-thumb {background: #255C4E;border-radius:10px;}
::-webkit-scrollbar-thumb:hover {background: #09ffbb;}

/* Hide outline for mouse users but keep for keyboard nav */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 3px solid #26FFD7;
  outline-offset: 2px;
}

/* --- CONTACT DETAILS IN CARDS --- */
.contact-details ul, .contact-info ul {
  gap: 12px;
}
.contact-details li {
  display: flex; align-items: center; gap: 7px;
  color: #92ffe3;
  font-size: 1.02rem;
  padding: 2px 0;
}
.contact-details img { width: 23px; height: 23px; }

/* --- MAP HINT (alpenregionen.html) --- */
.map-snippet {
  background: #0FDD8A08;
  padding: 24px 16px;
  border-radius: 11px;
  font-size: 1.02rem;
  box-shadow: 0 2px 10px #22ffd720;
  color: #B7FFD4;
}

/* --- SUCCESS/THANKYOU CARD (thanks.php) --- */
.text-section a.cta-btn {
  display: inline-block;
  margin-top: 28px;
}

/* --- LEGAL PAGES (cookie, gdpr, impressum, etc) --- */
.text-section ul {
  margin-bottom: 18px;
  padding-left: 14px;
}
.text-section ul li::before {
  content: '•';
  color: #51FFD8;
  font-size: 1.1em;
  margin-right: 9px;
  position: relative;
  top: -1px;
}
.text-section h2 {
  margin-top: 20px;
}

/* --- BRAND FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');