/* --------------------
   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;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F5F3EA;
  color: #22334D;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
ul, ol, li {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
input[type="submit"], button {
  cursor: pointer;
}

/* ---------------------
   BRAND FONTS IMPORT
---------------------- */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900|Montserrat:400,600,700&display=swap');

/* -----------
  VARIABLES
------------ */
:root {
  --color-primary: #22334D;
  --color-secondary: #BFAEA4;
  --color-accent: #F5F3EA;
  --color-electric-blue: #2B80FF;
  --color-hot-pink: #FF3B6F;
  --color-violet: #8128BF;
  --color-lime: #C2EF11;
  --color-bright-yellow: #FCEA21;
  --color-white: #fff;
  --color-dark: #171925;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', Arial, Helvetica, sans-serif;
  --container-max: 1140px;
  --shadow-base: 0 2px 16px rgba(34,51,77, 0.08);
  --shadow-pop: 0 4px 24px 0 rgba(43,128,255,0.15);
  --radius: 18px;
}

/* ---------------
  BASE TYPOGRAPHY
----------------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-accent);
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  margin-bottom: 0.5em;
  line-height: 1.16;
}
h1 {
  font-size: 2.8rem;
  color: var(--color-electric-blue);
}
h2 {
  font-size: 2rem; 
  color: var(--color-hot-pink);
}
h3 {
  font-size: 1.4rem; 
  color: var(--color-violet);
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: var(--color-dark);
}
p, ul, ol, dl, blockquote {
  margin-bottom: 1.2em;
  color: var(--color-primary);
  font-size: 1.07em;
}
p.subheadline {
  color: var(--color-secondary);
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 2em;
}
strong, b {
  color: var(--color-primary);
  font-weight: 700;
}

/* ------
 LINKS
------ */
a {
  color: var(--color-electric-blue);
  transition: color 0.17s;
}
a:hover,
a:focus {
  color: var(--color-hot-pink);
  text-decoration: underline;
}

/* -------------------
  LAYOUT: CONTAINER
--------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-base);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* HERO 
---------- */
.hero {
  align-items: center;
  padding: 44px 0 30px 0;
  gap: 1.9rem;
  text-align: center;
}
.hero h1 {
  text-shadow: 0 2px 12px rgba(43,128,255,.08);
  -webkit-text-stroke: 1px var(--color-bright-yellow);
}

/* MAIN NAV (DESKTOP) */
header {
  background: var(--color-white);
  box-shadow: 0 4px 32px rgba(34,51,77,.14);
  border-bottom: 2px solid var(--color-secondary);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}
.logo img {
  display: block;
  height: 54px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav a {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.06rem;
  letter-spacing: 0.07em;
  padding: 8px 7px;
  border-radius: 7px;
  color: var(--color-primary);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-hot-pink);
  background: var(--color-accent);
}

/* ----
BUTTONS
----- */
.button, .main-nav .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  padding: 17px 32px;
  border-radius: 32px;
  border: none;
  outline: none;
  box-shadow: 0 1px 11px 0 rgba(223,59,111, 0.12);
  min-width: 180px;
  margin-bottom: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.16s, box-shadow 0.16s, transform 0.16s;
  text-align: center;
  text-transform: uppercase;
}
.button.primary {
  background: var(--color-electric-blue);
  color: var(--color-white);
  box-shadow: 0 2px 18px 0 rgba(43,128,255,.11);
}
.button.primary:hover, .button.primary:focus {
  background: var(--color-hot-pink);
  color: var(--color-white);
  transform: translateY(-2px) scale(1.035);
}
.button.secondary {
  background: var(--color-bright-yellow);
  color: var(--color-electric-blue);
  box-shadow: 0 2px 18px 0 rgba(252,234,33, .13);
}
.button.secondary:hover, .button.secondary:focus {
  background: var(--color-hot-pink);
  color: var(--color-white);
  transform: translateY(-2px) scale(1.03);
}
.button:active {
  box-shadow: none;
  transform: scale(0.98);
}

/* Spacing for buttons */
.button + .button {
  margin-left: 16px;
}

/* --------------------------------
  FLEXBOX LAYOUT PATTERNS & CARDS
--------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  flex: 1 1 320px;
  transition: box-shadow 0.24s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 8px 36px 0 rgba(34,51,77,0.19);
  transform: translateY(-6px) scale(1.025);
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 24px 22px;
}

/* --- GRID EQUIVALENTS (Flex!) --- */
.feature_grid, .service_grid, .styled_concept_cards, .advantages_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 12px 0;
  justify-content: flex-start;
}
.feature, .service, .concept, .advantage {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  padding: 30px 26px;
  min-width: 240px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow .17s, transform .14s;
}
.feature:hover, .service:hover, .concept:hover, .advantage:hover {
  box-shadow: 0 8px 32px 0 rgba(34,51,77,0.15);
  transform: translateY(-5px) scale(1.017);
}
.feature img, .advantage img {
  height: 42px;
  margin-bottom: 6px;
}

.service_grid .service h2, .feature_grid .feature h3, .concept h2 {
  color: var(--color-electric-blue);
  font-size: 1.3rem;
  margin-bottom: 0.3em;
}

/* ----- TESTIMONIAL CARDS ------ */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-pop);
  margin-bottom: 24px;
  max-width: 700px;
  color: var(--color-dark);
  font-size: 1.11rem;
  line-height: 1.6;
  font-family: var(--font-body);
}
.testimonial-card blockquote {
  color: var(--color-dark);
  font-style: italic;
  border-left: 5px solid var(--color-hot-pink);
  padding-left: 18px;
  margin: 0;
}
.testimonial-card strong {
  font-weight: 700;
  color: var(--color-electric-blue);
}

/* SERVICE LISTS */
.service_list {
  margin: 24px 0 18px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service_list li {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-base);
  font-size: 1.11em;
  color: var(--color-primary);
  margin-bottom: 18px;
}

/* FAQ ACCORDION-LIST */
.faq_accordion_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  padding: 24px 28px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.13s;
}
.faq-item:hover {
  box-shadow: 0 8px 30px 0 rgba(255,59,111,0.11);
  transform: scale(1.02) translateY(-4px);
}
.faq-item h2 {
  color: var(--color-electric-blue);
  font-size: 1.14rem;
}

/* STEP BY STEP (OL) */
.step_by_step_list {
  margin-left: 8px;
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: sbs;
}
.step_by_step_list li {
  position: relative;
  padding-left: 34px;
  font-size: 1.09rem;
  color: var(--color-violet);
}
.step_by_step_list li:before {
  content: counter(sbs) '.';
  counter-increment: sbs;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.12rem;
  font-family: var(--font-display);
  color: var(--color-hot-pink);
  font-weight: 900;
}

/* ------------------
      FOOTER
------------------- */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 38px 0 20px 0;
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--color-secondary);
  text-transform: uppercase;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 7px;
  padding: 7px 10px;
  transition: background 0.19s, color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-bright-yellow);
  background: rgba(255,255,255,0.09);
}
footer address, footer p {
  font-family: var(--font-body);
  font-size: .98em;
  color: var(--color-accent);
  margin-bottom: 5px;
}

/* --- ADDRESS LINKS --- */
footer a[href^="tel"],
footer a[href^="mailto"] {
  color: var(--color-bright-yellow);
  text-decoration: underline;
  font-weight: 700;
}

/* -------------------------
  COOKIE CONSENT BANNER
-------------------------- */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 14010;
  width: 100vw;
  background: var(--color-white);
  box-shadow: 0 -4px 24px 0 rgba(34,51,77,0.13);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 18px 22px 18px;
  font-family: var(--font-body);
  font-size: 1.01rem;
  transition: transform 0.42s cubic-bezier(.7,.1,.4,1);
  will-change: transform;
}
.cookie-consent.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-consent .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: 24px;
}
.cookie-consent button {
  font-size: 1em;
  font-family: var(--font-body);
  padding: 12px 22px;
  border-radius: 28px;
  border: none;
  font-weight: 700;
  margin-bottom: 0;
  transition: background .16s, color .16s;
}
.cookie-consent .accept {
  background: var(--color-lime);
  color: var(--color-dark);
}
.cookie-consent .accept:hover { background: var(--color-hot-pink); color: var(--color-white); }
.cookie-consent .reject {
  background: var(--color-electric-blue);
  color: var(--color-white);
}
.cookie-consent .reject:hover { background: var(--color-hot-pink); }
.cookie-consent .settings {
  background: var(--color-bright-yellow);
  color: var(--color-electric-blue);
}
.cookie-consent .settings:hover { background: var(--color-violet); color: var(--color-bright-yellow); }

/* COOKIE MODAL (OVERLAY & PANEL) */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 14030;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(34,51,77,0.46);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: cookieFade .2s linear 1;
}
@keyframes cookieFade { from { opacity: 0; } to { opacity: 1; } }

.cookie-modal {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px 26px;
  max-width: 420px;
  box-shadow: 0 7px 42px 0 rgba(34,51,77,0.23);
  font-family: var(--font-body);
  font-size: 1em;
  color: var(--color-primary);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalUp .32s cubic-bezier(.51,1.14,.44,1.01) 1;
}
@keyframes modalUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.38rem;
  color: var(--color-electric-blue);
  margin-bottom: 0.4em;
}
.cookie-category {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-hot-pink);
  width: 20px;
  height: 20px;
}
.cookie-modal .category-label.essential {
  font-weight: bold;
  color: var(--color-primary);
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 16px;
  background: transparent;
  font-size: 1.35rem;
  color: var(--color-hot-pink);
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-btns {
  justify-content: flex-end;
  gap: 12px;
}

/* --------
 MOBILE NAV
--------- */
.mobile-menu-toggle {
  background: var(--color-light, #f8fafa);
  border: 2px solid var(--color-electric-blue);
  color: var(--color-electric-blue);
  font-size: 2.18rem;
  line-height: 1.05;
  border-radius: 12px;
  padding: 10px 15px;
  margin-left: 14px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 12010;
  transition: background 0.14s, box-shadow 0.16s, color 0.17s;
}
.mobile-menu-toggle:hover {
  background: var(--color-hot-pink);
  color: var(--color-white);
  box-shadow: 0 2px 12px 0 rgba(223,59,111,0.13);
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-accent);
  z-index: 13000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(.68,-0.35,.39,1), box-shadow 0.14s;
  box-shadow: -20px 0 60px 0 rgba(34,51,77,0.2);
  gap: 0px;
  padding-top: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--color-hot-pink);
  align-self: flex-end;
  margin: 28px 22px 0 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover { color: var(--color-violet); }
.mobile-menu nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 32px;
  width: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 35px;
}
.mobile-menu nav.mobile-nav a {
  font-family: var(--font-body);
  font-size: 1.31rem;
  font-weight: 700;
  line-height: 1.42;
  color: var(--color-electric-blue);
  text-transform: uppercase;
  padding: 10px 6px;
  border-radius: 8px;
  transition: color 0.18s, background 0.16s;
  display: block;
}
.mobile-menu nav.mobile-nav a:hover,
.mobile-menu nav.mobile-nav a:focus{
  background: var(--color-hot-pink);
  color: var(--color-white);
}


/* Hide on desktop / show only on mobile */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .button.primary {
    min-width: 120px;
    padding: 11px 20px;
    font-size: 1.01rem;
  }
}

@media (min-width: 1001px) {
  .mobile-menu { display: none !important; }
}

/* -----
RESPONSIVE
------ */
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  h3 {
    font-size: 1.04rem;
  }
  .button, .main-nav .button  {
    min-width: 100px;
    font-size: .97rem;
    padding: 11px 16px;
  }
  .section {
    margin-bottom: 30px;
    padding: 21px 7px;
    border-radius: 12px;
  }
  .card-container, .feature_grid, .service_grid, .styled_concept_cards, .advantages_grid {
    flex-direction: column;
    gap: 16px;
  }
  .card, .feature, .service, .concept, .advantage {
    min-width: unset;
    width: 100%;
    padding: 18px 9px;
    border-radius: 12px;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    font-size: 1em;
    padding: 15px 6px;
    margin-bottom: 16px;
    border-radius: 11px;
  }
  footer .container {
    gap: 10px;
  }
  .footer-nav {
    gap: 12px;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.08rem;
  }
  footer {
    padding: 18px 0 14px 0;
  }
  .section {
    padding: 12px 2px;
  }
}

/* -------- TABLET ADJUSTMENTS ------- */
@media (max-width: 999px) {
  header .container {
    gap: 0;
    flex-wrap: wrap;
  }
}

/* --------------
  FORMATTING OL, UL, LI, ETC.
--------------- */
ul, ol {
  margin-left: 1em;
  padding-left: 0.7em;
}
ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 22px;
  font-size: 1.06em;
  color: var(--color-violet);
}
ul li:before {
  content: '\2605';
  color: var(--color-hot-pink);
  position: absolute;
  left: 0;
  font-size: 1em;
  top: 2px;
}
/* contact-info ul icon alignment */
.content-wrapper.text-section ul li img {
  height: 18px;
  width: 18px;
  margin-right: 7px;
  position: relative;
  top: 3px;
}

/* ---- DL / DT / DD in Fragen ------ */
dl {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
dl dt {
  font-family: var(--font-display);
  font-weight: bold;
  color: var(--color-electric-blue);
  margin-bottom: 4px;
  font-size: 1.14em;
}
dl dd {
  margin-bottom: 7px;
  margin-left: 14px;
  color: var(--color-violet);
}

/* ------------------------
  MICRO-INTERACTIONS ETC.
------------------------- */
@media (hover: hover) and (pointer: fine) {
  .button, .main-nav a, .footer-nav a, .mobile-menu-toggle, .mobile-menu-close, .mobile-menu nav.mobile-nav a {
    transition: color 0.08s, background 0.13s, box-shadow 0.16s, transform 0.11s;
  }
}

.button:focus-visible, .main-nav a:focus-visible, .footer-nav a:focus-visible, .mobile-menu nav.mobile-nav a:focus-visible {
  outline: 3px solid var(--color-lime);
  outline-offset: 2px;
}

/* ---------
 SCROLLBAR
---------- */
::-webkit-scrollbar { width: 11px; background: var(--color-secondary); }
::-webkit-scrollbar-thumb { background: var(--color-hot-pink); border-radius: 16px; }

/* --------------
 MISC UTILITIES
--------------- */
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }
.row { display: flex; flex-direction: row; gap: 20px; }
.col { display: flex; flex-direction: column; }

/* FIXED: Ensure all cards/sections have 20px+ gap */
.card + .card,
.feature + .feature,
.service + .service,
.testimonial-card + .testimonial-card,
.section + .section,
.content-wrapper + .content-wrapper {
  margin-top: 20px;
}

/* --------------
 ELECTRIC COLOR EFFECTS!
--------------- */
h1, h2, .button.primary, .feature h3, .service h2, .concept h2 {
  text-shadow: 0 2px 12px rgba(43,128,255,0.13), 0 0px 2px var(--color-bright-yellow);
}
.feature_grid .feature:hover, .service_grid .service:hover {
  border: 2px solid var(--color-hot-pink);
}

/* BRIGHT ACCENTS FOR ENERGETIC VIBES */
.section {
  border-left: 7px solid var(--color-hot-pink);
  border-right: 2px solid var(--color-electric-blue);
  background: linear-gradient(93deg, #F5F3EA 79%, #FCEA21 100%);
}

@media (max-width:768px) {
  .section {
    border-left: 3px solid var(--color-hot-pink);
    border-right: 1px solid var(--color-electric-blue);
  }
}

/* --------------
 PRINT SUPPORT
 -------------- */
@media print {
  header, footer, .mobile-menu, .cookie-consent, .cookie-modal-overlay { display: none !important; }
  .section { page-break-inside: avoid; }
}
