/* 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F6F7F9;
  color: #283E4A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
  border: none;
  background: none;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #283E4A;
  font-weight: 700;
  line-height: 1.2;
}
h1 {font-size: 2.5rem; margin-bottom: 18px;}
h2 {font-size: 2rem; margin-bottom: 13px;}
h3 {font-size: 1.25rem; margin-bottom: 7px;}
.subtitle { 
  color: #607692;
  font-size: 1.125rem;
  margin-bottom: 26px;
  font-family: 'Roboto', Arial, sans-serif;
}
strong { font-weight: 700; }

p, li, span, div {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #283E4A;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* HEADER & NAV */
header {
  background: #fff;
  border-bottom: 1px solid #E0E6EA;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
header img[alt="KreativBlick Stuttgart"] {
  height: 40px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #283E4A;
  padding: 7px 10px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
nav a:hover, nav a:focus {
  background: #E0E6EA;
  color: #1A2936;
}
.cta.primary {
  background: #283E4A;
  color: #fff !important;
  padding: 11px 30px;
  border-radius: 6px;
  font-size: 1.08rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(40,62,74,0.08);
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: #1A2936;
  box-shadow: 0 5px 18px rgba(40,62,74,0.14);
  transform: translateY(-2px) scale(1.04);
}
.cta.secondary {
  background: #F2BF27;
  color: #283E4A !important;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 26px;
  border-radius: 6px;
  border: none;
  margin-top: 12px;
  transition: background 0.19s;
  cursor: pointer;
  display: inline-block;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #deb112;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: #283E4A;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 7px;
  padding: 5px 14px;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #1A2936;
}
@media (max-width: 1025px) {
  nav {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  nav {
    gap: 6px;
  }
  header .container {
    padding: 0 10px;
  }
}
@media (max-width: 800px) {
  nav, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(40, 62, 74, 0.88);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.69,-0.2,.32,1.34);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: #fff;
  background: none;
  margin: 18px 24px 9px 0;
  align-self: flex-end;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
  z-index: 10;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #F2BF27;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 28px 32px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  padding: 12px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 2px;
  width: 100%;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2BF27;
  color: #283E4A;
}
@media (min-width: 801px) {
  .mobile-menu, .mobile-menu.open {
    display: none !important;
  }
}

/* MAIN & SECTION LAYOUTS */
main {
  min-height: 70vh;
  padding-bottom: 60px;
}
section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(40,62,74,0.075);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 700px) {
  section {
    padding: 28px 7px;
    margin-bottom: 38px;
    border-radius: 8px;
  }
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-left: -12px;
  margin-right: -12px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 280px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 7px rgba(40,62,74,0.08);
  padding: 32px 20px 28px 20px;
  transition: box-shadow 0.22s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(40,62,74,0.2);
  transform: translateY(-3px) scale(1.01);
}
.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) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

/* HERO STYLES */
.hero {
  padding: 64px 0 50px 0;
  background: linear-gradient(90deg, #283E4A 78%, #F2BF27 120%);
  color: #fff;
  border-radius: 0 0 48px 48px;
  box-shadow: 0 10px 42px rgba(40,62,74,0.05);
}
.hero .container { max-width: 900px; }
.hero .content-wrapper { 
  align-items: flex-start;
  gap: 14px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 8px;
}
.hero .subtitle {
  color: #F9F9FA;
}
.hero .cta.primary {
  margin-top: 15px;
}
@media (max-width: 700px) {
  .hero {
    padding: 36px 0 18px 0;
    border-radius: 0 0 20px 20px;
  }
  .hero .content-wrapper {
    gap: 10px;
  }
}

/* FEATURE/USP LISTS */
.feature-grid, .feature-list, .usp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-bottom: 14px;
}
.feature-grid > div, .feature-list > li, .usp-list > li {
  flex: 1 1 240px;
  min-width: 220px;
  background: #F6F7F9;
  border-radius: 9px;
  padding: 22px 18px 14px 18px;
  box-shadow: 0 1px 4px rgba(40,62,74,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1rem;
  gap: 11px;
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}
@media (max-width: 700px) {
  .feature-grid, .feature-list, .usp-list {
    flex-direction: column;
    gap: 13px;
  }
}

/* SERVICES LIST */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 17px;
}
.services-list li, .services-list div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #F2F4F7;
  border-radius: 7px;
  padding: 16px 20px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(40,62,74,0.06);
}
.services-list li span {
  font-weight: 700;
  color: #283E4A;
}
@media (max-width: 600px) {
  .services-list li, .services-list div {
    flex-direction: column;
    gap: 6px;
    padding: 13px 12px;
  }
}

/* TESTIMONIALS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  min-width: 250px;
  max-width: 360px;
  background: #fff;
  border: 1.5px solid #E5E9ED;
  border-radius: 10px;
  box-shadow: 0 3px 18px 0 rgba(40,62,74,0.11);
  font-size: 1.08rem;
  color: #283E4A;
  transition: box-shadow 0.18s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 28px 0 rgba(40,62,74,0.18);
  transform: translateY(-2px) scale(1.02);
}
.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  color: #20304a;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #607692;
  font-size: 0.97rem;
}
@media (max-width: 900px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
}

/* CARDS */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* FOOTER */
footer {
  background: #283E4A;
  color: #fff;
  padding: 40px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.footer-menu a {
  color: #F2BF27;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
}
.legal {
  font-size: 0.92rem;
  color: #E0E6EA;
}
.social-links {
  display: flex;
  gap: 16px;
}
.social-links a {
  display: flex;
  align-items: center;
  background: #F2BF27;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  justify-content: center;
  transition: background 0.17s, transform 0.13s;
}
.social-links a:hover {
  background: #283E4A;
  transform: scale(1.1);
}
.social-links img {
  width: 22px;
  height: 22px;
}
@media (max-width: 700px) {
  footer .container {
    gap: 11px;
  }
  .footer-menu {
    gap: 10px;
    margin-bottom: 8px;
  }
}

/* CONTACT DETAILS & LOCATION */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 12px;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.contact-details img {
  width: 22px; height: 22px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.text-section h3 {
  font-size: 1.15rem;
  margin-bottom: 7px;
}

/* CARDS & ELEMENT SHADOWS */
.card, .feature-grid > div, .testimonial-card, .services-list li, .services-list div {
  box-shadow: 0 2px 8px rgba(40,62,74,0.05);
  transition: box-shadow 0.19s, transform 0.11s;
}
.card:hover, .feature-grid > div:hover, .services-list li:hover, .testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(40,62,74,0.09);
  transform: translateY(-2px);
}

/* BUTTONS GENERIC */
button, .cta {
  outline: none;
  transition: background 0.16s, box-shadow 0.19s, color 0.16s, transform 0.13s;
}
button:active, .cta:active {
  transform: scale(0.97);
}

/* LINK STYLES */
a {
  outline: none;
  transition: color 0.18s, background 0.17s;
}
a:focus {
  color: #F2BF27;
  background: #283E4A11;
  box-shadow: 0 2px 0 #F2BF27;
}

/* COOKIE BANNER STYLES */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #283E4A;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 26px 18px 18px 18px;
  z-index: 99;
  box-shadow: 0 -4px 24px rgba(40,62,74,0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
  transition: opacity 0.38s, transform 0.36s;
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  color: #fff;
  font-size: 1.07rem;
  line-height: 1.5;
}
.cookie-btn-group {
  display: flex;
  gap: 18px;
}
.cookie-accept-btn, .cookie-reject-btn, .cookie-settings-btn {
  padding: 8px 20px;
  border-radius: 5px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.19s, color 0.15s, transform 0.13s;
}
.cookie-accept-btn {
  background: #F2BF27;
  color: #283E4A;
}
.cookie-accept-btn:hover {
  background: #deb112;
}
.cookie-reject-btn {
  background: #fff;
  color: #283E4A;
  border: 1px solid #E0E6EA;
}
.cookie-reject-btn:hover {
  background: #e6e7ea;
}
.cookie-settings-btn {
  background: transparent;
  color: #fff;
  border: 1.5px solid #F2BF27;
}
.cookie-settings-btn:hover {
  background: #283E4A;
  color: #F2BF27;
}
@media (max-width: 620px) {
  .cookie-banner {
    padding: 20px 6px 8px 6px;
    gap: 10px;
  }
  .cookie-btn-group {
    gap: 7px;
    flex-direction: column;
    align-items: stretch;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  background: #fff;
  color: #283E4A;
  border-radius: 17px;
  box-shadow: 0 10px 40px rgba(40,62,74,0.19);
  padding: 36px 32px 24px 32px;
  z-index: 200;
  width: 90vw;
  max-width: 440px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s, transform 0.33s;
}
.cookie-modal.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h3 {
  font-size: 1.32rem;
  margin-bottom: 7px;
}
.cookie-modal p {
  font-size: 1rem;
  margin-bottom: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.cookie-category label {
  font-size: 1.03rem;
}
.cookie-toggle {
  appearance: none;
  width: 44px; height: 22px;
  background: #E5E9ED;
  border-radius: 15px;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #F2BF27;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s;
}
.cookie-toggle:checked::before {
  transform: translateX(22px);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 15px;
}
.cookie-modal .cookie-reject-btn {
  background: #fff;
  color: #283E4A;
  border: 1.5px solid #E0E6EA;
}
.cookie-modal .cookie-save-btn {
  background: #F2BF27;
  color: #283E4A;
  font-weight: 700;
  border-radius: 6px;
  padding: 8px 24px;
  border: none;
}
.cookie-modal .cookie-save-btn:hover {
  background: #deb112;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #283E4A;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F2BF27;
}
@media (max-width: 530px) {
  .cookie-modal {
    max-width: 97vw;
    padding: 24px 7px 16px 7px;
  }
}

/* FORM ELEMENTS (FOR CONTACT PAGE IF ANY)*/
input, textarea, select {
  border-radius: 5px;
  border: 1.5px solid #C3CDD6;
  padding: 10px 13px;
  background: #F8F9FB;
  font-size: 1rem;
  color: #283E4A;
  transition: border 0.15s;
  width: 100%;
  margin-bottom: 13px;
  outline: none;
  font-family: 'Roboto', Arial, sans-serif;
}
input:focus, textarea:focus, select:focus {
  border-color: #F2BF27;
  background: #fff;
}
label {
  display: block;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #283E4A;
  font-weight: 500;
  font-size: 1rem;
}

/* SPACING & RESPONSIVENESS */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width: 768px) {
  .section { padding: 28px 6px; }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
}

/* Misc Typography Scale */
@media (max-width: 600px) {
  h1 { font-size: 1.45rem;}
  h2 { font-size: 1.17rem;}
  .subtitle { font-size: 1rem;}
}

/* Add smooth animation for all elements appearing */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInMove 0.8s cubic-bezier(.53,0,.37,1) forwards;
}
@keyframes fadeInMove {
  to {opacity: 1;transform: none;}
}

/* Hide scrollbars for mobile overlays (optical polish) */
.mobile-menu, .cookie-modal {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Accessibility: Focus rings */
:focus-visible {
  outline: 2px solid #F2BF27 !important;
  outline-offset: 1px;
}

/* Utility classes */
.d-none { display: none!important; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }
.mt-1 { margin-top: 10px; }

/* End of CSS */
