/* 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, input, button, textarea, select, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #191d23;
  color: #e5e7ea;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #2596BE;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4F4F9;
  text-shadow: 0 0 4px #205072;
}

/* VARIABLES (FALLBACKS FOR LEGACY) */
:root {
  --color-primary: #205072;
  --color-secondary: #2596BE;
  --color-accent: #F4F4F9;
  --color-bg: #191d23;
  --color-card: #23272e;
  --color-metal: #ABB1B6;
  --color-shadow: 0 4px 24px rgba(32, 80, 114, 0.1);
  --radius: 8px;
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #F4F4F9;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, li, span, label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #e5e7ea;
}
p {
  margin-bottom: 12px;
}

/* SECTIONS AND CONTAINER LAYOUTS - FLEXBOX ONLY */
.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #23272e 70%, #205072 100%);
  min-height: 390px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .hero {
    min-height: unset;
    padding: 40px 0 20px 0;
  }
  .hero .content-wrapper {
    align-items: flex-start;
    gap: 16px;
  }
}

/* FLEX LAYOUTS PER INSTRUCTIONS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 280px;
}
.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;
  background: #F4F4F9;
  color: #23272e;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(32,80,114,0.10);
  margin-bottom: 24px;
  font-style: italic;
  min-width: 220px;
}
.testimonial-card .name {
  font-family: var(--font-display);
  color: #205072;
  font-weight: 600;
  margin-left: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #23272e;
  padding: 22px 20px;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(32,80,114,0.12);
  min-width: 210px;
  margin-bottom: 20px;
}

/* CARDS & SHOPS */
.shop-cards, .services-list, .news-feed {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.shop-card, .service-card, .offer-card {
  background: #23272e;
  border-radius: var(--radius);
  box-shadow: var(--color-shadow);
  padding: 22px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 300px;
  min-height: 180px;
  margin-bottom: 20px;
  border: 1.5px solid #2e3742;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
}
.shop-card:hover, .service-card:hover, .offer-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 6px 28px rgba(37,150,190,0.15);
  transform: translateY(-3px) scale(1.018);
}
.shop-card .category, .offer-card .category, .service-card .price {
  background: var(--color-primary);
  color: var(--color-accent);
  font-size: 0.95rem;
  font-family: var(--font-display);
  padding: 3px 12px;
  border-radius: 16px;
  align-self: flex-start;
  margin-top: 6px;
}

/* SERVICE LIST/CARDS */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card img {
  width: 38px;
  height: 38px;
  filter: grayscale(40%) brightness(1.2);
  margin-bottom: 4px;
}
.service-card .price {
  margin-top: auto;
  font-weight: bold;
  background: #205072;
}

/* OFFER CARDS (AKTUALITY/NEWS) */
.offer-card {
  width: 320px;
  min-height: 150px;
}

/* INFO BOXES */
.info-boxes {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.info-box {
  background: #23272e;
  border-left: 4px solid #205072;
  border-radius: var(--radius);
  padding: 18px 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 160px;
  margin-bottom: 20px;
}
.info-box h3 {
  color: #2596BE;
  font-size: 1.10rem;
}

/* POLICY/TEXT SECTIONS */
.text-section, .text-section ul, .text-section ol {
  margin-bottom: 18px;
}
.text-section ul, .text-section ol {
  margin-left: 18px;
  padding-left: 12px;
}
.text-section li {
  list-style: disc inside;
  margin-bottom: 7px;
}

/* FOOTER */
footer {
  background: #171b21;
  border-top: 2.5px solid #205072;
  padding: 32px 0 12px 0;
  margin-top: 40px;
}
.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.footer-nav {
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #ABB1B6;
  font-size: 1rem;
  transition: color var(--transition);
}
.footer-nav a:hover {
  color: #2596BE;
}
.footer-contact p {
  font-size: 0.98rem;
  color: #ABB1B6;
  line-height: 1.7;
}
.footer-contact a {
  color: #2596BE;
}

/* NAVIGATION */
header {
  background: #171b21;
  box-shadow: 0 2px 10px rgba(32,80,114,0.04);
  position: relative;
  padding: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 20px 14px 20px;
}
.main-nav a img {
  height: 36px;
}
.main-nav ul {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav li {
  margin-bottom: 0;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: #F4F4F9;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.main-nav a.cta.primary {
  background: linear-gradient(95deg, #2596BE 85%, #205072 100%);
  color: #F4F4F9 !important;
  padding: 10px 30px;
  border-radius: var(--radius);
  margin-left: 18px;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  box-shadow: 0 2px 6px rgba(32,80,114,0.07);
  letter-spacing: 0.03em;
  transition: box-shadow var(--transition), background var(--transition), color var(--transition);
}
.main-nav a.cta.primary:hover {
  background: #205072;
  color: #F4F4F9;
  box-shadow: 0 6px 16px rgba(37,150,190,0.13);
}
.main-nav ul li a.active, .main-nav ul li a:focus {
  color: #2596BE;
  border-bottom: 2px solid #2596BE;
  outline: none;
}
/* Hide hamburger desktop */
.mobile-menu-toggle {
  display: none;
}

/* MOBILE MENU */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .main-nav ul,
  .main-nav a.cta.primary {
    display: none;
  }
  .main-nav {
    justify-content: flex-start;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 14px;
    background: transparent;
    border: none;
    font-size: 2.3rem;
    color: #F4F4F9;
    z-index: 52;
    cursor: pointer;
    padding: 4px 6px;
    transition: color var(--transition);
  }
  .mobile-menu-toggle:focus {
    outline: 2px solid #2596BE;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32, 80, 114, 0.97);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.6,-0.07,.35,1);
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #F4F4F9;
  background: none;
  border: none;
  padding: 12px;
  margin: 8px 0 12px 14px;
  cursor: pointer;
  align-self: flex-start;
  transition: color var(--transition);
  z-index: 2;
}
.mobile-menu-close:focus {
  outline: 2px solid #2596BE;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 10px 28px;
  margin-top: 18px;
}
.mobile-nav a {
  color: #F4F4F9;
  font-family: var(--font-display);
  font-size: 1.18rem;
  padding: 12px 6px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #23272e;
  color: #2596BE;
}
/* Hide mobile menu on desktop */
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* FILTER & SEARCH BARS */
.search-bar, .filter-bar, .news-search {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.search-bar input, .filter-bar input, .news-search input, .filter-bar select {
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1.5px solid #2e3742;
  background: #23272e;
  color: #F4F4F9;
  font-size: 1rem;
  font-family: var(--font-body);
}
.search-bar input:focus, .filter-bar input:focus, .filter-bar select:focus, .news-search input:focus {
  border-color: #2596BE;
  outline: none;
}
.filter-bar select {
  min-width: 145px;
}

/* BUTTONS */
.cta, button, input[type="submit"], input[type="button"] {
  font-family: var(--font-display);
  background: #2596BE;
  color: #F4F4F9;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: 11px 28px;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(32,80,114,0.08);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.03em;
}
.cta.primary {
  background: linear-gradient(95deg, #2596BE 70%, #205072 100%);
  color: #F4F4F9;
}
.cta:hover, .cta:focus, button:hover, button:focus {
  background: #205072;
  color: #F4F4F9;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 18px rgba(37,150,190,0.19);
  outline: none;
}

/* CATEGORY FILTERS */
.category-filters, .shop-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 18px 0;
  align-items: center;
}
.category-filters strong, .shop-categories strong {
  color: #2596BE;
  font-family: var(--font-display);
}
.category-filters span, .shop-categories span {
  color: #ABB1B6;
  font-family: var(--font-body);
  font-size: 1rem;
}

/* MAPS */
.shop-map, .map {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.shop-map img, .map img {
  border: 2px solid #205072;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(32,80,114,0.09);
  background: #e5e7ea;
  width: 98%;
  max-width: 470px;
}
.shop-map em, .map em {
  color: #ABB1B6;
  font-size: 0.97rem;
}

/* ABOUT, TEAM, CONTACT & POLICY SECTIONS */
.about, .team, .confirmation, .policy {
  background: #23272e;
  border-radius: var(--radius);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 12px rgba(32,80,114,0.08);
}
.contact-info {
  margin-top: 22px;
  color: #ABB1B6;
}
.contact-details {
  margin-top: 14px;
  font-size: 1.07em;
  color: #ABB1B6;
  line-height: 1.6;
}
.opening-hours {
  margin-top: 18px;
  color: #ABB1B6;
  background: #191d23;
  border-radius: 6px;
  padding: 10px 18px 10px 14px;
  font-size: 1rem;
}
.opening-hours h3 {
  color: #2596BE;
}

/* PRIVACY/COOKIE POLICY MODAL */
.privacy-info {
  background: #2e3742;
  color: #e5e7ea;
  border-left: 4px solid #2596BE;
  padding: 14px 0 14px 14px;
  border-radius: 5px;
  margin-top: 18px;
}
.privacy-info strong {
  color: #2596BE;
}

/* COOKIE BANNER AND MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 10050;
  background: #23272e;
  color: #F4F4F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 30px 22px 22px;
  box-shadow: 0 -2px 14px rgba(32,80,114,0.19);
  border-top: 2px solid #205072;
  font-size: 1rem;
  flex-wrap: wrap;
  animation: cookie-slide-up 0.28s cubic-bezier(0.44,0.13,.52,1.05);
}
@keyframes cookie-slide-up {
  from { transform: translateY(90px); opacity: 0.4; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  background: #2596BE;
  color: #F4F4F9;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-left: 0;
  margin-right: 0;
  box-shadow: 0 2px 6px rgba(32,80,114,0.10);
  transition: background var(--transition), color var(--transition);
}
.cookie-banner button.settings {
  background: #23272e;
  color: #2596BE;
  border: 1.5px solid #2596BE;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #205072;
  color: #F4F4F9;
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(25, 29, 35, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10060;
  animation: modal-fade-in 0.23s cubic-bezier(.4,0,.2,1);
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #23272e;
  padding: 40px 32px;
  border-radius: var(--radius);
  min-width: 300px;
  box-shadow: 0 6px 26px rgba(32,80,114,0.17);
  color: #F4F4F9;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.cookie-modal-content h2 {
  color: #2596BE;
  font-size: 1.30rem;
  margin-bottom: 8px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-toggle {
  --on: #2596BE;
  --off: #ccc;
  appearance: none;
  outline: none;
  width: 42px;
  height: 22px;
  background: var(--off);
  border-radius: 14px;
  position: relative;
  transition: background .15s;
  box-shadow: 0 1px 4px rgba(32,80,114,0.07);
}
.cookie-toggle:checked {
  background: var(--on);
}
.cookie-toggle:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s, background 0.18s;
}
.cookie-toggle:checked:before {
  transform: translateX(18px);
  background: #171b21;
}
.cookie-modal-content .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-modal-content button {
  background: #2596BE;
  color: #F4F4F9;
}
.cookie-modal-content button:hover, .cookie-modal-content button:focus {
  background: #205072;
}
.cookie-modal-close {
  position: absolute;
  right: 38px; top: 34px;
  background: none;
  border: none;
  color: #2596BE;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 22;
}
.cookie-modal-close:focus {
  outline: 2px solid #2596BE;
}

/* RESPONSIVE: FLEX-DIRECTION ON MOBILE */
@media (max-width: 900px) {
  .card-container, .shop-cards, .services-list, .news-feed, .content-grid, .feature-grid, .info-boxes {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .section, .about, .team, .confirmation, .policy {
    padding: 24px 8px;
  }
  .feature-item, .offer-card, .shop-card, .service-card, .info-box {
    min-width: unset;
    width: 100%;
  }
  .content-grid, .card-container, .shop-cards, .services-list, .news-feed, .feature-grid, .info-boxes {
    flex-direction: column;
    gap: 18px;
  }
  .container {
    padding: 0 6px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* SPACING ENSURE */
.section > *, .content-wrapper > * {
  margin-bottom: 20px;
}
.section> :last-child, .content-wrapper>:last-child {
  margin-bottom: 0;
}
.card, .feature-item, .shop-card, .service-card, .offer-card, .testimonial-card, .info-box {
  margin-bottom: 20px;
}
/* Prevent overlap: global min spacing */
.section, .about, .team, .confirmation, .policy {
  margin-bottom: 60px;
}

/* INDUSTRIAL MODERN TOUCHES */
h1, h2, h3, h4, h5, h6, .main-nav a, .mobile-nav a, .cta, button {
  font-family: var(--font-display), 'Arial', sans-serif;
  letter-spacing: 0.025em;
  text-transform: none;
}
.card, .shop-card, .service-card, .feature-item, .offer-card, .info-box, .testimonial-card {
  border-radius: 8px;
  box-shadow: 0 2px 13px rgba(32,80,114,0.11);
  border: 1px solid #333a42;
  background: #23272e;
}
.card:after, .shop-card:after, .service-card:after {
  content: '';
  position: absolute;
  right: 0; left: 0; bottom: 0;
  height: 7px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, #20507233 0%, #2596be33 100%);
  pointer-events: none;
  z-index: 0;
}
.card:after { display: none; }

.feature-item img, .shop-card img, .info-box img {
  width: 44px;
  height: 44px;
  filter: grayscale(60%) brightness(1.04) drop-shadow(0 1px 2px #1a2127);
  background: #20242b;
  border-radius: 7px;
  border: 1.5px solid #305067;
  padding: 4px;
  margin-bottom: 2px;
}

/* Miscellaneous Styles */
::-webkit-input-placeholder { color: #bfc3cb; opacity:1; }
::-moz-placeholder          { color: #bfc3cb; opacity:1; }
:-ms-input-placeholder      { color: #bfc3cb; opacity:1; }
::placeholder              { color: #bfc3cb; opacity:1; }
[tabindex]:focus { outline: 2px solid #2596BE; outline-offset: 2px; }

/* HIDE SCROLLBAR ON MODAL */
.cookie-modal { scrollbar-width: none; }
.cookie-modal::-webkit-scrollbar { display: none; }

/* Confirmation Section */
.confirmation .cta.primary {
  margin-top: 18px;
}

/* Hide banner and modal by default (add .show via JS) */
.cookie-banner { display: none; }
.cookie-banner.show { display: flex; }
.cookie-modal { display: none; }
.cookie-modal.show { display: flex; }

/* ACCESSIBILITY: reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation-duration: 0s !important;
  }
}

/* End of CSS */
