/* ==========================================================================
   CSS RESET & BASE NORMALIZATION
   ========================================================================== */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F6F4F0;
  font-family: 'Roboto', Arial, sans-serif;
  color: #234567;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  color: #234567;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C1840E;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: bold;
  color: #234567;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
h5, h6 {
  font-size: 1rem;
}
p, ul, ol, li, span, strong, table, td, th {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #234567;
}
strong {
  font-weight: 700;
}
small {
  font-size: 0.875rem;
}

/* ==========================================================================
   BRAND COLORS & UTILITIES
   ========================================================================== */
:root {
  --primary: #234567;
  --primary-dark: #163052;
  --secondary: #EFCB68;
  --secondary-dark: #C1840E;
  --accent: #F6F4F0;
  --white: #fff;
  --black: #2A2734;
  --gray: #e8e8e4;
  --shadow-sm: 0 2px 8px 0 rgba(197, 137, 19, 0.09);
  --shadow-md: 0 6px 24px 0 rgba(140, 100, 5, 0.12);
}

/* ==========================================================================
   LAYOUT SPACING
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 34px;
  }
  .container {
    padding: 0 6px;
  }
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 18px rgba(231, 185, 46, 0.07);
  border-radius: 0 0 22px 22px;
  position: sticky;
  top: 0;
  z-index: 20;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  gap: 16px;
}
nav > a img {
  height: 38px;
  border-radius: 11px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: 34px;
}
nav ul li {
  list-style: none;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 15px;
  border-radius: 8px;
  color: var(--primary);
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
nav ul li a:hover,
nav ul li a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* Primary nav button */
nav .button.primary {
  margin-left: 18px;
  font-size: 1.05rem;
  padding: 10px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
}

@media (max-width: 900px) {
  nav ul {
    gap: 13px;
    margin-left: 10px;
  }
  nav .button.primary {
    margin-left: 8px;
  }
}
@media (max-width: 768px) {
  nav {
    padding: 9px 3px 9px 9px;
  }
  nav ul, nav .button.primary {
    display: none;
  }
}

/* ==========================================================================
   MOBILE BURGER MENU
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: var(--primary);
  align-items: center;
  justify-content: center;
  margin-left: auto;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s;
  z-index: 30;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--secondary-dark);
  color: var(--white);
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: var(--primary);
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(.7,.25,.27,1.27);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 36px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--secondary);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 0 32px 22px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  margin-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  font-size: 1.2rem;
  padding: 13px 0 13px 0;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.button {
  display: inline-block;
  border: none;
  border-radius: 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 13px 32px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.23s, color 0.23s, box-shadow 0.18s, transform 0.18s;
  outline: none;
  margin-top: 8px;
}
.button.primary {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.button.primary:hover, .button.primary:focus {
  background: var(--secondary-dark);
  color: var(--accent);
  box-shadow: 0 3px 10px 0 rgba(231, 185, 46, 0.16);
  transform: translateY(-2px) scale(1.03);
}
.button.secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.button.secondary:hover, .button.secondary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 3px 10px 0 rgba(231, 185, 46, 0.12);
  transform: translateY(-2px) scale(1.03);
}
.button:active {
  transform: scale(0.97);
}

/* Extra: button for cookie, modal, etc */
.button.cookie-accept {
  background: var(--secondary-dark);
  color: var(--white);
  border: 2px solid var(--secondary-dark);
}
.button.cookie-reject {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--secondary-dark);
}
.button.cookie-setting {
  background: var(--white);
  color: var(--secondary-dark);
  border: 2px solid var(--secondary-dark);
}
.button.cookie-accept:hover { background: #f0b513; }
.button.cookie-reject:hover { background: var(--secondary); color: var(--primary); }
.button.cookie-setting:hover { background: var(--secondary); color: var(--primary); }

/* ==========================================================================
   CARDS, GRIDS & FLEX CONTAINERS
   ========================================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
  padding: 28px 22px 28px 22px;
  flex: 1 1 290px;
  min-width: 230px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-grid,
.features-list,
.features-grid,
.tip-grid,
.service-list,
.values-list,
.blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.features-list {
  gap: 22px;
}
.features-list li, .features-grid li, .tip-grid > div, .values-list li {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 22px 17px;
  flex: 1 1 210px;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  min-width: 170px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-list img,
.features-grid img,
.values-list img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(231,185,46,0.06);
  margin-bottom: 10px;
}
.values-list li {
  min-width: 165px;
  align-items: flex-start;
}
.blog-post-grid {
  gap: 22px;
  margin-bottom: 18px;
  width: 100%;
}
.blog-post-grid article {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 24px 16px;
  flex: 1 1 270px;
  min-width: 180px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.blog-post-grid .button {
  margin-top: auto;
}

.tip-grid {
  gap: 22px;
}
.tip-grid > div {
  min-width: 165px;
  max-width: 260px;
  flex: 1 1 180px;
}

.service-list {
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.service-list li {
  min-width: 200px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.resource-links, .tip-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.resource-links a {
  color: var(--primary-dark);
  text-decoration: underline;
  font-size: 1.04rem;
}

.process-steps {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 12px;
  margin: 24px 0 12px 0;
  padding: 18px 20px 15px 22px;
  box-shadow: var(--shadow-sm);
  font-size: 1.04rem;
}
.process-steps h4 {
  margin-bottom: 10px;
}
.process-steps ol {
  margin-left: 21px;
}
.process-steps ol li {
  list-style: decimal;
  margin-bottom: 6px;
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
}

.callout-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 8px 0;
}
.callout-boxes > div {
  background: var(--white);
  color: var(--primary);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 12px 16px;
  font-size: 1.08rem;
  font-weight: 500;
}

.benefit-box {
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 7px;
  padding: 10px 13px;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 8px;
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-radius: 11px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray);
  font-size: 1rem;
}
.pricing-table th {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
  margin-top: 16px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 3px 24px 0 rgba(140, 100, 5, 0.06);
  border-radius: 17px;
  min-width: 230px;
  max-width: 330px;
  flex: 1 1 220px;
  margin-bottom: 18px;
  font-size: 1.08rem;
  position: relative;
  z-index: 1;
}
.testimonial-card p {
  font-size: 1.09rem;
  margin-bottom: 10px;
  color: #234567;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
}
.testimonial-card span {
  color: #e8aa00; /* Friendly gold star color */
}
.testimonial-card strong {
  font-weight: 700;
  margin-left: 9px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card:nth-child(odd) {
  background: #fdf8e9;
}
.testimonial-card:nth-child(even) {
  background: #f6f4f0;
}

/* Ensure readable contrast in testimonials */
@media (prefers-color-scheme: dark) {
  .testimonial-card { color: #234567; }
}

/* ==========================================================================
   ACCORDION FAQ (kontakt.html)
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
  width: 100%;
}
.faq-accordion li {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 15px 16px;
  transition: box-shadow 0.18s, background 0.22s;
}
.faq-accordion li strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.faq-accordion li span {
  display: block;
  color: var(--primary);
  font-size: 0.98rem;
}
.faq-accordion li:hover,
.faq-accordion li:focus-within {
  background: var(--secondary);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--primary);
  color: var(--accent);
  width: 100%;
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -3px 22px 0 rgba(140, 100, 5, 0.09);
  margin-top: 60px;
}
footer .container {
  padding: 32px 16px 23px 16px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: stretch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 13px;
}
.footer-nav a {
  color: var(--secondary);
  margin: 0 2px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--white);
  text-decoration: underline;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 6px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  justify-content: center;
  font-size: 1rem;
}
.footer-brand img {
  height: 38px;
  border-radius: 12px;
  background: var(--accent);
}
@media (max-width: 600px) {
  .footer-info { flex-direction: column; gap: 6px; }
  .footer-brand { flex-direction: column; gap: 7px; }
}

/* ==========================================================================
   TEXT & UTILITY CLASSES
   ========================================================================== */
.text-section {
  margin-bottom: 20px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 1.06rem;
  color: var(--primary);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.contact-info {
  background: var(--accent);
  padding: 10px 13px;
  border-radius: 9px;
  margin-top: 8px;
  font-size: 1rem;
}
.contact-info a {
  color: var(--primary-dark);
  font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1020px) {
  .card-container, .testimonials, .features-list, .features-grid, .content-grid, .values-list, .tip-grid, .blog-post-grid {
    flex-wrap: wrap;
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .card-container, .testimonials, .features-list, .features-grid, .content-grid, .values-list, .tip-grid, .blog-post-grid {
    gap: 13px;
  }
  .card, .testimonial-card, .features-list li, .tip-grid > div, .values-list li, .blog-post-grid article {
    min-width: 150px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .card-container, .testimonials, .features-list, .features-grid, .content-grid, .values-list, .tip-grid, .blog-post-grid {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card, .features-list li, .features-grid li, .card, .tip-grid > div, .values-list li, .blog-post-grid article {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .blog-post-grid {
    gap: 13px;
  }
}
@media (max-width: 550px) {
  .section {
    border-radius: 14px;
    padding: 14px 3px;
  }
  footer {
    border-radius: 18px 18px 0 0;
  }
}

/* ==========================================================================
   COOKIE CONSENT BANNER & MODAL
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 -3px 20px 0 rgba(231,185,46,0.17);
  border-radius: 25px 25px 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 22px 6vw 20px 6vw;
  z-index: 1300;
  font-size: 1rem;
  animation: cookieBannerIn 0.5s cubic-bezier(.7,.25,.27,1.27);
}
@keyframes cookieBannerIn {from { transform: translateY(120%);} to { transform: translateY(0);}}
.cookie-banner p {
  font-size: 1rem;
  margin-right: 16px;
  color: var(--primary);
}
.cookie-banner .button {
  margin-top: 0;
  margin-right: 12px;
  font-size: 0.99rem;
  padding: 10px 18px;
}
@media (max-width: 670px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 15px 2vw 10px 2vw;
    z-index: 15000;
    border-radius: 13px 13px 0 0;
  }
  .cookie-banner .button {
    margin-top: 7px;
    margin-right: 0;
  }
}

/* Cookie Modal (settings) */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.37);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.4s cubic-bezier(.7,.25,.27,1.27);
  /* Only visible when open, control with JS */
}
@keyframes cookieModalIn {from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: var(--accent);
  border-radius: 22px;
  box-shadow: 0 6px 38px 0 rgba(140, 100, 5, 0.19);
  max-width: 388px;
  width: 94vw;
  padding: 28px 19px 21px 19px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--primary);
}
.cookie-modal h3 {
  margin-top: 0;
  margin-bottom: 7px;
  font-size: 1.2rem;
  color: var(--primary-dark);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 0;
  font-size: 1.05rem;
}
.cookie-modal label {
  font-weight: 500;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--secondary-dark);
  width: 20px;
  height: 20px;
  margin-right: 9px;
}
.cookie-modal .button {
  margin-right: 6px;
  margin-top: 9px;
}
.cookie-modal .button:last-child {
  margin-right: 0;
}
.cookie-modal .cookie-info {
  font-size: 0.97rem;
  color: #5a5366;
  margin-bottom: -7px;
}
@media (max-width: 520px){
  .cookie-modal {
    padding: 14px 5px 9px 5px;
    border-radius: 12px;
  }
}

/*
 * Ensure cookie banner/modal can be closed and reopened smoothly via class toggles in JS
 */

/* ==========================================================================
   MICRO-INTERACTIONS & TRANSITIONS
   ========================================================================== */
.card, .testimonial-card, .features-list li, .features-grid li, .values-list li, .tip-grid > div, .blog-post-grid article,
.service-list li, .benefit-box, .callout-boxes > div {
  transition: box-shadow 0.22s, transform 0.18s, background 0.18s;
}
.card:hover, .testimonial-card:hover, .features-list li:hover, .features-grid li:hover, .blog-post-grid article:hover, .service-list li:hover, .values-list li:hover, .tip-grid > div:hover {
  box-shadow: 0 7px 32px 0 rgba(197,137,19,0.14);
  transform: translateY(-4px) scale(1.0125);
}

/* ==========================================================================
   PRINT/ACCESSIBILITY
   ========================================================================== */
@media print{
  nav, .mobile-menu, .mobile-menu-toggle, .button, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  body, .section, .container, .content-wrapper {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
}
