/* ========================
   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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.4;
  font-size: 16px;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #30343B;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #FBF8F4;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ========================
   BRAND COLORS & FONTS
   ======================== */
:root {
  --primary: #22435B; /* Deep blue */
  --secondary: #ECECEC; /* Light subtle background */
  --accent: #E89E42; /* Warm accent gold/orange */
  --bg: #FBF8F4; /* Extra light, almost white, for warmth */
  --card-bg: #FFF;
  --shadow: 0 4px 18px rgba(60,50,36,0.09), 0 1.5px 5px rgba(232,158,66,0.07);
  --text: #2E3135;
  --subtle-text: #41505A;
  --success: #60BA80;
}

@font-face {
  font-family: "Montserrat";
  font-display: swap;
  src: local("Montserrat"),
    url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;800&display=swap");
}
@font-face {
  font-family: "Open Sans";
  font-display: swap;
  src: local("Open Sans"),
    url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap");
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 800;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, li, span {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
}
strong {
  font-weight: 700;
  color: var(--accent);
}
small {
  font-size: 0.9rem;
  color: var(--subtle-text);
}
blockquote {
  padding: 16px 22px;
  border-left: 5px solid var(--accent);
  background: #FFFAF1;
  border-radius: 12px;
  font-style: italic;
  margin: 20px 0 24px 0;
}

/* Spacing Utilities & Layout Containers */
.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  .section {
    padding: 30px 10px;
    margin-bottom: 36px;
  }
}

/* ==========================
   HEADER & NAVIGATION
   ========================== */
header {
  background: var(--card-bg);
  box-shadow: 0 2px 8px rgba(34,67,91,0.04);
  border-bottom: 1.5px solid var(--secondary);
  position: sticky;
  top: 0;
  z-index: 23;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  position: relative;
}
header img[alt="Dreamy Piccolo Architektur"],
header img[alt="Dreamy Piccolo Architektur"] {
  height: 38px;
  margin-right: 18px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
nav a:hover, nav a:focus {
  background: var(--accent);
  color: #fff;
}
.cta-btn {
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 8px 28px;
  margin-left: 14px;
  box-shadow: 0 2px 8px rgba(232,158,66,0.11);
  transition: background 0.2s, box-shadow 0.2s, transform 0.08s;
  border: none;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F3B058;
  color: #fff;
  box-shadow: 0 5px 22px rgba(232,158,66,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* ==========================
   MOBILE BURGER MENU
   ========================== */
.mobile-menu-toggle {
  display: none;
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  font-size: 2rem;
  border-radius: 12px;
  padding: 4px 12px 2px 12px;
  margin-left: 14px;
  box-shadow: 0 1px 5px rgba(232,158,66,0.15);
  transition: background 0.15s, transform 0.13s;
  z-index: 101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F3B058;
  transform: scale(1.09);
}
@media (max-width: 950px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.7,.3,.17,1.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: 2px 0 24px rgba(34,67,91,0.10);
  padding-top: 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  margin: 12px 22px 10px 0;
  color: var(--primary);
  background: var(--secondary);
  padding: 5px 14px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(34,67,91,0.08);
  transition: background 0.14s, color 0.14s;
  z-index: 10001;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 34px 32px 18px 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.13rem;
  padding: 12px 6px;
  border-radius: 9px;
  color: var(--primary);
  transition: background 0.12s, color 0.12s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--accent);
  color: #fff;
}

/* ==========================
   HERO / MAIN / LAYOUT
   ========================== */
main {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 53vh;
  /* avoid overlap by giving enough space */
}
.section, .content-wrapper {
  width: 100%;
}
.section {
  background: none;
  border-radius: 28px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================
   CARDS & FLEX CONTAINERS
   ========================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 26px 22px;
  transition: box-shadow 0.17s, transform 0.14s;
  position: relative;
  min-width: 270px;
}
.card:hover {
  box-shadow: 0 4px 24px 2px rgba(232,158,66,0.13);
  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: 20px;
    align-items: flex-start;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg);
  padding: 26px 20px 18px 20px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  min-width: 230px;
  max-width: 330px;
  transition: box-shadow 0.14s, transform 0.11s;
}
.feature-item:hover {
  box-shadow: 0 6px 28px 0 rgba(232,158,66,0.14);
  transform: translateY(-3px) scale(1.025);
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 1024px) {
  .features-grid {
    gap: 19px;
  }
}
@media (max-width: 800px) {
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .card {
    min-width: 0;
    max-width: 100%;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF9F3; /* soft warm bg */
  border-radius: 18px;
  box-shadow: 0 2.5px 14px rgba(232,158,66,0.10);
  margin-bottom: 20px;
  margin-top: 0;
  font-size: 1.1rem;
  flex-wrap: wrap;
}
.testimonial-card p {
  color: #2E3135;
  font-size: 1.08rem;
  margin-bottom: 0;
  flex: 1 1 200px;
}
.testimonial-card span {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.97rem;
}

@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 15px 10px;
  }
}

.icon-row {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 0;
  align-items: center;
  flex-wrap: wrap;
}
.icon-row img {
  height: 44px;
  width: 44px;
  background: #FFF3E2;
  border-radius: 11px;
  padding: 7px;
  box-shadow: 0 1.2px 6px rgba(232,158,66,0.09);
}

/* ==========================
   SECTION-SPECIFIC CLASSES
   ========================== */
.service-list > li,
.project-list > li {
  padding: 22px 0 19px 0;
  border-bottom: 1px solid var(--secondary);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 0;
}
ul.service-list > li:last-child,
ul.project-list > li:last-child {
  border-bottom: none;
}
.service-list span,
.project-list span {
  display: inline-block;
  margin-top: 7px;
  font-size: 1.03rem;
  color: var(--accent);
  font-weight: 600;
}
.project-categories,
.blog-categories {
  margin-top: 16px;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: 0.2px;
}
.featured-article {
  background: #FFF9F4;
  border-left: 5px solid var(--accent);
  border-radius: 13px;
  margin-top: 18px;
  padding: 20px 23px 16px 25px;
  box-shadow: 0 2.5px 12px rgba(232,158,66,0.06);
}

/* ==========================
   CONTACT DETAILS
   ========================== */
.contact-details, .contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 23px 24px 18px 24px;
}
.contact-details img, .contact-info img {
  height: 21px;
  width: 21px;
  vertical-align: text-bottom;
  margin-right: 9px;
}
.contact-details a, .contact-info a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.12s;
  font-weight: 500;
}
.contact-details a:hover, .contact-details a:focus, .contact-info a:hover, .contact-info a:focus {
  color: var(--accent);
}

/* ==========================
   FOOTER
   ========================== */
footer {
  background: var(--secondary);
  padding-top: 36px;
  padding-bottom: 26px;
  border-top: 1.5px solid #E8E5E1;
  margin-top: 40px;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-columns > div {
  flex: 1 1 180px;
  margin-bottom: 12px;
}
.footer-columns img {
  margin-bottom: 10px;
  height: 40px;
  width: auto;
}
.footer-columns p {
  font-size: 0.98rem;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 3px;
}
footer nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 5px 6px 5px 0px;
  border-radius: 7px;
  transition: background 0.14s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
  background: #FFF3E2;
}
.social-media {
  display: flex;
  gap: 11px;
  margin-bottom: 4px;
}
.social-media a img {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background: #FFF6E9;
  padding: 4px;
  box-shadow: 0 1px 6px rgba(232,158,66,0.10);
  transition: background 0.12s, transform 0.11s;
}
.social-media a:hover img,
.social-media a:focus img {
  background: var(--accent);
  transform: scale(1.08);
}
footer small {
  color: var(--subtle-text);
  display: inline-block;
  margin-top: 9px;
  font-size: 0.89rem;
}
@media (max-width: 900px) {
  .footer-columns {
    flex-direction: column;
    gap: 14px;
  }
}

/* ==========================
   BUTTONS (Primary, Alt, Cookie)
   ========================== */
button, .cta-btn {
  transition: background 0.2s, color 0.19s, box-shadow 0.2s, transform 0.09s;
  white-space: nowrap;
}
button:active, .cta-btn:active {
  transform: scale(0.97);
}

/* ==========================
   COOKIE CONSENT BANNER & MODAL
   ========================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11000;
  background: #FFF8F0;
  color: var(--text);
  box-shadow: 0 -2px 24px rgba(232,158,66,0.14);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  padding: 22px 32px 19px 32px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
  transition: transform 0.38s cubic-bezier(.7,.3,.2,1), opacity 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  flex: 2 1 200px;
  font-size: 1.05rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 4px;
}
.cookie-btn {
  padding: 8px 18px;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  font-size: 1.04rem;
  background: var(--accent);
  color: #fff;
  margin-right: 9px;
  box-shadow: 0 1.5px 6px rgba(232,158,66,0.13);
  cursor: pointer;
  transition: background 0.18s, color 0.13s, box-shadow 0.14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #cf8630;
  color: #fff;
  box-shadow: 0 5px 18px rgba(232,158,66,0.14);
}
.cookie-btn.alt {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.alt:hover, .cookie-btn.alt:focus {
  background: #19344B;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--primary);
  border: 1.6px solid var(--accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: var(--accent);
  border-color: var(--primary);
  background: #FFF3E2;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px 15px 10px;
    gap: 15px;
    font-size: 0.95rem;
  }
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(34,67,91,0.17);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transition: opacity 0.23s;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 4px 36px rgba(34,67,91,0.17);
  max-width: 410px;
  width: 96vw;
  padding: 38px 32px 24px 32px;
  margin-bottom: 0;
  animation: cookieModalUp 0.36s cubic-bezier(.6,.5,.18,1.2);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
@keyframes cookieModalUp {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal .modal-header {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 2px;
}
.cookie-modal .modal-desc {
  font-size: 1.02rem;
  color: var(--subtle-text);
  margin-bottom: 10px;
}
.cookie-modal .modal-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-modal .cookie-toggle {
  width: 36px; height: 20px;
  border-radius: 12px;
  background: #f3ece5;
  position: relative;
  flex-shrink: 0;
}
.cookie-modal .cookie-toggle input[type="checkbox"] {
  opacity: 0; width: 36px; height: 20px; position: absolute; left: 0; top: 0; cursor: pointer;
}
.cookie-modal .cookie-toggle .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: var(--primary);
  border-radius: 50%;
  transition: left 0.20s, background 0.15s;
}
.cookie-modal .cookie-toggle input[type="checkbox"]:checked + .slider {
  left: 18px;
  background: var(--accent);
}
.cookie-modal .cookie-category span {
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal .cookie-category.disabled span {
  color: #bbb;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px; top: 12px;
  background: none;
  color: var(--primary);
  font-size: 2rem;
  border-radius: 7px;
}
.cookie-modal .cookie-modal-close:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 8px 14px 10px;
    max-width: 98vw;
  }
}

/* ==========================
   RESPONSIVE DESIGN
   ========================== */
@media (max-width: 1024px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .footer-columns img {
    height: 34px;
  }
  main, .content-wrapper { gap: 8px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.24rem; }
  .card, .feature-item {
    padding: 14px 7px;
  }
}
/* =======================
   MICRO-INTERACTIONS
   ======================= */
a, button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .social-media a img {
  transition: background 0.15s, color 0.13s, box-shadow 0.17s, transform 0.12s;
}

/* =======================
   ADDITIONAL UTILITIES
   ======================= */
.text-section {
  margin-bottom: 12px;
  margin-top: 0px;
}

/* =======================
   ENSURE MINIMUM SPACING
   ======================= */
.card, .feature-item, .testimonial-card, .contact-details, .contact-info, .section {
  margin-bottom: 20px;
}
.section:last-child,
.content-wrapper:last-child {
  margin-bottom: 0;
}

/* ==========================
   SCROLLBAR STYLING (Friendly)
   ========================== */
html {
  scrollbar-color: var(--accent) var(--bg);
}
::-webkit-scrollbar {
  width: 10px;
  background: #f6f0e8;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 12px;
}

/* =======================
   FOCUS STYLES (a11y)
   ======================= */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-toggle:focus {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
}

/* =======================
   ERROR & SUCCESS NOTICES (Optional)
   ======================= */
.notice-success {
  background: #eafbe8;
  border-left: 4px solid var(--success);
  color: #368156;
  padding: 14px 18px;
  border-radius: 11px;
  margin-bottom: 21px;
  font-size: 1rem;
}
.notice-error {
  background: #fff1ef;
  border-left: 4px solid #FF7155;
  color: #D23C1B;
  padding: 14px 18px;
  border-radius: 11px;
  margin-bottom: 21px;
  font-size: 1rem;
}

/***********************
 * END OF STYLE.CSS   *
 ***********************/
