/* ==================== 
   CSS RESET & BASELINE
   ==================== */
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 {
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #043A58;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #043A58;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2C14E;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

/* =============== 
   BRAND VARIABLES
   =============== */
:root {
  --primary: #043A58;
  --secondary: #F2C14E;
  --accent: #E1F2FB;
  --electric-pink: #E83F6F;
  --electric-blue: #24B0EF;
  --electric-green: #4DE1B0;
  --shadow: 0 4px 24px rgba(4,58,88,0.14);
  --radius: 18px;
}

/* ======================== 
   GLOBAL TYPOGRAPHY SCALE
   ======================== */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -1.5px;
  line-height: 1.1;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--electric-pink);
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--electric-blue);
  margin-bottom: 10px;
  line-height: 1.25;
}
.subheadline {
  font-size: 1.13rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.2px;
}
p, li, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.65;
}
strong {
  font-weight: 700;
}

/* ================ 
   LAYOUT: CONTAINER
   ================ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

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

/* ================ 
   HEADER & NAV
   ================ */
header {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 12;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 16px;
}
header img[alt="Kunstgriff Atelier"] {
  height: 49px;
}
.desktop-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.desktop-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 6px 0;
  border-bottom: 3px solid transparent;
  position: relative;
  transition: color 0.17s, border 0.17s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  color: var(--secondary);
  border-bottom: 3px solid var(--secondary);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--electric-pink);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.07rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(232,63,111,0.18);
  border: none;
  cursor: pointer;
  letter-spacing: 1.2px;
  margin-left: 12px;
  min-width: 140px;
  transition: background 0.25s, box-shadow 0.2s, transform 0.08s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 18px rgba(242,193,78,0.25);
  transform: translateY(-2px) scale(1.04);
}
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 6px 15px;
  cursor: pointer;
  margin-left: 8px;
  display: none;
  z-index: 22;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--secondary);
}
/* Hide desktop nav on mobile, show burger */
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .cta-btn { margin-left: 0; }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
/* ================ 
   MOBILE MENU
   ================ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: #fff;
  box-shadow: 0 0 32px rgba(4,58,88,0.18);
  z-index: 100;
  transform: translateX(100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.67,.19,.32,.91), opacity 0.2s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--electric-pink);
  align-self: flex-end;
  margin: 20px 26px 0 0;
  cursor: pointer;
  z-index: 122;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin: 40px 0 0 40px;
}
.mobile-nav a {
  color: var(--electric-pink);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--primary);
  border-bottom: 2px solid var(--electric-blue);
}
@media (max-width: 900px) {
  .mobile-menu { display: flex; }
}
@media (min-width: 900px) {
  .mobile-menu { display: none !important; }
}

/* =========================
   HERO SECTIONS
   ========================= */
.hero {
  background: linear-gradient(96deg, var(--accent) 60%, #fff 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  box-shadow: 0 12px 40px rgba(232,63,111,0.07);
  margin-bottom: 60px;
}
.hero .container {
  justify-content: center;
  align-items: center;
}
.hero h1 {
  color: var(--electric-pink);
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 10px;
}
.hero .subheadline {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 32px;
  font-weight: 500;
}

/* ===========
   CARDS/GRIDS
   =========== */
.card-container, .feature-grid, .teaser-grid, .blog-preview-grid, .description-grid, .event-grid, .workshop-list, .team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.card, .testimonial-card, .team-list li, .feature-grid li, .blog-preview-grid li, .event-grid li, .description-grid li, .workshop-list li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1px 16px rgba(36,176,239,0.08), 0 1.5px 9px rgba(4,58,88,0.05);
  padding: 26px 24px;
  min-width: 0;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 310px;
  transition: box-shadow 0.16s, transform 0.11s;
  border: 2.5px solid transparent;
}
.card:hover,.card:focus, .feature-grid li:hover, .team-list li:hover, .event-grid li:hover, .blog-preview-grid li:hover,
.description-grid li:hover {
  box-shadow: 0 4px 20px 4px rgba(232,63,111,0.13);
  border-color: var(--electric-pink);
  z-index: 1;
  transform: translateY(-4px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =================
   FLEXBOX HELPERS
   ================= */
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 28px 24px 22px;
  border-radius: var(--radius);
  background: #fff;
  border-left: 8px solid var(--electric-blue);
  min-width: 220px;
  margin-bottom: 20px;
  box-shadow: 0 2.5px 14px 1.5px rgba(232,63,111,0.11);
  font-size: 1.07rem;
  transition: box-shadow 0.18s, border 0.16s;
}
.testimonial-card p {
  color: var(--primary);
  font weight: 500;
}
.testimonial-meta {
  color: var(--electric-pink);
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-top: 3px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.key-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.key-features li {
  background: var(--accent);
  color: var(--primary);
  border-radius: 12px;
  padding: 10px 20px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
}
/* text-image-section stacking for mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* FAQ Accordion (simple, static) */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion h3 {
  color: var(--electric-blue);
  font-size: 1.2rem;
}
.faq-accordion p {
  margin-top: 7px;
  color: var(--primary);
}

/* =============
   MOBILE FIRST
   ============= */
@media (max-width: 850px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }
  h1 {
    font-size: 2.0rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.08rem;
  }
  .section {
    margin-bottom: 35px;
    padding: 24px 8px;
  }
  .content-wrapper, .card-container, .feature-grid, .blog-preview-grid, .event-grid, .description-grid, .teaser-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card, .testimonial-card, .team-list li, .feature-grid li, .event-grid li, .blog-preview-grid li, .description-grid li, .workshop-list li {
    min-width: 0;
    width: 100%;
    padding: 18px 12px;
  }
  .feature-item { gap: 10px; }
  .hero { min-height: 180px; margin-bottom: 24px; }
}

/* =====================
   SPECIAL ELEMENTS
   ===================== */
.styles-overview {
  width: 100%;
}
.newsletter-signup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--accent);
  border-radius: 14px;
  box-shadow: 0 1.5px 12px 1.5px rgba(36, 176, 239,0.07);
  padding: 20px 20px 20px 24px;
  margin-top: 12px;
}

.map {
  background: var(--accent);
  color: var(--primary);
  padding: 18px 18px 8px 18px;
  border-radius: 10px;
  margin-top: 10px;
  font-size: 0.98rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 22px;
}
.contact-details img {
  width: 22px;
  margin-right: 6px;
  vertical-align: middle;
}

.next-steps-info {
  margin: 18px 0 20px 0;
  padding-left: 12px;
  list-style: disc inside;
}

/* ============
   FOOTER
   ============ */
footer {
  width: 100%;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  padding-top: 34px;
  padding-bottom: 26px;
  margin-top: 70px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline rgba(242,193,78, 0.54) 2px;
  transition: color 0.17s, text-decoration 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  text-decoration-thickness: 3px;
}
footer address {
  color: #F2C14E;
  font-size: 1.01rem;
  line-height: 1.6;
}
footer address img {
  width: 18px;
  margin-right: 5px;
  vertical-align: bottom;
}

@media (max-width: 700px) {
  footer .container { gap: 8px; }
  .footer-nav { gap: 13px; }
  address { font-size: 0.93rem; }
}

/* =============================
   COOKIE CONSENT BANNER/MODAL
   ============================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 1050;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -8px 28px 0 rgba(4,58,88,0.13);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px 24px 26px;
  font-size: 1.08rem;
  border-radius: 18px 18px 0 0;
  transition: transform 0.29s cubic-bezier(.62,.04,.24,.97), opacity 0.18s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn, .cookie-settings-btn {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  margin-right: 7px;
  transition: background 0.22s, color 0.19s, transform 0.1s;
  outline: none;
  box-shadow: 0 2px 14px rgba(232,63,111,0.11);
}
.cookie-btn {
  background: var(--electric-pink);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: scale(1.07);
}
.cookie-reject-btn {
  background: var(--electric-blue);
  color: #fff;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-settings-btn {
  background: var(--secondary);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--electric-green);
  color: #043A58;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(4,58,88,0.51);
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: var(--primary);
  border-radius: 20px;
  box-shadow: 0 8px 56px rgba(36,176,239,0.16);
  padding: 34px 32px 28px 32px;
  width: 95vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--electric-pink);
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
  gap: 12px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}
.cookie-toggle {
  accent-color: var(--electric-pink);
  width: 19px;
  height: 19px;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  background: none;
  border: none;
  color: var(--electric-pink);
  font-size: 2.3rem;
  cursor: pointer;
  z-index: 11;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--primary);
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 12px;
}
@media (max-width: 600px) {
  .cookie-modal-content { padding: 18px 8px 13px 16px; }
}

/* =========================
   MICRO-INTERACTIONS && ANIMATIONS
   ========================= */
a, button, .cta-btn, .cookie-btn, .cookie-settings-btn {
  transition: background 0.15s, color 0.11s, border 0.13s, transform 0.12s;
}
.card, .testimonial-card, .newsletter-signup, .feature-grid li, .blog-preview-grid li, .event-grid li {
  transition: box-shadow 0.18s, transform 0.11s;
}

/* ======================
   ACCESSIBILITY & UTILITY
   ====================== */
:focus-visible {
  outline: 2px solid var(--electric-blue);
  outline-offset: 1.5px;
}
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 9px;
}

/* ===========
   UTILITIES
   =========== */
.mt-20 {
  margin-top: 20px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }

/* ===========
   PRINT
   =========== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
}