/* Vivid Paint Studio – Scandinavian Clean CSS (Flexbox only)  */
/* CSS Reset & Base Normalization */
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;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #222233;
  background-color: #FAFAFA;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
a {
  color: #333366;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F0E14A;
  text-decoration: underline;
}
img {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
section {
  width: 100%;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1C1C2E;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p, li {
  font-size: 1rem;
  color: #222233;
  margin-bottom: 12px;
}
strong { font-weight: 600; }
em { font-style: italic; }

/* Utility classes */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.subheadline {
  font-size: 1.2rem;
  color: #676789;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, sans-serif;
}

/* Layout & Section Spacing */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 32px;
  }
}

/* Header, Navigation & CTA */
header {
  background: #FFFFFF;
  border-bottom: 1.5px solid #F0F1F5;
  width: 100%;
  box-shadow: 0 2px 18px rgba(51,51,102,0.03);
  z-index: 800;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.logo img {
  height: 38px;
}
.main-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 24px;
  margin-left: 44px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #333366;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background .18s, color .18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F0E14A;
  color: #1C1C2E;
}
.cta-btn {
  display: inline-block;
  background: #333366;
  color: #FFF;
  border-radius: 28px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 11px 28px;
  margin-left: 32px;
  border: none;
  cursor: pointer;
  box-shadow: 0 1.5px 8px 0 rgba(51,51,102,0.10);
  transition: background 0.2s, color 0.2s, box-shadow .28s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F0E14A;
  color: #222233;
  box-shadow: 0 7px 26px 0 rgba(51,51,102,0.13);
}
@media (max-width:992px) {
  .main-nav {
    gap: 16px;
    margin-left: 20px;
  }
  .cta-btn {
    margin-left: 16px;
    padding: 9px 20px;
    font-size: 0.97rem;
  }
}

/* == Mobile Menu (Burger navigation) == */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 26px;
  background: #FFFFFF;
  color: #333366;
  border: none;
  border-radius: 8px;
  font-size: 2.1rem;
  width: 46px;
  height: 46px;
  z-index: 1101;
  box-shadow: 0 1.5px 8px 0 rgba(51,51,102,0.10);
  cursor: pointer;
  transition: box-shadow .2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F0E14A;
  color: #1C1C2E;
  box-shadow: 0 7px 26px 0 rgba(51,51,102,0.13);
}
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250,250,250,0.96);
  box-shadow: 0 14px 60px rgba(51,51,102,0.08);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 24px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.5,1,.3,1);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  margin: 8px 26px 8px 0;
  color: #333366;
  cursor: pointer;
  border-radius: 5px;
  transition: background .2s;
  width: 44px;
  height: 44px;
}
.mobile-menu-close:hover { background: #F0E14A; color: #1C1C2E; }
.mobile-nav {
  width: 100%;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  padding: 13px 10px;
  border-radius: 9px;
  color: #222233;
  background: transparent;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F0E14A;
  color: #333366;
}

/* Main Layout Containers */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 1.5px 12px rgba(51,51,102,0.05);
}
@media (max-width: 768px) {
  section, .section {
    margin-bottom: 32px;
    padding: 22px 6px;
    border-radius: 9px;
  }
}

/* Flex containers for cards, content etc. */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 1px 9px 0 rgba(51,51,102,0.08);
  margin-bottom: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  max-width: 360px;
  transition: box-shadow .22s, transform .3s;
  position: relative;
}
.card:hover {
  box-shadow: 0 7px 20px 0 rgba(51,51,102,0.15);
  transform: translateY(-3px) scale(1.015);
}

.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: 18px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F6F7FB;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 6px 0 rgba(51,51,102,0.06);
  border-left: 4px solid #F0E14A;
  color: #222233;
  min-width: 240px;
  max-width: 570px;
}
.testimonials .testimonial-card p,
.testimonials .testimonial-card { color: #222233; }
.testimonial-rating {
  font-size: 1.18rem;
  color: #333366;
  letter-spacing: 2.5px;
  font-family: 'Montserrat', sans-serif;
}
.testimonial-meta {
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  color: #68688B;
  align-self: flex-end;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F7F9FB;
  padding: 20px;
  border-radius: 11px;
  margin-bottom: 20px;
}

.feature-grid, .feature-list, .project-ideas, .services-list, .step-by-step-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 16px 0 0 0;
}
.feature-grid li, .feature-list li, .project-ideas li, .services-list li, .step-by-step-guides li {
  flex: 1 1 220px;
  background: #F7F9FB;
  margin-bottom: 14px;
  border-radius: 14px;
  padding: 16px 16px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  box-shadow: 0 1.5px 8px 0 rgba(51,51,102,0.04);
  min-width: 180px;
  max-width: 340px;
  transition: box-shadow .2s, transform .25s;
}
.feature-grid li:hover, .feature-list li:hover, .project-ideas li:hover, .services-list li:hover, .step-by-step-guides li:hover {
  box-shadow: 0 7px 20px 0 rgba(51,51,102,0.07);
  transform: translateY(-2.5px) scale(1.0125);
}
.feature-grid img, .feature-list img, .project-ideas img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  margin-bottom: 4px;
  border-radius: 7px;
}
@media (max-width: 700px) {
  .feature-grid, .feature-list, .project-ideas, .services-list, .step-by-step-guides {
    flex-direction: column;
    gap: 17px;
  }
}

/* Quick tip grid (Fotografie-Tipps) */
.quick-tips-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.quick-tips-grid > div {
  background: #F7F9FB;
  border-radius: 13px;
  padding: 16px 18px;
  font-size: 1.05rem;
  color: #333366;
  font-family: 'Montserrat', sans-serif;
  flex: 1 1 170px;
  min-width: 140px;
}
@media (max-width: 700px) {
  .quick-tips-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* Service prices, highlights */
.service-price {
  background: #F0E14A;
  color: #1C1C2E;
  font-weight: 600;
  border-radius: 7px;
  font-size: 1rem;
  padding: 4px 14px 3px 14px;
  margin-top: 6px;
  letter-spacing: 0.03em;
}
.service-highlights, .feature-descriptions, .project-support-info {
  background: #F7F9FB;
  padding: 16px 22px;
  border-radius: 11px;
  margin-top: 22px;
  margin-bottom: 10px;
}
.service-overview {
  margin: 14px 0 0 0;
}

/* Tutorials/resources/FAQ */
.tutorial-overview, .tip-highlights, .resource-links, .faq-list, .faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  background: #F7F9FB;
  border-radius: 11px;
  padding: 16px 24px;
}
.resource-links ul { margin-left: 0; }
.resource-links li a {
  color: #333366;
  text-decoration: underline;
  font-weight: 500;
  font-size: 1rem;
}
.resource-links li a:hover {
  color: #F0E14A;
}
.faq > div, .faq-list > div {
  margin-bottom: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #ECECEC;
}
.faq > div:last-child, .faq-list > div:last-child { border-bottom: none; }
.faq strong, .faq-list strong { color: #333366; font-weight: 600; }

/* About/team text sections */
.text-section {
  margin-bottom: 16px;
  background: #FFF;
  padding: 11px 0 2px 0;
}

.map-placeholder {
  margin-top: 15px;
  background: #F7F9FB;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 1rem;
}

/* FOOTER */
footer {
  background: #F6F8FA;
  border-top: 1.5px solid #ECECEC;
  width: 100%;
  font-size: 0.98rem;
  color: #222233;
  margin-top: 36px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 20px 16px 20px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  min-width: 170px;
}
.footer-brand img { height: 32px; }
.footer-brand span {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
  color: #333366;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}
.footer-contact img {
  height: 19px;
  width: 19px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 0;
}
.footer-nav a {
  color: #333366;
  font-size: 0.98rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  transition: color .2s;
}
.footer-nav a:hover { color: #F0E14A; }
.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
}
.footer-social img {
  height: 20px;
  width: 20px;
  filter: grayscale(.3);
  transition: filter .18s;
}
.footer-social a:hover img { filter: grayscale(0%) brightness(1.25); }
@media (max-width: 1020px) {
  footer .container {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .footer-social {
    margin-top: 8px;
  }
}

/* LEGAL sections (datenschutz/gdpr/cookie-richtlinie/nutzungsbedingungen) */
.legal {
  background: #FFF;
  border-radius: 15px;
  box-shadow: 0 1px 9px 0 rgba(51,51,102,0.05);
  padding: 38px 26px;
  margin-bottom: 42px;
  color: #222233;
  font-size: 1.06rem;
}
@media (max-width: 768px) {
  .legal {
    padding: 19px 8px;
    margin-bottom: 22px;
    border-radius: 8px;
  }
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: rgba(251,251,253,0.99);
  color: #222233;
  border-top: 2px solid #ECECEC;
  box-shadow: 0 -1px 10px 0 rgba(51,51,102,0.10);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px;
  gap: 18px;
  font-size: 1rem;
  animation: cookie-fade-in 0.35s ease-in;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    font-size: 0.95rem;
    padding: 18px 6px 28px 6px;
    gap: 12px;
  }
}
.cookie-banner-btns {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-banner button {
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 22px;
  font-weight: 500;
  margin-left: 0;
  cursor: pointer;
  transition: background .2s, color .18s, box-shadow .2s;
  background: #F7F9FB;
  color: #333366;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #F0E14A;
  color: #222233;
  box-shadow: 0 4px 18px 0 rgba(51,51,102,0.10);
}
.cookie-banner .accept {
  background: #333366;
  color: #FFF;
}
.cookie-banner .accept:hover {
  background: #F0E14A;
  color: #222233;
}

@keyframes cookie-fade-in { from { opacity: 0; transform: translateY(32px);} to { opacity:1; transform: translateY(0);} }

.cookie-modal-overlay {
  position: fixed;
  z-index: 3200;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(41, 44, 53, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in .36s cubic-bezier(.455,.03,.515,.955);
}
@keyframes modal-fade-in { from { opacity:0 } to { opacity:1 } }
.cookie-modal {
  background: #FFFFFF;
  color: #222233;
  border-radius: 17px;
  box-shadow: 0 2px 48px 0 rgba(51,51,102,0.22);
  padding: 38px 48px 28px 48px;
  min-width: 320px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: modal-pop-in .34s cubic-bezier(.5,1,.3,1);
  position: relative;
}
@media (max-width: 540px){
  .cookie-modal {
    padding: 17px 8px 14px 8px;
    min-width: 0;
  }
}
@keyframes modal-pop-in { from { opacity:0; transform:scale(.95);} to {opacity:1; transform:scale(1);} }
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 1.7rem;
  background: none;
  color: #333366;
  border: none;
  border-radius: 7px;
  width: 35px;
  height: 35px;
  cursor: pointer;
}
.cookie-modal-close:hover {
  background: #F0E14A;
  color: #222233;
}
.cookie-modal h2 { font-size: 1.3rem; margin-bottom: 6px; }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  background: #F7F9FB;
  border-radius: 7px;
  padding: 11px 15px 11px 12px;
}
.cookie-category label {
  font-weight: 500;
  color: #222233;
  margin-right: 12px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #333366;
  width: 18px;
  height: 18px;
}
.cookie-category .always-on {
  background: #F0E14A;
  color: #1C1C2E;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.98rem;
  font-family: 'Montserrat',sans-serif;
  margin-left: 4px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
  margin-top: 18px;
}
.cookie-modal button {
  border: none;
  border-radius: 7px;
  font-size: 1rem;
  padding: 7px 20px;
  cursor: pointer;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  background: #F7F9FB;
  color: #333366;
  transition: background .2s, color .2s, box-shadow .18s;
}
.cookie-modal button.accept-all {
  background: #333366;
  color: #FFF;
}
.cookie-modal button.accept-all:hover {background: #F0E14A; color: #222233;}
.cookie-modal button.reject-all { background: #EEE; color: #333366;}
.cookie-modal button.reject-all:hover { background: #EEE46A; color: #222233;}
.cookie-modal button.save {
  background: #F0E14A;
  color: #292937;
}
.cookie-modal button.save:hover {
  background: #FFE63C;
}

/* Thank you message */
.thank-you-message {
  color: #333366;
  font-size: 1.15rem;
  margin-bottom: 24px;
}

/* Inputs (if used in forms) – clean scandi style */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1.5px solid #E1E2EE;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8F8FC;
  color: #222233;
  margin-bottom: 16px;
  transition: border .18s;
}
input:focus, textarea:focus {
  border-color: #333366;
  outline: none;
}

/* Button micro-interactions */
button, input[type="submit"], .cta-btn {
  transition: box-shadow .23s, background .17s, color .22s;
}

/* Hide visually but keep for screen readers */
.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px; width: 1px;
  margin: -1px; overflow: hidden;
  padding: 0; position: absolute;
}

/* Responsive Headings and Container */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.42rem; }
  h3 { font-size: 1.03rem; }
  .container { padding: 0 6px; }
}

/* Hide elements visually but keep for accessibility */
[hidden], .hidden { display: none !important; }

/* Prevent overlapping at all breakpoints */
.card, .feature-grid li, .feature-list li, .services-list li {
  min-width: 0;
  word-break: break-word;
}
@media (max-width: 430px) {
  .main-nav, .footer-nav, .footer-contact, .footer-brand, .footer-social {
    font-size: .97rem;
  }
  .cta-btn, .cookie-banner button { font-size: .93rem; padding: 8px 13px; }
}

/* Ensure all elements have at least 20px margin/gap below/side */
section + section, .section + .section {
  margin-top: 40px;
}

/* Prevent image overflow & enhance scandi layout */
img {
  box-shadow: none;
  border-radius: 6px;
}

/* Subtle decorative shadow on hovered cards/buttons */
.card:hover, .feature-grid li:hover, .footer-contact p:hover, .cta-btn:hover {
  box-shadow: 0 10px 32px 0 rgba(51,51,102,0.15);
}

/* Accessibility: visible focus outline for keyboard users */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #F0E14A;
  outline-offset: 2px;
}

/* End of Scandinavian Clean CSS */
