/* === 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F7FAFF;
  font-family: 'Roboto', Arial, sans-serif;
  color: #224154;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: 600;
}
a {
  color: #224154;
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover, a:focus {
  color: #B15D00;
}

/* === PASTEL COLOR PALETTE === */
:root {
  --primary: #224154;
  --secondary: #E3F0EC;
  --accent: #D9832A;
  --accent-dark: #B15D00;
  --white: #FFFFFF;
  --bg-gradient-top: #E6F4F1;
  --bg-gradient-bottom: #F5F8FC;
  --pastel-blue: #A3C3E6;
  --pastel-mint: #BFE5DB;
  --pastel-yellow: #FFF6D7;
  --pastel-lilac: #E8E3F7;
  --pastel-pink: #F7E6EF;
  --box-shadow: 0 2px 16px 0 rgba(34,65,84,0.06);
  --text-dark: #224154;
  --text-light: #6B8292;
  --border-radius: 18px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 18px;
  line-height: 1.18;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  line-height: 1.2;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p,
ul,
ol {
  margin-bottom: 18px;
}
.content-wrapper > *:last-child {
  margin-bottom: 0;
}

/* === LAYOUT & CONTAINER === */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 32px 24px;
  margin-bottom: 32px;
}
@media (max-width: 640px) {
  .content-wrapper {
    padding: 22px 8px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(180deg, var(--bg-gradient-top), var(--bg-gradient-bottom) 100%);
  border-radius: 0;
}
.section:last-child {
  margin-bottom: 0;
}

/* === FLEXBOX COMPONENTS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s cubic-bezier(.78,.13,.15,.86), box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 28px 0 rgba(34,65,84,0.15);
}
.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;
  background: var(--pastel-mint);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1.02rem;
  color: var(--text-dark);
  transition: box-shadow 0.18s;
}
.testimonial-card blockquote {
  quotes: "\201C" "\201D";
  font-style: italic;
  font-size: 1.08em;
  line-height: 1.5;
  margin-bottom: 8px;
  color: var(--primary);
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px 0 rgba(34,65,84,0.11);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* == FEATURE GRID, USPs, ETC == */
.feature-grid, .usp-list, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.feature-grid li, .usp-list li, .feature-list li {
  background: var(--pastel-yellow);
  box-shadow: 0 2px 8px 0 rgba(240,200,140,0.04);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.02rem;
  padding: 18px 18px;
  color: var(--primary);
  min-width: 220px;
  min-height: 60px;
}
.feature-grid img, .usp-list img, .feature-list img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* == TAG CLOUD == */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 4px 0 18px 0;
}
.tag-cloud a {
  background: var(--pastel-lilac);
  color: var(--primary);
  border-radius: 14px;
  font-size: 0.96rem;
  padding: 7px 15px;
  transition: background 0.16s, color 0.16s;
}
.tag-cloud a:hover, .tag-cloud a:focus {
  background: var(--accent);
  color: var(--white);
}

/* === HEADER === */
header {
  width: 100%;
  background: var(--secondary);
  box-shadow: 0 1px 12px 0 rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px 20px;
  gap: 0;
}
header img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  padding: 5px 0 5px 0;
  border-radius: 8px;
  position: relative;
  z-index: 2;
  transition: background 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-pink);
  color: var(--accent-dark);
}
.cta-primary {
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  box-shadow: 0 2px 16px 0 rgba(217,131,42,0.08);
  padding: 6px 24px;
  margin-left: 14px;
  transition: background 0.16s, box-shadow 0.16s, color 0.16s;
  border: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 4px 18px 0 rgba(177,93,0,0.15);
}
.cta-secondary {
  background: var(--pastel-blue);
  color: var(--primary);
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 1px 8px 0 rgba(163,195,230,0.12);
  padding: 6px 20px;
  margin-top: 10px;
  transition: background 0.13s, color 0.13s;
  border: none;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--accent);
  color: var(--white);
}

/* === RESPONSIVE MENU === */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--white);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(217,131,42,0.10);
  align-items: center;
  justify-content: center;
  transition: background 0.16s, box-shadow 0.13s;
  z-index: 101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--accent-dark);
  box-shadow: 0 3px 12px 0 rgba(177,93,0,0.13);
  outline: none;
}

/* === MOBILE NAV OVERLAY === */
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: var(--secondary);
  z-index: 1200;
  padding: 54px 0 0 0;
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  transform: translateX(-100vw);
  box-shadow: 0 4px 40px 0 rgba(34,65,84,0.18);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--primary);
  font-size: 2.2rem;
  padding: 0 18px;
  border: none;
  position: absolute;
  top: 12px;
  right: 10px;
  z-index: 1201;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 36px;
  gap: 22px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  color: var(--primary);
  padding: 10px 0;
  border-radius: 12px;
  width: 100%;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-yellow);
  color: var(--accent-dark);
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 12px;
  }
  header img {
    height: 30px;
  }
  .cta-primary {
    margin-left: 0px;
    padding: 6px 18px;
    font-size: 1em;
  }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    padding: 12px 12px 10px 14px;
  }
}
@media (max-width: 530px) {
  .mobile-nav {
    padding: 0 14px;
  }
  .mobile-menu {
    padding-top: 45px;
  }
}

/* === FOOTER === */
footer {
  background: var(--pastel-blue);
  color: var(--primary);
  box-shadow: 0 -2px 12px 0 rgba(34,65,84,0.04);
  padding: 50px 0 22px 0;
  margin-top: 16px;
  font-size: 16px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 6px;
}
.footer-nav a {
  font-size: 1rem;
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent-dark);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
  margin-bottom: 7px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
}
footer p {
  font-size: 0.96rem;
  color: var(--text-light);
}

/* === CONTACT INFO === */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 17px 0 6px 0;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.contact-info img {
  width: 25px;
  height: 25px;
}

/* === BUTTONS === */
button, .button, input[type="button"], input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 24px;
  border-radius: 28px;
  background: var(--accent);
  color: var(--white);
  border: none;
  font-weight: 600;
  box-shadow: 0 1px 9px 0 rgba(217,131,42,0.12);
  transition: background 0.16s, box-shadow 0.11s;
  cursor: pointer;
  outline: none;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 3px 16px 0 rgba(177,93,0,0.14);
}

/* === MISCELLANEOUS === */
blockquote {
  font-size: 1.1em;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 8px;
}
dt {
  font-weight: 600;
}
hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid #e6e6e6;
}

/* == CUSTOM COOKIE BANNER == */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  color: var(--primary);
  border-top: 1.5px solid var(--pastel-blue);
  box-shadow: 0 -2px 20px 0 rgba(34,65,84,0.11);
  padding: 24px 10vw 18px 10vw;
  z-index: 8100;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  animation: fadeInBanner 0.45s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeInBanner {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner strong {
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: var(--pastel-mint);
  color: var(--primary);
  font-weight: 700;
  border-radius: 23px;
  font-size: 0.98rem;
  padding: 7px 24px;
  border: none;
  box-shadow: 0 1px 6px 0 rgba(191,229,219,0.10);
  transition: background 0.13s, color 0.13s;
}
.cookie-banner .accept-btn {
  background: var(--accent);
  color: var(--white);
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: var(--accent-dark);
  color: var(--white);
}
.cookie-banner .reject-btn {
  background: var(--pastel-lilac);
  color: var(--primary);
}
.cookie-banner .settings-btn {
  background: var(--pastel-yellow);
  color: var(--primary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(0.96);
}

/* == COOKIE MODAL POPUP == */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 8200;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,65,84,0.25);
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.29s cubic-bezier(.77,0,.18,1);
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes cookieModalFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: 24px;
  max-width: 430px;
  width: 88vw;
  box-shadow: 0 4px 32px 0 rgba(34,65,84,0.15);
  padding: 32px 28px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  animation: popupSlideIn 0.29s cubic-bezier(.77,0,.18,1);
}
@keyframes popupSlideIn {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.18rem;
  margin-bottom: 4px;
  color: var(--primary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}
.cookie-modal .cookie-toggle {
  margin-left: 0px;
}
.cookie-modal .cookie-essential input {
  accent-color: #aaa;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 13px;
  right: 24px;
  background: none;
  color: var(--primary);
  border: none;
  font-size: 1.45rem;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .close-cookie-modal:hover,
.cookie-modal .close-cookie-modal:focus {
  color: var(--accent-dark);
}

/* === RESPONSIVE FLEX ADJUSTMENTS === */
@media (max-width: 1020px) {
  .container {
    max-width: 94vw;
  }
  .content-wrapper {
    padding: 26px 10px;
  }
  .section {
    padding: 27px 7px;
  }
}
@media (max-width: 800px) {
  .feature-grid, .usp-list, .feature-list {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 4vw;
  }
  .section {
    padding: 18px 2vw;
    margin-bottom: 36px;
  }
  .content-wrapper {
    padding: 11px 2vw;
    margin-bottom: 18px;
  }
  .card-container, .content-grid, .footer-contact {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    text-align: left;
    font-size: 1em;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* === MOBILE - FONT + NAV == */
@media (max-width: 610px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  .footer-nav, .footer-contact {
    font-size: 0.94rem;
    gap: 12px;
  }
}

/* === MICRO-INTERACTIONS === */
.card, .feature-grid li, .usp-list li, .feature-list li, .testimonial-card, .cta-primary, .cta-secondary, .mobile-menu-toggle {
  transition: transform 0.16s cubic-bezier(.68,.01,.18,1), box-shadow 0.15s, background 0.14s;
}
.card:active,
.feature-grid li:active, .usp-list li:active, .feature-list li:active {
  transform: scale(0.98);
}
.cta-primary:active, .cta-secondary:active {
  transform: scale(0.99);
}

/* === ACCENT LINKS === */
a[href^="tel:"], a[href^="mailto:"],
a[href="kontakt.html"], .footer-contact a {
  color: var(--accent-dark)
}
a[href^="tel:"], a[href^="mailto:"],
a[href="kontakt.html"]:hover, .footer-contact a:hover {
  text-decoration: underline;
}

/* === ACCESSIBLE FOCUS === */
a:focus, button:focus, .cta-primary:focus, .cookie-banner button:focus, .mobile-menu-close:focus, .cookie-modal .close-cookie-modal:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* === SCROLLBAR (SOFT) === */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #dbece7;
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}

/* === FORMS & PLACEHOLDER === */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--pastel-mint);
  padding: 8px 10px;
  margin-bottom: 12px;
  outline: none;
  background: var(--pastel-yellow);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  background: var(--pastel-pink);
}
::placeholder {
  color: #b8c7cc;
}

/* === CARDS, GAP ENFORCEMENT === */
.card-container > *,
.content-grid > *,
.feature-grid > *,
.usp-list > *,
.feature-list > *,
.footer-contact > * {
  margin-bottom: 0;
}

/* === ENSURE NO OVERLAPPING === */
.section, .content-wrapper, .card, .testimonial-card,
.feature-grid li, .usp-list li, .feature-list li {
  margin-bottom: 20px;
}

/* === VISUAL SOFTNESS (PASTEL) === */
.card, .testimonial-card, .content-wrapper,
.feature-grid li, .usp-list li, .feature-list li {
  backdrop-filter: blur(1px);
}

/* === PRINT STYLES (FOR POLICIES) === */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .content-wrapper, .section { box-shadow: none !important; background: #fff !important; }
}
