/* ====================
   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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  font-family: 'Open Sans', Arial, sans-serif;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  color: #14426B;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #14426B;
  background: #fff;
  min-height: 100vh;
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: #14426B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #36B37E;
  outline: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* ===============
   BRAND COLORS
   =============== */
:root {
  --primary: #14426B;
  --secondary: #36B37E;
  --accent: #F5F6FA;
  --text: #14426B;
  --text-light: #5B7186;
  --bg: #fff;
  --border: #e5e8ec;
  --shadow: 0px 2px 12px rgba(20,66,107, 0.06);
  --radius: 12px;
}

/* ==========================
   TYPOGRAPHY & HEADING SCALE
   ========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem; /* 40px */
  line-height: 1.15;
}
h2 {
  font-size: 2rem; /* 32px */
  line-height: 1.2;
}
h3 {
  font-size: 1.5rem; /* 24px */
  line-height: 1.25;
}
h4 {
  font-size: 1.2rem;
}
h5 {
  font-size: 1rem;
}
h6 {
  font-size: 0.9rem;
}
p, ul, ol, blockquote {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}
strong {
  font-weight: 600;
  color: var(--text);
}
ul {
  list-style: disc inside;
}
li {
  margin-bottom: 12px;
}

/* Typography Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; line-height: 1.2; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* ==========================
   CONTAINER & LAYOUTS
   ========================== */
.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  width: 100%;
}
.text-section {
  max-width: 850px;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
  }
  .content-wrapper {
    gap: 20px;
  }
}

/* ===================
   HEADER
   =================== */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(20,66,107,.02);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 6px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
header nav a.cta {
  background: var(--secondary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-left: 12px;
  transition: background 0.2s;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #289260;
  color: #fff;
}
header img {
  height: 40px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--primary);
  background: transparent;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
}

@media (max-width: 1024px) {
  header .container{
    gap: 10px;
    height: 64px;
  }
  header img{
    height: 34px;
  }
  header nav {
    gap: 12px;
  }
  header nav a.cta {
    margin-left: 6px;
  }
}
@media (max-width: 850px) {
  header .container{
    gap: 3px;
    height: 58px;
  }
}

@media (max-width: 768px) {
  header nav{
    display: none; /* show hamburger */
  }
  .mobile-menu-toggle{
    display: block;
  }
}

/* ====================
   MOBILE MENU OVERLAY
   ==================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,66,107,0.98);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.6,.02,.3,.99);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 36px;
  padding-bottom: 36px;
  min-height: 100svh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 2px 8px;
  border-radius: 8px;
  margin-bottom: 18px;
  margin-right: 6px;
  transition: background .2s;
}
.mobile-menu-close:focus,.mobile-menu-close:hover {
  background: rgba(255,255,255,0.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: center;
  margin-top: 14px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  padding: 14px 34px;
  border-radius: var(--radius);
  width: 100%;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: transparent;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #36B37E;
  color: #fff;
}
.mobile-nav a.cta, .mobile-nav a[href$="kontakt.html"] {
  background: #36B37E;
  color: #fff;
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===============
   HERO SECTION
   =============== */
.hero {
  background: var(--accent);
  padding: 82px 0 52px 0;
}
.hero .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero .content-wrapper {
  gap: 24px;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.7rem;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -0.6px;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 22px;
}
.hero .cta {
  margin-top: 12px;
}
@media (max-width: 768px) {
  .hero {
    padding: 40px 0 28px 0;
  }
  .hero h1{
    font-size: 1.5rem;
  }
  .hero .content-wrapper{
    gap: 18px;
    align-items: flex-start;
  }
}

/* =============================
   FLEXIBLE CARDS, GRID, FEATURES
   ============================= */
.feature-grid, .card-container, .service-list, .content-grid, .testimonial-slider, .testimonial-list, .avatar-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
}
.feature-grid > div, .card, .service-list > li, .testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px 22px 24px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.feature-grid > div img,
.service-list > li img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  object-fit: contain;
}
.feature-grid > div h3, .service-list > li h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.feature-grid > div p, .service-list > li p {
  font-size: 1rem;
}
.service-list{
  flex-direction: row;
  justify-content: flex-start;
  gap: 24px;
}
.service-list > li{
  border-left: 3px solid var(--accent);
  border-top: 1px solid var(--border);
  background: var(--bg);
  transition: box-shadow 0.18s, border-color 0.2s;
  min-width: 210px;
  max-width: 340px;
  flex: 1 1 265px;
  position: relative;
  padding-bottom: 30px;
}
.service-list > li .cta{
  margin-top: auto;
}
@media (max-width: 850px) {
  .feature-grid, .card-container, .service-list, .content-grid, .testimonial-slider, .testimonial-list, .avatar-grid {
    gap: 18px;
  }
  .feature-grid > div, .service-list > li, .card, .testimonial-card {
    min-width: 160px;
    padding: 16px 10px 14px 14px;
  }
  .service-list {
    flex-direction: column;
  }
}
@media (max-width: 620px) {
  .feature-grid,.service-list{
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-grid > div, .service-list > li {
    max-width: none;
    min-width: 0;
    width: 100%;
  }
}

/* =============
   CTA BUTTONS
   ============= */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  padding: 11px 30px;
  min-width: 120px;
  margin-top: 6px;
  box-shadow: 0 2px 12px rgba(54,179,126,0.08);
  transition: background 0.18s, box-shadow 0.15s, color 0.18s;
  cursor: pointer;
  outline: none;
}
.cta:hover, .cta:focus {
  background: #289260;
  color: #fff;
  box-shadow: 0 4px 16px rgba(54,179,126,0.16);
}
@media (max-width: 620px){
  .cta{
    width: 100%;
    min-width: 0;
    font-size: 1rem;
    padding: 12px 18px;
  }
}

/* ===============
   TESTIMONIALS
   =============== */
.testimonial-slider, .testimonial-list {
  flex-direction: row;
  gap: 24px;
  margin-bottom: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px 18px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  min-width: 220px;
  max-width: 370px;
  margin-bottom: 20px;
  position: relative;
  color: var(--text);
  transition: box-shadow 0.18s, border-color 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(20,66,107,0.11);
  border-color: #36B37E50;
}
.testimonial-stars {
  font-size: 1.1rem;
  color: #FFD600;
  letter-spacing: 1.1px;
}
.testimonial-name {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 0.6px;
}
.avatar-grid{
  flex-direction: row;
  gap: 24px;
  justify-content: flex-start;
  align-items: center;
  margin-top: 32px;
}
.avatar-grid img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  box-shadow: 0 2px 14px rgba(20,66,107,0.08);
}
@media (max-width: 850px){
  .testimonial-slider, .testimonial-list, .avatar-grid{
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card{
    max-width: none;
    min-width: 0;
  }
}

/* =====================
   TABLES (PRICING, ETC)
   ===================== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(20,66,107, 0.04);
}
thead th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: var(--accent);
  color: var(--primary);
  font-size: 1.1rem;
  padding: 16px 14px;
  border-bottom: 1px solid var(--border);
}
tbody td {
  font-size: 1rem;
  color: var(--text-light);
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
}
tbody tr:last-child td {
  border-bottom: none;
}
table strong {
  color: var(--primary);
  font-weight: 700;
}
@media(max-width: 620px){
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  thead { display: none; }
  tbody tr { margin-bottom: 22px; }
  tbody td {
    padding-left: 44%;
    min-height: 32px;
    position: relative;
  }
  tbody td:before {
    position: absolute;
    top: 0; left: 10px;
    width: 39%;
    min-width: 100px;
    font-weight: 600;
    color: var(--primary);
    content: attr(data-label);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.98rem;
  }
}

/* ==============
   FOOTER
   ============== */
footer {
  background: var(--accent);
  border-top: 1px solid var(--border);
  padding: 36px 0 22px 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
footer nav a {
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 6px 4px;
  border-radius: 5px;
  transition: background 0.18s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--primary);
  color: #fff;
}
footer img {
  height: 38px;
}
footer p {
  color: var(--text-light);
  font-size: 0.96rem;
  margin: 0;
}
@media (max-width: 850px) {
  footer .container{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  footer nav{
    gap: 12px;
  }
  footer img{
    height: 34px;
  }
}

/* =============================
   SECTION AND FLEXBOX PATTERNS
   ============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.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;
    align-items: stretch;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============================
   MICROLESS/CARDS ANIMATIONS
   ============================= */
.card, .testimonial-card, .service-list > li, .feature-grid > div {
  transition: box-shadow 0.21s, transform 0.21s, border-color 0.17s;
}
.card:hover, .testimonial-card:hover, .service-list > li:hover, .feature-grid > div:hover {
  box-shadow: 0 8px 28px rgba(20,66,107,0.10);
  transform: translateY(-4px) scale(1.025);
  border-color: #36B37E50;
}

/* ================
   GENERAL FORMS
   ================ */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 18px;
  background: #fff;
  color: var(--primary);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.19s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  box-shadow: 0 2px 12px rgba(54,179,126,0.1);
}
label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1rem;
}

/* ===================
   OPENING HOURS BLOCKS
   =================== */
.opening-hours, .address-block, .contact-information {
  background: var(--accent);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 16px;
}

/* =======================
   COOKIE CONSENT BANNER
   ======================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -2px 18px rgba(20,66,107,0.09);
  border-top: 1px solid var(--border);
  z-index: 10000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 28px 44px 18px 44px;
  animation: cookie-slidein 0.55s cubic-bezier(.7,.17,.37,1);
}
@keyframes cookie-slidein {
  from { transform: translateY(100%); opacity: 0;} 
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  color: var(--primary);
  font-size: 1.01rem;
  flex: 3 1 360px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn, .cookie-settings-btn {
  padding: 9px 23px;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 8px;
  border: 1px solid var(--secondary);
  background: #fff;
  color: var(--secondary);
  font-weight: 600;
  transition: background 0.15s, color 0.16s, border-color 0.16s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #289260;
  color: #fff;
}
.cookie-btn.reject {
  border-color: #E25641;
  color: #E25641;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus  {
  background: #ffcfc7;
  color: #E25641;
  border-color: #c13c26;
}
.cookie-settings-btn {
  color: var(--primary);
  border: 1px solid var(--primary);
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--accent);
}
@media(max-width:750px){
  .cookie-banner{
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 12px 12px 12px;
  }
  .cookie-banner .cookie-btns{
    gap: 10px;
    width:100%;
    flex-wrap: wrap;
  }
}

/* =====================
   COOKIE SETTINGS MODAL
   ===================== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,66,107,0.84);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.19s cubic-bezier(.7,.2,.41,.97);
}
@keyframes fade-in {
  from{opacity:0;} to{opacity:1;}
}
.cookie-modal-content {
  background: #fff;
  padding: 36px 32px 28px 32px;
  border-radius: 14px;
  box-shadow: 0 8px 48px rgba(20,66,107,0.17);
  min-width: 320px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position:relative;
  animation: modal-slideup 0.36s cubic-bezier(.7,.15,.4,.95);
}
@keyframes modal-slideup {
  0%{transform:translateY(50px); opacity:0;} 100%{transform:translateY(0);opacity:1;}
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  color: var(--secondary);
  font-size: 1.7rem;
  border: none;
  border-radius: 6px;
  padding: 2px 6px;
  transition: background .16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--accent);
}
.cookie-modal h2 {
  font-size: 1.34rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.cookie-category label{
  font-size: 1.01rem;
  color: var(--text);
  font-weight: 500;
  margin: 0;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px; height: 20px;
  margin: 0 8px 0 0;
}
.essential {
  opacity: 0.6;
}

/* ===============
   UTILITY & HELPERS
   =============== */
.mt-24{margin-top:24px;}
.mt-32{margin-top:32px;}
.mb-24{margin-bottom:24px;}
.mb-32{margin-bottom:32px;}
.text-center{text-align:center;}
.text-right{text-align:right;}
.flex-row{display:flex;flex-direction:row;gap:16px;}
.flex-col{display:flex;flex-direction:column;gap:16px;}
.justify-between{justify-content:space-between;}
.justify-center{justify-content:center;}
.align-center{align-items:center;}

/* Hide visually but accessible */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}

/* ===============
   PRINT STYLES
   =============== */
@media print {
  *, *:before, *:after { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  nav, .mobile-menu, .mobile-menu-toggle, .cta, .cookie-banner, .cookie-modal {display: none !important;}
  header, footer { box-shadow: none !important; border: none !important;}
}

/* ===============
   SCROLLBAR
   =============== */
::-webkit-scrollbar {
  width: 8px;
  background: #F5F6FA;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #e5e8ec;
  border-radius: 6px;
}

/* ===============
   FOCUS ACCESSIBILITY
   =============== */
a:focus, button:focus, input:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ===============
   MISCELLANEOUS
   =============== */
body {
  min-height: 100vh;
  background: #fff;
}

/* End of style.css */
