/* === 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F7F6FA;
  color: #324155;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #efefef;
}
th {
  background: #E8EBF7;
  font-weight: 700;
}

/* === BRAND FONTS (web-safe fallback) === */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  color: #324155;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 16px; }
h2 { font-size: 2rem; line-height: 1.22; margin-bottom: 12px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; color: #6D85B3; }
h4 { font-size: 1.1rem; letter-spacing: 0.02em; }
p, li, td, th, span, a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #37415a;
  font-size: 1rem;
}
strong, b { font-weight: 700; }

/* === COLOR PALETTE: SOFT PASTEL === */
:root {
  --color-primary: #324155;
  --color-secondary: #D6A77A;
  --color-accent: #F4F2ED;
  --color-pink: #F7D6D9;
  --color-lavender: #E2D0F9;
  --color-blue: #C7DCF7;
  --color-mint: #CBEFE8;
  --color-yellow: #FFF3CD;
  --color-grey: #EFF1F5;
  --color-shadow: rgba(142,178,199,0.1);
  --color-dark-text: #324155;
  --color-light-bg: #FFFFFF;
  --color-focus: #A2B9EE;
  --color-cta: #B8DECC;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-grey);
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 var(--color-shadow);
}

/* === HEADER, NAVIGATION === */
header {
  background: linear-gradient(90deg,#F7D6D9 0%, #CBEFE8 100%);
  box-shadow: 0 2px 16px 0 var(--color-shadow);
  padding: 0;
  position: relative;
  z-index: 12;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
header img {
  max-height: 56px;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-size: 1rem;
  padding: 8px 4px;
  color: #324155;
  border-radius: 8px;
  position: relative;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:not(.btn-primary):hover,
.main-nav a:not(.btn-primary):focus {
  background: var(--color-blue);
  color: var(--color-secondary);
}

.btn-primary {
  background: linear-gradient(92deg, var(--color-secondary), #E2D0F9);
  color: var(--color-primary);
  border: none;
  border-radius: 20px;
  padding: 12px 32px;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: bold;
  font-size: 1.17rem;
  margin-left: 18px;
  box-shadow: 0 3px 16px 0 rgba(183,140,184,0.12);
  transition: background 0.22s, color 0.13s, box-shadow 0.19s;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#CBEFE8,#E2D0F9);
  color: #324155;
  box-shadow: 0 6px 24px 0 rgba(173,154,218,0.20);
  outline: 2px solid var(--color-focus);
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: #324155;
  border-radius: 50%;
  background: var(--color-blue);
  border: 2px solid var(--color-blue);
  margin-left: 18px;
  z-index: 15;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
  transition: background 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:focus { outline: 2px solid var(--color-focus); }

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #E2D0F9 60%, #CBEFE8 100%);
  z-index: 100;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.7,.3,.3,1), opacity 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-mint);
  color: #324155;
  border: none;
  font-size: 2.2rem;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 50%;
  box-shadow: 0 4px 16px var(--color-shadow);
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-yellow);
  outline: 2px solid var(--color-focus);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  padding: 16px 8px;
  border-radius: 16px;
  background: transparent;
  font-size: 1.22rem;
  font-family: 'Merriweather', Georgia, serif;
  letter-spacing: 0.5px;
  color: #324155;
  transition: background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-cta);
  color: #7d5534;
}

/* Hide main-nav on mobile, show burger button */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(120deg, #CBEFE8 0%, #F7D6D9 70%, #FFF3CD 100%);
  padding: 48px 0 64px 0;
  min-height: 360px;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 6px 24px var(--color-shadow);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
}
.hero h1 {
  color: #324155;
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.14;
}
.hero .subheadline {
  color: #7d5534;
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-style: italic;
}

/* === FEATURE GRID / FLEX LAYOUTS === */
.feature-grid {
  display: flex;
  gap: 28px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 24px 0 8px 0;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 var(--color-shadow);
  padding: 30px 24px 24px 24px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.feature-grid > div:hover {
  box-shadow: 0 7px 28px 0 rgba(131,131,218,.19);
  transform: translateY(-3px) scale(1.026);
}
.feature-grid img {
  width: 44px;
  height: 44px;
}

/* Universal class-based patterns (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 var(--color-shadow);
  padding: 22px 20px;
}
.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: #fff;
  box-shadow: 0 2px 14px 0 var(--color-shadow);
  border-radius: 14px;
  margin-bottom: 20px;
  max-width: 740px;
  transition: box-shadow 0.16s, transform 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 9px 18px 0 rgba(179,140,231,0.13);
  transform: translateY(-2px) scale(1.012);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === TESTIMONIALS READABILITY === */
.testimonial-card p {
  color: #324155;
  font-size: 1.13rem;
  flex: 1;
}
.testimonial-card span,
.testimonial-card strong {
  font-size: 1rem;
  color: #6D85B3;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
}

/* === CTA SECTION === */
.cta-section {
  margin-bottom: 40px;
  background: linear-gradient(90deg,#C7DCF7 0%, #CBEFE8 100%);
  border-radius: 18px;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  box-shadow: 0 2px 18px 0 var(--color-shadow);
}
.cta-section h2 {
  color: #324155;
  margin-bottom: 12px;
  font-size: 2rem;
}

/* === BLOG CATEGORIES NAV === */
.blog-categories-nav {
  display: flex;
  gap: 20px;
  margin: 12px 0 22px 0;
}
.blog-categories-nav a {
  padding: 8px 18px;
  border-radius: 12px;
  background: var(--color-mint);
  color: #324155;
  font-size: 1rem;
  border: 1px solid #e3e9f9;
  transition: background 0.17s, color 0.18s;
}
.blog-categories-nav a.active,
.blog-categories-nav a:hover,
.blog-categories-nav a:focus {
  background: var(--color-blue);
  color: var(--color-secondary);
}

/* === ACCORDION (FAQ) === */
.faq-accordion > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 var(--color-shadow);
  padding: 18px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.14s;
}
.faq-accordion h2 {
  font-size: 1.18rem;
  margin-bottom: 7px;
  cursor: pointer;
  color: #D6A77A;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
}
.faq-accordion p {
  color: #324155;
  font-size: 1rem;
}

/* === TEAM-LIST CARDS (ABOUT PAGE) === */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0 0 0;
}
.team-list > div {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 var(--color-shadow);
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 350px;
  padding: 18px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.team-list h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* === TABLE STYLES === */
table {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 13px 0 var(--color-shadow);
  margin-bottom: 20px;
}
table th, table td {
  padding: 14px 18px;
  font-size: 1rem;
  border-bottom: 1px solid #E2D0F9;
}
table thead th {
  background: var(--color-mint);
  color: #324155;
}
table tbody tr:nth-child(even) td {
  background: #EFF1F5;
}

/* === FOOTER STYLES === */
footer {
  background: #E2D0F9;
  padding: 42px 0 20px 0;
  margin-top: 42px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -3px 22px var(--color-shadow);
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-cols > div, .footer-cols > nav {
  flex: 1 1 180px;
  min-width: 160px;
  max-width: 300px;
  margin-bottom: 20px;
  color: #324155;
}
.footer-cols nav a {
  display: block;
  margin: 6px 0;
  color: #37415a;
  font-size: 0.97rem;
  padding: 2px 0;
  border-radius: 6px;
  transition: background 0.17s;
}
.footer-cols nav a:hover, .footer-cols nav a:focus {
  background: var(--color-mint);
}
footer img {
  max-width: 48px;
  margin-bottom: 10px;
}
footer h4 {
  font-size: 1rem;
  color: #7d5534;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
footer p {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #324155;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* === MAIN PAGE: LIST STYLES === */
ul, ol {
  margin: 8px 0 8px 20px;
}
ul li, ol li {
  margin-bottom: 7px;
  line-height: 1.65;
  position: relative;
  padding-left: 16px;
  color: #37415a;
}
ul li:before {
  content: "";
  display: inline-block;
  height: 7px;
  width: 7px;
  background: var(--color-secondary);
  border-radius: 100%;
  position: absolute;
  left: 0;
  top: 9px;
}

/* === FORM / INPUTS BASIC (if any forms are used) === */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 11px;
  border: 1.5px solid #E2D0F9;
  background: #fff;
  color: #324155;
  box-shadow: 0 1px 6px 0 #EBEAF0;
  transition: border 0.14s, box-shadow 0.19s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-focus);
  box-shadow: 0 1px 10px 0 #C7DCF7;
  outline: none;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 2500;
  background: linear-gradient(90deg,#F7D6D9 0%,#CBEFE8 100%);
  box-shadow: 0 -2px 16px 0 rgba(106,78,89,0.13);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  padding: 28px 18px 28px 18px;
  border-radius: 20px 20px 0 0;
  transition: transform 0.3s, opacity 0.3s;
}
.cookie-banner.closed {
  transform: translateY(120%);
  opacity: 0.3;
  pointer-events: none;
}
.cookie-banner__message {
  flex: 1;
  color: #37415a;
  font-size: 1rem;
  max-width: 540px;
}
.cookie-banner__buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner__btn {
  font-size: 1.04rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  border-radius: 20px;
  border: none;
  padding: 10px 20px;
  margin: 0 0 0 0;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, box-shadow 0.17s;
  box-shadow: 0 1px 8px #E2D0F9;
}
.cookie-banner__btn.accept {
  background: linear-gradient(90deg, #CBEFE8, #E2D0F9);
  color: #324155;
}
.cookie-banner__btn.reject {
  background: #F7D6D9;
  color: #7d5534;
}
.cookie-banner__btn.settings {
  background: #C7DCF7;
  color: #37415a;
}
.cookie-banner__btn:hover, .cookie-banner__btn:focus {
  background: #FFF3CD;
  color: #A76D49;
  outline: 2px solid #A2B9EE;
}

/* COOKIE CONSENT MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(40,52,73,0.18);
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #FFF;
  border-radius: 24px;
  box-shadow: 0 8px 48px 0 rgba(183,140,184,0.16);
  padding: 36px 32px 28px 32px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 2900;
  animation: cookieModalAppear .22s cubic-bezier(.7, .3, .3, 1);
}
@keyframes cookieModalAppear {
  from { transform: translateY(60px) scale(.98); opacity: 0.2; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.38rem;
  margin-bottom: 6px;
  color: #324155;
  font-family: 'Merriweather', Georgia, serif;
}
.cookie-modal ul {
  margin: 4px 0 12px 0;
  padding-left: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
}
.cookie-toggle input {
  accent-color: var(--color-secondary);
  width: 26px;
  height: 20px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--color-lavender);
  border-radius: 50%;
  border: none;
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
  color: #324155;
  box-shadow: 0 1px 8px #dacdf8;
  z-index: 1;
  transition: background 0.17s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #C7DCF7;
}

/* ====== PAGE-SPECIFIC ENHANCEMENTS ====== */
.kontakt-info ul {
  margin-top: 12px;
  margin-bottom: 8px;
}
.kontakt-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.07rem;
}
.map-snippet {
  background: var(--color-blue);
  border-radius: 18px;
  box-shadow: 0 2px 13px 0 var(--color-shadow);
  padding: 32px 22px;
  margin-bottom: 42px;
}
.confirmation-section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 3px 20px 0 var(--color-shadow);
  margin-bottom: 52px;
  padding: 60px 14px 60px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.confirmation-section .content-wrapper {
  align-items: center;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 990px) {
  header .container {
    height: 62px;
  }
  .hero h1 { font-size: 2rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .section, .cta-section, .map-snippet {
    padding: 28px 7vw;
  }
  .feature-grid, .team-list, .card-container, .content-grid, .footer-cols {
    gap: 14px;
  }
  .feature-grid > div, .team-list > div {
    min-width: 100%;
    max-width: 100%;
  }
  .footer-cols {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 24px 6vw;
  }
  .content-wrapper,
  .footer-cols,
  .team-list,
  .feature-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .footer-cols > div, .footer-cols > nav {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 18px;
  }
  .hero {
    padding: 30px 0 34px 0;
    border-radius: 0 0 24px 24px;
    min-height: 200px;
  }
  .cta-section {
    min-height: 100px;
    padding: 28px 6vw;
    border-radius: 14px;
  }
  .map-snippet {
    padding: 18px 12px;
    border-radius: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px;
    gap: 8px;
  }
  .mobile-menu {
    padding: 24px 10px 10px 10px;
  }
}
@media (max-width: 390px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1rem; }
  .hero h1 { font-size: 1.34rem; }
  .btn-primary { font-size: 0.97rem; padding: 9px 14px; }
}

/* MICRO-INTERACTIONS */
a, .btn-primary, .cookie-banner__btn {
  transition: background 0.19s, color 0.13s, outline 0.19s;
}
.button:active {
  transform: scale(0.97);
}

/* ===== PRINT STYLES ===== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body, .container, .section { background: #fff !important; color: #23292f; }
}
