/* -------------------------------------
   CSS 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, 
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;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F5F7;
  color: #163253;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
input, button, textarea, select {
  font: inherit;
}
a {
  color: #27B0B6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #163253;
}
::selection {
  background: #27B0B6;
  color: #fff;
}

/* -------------------------------------
   TYPOGRAPHY (MODERN BOLD)
----------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #163253;
  margin-bottom: 16px;
  line-height: 1.13;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, ul, ol, blockquote {
  margin-bottom: 16px;
}
strong, b {
  font-weight: 800;
  color: #163253;
}

/* -------------------------------------
   CONTAINER LAYOUTS (FLEXBOX ONLY)
----------------------------------------*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* -------------------------------------
   HEADER & NAVIGATION
----------------------------------------*/
header {
  background: #fff;
  border-bottom: 2px solid #27B0B6;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

/* LOGO */
header a img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  color: #163253;
  text-transform: uppercase;
  padding: 9px 0;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #27B0B6;
}

.cta-btn {
  background: #27B0B6;
  color: #fff;
  border: none;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 32px;
  box-shadow: 0 2px 16px 0 rgba(39,176,182,0.12);
  transition: background 0.18s, color 0.18s, transform 0.19s, box-shadow 0.18s;
  cursor: pointer;
  letter-spacing: .07em;
  margin-left: 20px;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #163253;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(22,50,83,0.18);
  transform: translateY(-2px) scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #27B0B6;
  cursor: pointer;
  margin-left: 16px;
  padding: 7px 13px 7px 9px;
  border-radius: 50%;
  transition: background 0.18s;
  z-index: 103;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #27B0B6;
  color: #fff;
}

/* -------------------------------------
   MOBILE MENU (hamburger overlay)
----------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #163253;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.5,0.06,0.36,1.33);
  z-index: 2000;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: -3px 1px 24px 5px rgba(22,50,83,0.18);
  padding: 32px 32px 0 24px;
}
.mobile-menu.open {
  transform: translateX(0); 
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #27B0B6;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 32px;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 50%;
  transition: background 0.18s;
  z-index: 2101;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff;
  background: #27b0b6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 6px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  outline: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #27B0B6;
  background: #fff;
}

/* Hide nav on mobile, show hamburger */
@media (max-width: 990px) {
  .main-nav {
    display: none; 
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta-btn {
    margin-left: 0;
  }
  header .container {
    gap: 12px;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* -------------------------------------
   HERO SECTION
----------------------------------------*/
.hero {
  background: linear-gradient(97deg, #27B0B6 0%, #163253 100%);
  color: #fff;
  margin-bottom: 60px;
  padding: 40px 0 64px 0;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 9px 36px -10px rgba(22,50,83,0.12);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 720px;
  gap: 18px;
}
.hero h1, .hero h2, .hero h3 {
  color: #fff;
}
.hero .cta-btn {
  background: #fff;
  color: #27B0B6;
  margin-left: 0;
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #163253;
  color: #fff;
}

/* -------------------------------------
   SECTIONS, FLEX SPACING, CARDS
----------------------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px 0 rgba(22,50,83,0.09);
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.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,
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/* -------------------------------------
   FEATURE LISTS, PRICELISTS, SERVICES
----------------------------------------*/
.features-list,
.price-list,
ul.features-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-left: 0;
}
.features-list li,
.price-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  color: #163253;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 18px;
  padding: 17px 25px;
  margin-bottom: 0;
  min-width: 210px;
  box-shadow: 0 1px 6px 0 rgba(22,50,83,0.07);
  transition: box-shadow 0.19s, transform 0.18s;
}
.features-list li:hover, .price-list li:hover {
  box-shadow: 0 6px 28px 0 rgba(39,176,182,0.11);
  transform: translateY(-2px) scale(1.03);
}
.features-list img, .price-list img {
  width: 36px;
  height: 36px;
  display: block;
}

ul, ol {
  margin-left: 24px;
}
ul.features-list, .price-list {
  margin-left: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* -------------------------------------
   TEXT SECTION & TABLES
----------------------------------------*/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.04rem;
  color: #163253;
  font-weight: 400;
}

/* Tables: Smartphone-Tests etc */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 14px 0 rgba(22,50,83,0.07);
  font-size: 1rem;
}
thead tr {
  background: #27B0B6;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', sans-serif;
}
thead th {
  padding: 12px 8px;
  font-weight: 800;
  text-align: left;
}
tbody td {
  padding: 10px 8px;
  border-bottom: 1px solid #e9eafd;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* -------------------------------------
   TESTIMONIALS
----------------------------------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 22px 0 rgba(22,50,83,0.10);
  margin-bottom: 20px;
  color: #163253;
  font-size: 1.05rem;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 600;
  position: relative;
  min-width: 240px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover,
.testimonial-card:focus {
  box-shadow: 0 6px 30px 0 rgba(39,176,182,0.13);
  transform: translateY(-2px) scale(1.03);
}
.testimonial-card p {
  color: #163253;
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
}
.testimonial-card span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.98rem;
  color: #27B0B6;
  font-weight: 500;
  margin-left: auto;
  text-align: right;
}

/* -------------------------------------
   FOOTER
----------------------------------------*/
footer {
  background: #163253;
  color: #fff;
  padding: 36px 0 32px 0;
  margin-top: 60px;
  border-radius: 32px 32px 0 0;
  font-family: 'Roboto', Arial, sans-serif;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #fff;
  font-weight: 700;
  opacity: 0.83;
  transition: color 0.18s, opacity 0.16s;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #27B0B6;
  opacity: 1;
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-brand img {
  height: 32px;
}
.footer-brand span {
  font-size: 0.96rem;
  color: #fff;
  font-weight: 600;
  opacity: 0.85;
}

/* -------------------------------------
   COOKIE CONSENT BANNER (fixed)
----------------------------------------*/
.cookie-consent-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 20px;
  z-index: 1999;
  background: #fff;
  color: #163253;
  border-radius: 18px;
  box-shadow: 0 3px 32px 0 rgba(22,50,83,0.14);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 34px;
  font-size: 1.02rem;
  font-family: 'Roboto', Arial, sans-serif;
  min-width: 0;
}
.cookie-consent-banner.hide {
  display: none;
}
.cookie-consent-message {
  max-width: 540px;
}
.cookie-consent-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn, .cookie-btn-primary {
  border: none;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  border-radius: 24px;
  padding: 9px 26px;
  font-size: 1rem;
  cursor: pointer;
  background: #163253;
  color: #fff;
  transition: background 0.18s, color 0.17s, transform 0.16s;
  outline: none;
}
.cookie-btn-primary {
  background: #27B0B6;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #27B0B6;
  color: #fff;
  transform: scale(1.05);
}
.cookie-btn-primary:hover, .cookie-btn-primary:focus {
  background: #163253;
  color: #fff;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: rgba(22,50,83,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  color: #163253;
  border-radius: 18px;
  padding: 32px 26px 28px 26px;
  max-width: 460px;
  width: 96vw;
  box-shadow: 0 6px 38px 0 rgba(16,33,62,0.19);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #27B0B6;
  font-size: 2rem;
  position: absolute;
  top: 12px;
  right: 17px;
  cursor: pointer;
  padding: 6px 11px;
  border-radius: 50%;
  transition: background 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #27b0b6;
  color: #fff;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px;
  background: #f5f5f7;
  padding: 13px 16px;
  font-size: 1.02rem;
}
.cookie-category label {
  font-weight: 600;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  letter-spacing: .04em;
  color: #163253;
}
.cookie-toggle {
  appearance: none;
  background: #eaeef6;
  width: 36px;
  height: 20px;
  border-radius: 16px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #27B0B6;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 2px 10px 0 rgba(22,50,83,0.09);
}
.cookie-toggle:checked:before {
  transform: translateX(16px);
}
.cookie-category[data-essential="true"] label {
  color: #999;
}
.cookie-category[data-essential="true"] .cookie-toggle {
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 650px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 16px;
    padding: 22px 14px;
    font-size: 0.99rem;
  }
  .cookie-modal-content {
    padding: 24px 10px 20px 10px;
  }
}

/* -------------------------------------
   RESPONSIVE RULES
----------------------------------------*/
@media (max-width: 1170px) {
  .container {
    max-width: 980px;
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 850px) {
  .container {
    max-width: 98vw;
  }
  .features-list, .price-list {
    gap: 13px;
    padding: 0;
  }
  .card-container {
    gap: 12px;
  }
  .testimonial-card {
    padding: 12px;
    gap: 10px;
  }
}
@media (max-width: 650px) {
  h1 {
    font-size: 2.0rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .hero {
    padding: 28px 0 36px 0;
    border-radius: 0 0 18px 18px;
  }
  section {
    padding: 25px 6px;
    margin-bottom: 40px;
  }
  .footer-brand img {
    height: 22px;
  }
  .footer-nav {
    gap: 16px;
  }
}

/* -------------------------------------
   FORM STYLES (Kontakt, etc.)
----------------------------------------*/
input[type="text"], input[type="email"], textarea, select {
  background: #fff;
  border: 1.5px solid #27B0B6;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 1em;
  font-family: 'Roboto', Arial, sans-serif;
  width: 100%;
  transition: border 0.13s;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  border-color: #163253;
  outline: none;
}

button, input[type="submit"] {
  cursor: pointer;
}

/* -------------------------------------
   UTILITY CLASSES
----------------------------------------*/
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.gap-16 {
  gap: 16px;
}
.rounded {
  border-radius: 18px;
}
.bg-primary {
  background: #163253;
  color: #fff;
}
.bg-secondary {
  background: #27B0B6;
  color: #fff;
}
.bg-accent {
  background: #F5F5F7;
  color: #163253;
}

/* -------------------------------------
   MICRO-INTERACTIONS & TRANSITIONS
----------------------------------------*/
section, .card, .features-list li, .testimonial-card, .cta-btn, .cookie-consent-banner, .cookie-btn, .cookie-modal-content {
  transition: box-shadow 0.18s, transform 0.16s, background 0.16s, color 0.16s;
}

/* -------------------------------------
   MISC: Hide focus outlines when mouse user
----------------------------------------*/
:focus-visible {
  outline: 2px solid #27B0B6;
  outline-offset: 2px;
}

/* ENFORCE MINIMUM GAPS BETWEEN ALL CARDS/SECTIONS */
section:not(:last-child), .section:not(:last-child) {
  margin-bottom: 60px;
}
.card-container > *:not(:last-child) {
  margin-right: 24px;
}
.testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* -------------------------------------
   SCROLLBAR STYLING (modern accent)
----------------------------------------*/
::-webkit-scrollbar {
  width: 10px;
  background: #eaeef6;
}
::-webkit-scrollbar-thumb {
  background: #27B0B6;
  border-radius: 5px;
}

/* -------------------------------------
   GEOMETRIC SHAPES AND ACCENT DECOR (modern_bold base shapes)
----------------------------------------*/
.hero:after {
  content: '';
  display: block;
  position: absolute;
  right: -60px;
  top: 30px;
  width: 160px;
  height: 160px;
  background: rgba(245,245,247,0.12);
  border-radius: 33% 67% 60% 40%/50% 40% 60% 50%;
  z-index: 1;
  pointer-events: none;
}
@media (max-width:900px) {
  .hero:after {
    display: none;
  }
}

/* -------------------------------------
   PRINT STYLES (hide chrome)
----------------------------------------*/
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  section, .container {
    padding: 0;
    margin: 0;
    max-width: none;
  }
}
