/* ===== 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,
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fafbff;
  color: #221f1f;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
img, picture, video {
  max-width: 100%;
  display: block;
  border: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* ==== BRAND COLORS & FONTS ==== */
:root {
  --primary: #26365A;
  --secondary: #E5C7A5;
  --accent: #F5F3EF;
  --vibrant1: #FF2670; /* Electric pink */
  --vibrant2: #29F6B6; /* Electric teal */
  --vibrant3: #F7CB29; /* Energetic yellow */
  --vibrant4: #5624D0; /* Bold purple */

  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', Arial, Helvetica, sans-serif;
  --radius: 18px;
  --shadow: 0 4px 18px rgba(38,54,90,0.10), 0 0.5px 2.5px rgba(41,246,182,0.1);
}

/* ====== LAYOUT UTILITIES ====== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 {
  font-size: 2.6rem;
}
h2 {
  font-size: 2rem;
  color: var(--vibrant1);
  margin-bottom: 4px;
}
h3 {
  font-size: 1.3rem;
  color: var(--primary);
}
.subheadline {
  font-size: 1.2rem;
  color: var(--vibrant2);
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 4px;
  letter-spacing: 0.03em;
}
p, li, a, span {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #2e2e2e;
  line-height: 1.7;
}
strong {
  color: var(--primary);
  font-weight: 700;
}
.cta-text {
  font-size: 1.15rem;
  color: var(--vibrant4);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

/* Typography hierarchy responsive */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
}

/* ===== HEADER & NAVIGATION ===== */
header {
  width: 100%;
  padding: 0;
  background: var(--primary);
  box-shadow: 0 4px 20px rgba(38,54,90,0.08);
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  position: relative;
  min-height: 64px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 18px;
  filter: brightness(100%) saturate(125%) drop-shadow(0px 2px 4px rgba(229,199,165,0.16));
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
header nav a {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.025em;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
  padding: 4px 2px;
}
header nav a:hover,
header nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--vibrant1);
  outline: none;
}
.cta {
  background: var(--vibrant1);
  color: #fff;
  padding: 10px 28px;
  font-size: 1.15rem;
  border-radius: 20px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-left: 12px;
  box-shadow: 0 2px 8px rgba(41,246,182,0.04);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  border: 2.5px solid transparent;
  display: inline-block;
  outline: none;
}
.cta:hover, .cta:focus {
  background: var(--vibrant2);
  color: var(--primary);
  transform: translateY(-2px) scale(1.045);
  border: 2.5px solid var(--secondary);
  box-shadow: 0 4px 12px rgba(38,54,90,0.20);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: var(--vibrant1);
  color: #fff;
  border-radius: 50%;
  padding: 10px 16px;
  font-size: 2.2rem;
  margin-left: 18px;
  line-height: 1;
  border: 2px solid var(--secondary);
  box-shadow: 0 2px 8px rgba(247,203,41,0.13);
  transition: background 0.15s;
  z-index: 202;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--vibrant3);
}

@media (max-width: 950px) {
  header nav, .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(102deg,var(--primary) 80%, var(--vibrant1) 97%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
  padding: 0 24px 0 0;
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(.77,.12,.14,1.04);
  z-index: 502;
  box-shadow: 0 2px 80px rgba(38,54,90,0.14);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--vibrant3);
  color: var(--primary);
  font-size: 2.2rem;
  padding: 8px 16px 8px 8px;
  border-radius: 20px 0 0 20px;
  margin: 24px 0 0 0;
  border: 2px solid var(--vibrant1);
  transition: color 0.12s, background 0.12s;
  z-index: 3;
  outline: none;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--vibrant1);
}
.mobile-nav {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 14px 0;
  width: 100%;
  border-radius: 0 30px 30px 0;
  transition: background 0.16s, color 0.15s;
  background: transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--vibrant2);
  color: var(--primary);
  outline: none;
}
@media (min-width: 951px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===== MAIN/LAYOUT SPACING ===== */
main {
  margin-top: 0;
  margin-bottom: 38px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 600px) {
  section { padding: 28px 8px; margin-bottom: 32px; }
  .container { padding: 0 4px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 240px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(255, 38, 112, 0.10), var(--shadow);
  transform: translateY(-3px) scale(1.016);
}
.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;
    gap: 16px;
    align-items: stretch;
  }
}

/* ==== FEATURE GRID ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  margin: 20px 0;
}
.feature-grid li {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 223px;
  min-width: 215px;
  padding: 22px 18px;
  margin-bottom: 20px;
  border-left: 5px solid var(--vibrant3);
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.19s;
}
.feature-grid li:hover {
  box-shadow: 0 8px 28px rgba(255, 38, 112, 0.08), var(--shadow);
  border-left: 5px solid var(--vibrant1);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(41,246,182,0.04);
  margin-bottom: 6px;
  padding: 6px;
}

/* ==== TESTIMONIAL CARDS ==== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 28px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(229,199,165,0.14), var(--shadow);
  border-left: 5px solid var(--vibrant1);
  max-width: 560px;
  color: #2e2e2e;
  transition: box-shadow 0.20s, border-color 0.20s, transform 0.20s;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #181818;
  font-style: italic;
}
.testimonial-card span {
  color: var(--vibrant2);
  font-size: 1rem;
  font-weight: 600;
  padding-left: 6px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(38,54,90,0.12);
  border-left: 5px solid var(--vibrant3);
  transform: scale(1.012);
}

/* === LINKS IN MAIN CONTENT === */
.content-wrapper a:not(.cta):not(.mobile-nav a) {
  color: var(--vibrant1);
  font-weight: 600;
  border-bottom: 2px dashed var(--vibrant3);
  transition: color 0.13s, border-bottom 0.13s;
}
.content-wrapper a:not(.cta):hover {
  color: var(--primary);
  border-bottom: 2px solid var(--vibrant2);
}

/* === OL/UL LISTS === */
ul, ol {
  margin: 14px 0 14px 24px;
}
ul li, ol li {
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.text-section ul,
.text-section ol {
  margin-left: 18px;
  margin-right: 10px;
  gap: 10px;
}
.text-section ul li::before {
  content: '• ';
  color: var(--vibrant1);
  font-weight: bold;
  margin-right: 4px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--primary);
  color: #fff;
  padding: 18px 24px;
  box-shadow: 0 -3px 30px rgba(38,54,90,0.23);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  z-index: 700;
  font-family: var(--font-body);
  font-size: 1rem;
  justify-content: space-between;
  animation: cookie-in 0.7s cubic-bezier(.44,1.13,.74,.98);
}
@keyframes cookie-in {from {transform: translateY(80px); opacity:0;} to {transform: translateY(0); opacity:1;}}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  background: var(--vibrant3);
  color: var(--primary);
  font-weight: 600;
  border-radius: 18px;
  padding: 8px 22px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-right: 5px;
  transition: background 0.13s, color 0.12s, box-shadow 0.12s;
  box-shadow: 0 1.5px 6px rgba(41,246,182,0.06);
}
.cookie-banner button.accept {
  background: var(--vibrant1);
  color: #fff;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: var(--vibrant2);
  color: var(--primary);
}
.cookie-banner button.settings {
  background: var(--vibrant4);
  color: #fff;
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: var(--vibrant2);
  color: var(--primary);
}
.cookie-banner button.reject {
  background: #fff;
  color: var(--vibrant1);
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #eee;
  color: var(--primary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    padding: 13px 8px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(38,54,90,0.62);
  z-index: 1003;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.33s cubic-bezier(.64,1.08,.54,.94);
}
@keyframes fadeIn {from{opacity: 0;} to{opacity: 1;}}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 380px;
  width: 97%;
  padding: 32px 24px 26px;
  box-shadow: 0 12px 36px rgba(38,54,90,0.19);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  font-size: 1.025rem;
  color: #232323;
  animation: scaleIn 0.24s cubic-bezier(.45,1.15,.73,0.99);
}
@keyframes scaleIn {from{transform: scale(0.92);opacity:0;}to{transform:scale(1);opacity:1;}}
.cookie-modal h3 {
  font-size: 1.16rem;
  font-family: var(--font-display);
  color: var(--vibrant4);
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 5px;
}
.cookie-category .cookie-switch {
  width: 46px;
  height: 28px;
  border-radius: 16px;
  background: #eee;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-category .cookie-switch[aria-checked="true"] {
  background: var(--vibrant1);
}
.cookie-category .cookie-switch::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.19s;
}
.cookie-category .cookie-switch[aria-checked="true"]::before {
  left: 22px;
  background: var(--secondary);
}
.cookie-category label {
  font-size: 1.02rem;
  color: var(--primary);
  margin-left: 5px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}
.cookie-modal .cookie-actions button {
  border-radius: 15px;
  padding: 8px 20px;
  font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  padding: 34px 0 24px;
}
footer .container {
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}
footer nav {
  flex-direction: row;
  gap: 22px;
  justify-content: flex-start;
  align-items: center;
}
footer nav a {
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.14s, border-bottom 0.12s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--vibrant2);
  border-bottom: 1.5px solid var(--vibrant2);
}
footer .text-section {
  font-size: 0.998rem;
  color: var(--accent);
  margin-top: 8px;
}
@media (max-width: 600px) {
  footer nav {
    flex-direction: column;
    gap: 7px;
    margin-left: 0;
    align-items: flex-start;
  }
}

/* ==== RESPONSIVE LAYOUTS AND FLEX MODIFIERS ==== */
@media (max-width: 950px) {
  .feature-grid {
    gap: 20px;
  }
  .feature-grid li {
    flex: 1 1 180px;
    min-width: 135px;
    padding: 16px 12px;
    font-size: 0.98rem;
  }
}
@media (max-width: 650px) {
  .container {
    padding: 0 4px;
    max-width: 100vw;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li {
    min-width: 90%;
  }
}
@media (max-width: 950px) {
  .content-grid {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 600px) {
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
}

/* ===== MICRO-INTERACTIONS ===== */
.card, .cta, .testimonial-card, .feature-grid li, .mobile-menu, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.cta:active {
  transform: scale(0.98);
}

/* ==== SCROLLBAR VIBRANT ==== */
::-webkit-scrollbar {
  width: 8px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--vibrant2);
  border-radius: 12px;
}

/* ===== ACCESSIBILITY FOCUS RING ===== */
:focus-visible {
  outline: 2px solid var(--vibrant4);
  outline-offset: 2px;
}

/* ===== VIBRANT BACKGROUND EFFECTS (DECORATIVE ELEMENTS ONLY) ===== */
.section {
  position: relative;
  overflow: hidden;
}
.section::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -110px;
  right: -100px;
  width: 230px;
  height: 170px;
  background: var(--vibrant2);
  opacity: 0.09;
  border-radius: 90px 60px 160px 120px;
  pointer-events: none;
}
.section::after {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: -70px;
  left: -70px;
  width: 138px;
  height: 95px;
  background: var(--vibrant1);
  opacity: 0.07;
  border-radius: 60px 90px 50px 120px;
  pointer-events: none;
}
.section > * {
  position: relative;
  z-index: 1;
}

/* == ELECTRIC HIGHLIGHTS for Vibrant Style == */
h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 5px;
  background: var(--vibrant2);
  border-radius: 3px;
  margin-top: 3px;
}

/* ==== FORM ELEMENTS BASIC (for kontakt forms if any in future) ==== */
input, textarea, select {
  padding: 10px 13px;
  border: 2px solid var(--vibrant1);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 15px;
  width: 100%;
  max-width: 400px;
  background: #fff;
  transition: border 0.224s, box-shadow 0.21s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--vibrant2);
  box-shadow: 0 2px 7px rgba(38,54,90,0.10);
  outline: none;
}

/* ==== ELECTRIC BOLDS & TRANSITIONS for Vibrant Style ==== */
.card, .testimonial-card, .feature-grid li {
  border: none;
  position: relative;
  box-shadow: 0 7px 32px rgba(38,54,90,0.13), var(--shadow);
  transition: box-shadow 0.23s, transform 0.2s;
}

/* ==== ICONS (for kontakt page) ==== */
.text-section img {
  vertical-align: middle;
  margin-right: 7px;
  width: 24px;
  height: 24px;
  display: inline-block;
  background: var(--vibrant3);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(41,246,182,0.08);
}
/* Guarantee min 20px margin between all content cards and sections */
section + section, .card + .card, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* ==== MISC ==== */
a[aria-current], header nav a.active {
  color: var(--vibrant1) !important;
  border-bottom: 2px solid var(--vibrant1) !important;
}

/* ===== HIGHLIGHTED CODE (for terms/policy pages, if any) ===== */
pre, code {
  font-family: monospace;
  background: #f7f7fa;
  color: #26365A;
  padding: 0.3em 0.6em;
  border-radius: 6px;
  font-size: 0.95em;
}

/* ==== PRINT STYLES (basic, for policies, terms) ==== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .container, .section { box-shadow: none; background: none; padding: 0; }
}
