/* ================================================== */
/* CSS RESET & NORMALIZE (SCANDINAVIAN CLEAN 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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #FAFAFA;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  color: #23262B;
  background: #FAFAFA;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #D9A254;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #23262B;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem;  margin-bottom: 20px; }
h3 { font-size: 1.25rem;  margin-bottom: 14px; }
h4 { font-size: 1.125rem; }

p, li, .subheadline, .tagline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #23262B;
}
.subheadline, .tagline {
  font-size: 1.18rem;
  color: #574b37;
  margin-bottom: 18px;
}
strong { font-weight: 600; }
img { max-width: 100%; display: block; }

/* =================== */
/* GENERAL LAYOUT     */
/* =================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  align-items: flex-start;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(40,42,48,0.04);
}
main {
  width: 100%;
  margin-top: 0;
}

/* =========================================== */
/* FLEXBOX PATTERNS (NO GRID, NO ABSOLUTE)    */
/* =========================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 0;
}
.feature-grid > li {
  background: #F3F4F6;
  border-radius: 16px;
  padding: 28px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 10px rgba(35,38,43,0.03);
  flex: 1 1 270px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > li:hover {
  box-shadow: 0 8px 24px rgba(65,61,43,0.06);
  transform: translateY(-2px) scale(1.011);
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}
.feature-grid h3 {
  font-size: 1.17rem;
  margin-bottom: 8px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F3F4F6;
  border-radius: 18px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 8px rgba(35,38,43,0.05);
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
}

.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;
  background: #FAFAFA;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(35,38,43,0.04);
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(65,61,43,0.10);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  font-size: 1.03rem;
  color: #23262B;
  margin-right: 12px;
}
.testimonial-card strong {
  font-size: 0.97rem;
  color: #685930;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.address-block {
  background: #FFF;
  border-left: 4px solid #D9A254;
  padding: 24px 22px;
  border-radius: 10px;
  font-size: 1rem;
}

/* Spacing between elements globally */
section + section { margin-top: 20px; }
.card + .card, .testimonial-card + .testimonial-card, .feature-grid > li + li { margin-top: 0 !important; }

/* =============================== */
/* HEADER & NAVIGATION             */
/* =============================== */
header {
  background: #ffffffd8;
  box-shadow: 0 2px 12px rgba(35,38,43,0.04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 28px;
  height: 82px;
  justify-content: space-between;
}
header img {
  width: 150px;
  height: auto;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin: 0 12px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  color: #23262B;
  padding: 5px 5px;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.17s;
}
nav a:hover,
nav a:focus {
  color: #D9A254;
  background: #F3F4F6;
}

.cta.primary {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 8px;
  background: #D9A254;
  color: #23262B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px rgba(217,162,84,0.07);
  transition: background 0.18s, color 0.20s, box-shadow 0.19s, transform 0.18s;
  border: none;
  cursor: pointer;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #23262B;
  color: #fff;
  transform: scale(1.035);
  box-shadow: 0 8px 30px rgba(217,162,84,0.14);
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F3F4F6;
  color: #23262B;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.17s, color .18s, box-shadow .12s;
  z-index: 101;
  margin-left: 8px;
  margin-right: 8px;
}
.mobile-menu-toggle:focus {
  background: #D9A254;
  color: #fff;
}
@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* =============================== */
/* MOBILE MENU OVERLAY             */
/* =============================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(250,250,250, 0.99);
  box-shadow: 0 4px 32px rgba(35,38,43,0.13);
  z-index: 9999;
  display: none;
  flex-direction: column;
  transition: transform 0.36s cubic-bezier(.77,0,.18,1), opacity 0.22s;
  opacity: 0;
  transform: translateX(-110vw);
}
.mobile-menu.active {
  display: flex;
  opacity: 1;
  transform: translateX(0vw);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #F3F4F6;
  border: none;
  color: #23262B;
  font-size: 2.3rem;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin: 25px 24px 12px 0;
  cursor: pointer;
  transition: background .12s, color .13s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #D9A254;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-left: 38px;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #23262B;
  padding: 12px 0;
  border-radius: 6px;
  width: 100%;
  transition: background .15s, color .15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #23262B;
  color: #fff;
}
@media(max-width:1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media(min-width:1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =============================== */
/* FOOTER                          */
/* =============================== */
footer {
  background: #F3F4F6;
  border-top: 1.5px solid #e9e9e9;
  padding: 40px 0 10px 0;
  width: 100%;
}
footer .container {
  gap: 0px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  flex-direction: column;
  gap: 11px;
  margin-bottom: 0;
}
footer nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.99rem;
  color: #23262B;
  padding: 3px 0px;
  opacity: 0.85;
}
footer nav a:hover {
  color: #D9A254;
  opacity: 1;
}
footer img {
  width: 90px;
  margin-bottom: 10px;
  margin-right: 8px;
}
.contact-brief {
  font-size: 0.97rem;
  color: #595A5C;
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-links a {
  display: flex;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: #FFF;
  box-shadow: 0 1px 3px rgba(35,38,43,0.07);
  transition: background .14s, box-shadow .18s;
  justify-content: center;
}
.social-links a:hover { background: #D9A254; }
.social-links img {
  width: 22px; height: 22px; margin: 0;
}

/* =============================== */
/* SPECIFIC COMPONENTS             */
/* =============================== */
.tip-categories, .quick-guides, .composition-principles, .step-guides,
.editing-tools, .before-after-examples, .project-list, .project-outcomes {
  background: #F3F4F6;
  border-radius: 10px;
  padding: 22px 18px;
  margin-bottom: 18px;
}
.tip-categories h3, .quick-guides h3, .composition-principles h3,
.step-guides h3, .editing-tools h3, .before-after-examples h3, .project-list h3, .project-outcomes h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.tip-categories ul,
.quick-guides ul, .composition-principles ul,
.step-guides ul, .editing-tools ul, .before-after-examples ul,
.project-list ul, .project-outcomes ul {
  padding-left: 20px;
  list-style: disc inside;
  font-size: 0.99rem;
  color: #48453b;
  margin: 0;
}

/* =============================== */
/* RESPONSIVE DESIGN               */
/* =============================== */
@media (max-width: 900px) {
  .feature-grid { gap: 18px; }
  .feature-grid>li { min-width: 200px; font-size: 0.99rem; padding: 20px 12px; }
  section { padding: 32px 10px; }
  .container { padding: 0 10px; }
  .content-wrapper, .text-section { gap: 16px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  
  .container { max-width: 99vw; padding: 0 6px; }
  
  header .container { height: auto; flex-direction: row; gap: 10px; padding: 12px 4px; }
  header img { width: 105px; }
  .cta.primary { font-size: 1rem; padding: 9px 14px;}
  section { padding: 22px 2px; border-radius: 15px; }
  .feature-grid { gap: 11px; }
  .feature-grid > li { min-width: 155px; padding: 13px 8px; }
  .card, .testimonial-card { padding: 16px 8px; }
  footer .content-wrapper { gap: 14px; flex-direction: column; }
  .contact-brief { font-size: 0.97rem;}
}
@media (max-width: 650px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.11rem; }
  .container, .content-wrapper, .text-section { padding: 0 2px !important; gap: 8px; }
  .feature-grid { flex-direction: column; gap: 7px; align-items: stretch; }
  .feature-grid > li { flex: 1 1 100%; }
  .testimonial-card { gap: 9px; font-size: 0.98rem; padding: 10px 6px; }
  section { margin-bottom: 32px; }
}
.text-image-section { flex-direction: row; }
@media (max-width: 800px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 540px) {
  .step-guides, .composition-principles, .before-after-examples,
  .project-list, .project-outcomes {
    padding: 14px 4px;
  }
}

/* Ensure no overlapping, minimum 20px margin between cards */
.card, .testimonial-card, .feature-grid>li, section {
  margin-bottom: 20px;
}

/* =============================== */
/* HOVER, MICRO-INTERACTIONS       */
/* =============================== */
.cta.primary, .feature-grid > li, .testimonial-card, .card {
  transition: box-shadow .19s, background .2s, color .19s, transform .19s;
}
h1, h2, h3, h4, h5 { scroll-margin-top: 110px; }

/* =============================== */
/* FORM ELEMENTS (for Kontakt page)*/
/* =============================== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  border: 1.5px solid #e1e1e3;
  border-radius: 6px;
  background: #F3F4F6;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #D9A254;
  background: #fffefc;
}

button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 7px;
  background: #D9A254;
  color: #23262B;
  cursor: pointer;
  transition: background .15s, color .14s;
}
button:hover, button:focus {
  background: #23262B;
  color: #fff;
}

/* =========================== */
/* COOKIE CONSENT BANNER/MODAL */
/* =========================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFF;
  border-top: 2px solid #F3F4F6;
  box-shadow: 0 -4px 24px rgba(35,38,43,0.08);
  padding: 22px 18px;
  z-index: 10200;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  transition: transform 0.28s, opacity 0.28s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(105%);
  pointer-events: none;
}
.cookie-banner .cookie-message {
  color: #23262B;
  flex: 1 1 auto;
  margin-right: 10px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner .cookie-btn {
  background: #F3F4F6;
  color: #23262B;
  border: none;
  border-radius: 7px;
  padding: 8px 20px;
  font-size: 1rem;
  box-shadow: 0 1px 6px rgba(35,38,43,0.03);
  cursor: pointer;
  transition: background 0.2s, color 0.16s;
}
.cookie-banner .cookie-btn.accept {
  background: #D9A254;
  color: #23262B;
}
.cookie-banner .cookie-btn.reject {
  background: #f3f4f6;
  color: #23262B;
  border: 1px solid #D9A254;
}
.cookie-banner .cookie-btn.settings {
  background: none;
  color: #D9A254;
  border: 1px solid #e6e2db;
}
.cookie-banner .cookie-btn:focus,
.cookie-banner .cookie-btn:hover {
  background: #23262B;
  color: #fff;
  outline: none;
}

@media (max-width:768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 17px;
    font-size: 0.96rem;
    padding: 18px 8px;
  }
  .cookie-banner .cookie-message { margin-right: 0; }
  .cookie-banner .cookie-buttons {
    width: 100%;
    gap: 9px;
    justify-content: flex-end;
  }
}

/* ----------------------- */
/* COOKIE CONSENT MODAL    */
/* ----------------------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 11001;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(35,38,43,0.27);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 19px;
  padding: 38px 24px 26px 24px;
  box-shadow: 0 8px 32px rgba(35,38,43,0.12);
  max-width: 440px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: popInCookieModal .23s cubic-bezier(.77,0,.18,1) 1;
  font-family: 'Roboto', Arial, sans-serif;
}
@keyframes popInCookieModal {
  0% { transform: scale(0.93); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.29rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 7px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F3F4F6;
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 1.08rem;
}
.cookie-category .always {
  color: #aaa;
  font-size: 0.97rem;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 11px;
  justify-content: flex-end;
  width: 100%;
}
.cookie-modal .cookie-btn {
  min-width: 98px;
  font-size: 1rem;
}
.cookie-modal .cookie-btn.settings {
  background: none;
  color: #D9A254;
}

/* ================ */
/* UTILITY CLASSES  */
/* ================ */
.hidden, [hidden] { display: none !important; }
.d-block { display: block !important; }
.center { text-align: center !important; }
.align-center { align-items: center !important; }
@media (max-width: 500px) {
  .cookie-modal {
    padding: 20px 6px;
  }
}

/* ================ */
/* SCROLLBAR STYLE (Optional) */
/* ================ */
html {
  scrollbar-color: #D9A254 #F3F4F6;
  scrollbar-width: thin;
}
body::-webkit-scrollbar { width: 8px; }
body::-webkit-scrollbar-thumb {
  background: #D9A25466;
  border-radius: 5px;
}
body::-webkit-scrollbar-track { background: #F3F4F6; }
