/* =================== CSS RESET & BASE =================== */
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, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: #F7F7F4;
  background: linear-gradient(160deg, #25382a 0%, #243b24 100%); /* fallback dark tech bg */
  min-height: 100vh;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: #FEDC56; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #fffbe6; }
strong { font-weight: bold; }
ul, ol { list-style: none; }

/* =================== VARIABLE / BRANDING =================== */
:root {
  --primary: #306C4A;
  --primary-dark: #234e36;
  --secondary: #FEDC56;
  --accent: #F7F7F4;
  --neutral: #181C1F;
  --neon-green: #6fffbf;
  --neon-yellow: #fedc56;
  --neon-blue: #58b6ff;
  --danger: #ff5672;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Lato', Arial, Helvetica, sans-serif;

  --radius: 18px;
  --shadow: 0 4px 24px 0 rgba(20,25,40,0.15),0 1.5px 6px rgba(48,108,74,0.07);
  --shadow-neon: 0 0 20px 2px #6fffbf44, 0 2px 28px 0 #233a30;

  --transition: all .2s cubic-bezier(.29,1.08,.66,1);
}

/* =================== CONTAINER & LAYOUT =================== */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(34,57,44, 0.82);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  background: #25382a;
  border-radius: var(--radius);
  box-shadow: var(--shadow-neon);
  position: relative;
  padding: 28px 24px;
  transition: box-shadow .22s;
}
.card:hover {
  box-shadow: 0 0 30px 2px var(--neon-green), 0 2px 32px 0 #1e361e;
}
.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: #F7F7F4;
  color: #181C1F;
  border-radius: var(--radius);
  box-shadow: 0 1px 24px 0 #fedc5644;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #25382a;
  border-radius: var(--radius);
  padding: 20px 16px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

/* =================== HEADER & NAVIGATION =================== */
header {
  background: rgba(34,57,44,0.94);
  backdrop-filter: blur(3px);
  box-shadow: 0 2px 36px 0 #233a3044;
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}
header a img {
  max-height: 46px;
  margin-right: 16px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  padding: 5px 0;
  position: relative;
  color: var(--accent);
  transition: color .2s;
}
header nav a:hover, header nav a:focus {
  color: var(--neon-yellow);
}
.btn-primary {
  font-family: var(--font-display);
  background: var(--primary);
  color: var(--neon-yellow);
  border: none;
  padding: 12px 34px;
  border-radius: 32px;
  box-shadow: 0 0 20px 0 #306c4a44;
  font-size: 17px;
  letter-spacing: 0.02em;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-dark);
  color: #fffbe6;
  box-shadow: 0 0 32px 2px var(--neon-green), 0 2px 32px 0 #1e361e;
}

.btn-secondary {
  font-family: var(--font-display);
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 11px 32px;
  border-radius: 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: var(--neon-yellow);
}
.btn-link {
  background: none;
  border: none;
  color: var(--neon-yellow);
  font-family: var(--font-display);
  font-weight: bold;
  padding: 0 3px;
  cursor: pointer;
  font-size: 16px;
  transition: color .16s;
  text-decoration: underline;
}
.btn-link:hover, .btn-link:focus {
  color: #fffbe6;
}

/* Hamburger (Mobile) */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 22px;
  top: 15px;
  z-index: 41;
  background: var(--primary);
  color: var(--neon-yellow);
  border: none;
  font-size: 32px;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px 0 #25382a90;
  transition: box-shadow .22s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary-dark);
  color: #fffbe6;
  box-shadow: 0 0 8px 2px #6fffbf88;
}
/* Mobile Menu Overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  position: fixed;
  z-index: 110;
  background: rgba(24,28,31,0.98);
  top: 0; right: 0;
  height: 100vh;
  width: 100vw;
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.4,1,.32,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--neon-yellow);
  font-size: 36px;
  margin: 22px 32px 12px 0;
  cursor: pointer;
  align-items: center;
  transition: color .18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fffdcf;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 36px 32px 16px 36px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--neon-yellow);
  font-size: 21px;
  padding: 12px 0;
  font-family: var(--font-display);
  font-weight: 600;
  border-bottom: 1px solid #fedc5630;
  width: 100%;
  transition: background .15s, color .18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--neon-green);
  background: #234e36;
  border-radius: 8px;
  padding-left: 9px;
}
@media (max-width:1020px) {
  header .container { flex-wrap: wrap; }
  header nav { gap: 14px; }
}
@media (max-width: 900px) {
  header .container { gap: 8px; }
  header nav { gap: 10px; }
}
@media (max-width: 768px) {
  header nav, .btn-primary[href="kontakt.html"] {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* =================== TYPOGRAPHY =================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--secondary);
  font-weight: 800;
  text-shadow: 0 4px 32px #fedc56cc, 0 0 3px var(--primary-dark);
}
h1 { font-size: 2rem; 	margin-bottom: 12px; letter-spacing: 0.06em; }
h2 { font-size: 1.6rem; margin-bottom: 10px; letter-spacing: 0.04em; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
h4,h5,h6 { font-size: 1.08rem; }
p {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 10px;
}
@media (min-width: 600px) {
  h1 { font-size: 2.5rem;}
  h2 { font-size: 2rem; }
  h3 { font-size: 1.33rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
}

/* Typography accent */
.section h2 {
  color: var(--neon-yellow);
  text-shadow: 0 0 14px #fedc5690;
}
.section p, section ul li, section ol li {
  color: var(--accent);
  font-size: 1.06rem;
}

/* =================== BUTTONS & INTERACTION =================== */
button, .btn-primary, .btn-secondary, .btn-link, .mobile-menu-toggle, .mobile-menu-close {
  transition: var(--transition);
}
button:focus, a:focus { outline: 2px solid var(--secondary); outline-offset: 2px; }

/* =================== ICON-LIST =================== */
.icon-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 0 4px 0;
}
.icon-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #25382a;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 12px;
  box-shadow: 0 0 8px 0 #fedc563a;
  font-size: 1.02rem;
  color: var(--accent);
}
.icon-list img {
  width: 32px;
  height: 32px;
  background: #fffbe5;
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 0 8px 0 #6fffbf22;
}

/* =================== FOOTER =================== */
footer {
  background: #1b3023;
  color: var(--accent);
  padding: 38px 0 14px 0;
  border-top: 2px solid var(--primary);
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  display: flex;
  gap: 34px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer a { color: var(--neon-yellow); font-size: 15px; transition: color .2s; }
footer a:hover, footer a:focus { color: var(--neon-green); }
.legal-links {
  color: #adb5ba;
  font-size: 14px;
  margin-top: 8px;
}
footer img { max-height: 44px; }

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* =================== TESTIMONIALS =================== */
.testimonial-card {
  border: 2px solid var(--neon-yellow);
  box-shadow: 0 3px 28px 0 #fedc5655;
  background: #F7F7F4;
  color: #181C1F;
  font-size: 1rem;
}
.testimonial-card strong { color: var(--primary); }

/* =================== ACCORDIONS (details/summary) =================== */
details {
  background: #243b24;
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 0 0 0 0;
  box-shadow: 0 0 9px 0 #fedc5635;
  position: relative;
}
details[open] {
  box-shadow: 0 0 18px 0 #fedc563a;
}
details summary {
  cursor: pointer;
  padding: 18px 22px 18px 16px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-weight: 700;
  position: relative;
  transition: background .2s;
}
details[open] summary { color: var(--neon-yellow); }
details div {
  padding: 13px 18px 20px 18px;
  color: var(--accent);
  font-size: 1rem;
}

/* =================== ADDRESS & CONTACT =================== */
address {
  font-style: normal;
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.5;
}

/* =================== COOKIE CONSENT =================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2000;
  background: #1b3023;
  color: var(--accent);
  box-shadow: 0 -1px 18px 0 #25382a80;
  padding: 18px 16px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 15px;
  border-radius: 20px 20px 0 0;
  animation: cookie-slide-up .5s cubic-bezier(.44,2,.34,1) 1;
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0.4; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.cookie-banner .btn-cookie {
  background: var(--primary);
  color: var(--neon-yellow);
  border: none;
  border-radius: 24px;
  padding: 8px 20px;
  font-size: 15px;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 #25382a75;
  margin-left: 4px;
  transition: var(--transition);
}
.cookie-banner .btn-cookie:hover,
.cookie-banner .btn-cookie:focus { background: var(--primary-dark); color: #f0e8c5; }
.cookie-banner .btn-settings {
  background: transparent;
  color: var(--neon-yellow);
  border: 2px solid var(--primary);
  border-radius: 24px;
  padding: 7px 20px;
  font-size: 15px;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-left: 4px;
}
.cookie-banner .btn-settings:hover,
.cookie-banner .btn-settings:focus { background: var(--primary); color: var(--accent); }

/* Cookie MODAL */
.cookie-modal {
  position: fixed;
  z-index: 4000;
  left: 0; right: 0;
  top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  display: flex;
  align-items: center; 
  justify-content: center;
  background: rgba(20, 25, 30, 0.87);
  transition: background .32s;
}
.cookie-modal .cookie-modal-dialog {
  background: #fffbe6;
  color: #181C1F;
  border-radius: 22px;
  max-width: 400px;
  min-width: 0;
  width: 96vw;
  box-shadow: 0 0 38px 0 #fedc5622;
  padding: 36px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: cookie-pop .53s cubic-bezier(.44,2,.14,1);
}
@keyframes cookie-pop {
  from { transform: scale(.7); opacity: .5; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--primary);
  margin-bottom: 11px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
}
.cookie-toggle {
  appearance: none;
  width: 42px;
  height: 22px;
  border-radius: 16px;
  background: #e4e4dc;
  border: 2px solid var(--primary);
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .22s;
}
.cookie-toggle:checked {
  background: var(--primary);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fffbe6;
  box-shadow: 0 0 6px #fedc5666;
  transition: transform .18s;
}
.cookie-toggle:checked:before {
  transform: translateX(20px);
}
.cookie-modal .essential-label { color: var(--primary); font-weight: 600; }
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .btn-cookie,
.cookie-modal .btn-settings {
  font-size: 15px;
  padding: 8px 22px;
}

/* =================== RESPONSIVE ADJUSTMENTS =================== */
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .section { padding: 32px 6px; }
  .content-wrapper { gap: 16px; }
  .card-container, .content-grid, .text-image-section, .feature-list {
    flex-direction: column;
    gap: 18px;
    padding: 0;
  }
  .feature-item, .card {
    padding: 16px 10px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 14px 10px;
    gap: 8px;
  }
}

/* =================== ANIMATIONS & HOVER EFFECTS =================== */
.card, .feature-item, .btn-primary, .btn-secondary, .btn-link, .mobile-menu-toggle, .mobile-menu-close, .testimonial-card, details summary, .cookie-banner, .cookie-modal-dialog {
  will-change: transform, box-shadow;
}
.card:hover {
  transform: translateY(-4px) scale(1.022);
}
.btn-primary:hover, .btn-secondary:hover, .btn-link:hover, .cookie-banner .btn-cookie:hover, .cookie-banner .btn-settings:hover {
  filter: brightness(1.08) saturate(1.08);
}

/* Misc adjustments */
::-webkit-scrollbar {
  width: 8px;
  background: #222b35;
}
::-webkit-scrollbar-thumb {
  background: #3c523d;
  border-radius: 8px;
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =================== MAIN CONTENT FLEX LAYOUTS =================== */
main > section {
  margin-bottom: 60px !important;
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 600px) {
  .section { margin-bottom: 40px; }
  main > section { margin-bottom: 32px !important; }
}

/* =================== MISC =================== */
ol, ul { padding-left: 0; margin-left: 0; }
ul li, ol li { margin-bottom: 8px; }
h2 + ul, h2 + ol { margin-top: 10px; }

/* =================== END =================== */
