/* RESET & BASE STYLES */
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, 
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #2D3021;
  background: #F2F5EC;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}
a {
  color: #00897B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #19472a;
  text-decoration: underline;
  outline: 0;
}
strong {
  font-weight: 600;
  color: #2D3021;
}
ul,
ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 8px;
}
button,
input[type="button"],
input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* COLORS */
:root {
  --brand-primary: #192440;      /* deep earth-inspired navy */
  --brand-secondary: #00B6B2;   /* vibrant nature teal */
  --brand-accent: #FFD06F;      /* warm organic sun yellow */
  --earth-bg: #F2F5EC;          /* light earthy bg */
  --earth-card: #FFFFFF;         /* card paper white */
  --earth-text: #2D3021;        /* deep leaf green/brown */
  --nature-green: #569B5A;      /* accent green */
  --nature-olive: #CDEAAB;      /* soft green for surfaces */
  --nature-brown: #B8A77C;      /* subtle brown for depth */
  --shadow-main: 0 2px 16px 0 rgba(60,80,55,0.08);
}

/* MAIN LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* HEADER */
header {
  background: var(--earth-bg);
  box-shadow: 0 2px 8px 0 rgba(60,80,55,0.05);
  z-index: 16;
}
header .container {
  min-height: 78px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.logo img {
  height: 48px;
  border-radius: 16px;
}
/* Desktop nav */
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex: 1 1 auto;
  justify-content: flex-end;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--brand-primary);
  letter-spacing: 0.02em;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.24s, color 0.24s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--nature-olive);
  color: var(--brand-secondary);
}

/* Call To Action Btn */
.cta-btn {
  background: var(--nature-green);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.1rem;
  padding: 12px 28px;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 8px 0 rgba(60,80,55,0.09);
  margin-left: 18px;
  transition: background 0.28s, color 0.28s, transform 0.14s;
  cursor: pointer;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-secondary);
  color: #fff;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 4px 12px 0 rgba(60,80,55,0.13);
}

/* MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 18px;
  background: var(--nature-green);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  z-index: 43;
  box-shadow: 0 2px 10px rgba(60,80,55,0.13);
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: rgba(241,248,232,0.98);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,.2,.3,1.0);
  display: flex;
  flex-direction: column;
  padding-top: 55px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: var(--nature-green);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  box-shadow: 0 2px 8px rgba(60,80,55,0.12);
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-secondary);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  margin: 36px 0 0 32px;
}
.mobile-nav a {
  font-size: 1.37rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--brand-primary);
  letter-spacing: 0.01em;
  font-weight: 600;
  padding: 8px 4px;
  border-radius: 7px;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--nature-olive);
  color: var(--nature-green);
}

/* Show/hide nav for mobile/desktop */
@media (max-width: 1024px) {
  .main-nav,
  .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* SECTIONS, LAYOUTS & SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--earth-card);
  border-radius: 20px;
  box-shadow: var(--shadow-main);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(60,80,55,0.18);
  transform: translateY(-2px) scale(1.015);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
  }
  .content-grid {
    flex-direction: column;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--nature-olive);
  padding: 20px 26px;
  border-radius: 19px;
  box-shadow: 0 2px 12px 0 rgba(60,80,55,0.08);
  margin-bottom: 20px;
}
.testimonial-card p {
  color: var(--earth-text);
  font-size: 1.09rem;
  text-align: center;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  color: var(--brand-primary);
  letter-spacing: 0.02em;
}
.testimonial-meta span:last-child {
  color: var(--nature-green);
  font-size: 1.15rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
  background: var(--earth-card);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(60,80,55,0.07);
  padding: 22px 17px;
}
.top-picks, .trending, .user-favorites, .featured-posts, .blog-categories, .author-bios {
  margin-top: 22px;
  background: var(--earth-card);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(80,100,90,0.07);
  padding: 15px 18px;
}
.author-card {
  font-family: 'Montserrat', Arial;
  font-size: 1rem;
  padding: 10px;
  background: var(--nature-olive);
  border-radius: 10px;
  margin-bottom: 13px;
}

/* Buttons (filters) on filmy.html etc. */
.genre-filters button {
  margin: 6px 10px 6px 0;
  background: var(--brand-accent);
  border: none;
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 22px;
  font-size: 0.97rem;
  font-weight: 600;
  padding: 8px 24px;
  cursor: pointer;
  box-shadow: 0 2px 7px 0 rgba(190,158,38,0.08);
  transition: background 0.18s, color 0.18s, transform 0.12s;
}
.genre-filters button:hover,
.genre-filters button:focus {
  background: var(--nature-green);
  color: #fff;
  transform: scale(1.04);
}

/* SEARCH BAR (blog.html) */
.search-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0 14px 0;
}
.search-bar label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: var(--brand-primary);
}
.search-bar input[type="text"] {
  border: 1px solid var(--brand-secondary);
  border-radius: 10px;
  padding: 8px 17px;
  font-size: 1rem;
  background: var(--nature-olive);
  color: var(--brand-primary);
  outline: none;
  transition: border-color 0.13s;
}
.search-bar input[type="text"]:focus {
  border-color: var(--nature-green);
}

/* CONTACT DETAILS & FAQ ON kontakt.html */
.contact-details,
.faq-list {
  margin: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--earth-card);
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(60,80,55,0.04);
  padding: 17px 14px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.faq-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-primary);
}

/* FORMS (if exist) */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  background: var(--nature-olive);
  border: 1px solid #b7d2a5;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 1rem;
  color: var(--earth-text);
  margin-bottom: 15px;
  outline: 0;
  transition: border-color 0.13s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: var(--nature-green);
}

/* HEADINGS & TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--brand-primary);
  font-weight: 700;
}
h1 {
  font-size: 2.65rem;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  line-height: 1.24;
}
h3 {
  font-size: 1.23rem;
  margin-bottom: 9px;
}
.subheadline {
  color: var(--brand-secondary);
  font-size: 1.18rem;
  margin-bottom: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
p {
  font-size: 1.06rem;
  margin-bottom: 14px;
  color: var(--earth-text);
}

/* PREMIERES CALENDAR/BLOCKS */
.premieres-calendar, .premieres-calendar ul {
  margin: 17px 0 6px 0;
  padding: 0;
  list-style: none;
}
.premieres-calendar strong {
  color: var(--nature-green);
}
.premieres-calendar ul li {
  margin-bottom: 6px;
  padding-left: 0;
}

/* FOOTER */
footer {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 -2px 8px rgba(40,60,35,0.09);
  font-size: 1rem;
  width: 100%;
  margin-top: 60px;
  padding: 0;
}
footer .container {
  padding: 34px 14px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--brand-accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.19s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--nature-green);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 6px;
}
.footer-contact img {
  width: 19px;
  vertical-align: middle;
  display: inline-block;
  margin: 0 3px -3px 0;
  border-radius: 4px;
}
.footer-info {
  color: #ade5c5;
  font-size: 0.93rem;
  margin-top: 8px;
  opacity: 0.95;
}

/* RESPONSIVENESS*/
@media (max-width: 1120px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 820px) {
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  header .container {
    gap: 10px;
  }
  .footer-nav {
    gap: 13px;
  }
}
@media (max-width: 650px) {
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  .section { padding: 28px 5vw; }
  .content-wrapper { padding: 0; }
  .footer-info { font-size: 0.85rem; }
  .footer-contact { font-size: 0.89rem; }
  .container { padding: 0 5px; }
  .card, .feature-item, .testimonial-card {
    padding: 14px 8px;
  }
}

/* ORGANIC/NATURE STYLISTIC ELEMENTS */
.card, .feature-item, .testimonial-card, .top-picks, .trending, .user-favorites, .blog-categories, .author-bios {
  border-radius: 18px 32px 16px 28px / 22px 10px 34px 12px;
  /* organic blob shape using border-radius */
}
.card:before, .testimonial-card:before, .feature-item:before {
  content: '';
  position: absolute;
  z-index: 0;
  top: -18px; left: -24px;
  width: 64px; height: 38px;
  background: var(--nature-brown);
  opacity: 0.14;
  border-radius: 33px 24px 30px 64px;
  pointer-events: none;
  filter: blur(2px);
}

/* ANIMATIONS & INTERACTIONS */
.card,
.cta-btn,
.genre-filters button,
.testimonial-card,
.feature-item {
  transition: box-shadow 0.2s, transform 0.18s, background 0.16s;
}
.card:active, .feature-item:active { transform: scale(0.998); }

/* Microinteraction for nav underline */
.main-nav a {
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: var(--brand-accent);
  transition: width 0.21s cubic-bezier(.7,.2,.3,1.05);
  margin-top: 2px;
  border-radius: 4px;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 80%;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--earth-card);
  color: var(--earth-text);
  border-top: 3px solid var(--nature-green);
  box-shadow: 0 -4px 20px rgba(40,60,35,0.11);
  z-index: 2222;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 22px 6vw 22px 5vw;
  font-size: 1rem;
  animation: cookieBannerRise 0.63s cubic-bezier(.7,.2,.3,1.2);
}
@keyframes cookieBannerRise {
  0% { transform: translateY(120px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 22px;
  padding: 8px 24px;
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
  background: var(--nature-green);
  color: #fff;
  box-shadow: 0 1px 4px rgba(60,80,55,0.08);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--brand-accent);
  color: var(--brand-primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--nature-green);
  color: #fff;
}

/* Cookie Modal (hidden by default) */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  background: var(--earth-card);
  color: var(--earth-text);
  border-radius: 30px 18px 26px 38px;
  box-shadow: 0 8px 44px 4px rgba(60,80,55,0.21);
  z-index: 4444;
  min-width: 330px;
  max-width: 95vw;
  padding: 32px 20px 24px 32px;
  display: none;
  flex-direction: column;
  gap: 19px;
  animation: cookieModalPop 0.45s cubic-bezier(.7,.2,.3,1.2);
}
@keyframes cookieModalPop {
  0% { opacity: 0; transform: translate(-50%, -55%) scale(0.86); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.00); }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 11px;
  color: var(--brand-primary);
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--nature-green);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(60,80,55,0.08);
  transition: background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brand-secondary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: var(--brand-primary);
}
.cookie-toggle {
  width: 40px;
  height: 20px;
  border-radius: 20px;
  background: #ddd;
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: background 0.16s;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}
.cookie-toggle .slider {
  position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.16s, background 0.17s;
  box-shadow: 0 0 3px rgba(80,60,35,0.09);
}
.cookie-toggle.on {
  background: var(--nature-green);
}
.cookie-toggle.on .slider {
  left: 22px;
  background: var(--brand-accent);
}
/* Essential is always enabled & greyed out */
.cookie-category.essential .cookie-toggle {
  background: #aaa;
  pointer-events: none;
}

/* Cookie Modal Actions */
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 14px;
}

/* Responsive cookie banner/modal */
@media (max-width: 670px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 2vw 18px 2vw;
    font-size: 0.98rem;
  }
  .cookie-modal {
    min-width: 210px;
    padding: 18px 8px 14px 12px;
  }
}

/* Utility & General Classes */
.hide {
  display: none !important;
}
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column !important;
}
.flex-row {
  flex-direction: row !important;
}
.align-center {
  align-items: center !important;
}
.align-start {
  align-items: flex-start !important;
}
.gap-20 { gap: 20px !important; }
.gap-30 { gap: 30px !important; }

/* Accessibility outline visible only on keyboard nav */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}
