/* 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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #141B1D;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #E4E6E8;
  line-height: 1.6;
  min-height: 100vh;
}
*, *::before, *::after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}
a {
  color: #F6B63B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD980;
  outline: none;
}

/* BRAND COLORS AND VARIABLES (With Fallbacks) */
:root {
  --primary: #165C37;
  --primary-dark: #133C2C;
  --secondary: #23292A;
  --secondary-light: #24302C;
  --accent: #F6B63B;
  --accent-dark: #B8821F;
  --background: #141B1D;
  --card-bg: #202426;
  --card-bg-light: #262D2B;
  --text: #E4E6E8;
  --surface: #262D2B;
  --metallic: #a2adb6;
  --shadow: 0 4px 24px rgba(20,30,35,0.14);
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 4px;
}

/* TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css?family=Fjalla+One:400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
body {
  font-family: 'Open Sans', Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fjalla One', 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-transform: uppercase;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent);
  line-height: 1.12;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol, li, address {
  font-family: inherit;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  color: #fff;
  font-weight: 600;
}

/* GENERAL LAYOUTS */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
main {
  padding-top: 90px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* HEADER */
header {
  background: #181f20;
  box-shadow: 0 2px 10px rgba(30,30,30,0.17);
  position: fixed;
  width: 100%;
  z-index: 1010;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 75px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Fjalla One', Arial, sans-serif;
  color: var(--metallic);
  font-size: 1rem;
  position: relative;
  text-transform: uppercase;
  transition: color 0.2s;
  letter-spacing: 0.06em;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
}
.cta-btn {
  background: var(--accent);
  color: #23292A;
  font-family: 'Fjalla One', Arial, sans-serif;
  font-size: 1.1rem;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 7px rgba(0,0,0,0.11), 0 1.5px 0 var(--accent-dark) inset;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.18s, box-shadow 0.20s;
  text-transform: uppercase;
  font-weight: 700;
  outline: none;
  margin-left: 12px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 12px 0 var(--accent), 0 1.5px 0 #f0a928 inset;
}

/* HAMBURGER MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.2rem;
  margin-left: 16px;
  cursor: pointer;
  z-index: 1102;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(22,25,30,0.97);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 36px 24px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.77,0.2,0.05,1.0);
  box-shadow: 6px 0 36px rgba(0,0,0,0.27);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.3rem;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 1103;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Fjalla One', Arial, sans-serif;
  color: #E4E6E8;
  font-size: 1.35rem;
  padding: 12px 0 12px 5px;
  border-radius: var(--radius-sm);
  transition: background 0.11s, color 0.2s;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mobile-nav a:hover {
  background: var(--accent);
  color: #181f20;
}

@media (max-width: 990px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(92deg, #181F20 80%, var(--primary) 100%);
  padding: 64px 0 48px 0;
  margin-bottom: 44px;
  min-height: 320px;
  box-shadow: 0 4px 18px 0 rgba(0,0,0,0.23);
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 200px;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 700px;
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  color: var(--accent);
}
.hero p {
  font-size: 1.17rem;
  color: #dde1dd;
  margin-bottom: 12px;
}

/* SECTION GENERIC SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* FLEX CONTENT LAYOUTS */
.card-container, .feature-grid, .service-list, .testimonial-slider, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.card {
  background: var(--card-bg);
  padding: 28px 20px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  position: relative;
  min-width: 270px;
  flex: 1 1 260px;
  transition: box-shadow 0.19s, background 0.21s;
}
.card:hover {
  box-shadow: 0 8px 30px 0 rgba(105,99,89,0.17), 0 2.5px 0 var(--accent-dark) inset;
  background: #222829;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* Feature Grid (Icon & Text) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 38px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.feature-grid li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 210px;
  background: #182220;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  font-size: 1.06rem;
  color: var(--text);
  box-shadow: 0 4px 16px 0 rgba(22,30,35,0.11);
  font-family: inherit;
  font-weight: 500;
}
.feature-grid li img {
  width: 32px; height: 32px;
  filter: drop-shadow(0 1px 1px #0b1512);
}

/* SERVICE LIST styles */
.service-list {
  flex-direction: column;
  gap: 22px;
  margin-bottom: 14px;
}
.service-list li, .tour-card {
  background: #232829;
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  min-width: 240px;
  box-shadow: var(--shadow);
  font-size: 1.03rem;
  margin-bottom: 18px;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.01em;
  position: relative;
}
.service-list strong {
  color: var(--accent);
  font-weight: 700;
}

/* Tour Card styles for touren.html */
.tour-card {
  border-left: 5px solid var(--accent);
  margin-bottom: 20px;
  padding: 20px 20px 20px 26px;
  position: relative;
  flex: 1 1 260px;
  transition: background 0.14s, box-shadow 0.19s;
}
.tour-card:hover {
  background: #293634;
  box-shadow: 0 8px 28px 0 rgba(105,99,89,0.13), 0 2.5px 0 var(--accent-dark) inset;
}
.badge {
  display: inline-block;
  font-size: 0.87rem;
  background: var(--accent);
  color: #23292A;
  font-weight: 700;
  border-radius: 8px;
  padding: 2px 12px;
  margin-left: 7px;
  margin-top: 7px;
  box-shadow: 0 1px 3px 0 rgba(255,200,60,0.12);
}

/* Testimonial Slider */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 32px 28px 32px;
  background: #f6faf357;
  color: #222C23;
  border-radius: 18px;
  min-width: 260px;
  flex: 1 1 260px;
  position: relative;
  box-shadow: 0 6px 28px 0 rgba(29,34,28,0.14);
  margin-bottom: 20px;
  border-left: 6px solid var(--primary);
  transition: box-shadow 0.17s, border 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px 0 rgba(50,69,48,0.19);
  border-left: 6px solid var(--accent);
}
.stars {
  color: #F6B63B;
  font-size: 1.23rem;
  letter-spacing: 0.09em;
  font-family: inherit;
  margin-bottom: 7px;
}
.testimonial-name {
  color: #303B31;
  font-family: 'Fjalla One', Arial, sans-serif;
  font-size: 1.09rem;
  letter-spacing: 0.05em;
}

/* ADDRESS & MAP STYLES (kontakt.html) */
.contact-details {
  background: #222829;
  color: var(--text);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px 0 rgba(20,45,25,0.09);
  padding: 20px 28px;
  margin-bottom: 18px;
}
.map-snippet {
  display: flex;
  align-items: center;
  background: #212d25;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  color: var(--metallic);
  font-size: 1.01rem;
  gap: 10px;
}

/* FOOTER */
footer {
  background: #161b1d;
  padding: 44px 0 26px 0;
  color: var(--metallic);
  font-size: 1rem;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
footer .footer-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
footer a {
  color: var(--metallic);
  font-size: 1rem;
  transition: color 0.19s;
}
footer a:hover, footer a:focus {
  color: var(--accent);
}
footer p {
  font-size: 0.97rem;
  color: #8c9687;
  margin: 0;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #1B2322;
  color: #fff;
  box-shadow: 0 -2px 18px 2px rgba(20,28,30,0.23);
  z-index: 9050;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 12px 18px 12px;
  gap: 34px;
  width: 100vw;
  min-height: 60px;
  font-size: 1rem;
  transition: transform 0.34s cubic-bezier(0.77,0.1,0.2,1.0);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 380px;
  max-width: 560px;
  color: #F7F9F7;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-banner-btn {
  background: var(--accent);
  color: #111;
  border: none;
  border-radius: var(--radius-md);
  padding: 9px 22px;
  font-family: 'Fjalla One', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-right: 3px;
  box-shadow: 0 2px 7px 0 rgba(152,106,16,0.09);
  transition: background 0.16s, color 0.16s;
}
.cookie-banner-btn:hover, .cookie-banner-btn:focus {
  background: #fff4de;
  color: var(--primary-dark);
}
.cookie-banner-btn:not(:first-child) {
  background: #232b2a;
  color: #F7F9F7;
}
.cookie-banner-btn:not(:first-child):hover, .cookie-banner-btn:not(:first-child):focus {
  background: var(--metallic);
  color: #232b2a;
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(30,36,39,0.92);
  z-index: 9100;
  align-items: center;
  justify-content: center;
  padding: 28px 14px;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: #f6faf3;
  color: #222929;
  border-radius: var(--radius-lg);
  padding: 40px 28px 28px 28px;
  max-width: 420px;
  min-width: 260px;
  box-shadow: 0 8px 38px 2px rgba(70,88,61,0.17);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.38rem;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1.02rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--primary);
  width: 19px;
  height: 19px;
}
.cookie-modal .essential {
  font-weight: 700;
  color: var(--primary-dark);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.cookie-modal-actions .cookie-banner-btn {
  flex: 1 1 auto;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent);
}

/* TEXT WITH IMAGE SECTION */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

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

/* RESPONSIVENESS */
@media (max-width: 990px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .container {
    padding: 0 11px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
}
@media (max-width: 880px) {
  .testimonial-slider, .feature-grid, .card-container, .service-list, .content-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6vw;
  }
  .main-nav, .cta-btn {
    display: none !important;
  }
  main {
    padding-top: 66px;
  }
  .hero {
    padding: 36px 0 22px 0;
    min-height: 120px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .feature-grid, .card-container, .service-list, .testimonial-slider, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card, .tour-card, .testimonial-card {
    min-width: 80vw;
    padding: 20px 13px;
    font-size: 0.97rem;
  }
  section, .section {
    padding: 28px 0;
  }
  .content-wrapper {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 16px 8px 14px 8px;
    font-size: 0.98rem;
    align-items: flex-start;
  }
  .cookie-banner-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .cookie-banner-btn {
    width: 100%;
    min-width: 140px;
  }
}
/* Extra mobile adjustments */
@media (max-width: 500px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 3vw;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .cookie-modal-content {
    padding: 18px 8px 12px 8px;
    min-width: 0;
  }
}

/* BUTTONS GENERIC */
button {
  font-family: inherit;
  font-size: inherit;
}
button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* INTERACTIONS, MICROANIMATIONS */
.card, .tour-card, .testimonial-card, .cta-btn, .cookie-banner-btn {
  transition: box-shadow 0.18s, background 0.16s, color 0.13s, border 0.19s;
}
.cta-btn:active {
  box-shadow: 0 1px 3px 0 var(--primary), 0 0.5px 0 var(--accent-dark) inset;
  background: var(--accent-dark);
}

/* SELECT & INPUT (for possible future forms) */
input, select, textarea {
  background: #23292A;
  color: #EBEEEB;
  border: 1.5px solid var(--metallic);
  border-radius: var(--radius-sm);
  padding: 10px 15px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-family: inherit;
  box-shadow: 0 1px 4px 0 rgba(23,34,23,0.09);
  transition: border 0.15s, box-shadow 0.12s;
}
input:focus, select:focus, textarea:focus {
  border: 1.5px solid var(--accent);
  box-shadow: 0 2px 8px 0 rgba(246,182,59,0.09);
  outline: none;
}

/* LISTS */
ul, ol {
  margin-bottom: 18px;
  margin-left: 28px;
  color: #CCD3C7;
  font-size: 1.08rem;
  font-family: inherit;
}
ul li, ol li {
  margin-bottom: 6px;
}

/* ACCENT BORDERS for Modern Industrial Flair */
.card, .tour-card {
  border-left: 5px solid var(--metallic);
}
.card:hover, .tour-card:hover {
  border-left: 5px solid var(--accent);
}

/* BADGES & ICONS */
.badge {
  font-family: 'Fjalla One', Arial, sans-serif;
}

/* MICRO EFFECTS for clickable (non-button) elements */
a:not(.cta-btn), .footer-nav a {
  position: relative;
}
a:not(.cta-btn):after, .footer-nav a:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  width: 0%;
  opacity: 0.7;
  transition: width 0.17s;
}
a:not(.cta-btn):hover:after, .footer-nav a:hover:after {
  width: 100%;
}

/* MISC */
::-webkit-scrollbar {
  width: 11px;
  background: #1d2325;
}
::-webkit-scrollbar-thumb {
  background: #434f48;
  border-radius: 8px;
  border: 2px solid #252d2b;
}

/* PRINT OPTIMIZATION */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  main { padding-top: 0 !important; }
}
