/* RESET & ROOT VARIABLES (SOFT PASTEL + BRAND) */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #fafdff;
  color: #273141;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
}
:root {
  --primary: #024A7C;
  --secondary: #59A8D9;
  --accent: #FFD64A;
  --pastel-blue: #C2E0F7;
  --pastel-pink: #FFE9EF;
  --pastel-yellow: #FFF9EC;
  --pastel-lilac: #E8E6FD;
  --pastel-mint: #D1F4E4;
  --shadow: 0 4px 28px rgba(49, 73, 94, 0.09);
  --radius: 22px;
  --radius-small: 12px;
  --text-dark: #25324B;
  --text-light: #ffffff;
  --header-bg: #f6fcff;
  --footer-bg: #f3f7fb;
  --hero-pastel: #e1ecfb;
  --gray-border: #e6e9ef;
}

/* ROOT BODY LAYOUT */
body {
  min-height: 100vh;
  background: linear-gradient(180deg, #FAFDFF 0%, #E8E6FD 100%);
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER & NAVIGATION */
header {
  background: var(--header-bg);
  box-shadow: 0 4px 18px rgba(2, 74, 124, 0.07);
  padding: 0;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 18px 20px;
  min-height: 70px;
  gap: 18px;
}
header img {
  height: 50px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--primary);
  padding: 8px 10px;
  border-radius: var(--radius-small);
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.cta-nav {
  background: linear-gradient(90deg, #FFD64A 0%, #FFF9EC 100%);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 10px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 2px 16px rgba(255, 214, 74, 0.13);
  transition: background 0.21s, color 0.21s, box-shadow 0.21s;
  border: none;
  cursor: pointer;
}
.cta-nav:hover,
.cta-nav:focus {
  color: #fff;
  background: linear-gradient(90deg, #feca2b 25%, #ffd64a 100%);
  box-shadow: 0 2px 20px rgba(2, 74, 124, 0.12);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  border: none;
  color: var(--primary);
  font-size: 2rem;
  padding: 6px 15px;
  border-radius: var(--radius);
  position: fixed;
  right: 20px;
  top: 16px;
  z-index: 1200;
  box-shadow: 0 2px 12px rgba(255, 214, 74, 0.18);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ffe06a;
  box-shadow: 0 4px 24px rgba(2, 74, 124, 0.10);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(120deg, #c2e0f7 60%, #ffe9ef 100%);
  z-index: 2000;
  box-shadow: 0 0 90px rgba(49, 73, 94, 0.18);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.82,.17,.45,1.18);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 18px 8px 0;
  background: var(--pastel-pink);
  border: none;
  color: var(--primary);
  font-size: 2rem;
  border-radius: var(--radius);
  padding: 6px 12px;
  cursor: pointer;
  box-shadow: 0 1px 12px rgba(2, 74, 124, 0.10);
  transition: background 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--accent);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  margin: 0 36px;
  margin-top: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.20rem;
  color: var(--primary);
  text-decoration: none;
  padding: 12px 0;
  border-radius: var(--radius);
  transition: background 0.18s, color 0.18s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
@media (max-width: 1100px) {
  header .container {
    flex-wrap: wrap;
    gap: 12px;
  }
}
@media (max-width: 940px) {
  .main-nav {
    display: none;
  }
  .cta-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(110deg, #e1ecfb 52%, #ffe9ef 100%);
  padding: 0;
  margin-bottom: 60px;
}
.hero-section .container {
  min-height: 300px;
  padding-top: 48px;
  padding-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 680px;
  align-items: center;
  text-align: center;
}
.hero-section h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.7rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  text-shadow: 0 2px 16px #c2e0f7;
}
.hero-section p {
  font-size: 1.23rem;
  color: #466385;
}

/* SECTIONS & SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 280px;
  background: var(--pastel-lilac);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-border);
  padding: 32px 18px 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, background 0.23s;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  box-shadow: 0 6px 24px rgba(89,168,217,0.10), 0 2px 12px rgba(255,214,74,0.03);
  background: #e8f6fa;
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
}
.feature-grid h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary);
}
.feature-grid p {
  font-size: 1.02rem;
  color: #48596e;
}

/* CARD CONTAINER/GRIDS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  min-width: 230px;
  background: var(--pastel-mint);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-border);
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  transition: box-shadow 0.17s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 10px 34px rgba(2,74,124,0.13);
}

/* CONTENT-GRID */
.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;
  justify-content: center;
}
@media (max-width: 768px) {
  .text-image-section, .feature-grid, .content-wrapper, .content-grid, .card-container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

/* HEADINGS/TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  letter-spacing: 0.005em;
}
h3 {
  font-size: 1.21rem;
  margin-bottom: 6px;
}

p, ul, ol, table {
  margin-bottom: 14px;
}
ul, ol {
  padding-left: 24px;
  margin-top: 5px;
}
li {
  margin-bottom: 9px;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--pastel-blue);
  border-radius: var(--radius-small);
  overflow: hidden;
  margin-bottom: 24px;
  font-size: 1.01rem;
}
thead tr {
  background: var(--primary);
}
th, td {
  padding: 14px 12px;
  text-align: left;
}
th {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
tbody tr:nth-child(even) {
  background: #e1ecfb;
}
tbody tr:nth-child(odd) {
  background: #fafdff;
}
td {
  color: var(--primary);
}

/* CTA BUTTONS */
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #59A8D9 0%, #c2e0f7 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  padding: 14px 42px;
  border-radius: var(--radius);
  border: none;
  text-decoration: none;
  margin-top: 20px;
  box-shadow: 0 4px 16px rgba(89,168,217,0.15);
  transition: background 0.23s, color 0.13s, box-shadow 0.18s, transform 0.14s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #024A7C 0%, #59A8D9 100%);
  color: var(--accent);
  box-shadow: 0 8px 36px rgba(89,168,217,0.22);
  transform: translateY(-2px) scale(1.02);
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px 20px 32px;
  background: #fff6e9;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: #343a49;
  margin-bottom: 20px;
  border: 1px solid #ffe7b8;
  min-width: 250px;
  max-width: 450px;
  transition: box-shadow 0.15s, background 0.16s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 8px 32px rgba(253, 206, 97, 0.19), 0 2px 12px rgba(2,74,124,0.07);
  background: #fff7d5;
}
.testimonial-card p {
  font-size: 1.04rem;
  color: #414351;
  font-style: italic;
}
.testimonial-card span, .testimonial-card strong {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

/* FAQ ACCORDION */
.faq-accordion h3 {
  cursor: pointer;
  background: var(--pastel-blue);
  margin: 0 0 0 0;
  padding: 12px 18px 12px 28px;
  border-radius: var(--radius-small);
  transition: background 0.13s;
  color: var(--primary);
  font-size: 1.1rem;
}
.faq-accordion h3:hover, .faq-accordion h3:focus {
  background: var(--pastel-mint);
}
.faq-accordion p {
  background: #fff;
  border-left: 4px solid var(--primary);
  padding: 14px 24px;
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  margin-bottom: 15px;
  color: #364052;
}

/* FOOTER */
footer {
  background: var(--footer-bg);
  padding: 38px 0 18px 0;
  border-top: 2px solid var(--pastel-blue);
  box-shadow: 0 -2px 22px rgba(49,73,94,0.04);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: center;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  text-decoration: none;
  padding: 9px 8px;
  border-radius: var(--radius-small);
  transition: background 0.17s, color 0.17s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.copyright {
  color: #6c7da6;
  font-size: 0.98rem;
  text-align: center;
}
footer img {
  width: 56px;
  margin-bottom: 7px;
}

/* FORMS, LISTS, ETC. */
input, textarea, select {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-small);
  padding: 10px 14px;
  font-size: 1rem;
  background: #fff;
  box-shadow: 0 1px 7px rgba(2,74,124,0.06);
  margin-bottom: 12px;
  width: 100%;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: none;
}
label {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 7px;
  color: var(--primary);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg,#E8E6FD 65%,#D1F4E4 100%);
  box-shadow: 0 -2px 18px rgba(2,74,124,0.10);
  padding: 18px 20px 22px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  z-index: 2222;
  animation: cookieSlideIn 0.44s cubic-bezier(0.85,0.10,0.20,1.05) both;
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: var(--primary);
  font-size: 1.04rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-small);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 23px;
  box-shadow: 0 1px 6px rgba(89,168,217,0.09);
  margin-left: 0;
  cursor: pointer;
  transition: background 0.16s, color 0.15s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 1px 6px rgba(2,74,124,0.10);
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: var(--primary);
  color: #FFD64A;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  z-index: 3000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(41, 63, 98, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 36px rgba(2,74,124,0.13);
  min-width: 300px;
  max-width: 420px;
  padding: 36px 32px 28px 32px;
  text-align: left;
  animation: cookieModalIn 0.32s cubic-bezier(0.58,0.15,0.36,1) both;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@keyframes cookieModalIn {
  from { transform: translateY(36px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.23rem;
  color: var(--primary);
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 13px;
}
.cookie-modal-content .cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: var(--primary);
}
.cookie-modal-content .cookie-category label {
  margin-bottom: 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-content .cookie-actions-modal {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 22px;
}

/* FLEX ENFORCEMENT (from requirements)*/
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Table Responsive */
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  thead tr {
    display: none;
  }
  td {
    padding: 10px 10px;
    border: none;
    position: relative;
    font-size: 1rem;
  }
  tr {
    margin-bottom: 12px;
  }
}

/* MAP/ICON IMAGE (on 'kontakt') */
.map-desc {
  font-size: 0.99rem;
  color: #436097;
  margin-top: 9px;
  margin-bottom: 0;
  text-align: center;
}

/* Responsive: Section padding and grid stacking */
@media (max-width: 900px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .main-nav {
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 85vw;
    max-width: 100%;
    padding: 24px 12px;
  }
}
@media (max-width: 700px) {
  .footer-nav { gap: 8px; }
  section { padding: 28px 7px; }
}
@media (max-width: 550px) {
  .container { padding: 0 4vw; }
  .hero-section .container { padding-top: 28px; padding-bottom: 28px; }
  .hero-section h1 { font-size: 2.0rem; }
  h2 { font-size: 1.37rem; }
  .cta-btn { padding: 12px 17vw; }
  .testimonial-card { padding: 15px 6px 12px 12px; min-width: unset; }
}

/* Animations for micro-interaction */
.cta-btn, .cta-nav, .feature-grid > div, .card, .testimonial-card, .cookie-banner button, .mobile-nav a {
  transition: box-shadow 0.16s, color 0.13s, background 0.16s, transform 0.11s;
}
.main-nav a:active, .mobile-nav a:active, .cta-btn:active, .cta-nav:active {
  transform: scale(0.97);
}

/* Hide scrollbar for overlay menu on touch/iphone */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Utility: visually hidden for accessibility */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap !important;
}

/* Ensure spacing between elements */
.content-wrapper > *:not(:last-child), .feature-grid > *:not(:last-child), .card-container > *:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/**** OVERRIDES: Prevent overlapping cards/text ****/
.card, .testimonial-card, .feature-grid>div, .section, .card-container, .content-wrapper {
  box-sizing: border-box;
}

/* Extra: subtle pastel focus */
a:focus, button:focus, .cta-btn:focus, input:focus, select:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* End of style.css */
