/* --- 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,
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; outline: 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;
}
body {
  line-height: 1.5;
  background: #F8FAFE;
  color: #222;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
hr { border: 0; border-top: 1px solid #ddd; margin: 24px 0; }
*, *:before, *:after { box-sizing: inherit; }

/* --- CUSTOM PROPERTIES: Brand Colors & Typography --- */
:root {
  --color-primary: #15406A;
  --color-secondary: #E8B150;
  --color-accent: #FFFFFF;
  --color-bg: #F8FAFE;
  --color-electric-blue: #21A1FF;
  --color-electric-pink: #F6268C;
  --color-electric-green: #1DE9B6;
  --color-text: #191C24;
  --color-muted: #667;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --shadow-card: 0 6px 24px rgba(21,64,106,0.08), 0 1.5px 6px rgba(61,61,61,0.04);
  --radius: 18px;
  --transition: 0.24s cubic-bezier(.52,.02,.49,.98);
  --container-width: 1200px;
}

/* --- BASE LAYOUT CONTAINER --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}

/* --- HEADER --- */
header {
  background: var(--color-primary);
  box-shadow: 0 2px 12px rgba(21,64,106,0.08);
  position: sticky;
  top: 0; left: 0; width: 100%;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 18px 10px 18px;
}
header img {
  height: 52px;
  min-width: 120px;
  margin-right: 28px;
  display: block;
}

/* --- NAVIGATION --- */
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-left: 10px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--color-accent);
  padding: 4px 10px 4px 10px;
  border-radius: 10px;
  transition: background 0.18s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.cta-button {
  margin-left: 18px;
  display: inline-block;
  background: var(--color-electric-pink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  padding: 13px 30px;
  border-radius: 16px;
  box-shadow: 0 2px 13px rgba(246,38,140,0.13), 0 0.5px 1px rgba(160,64,0,0.04);
  border: none;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.21s, transform 0.13s, box-shadow 0.13s;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-electric-blue);
  color: #fff;
  transform: translateY(-3px) scale(1.042);
  box-shadow: 0 5px 16px rgba(33,161,255,0.17);
}

/* --- MOBILE MENU TOGGLE (Hamburger) --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-secondary);
  padding: 9px 16px;
  z-index: 400;
  transition: color 0.2s;
  border-radius: 10px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
/* --- MOBILE NAVIGATION OVERLAY --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(122deg, #fff 80%, var(--color-secondary) 110%);
  transform: translateX(-100%);
  transition: transform 0.36s var(--transition);
  box-shadow: 16px 0 60px #0002;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.3rem;
  margin: 28px 24px 18px 0;
  color: var(--color-electric-pink);
  cursor: pointer;
  z-index: 10001;
  padding: 4px 15px;
  border-radius: 10px;
  transition: background 0.15s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  background: var(--color-electric-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 10px 36px;
  width: 85vw;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 16px 0;
  color: var(--color-primary);
  border-bottom: 2px solid #eaeaea;
  transition: color 0.15s, background 0.14s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-electric-blue);
  background: var(--color-bg);
}

/* Hide navigation as appropriate on mobile */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {display: none !important;}
  .mobile-menu.open {display: none !important;}
}

/* --- HERO, SECTIONS, CONTENT WRAPPERS --- */
section {
  background: #fff;
  min-width: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

@media (min-width: 800px) {
  .content-wrapper, .text-section {
    padding-right: 30px;
    padding-left: 30px;
  }
}

/* --- TYPOGRAPHY --- */
h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--color-primary);
  margin-bottom: 0.5em;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--color-electric-pink);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--color-electric-blue);
  line-height: 1.19;
}
p, address, ul, li {
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 0.7em;
}
address {
  font-style: normal;
  color: var(--color-muted);
  font-size: 1rem;
  margin-top: 0.5em;
}
strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-electric-pink);
}

ul,ol {
  margin-left: 20px;
  padding-left: 0;
}
ul>li, ol>li {
  margin-bottom: 8px;
  padding-left: 2px;
  position: relative;
}
ul>li::before {
  content: '✔';
  color: var(--color-electric-green);
  font-weight: bold;
  margin-right: 12px;
  font-size: 1.04em;
  vertical-align: top;
}

/* --- FEATURES GRID & SERVICES LIST --- */
.features-grid,
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  width: 100%;
  margin-bottom: 18px;
}
.feature,
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 22px 24px 22px;
  min-width: 245px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.12s;
}
.feature:hover,
.service-item:hover {
  box-shadow: 0 12px 38px rgba(33,161,255,0.16), 0 2.5px 8px rgba(61,61,61,0.06);
  transform: translateY(-5px) scale(1.027);
}
.feature img {
  height: 46px;
  width: 46px;
  margin-bottom: 18px;
  background: var(--color-bg);
  border-radius: 50%;
  box-shadow: 0 2px 9px #1DE9B630;
}
.service-item h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--color-electric-blue);
}
.service-item h3 span {
  font-size: 1.07em;
  color: var(--color-secondary);
  font-weight: 900;
  margin-left: 5px;
}

/* --- Carousel or Multi-row Card Containers, Flex Patterns --- */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 24px 28px 24px;
  min-width: 240px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  width: 100%;
  align-items: stretch;
  margin-bottom: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 30px 18px 26px;
  min-width: 250px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border-left: 8px solid var(--color-electric-blue);
  margin-bottom: 20px;
  transition: border-color 0.24s, box-shadow 0.19s;
}
.testimonial-card p {
  color: #222;
  font-size: 1.04rem;
  font-family: var(--font-body);
  margin-bottom: 2px;
}
.testimonial-card span {
  font-size: 1em;
  color: var(--color-electric-pink);
  font-weight: 700;
  margin-top: 10px;
  font-family: var(--font-display);
}
.testimonial-card:hover {
  border-left: 8px solid var(--color-electric-pink);
  box-shadow: 0 10px 32px rgba(246,38,140,0.08), 0 1.5px 6px rgba(33,161,255,0.06);
}

/* --- Responsive Flex Directions --- */
.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: flex-start;
    gap: 22px;
  }
  .features-grid, .services-list, .testimonials, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 0 0 0 0;
  margin-top: 48px;
}
footer .container {
  flex-direction: column;
  gap: 0;
  padding-top: 16px;
  padding-bottom: 20px;
}
footer .content-wrapper {
  flex-direction: row;
  gap: 50px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.footer-nav, .legal-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-nav a, .legal-nav a {
  color: var(--color-secondary);
  font-size: 1rem;
  font-family: var(--font-display);
  padding: 2px 0;
  transition: color 0.18s;
}
.footer-nav a:hover, .legal-nav a:hover {
  color: var(--color-electric-pink);
}
.footer-contact {
  margin-top: 0;
  font-size: 0.97rem;
  font-family: var(--font-body);
}
.footer-contact strong {
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1.05em;
}
@media (max-width: 800px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/* --- BUTTONS --- */
button, .cta-button, .mobile-menu-close, .mobile-menu-toggle {
  appearance: none;
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.21s, color 0.18s, box-shadow 0.15s, transform 0.14s;
}
button:active, .cta-button:active, .mobile-menu-close:active, .mobile-menu-toggle:active {
  transform: scale(0.98);
}

/* --- ACCESSIBLE FOCUS STATES --- */
a:focus, button:focus, .cta-button:focus, .mobile-menu-toggle:focus {
  outline: 2px solid var(--color-electric-green);
  box-shadow: 0 0 0 2px var(--color-electric-green) !important;
  z-index: 1;
}

/* --- Price Text ---*/
.price strong {
  color: var(--color-secondary);
  font-size: 1.44em;
  font-family: var(--font-display);
  font-weight: 900;
}

/* --- Animations & Micro-interactions --- */
.card:hover, .feature:hover, .service-item:hover {
  box-shadow: 0 12px 38px rgba(33,161,255,0.15), 0 6px 20px rgba(246,38,140,0.07);
  transform: translateY(-4px) scale(1.03);
}

a, button, .cta-button { transition: color 0.19s, background 0.17s, box-shadow 0.17s, border 0.15s, transform 0.12s; }


/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  z-index: 17000;
  background: #fff;
  border-top: 3px solid var(--color-secondary);
  box-shadow: 0 -4px 18px rgba(21,64,106,0.09);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 26px 12px 18px 12px;
  animation: fadeInBanner 0.4s ease;
}
@keyframes fadeInBanner {
  0% {opacity: 0; transform: translateY(60px);}
  100% {opacity: 1; transform: translateY(0);}
}
.cookie-banner__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 22px;
  font-family: var(--font-display);
  font-weight: 800;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  margin-right: 4px;
  box-shadow: 0 3px 14px #15406A15;
}
.cookie-btn.accept {
  background: var(--color-electric-green);
  color: #fff;
}
.cookie-btn.accept:hover { background: #0aca8b; }
.cookie-btn.reject {
  background: var(--color-electric-pink);
  color: #fff;
}
.cookie-btn.reject:hover { background: #c10965; }
.cookie-btn.settings {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn.settings:hover { background: #fcd16b; }

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-backdrop {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,65,108,0.26);
  z-index: 18000;
  display: flex; align-items: center; justify-content: center;
  animation: fadeInModal 0.22s;
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 38px 34px 28px 34px;
  max-width: 430px;
  box-shadow: 0 8px 48px #15406A33, 0 0.5px 1px rgba(230,205,100,0.09);
  animation: slideDownModal 0.32s cubic-bezier(.92,.01,.78,.99);
  display: flex; flex-direction: column; gap: 24px;
}
@keyframes slideDownModal {
  0% { transform: translateY(-70px) scale(0.95); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 6px;
  color: var(--color-electric-pink);
}
.cookie-categories {
  display: flex; flex-direction: column; gap: 15px;
}
.cookie-category {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-display);
  font-size: 1.05em;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-electric-blue);
  width: 20px; height: 20px;
}
.cookie-category .required {
  color: var(--color-electric-green); font-size: 1.1em;
  font-weight: bold; margin-left: 2px;
}
.cookie-modal .cookie-btn {
  min-width: 120px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  color: var(--color-electric-pink);
  border: none;
  font-size: 2rem;
  font-weight: bold;
  padding: 5px 8px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 1;
}
.cookie-modal .close-modal:hover {
  background: var(--color-secondary);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 650px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .footer-contact { font-size: 0.93rem; }
  .cta-button { font-size: 1rem; padding: 12px 18px; }
  .container { padding: 0 8px; }
  .feature, .service-item, .testimonial-card, .card {
    padding: 22px 13px 18px 13px;
    min-width: unset;
  }
  .mobile-nav a { font-size: 1.1rem; }
  .cookie-modal {padding: 18px 7vw 18px 7vw;}
}

@media (max-width: 420px) {
  .cookie-modal {padding: 14px 3vw 10px 3vw;}
  .cookie-btn { padding: 8px 10px; font-size: 0.99em; }
}

/* --- HIGH ENERGY VISUAL ELEMENTS --- */
.features-grid > .feature, .services-list > .service-item, .testimonial-card, .card {
  border: 2px solid #fff;
  transition: border-color 0.15s, box-shadow 0.21s, transform 0.16s;
}
.features-grid > .feature:hover, .services-list > .service-item:hover {
  border-color: var(--color-electric-green);
}

.testimonial-card {
  border-left: 8px solid var(--color-electric-blue);
  box-shadow: var(--shadow-card), 0 0 0 3px #E8B15033;
}

.testimonial-card:hover {
  border-left: 8px solid var(--color-electric-green);
  box-shadow: 0 15px 42px rgba(33,161,255,0.10), 0 6px 22px #1DE9B610;
}

/* --- SPACING & FLEX GAP ADJUSTMENTS --- */
.features-grid > *, .services-list > *, .testimonials > *, .content-grid > *, .card-container > *, .card-grid > * {
  margin-bottom: 0;
}

/* --- GENERAL SPACING BETWEEN LARGE SECTIONS --- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  border-radius: var(--radius);
  box-shadow: none;
}

/* --- VISUAL HIERARCHY, HIGHLIGHTS --- */
h1, h2 { text-shadow: 0 2px 20px #E8B15020; }
h2, h3 {
  position: relative;
}
h2::after {
  content: '';
  display: block;
  width: 55px;
  height: 5px;
  border-radius: 3px;
  background: var(--color-electric-green);
  margin-top: 9px;
}

/* --- FORM ELEMENTS (If any in Kontakt) --- */
input[type=text], input[type=email], textarea {
  width: 100%;
  font-family: var(--font-body);
  padding: 13px 14px;
  border: 1.7px solid var(--color-secondary);
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: border 0.16s, box-shadow 0.13s;
  margin-bottom: 20px;
}
input:focus, textarea:focus {
  border: 1.7px solid var(--color-electric-blue);
  box-shadow: 0 0 0 2px #21A1FF33;
}

label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  color: var(--color-electric-pink);
  font-weight: 600;
  font-size: 1.07em;
}

/* --- UTILS --- */
.d-none { display: none !important; }

/* --- Print Support --- */
@media print {
  header, footer, .cookie-banner, .cookie-modal-backdrop { display: none !important; }
  main, .container, section { background: #fff !important; color: #222 !important; }
}
