/* =====================================
   Luminora Wohnkonzepte - style.css
   Geometric Structured | Flexbox Only
   ===================================== */

/* === RESET & BASE =================================== */
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;
}
article, aside, details, figcaption, figure,  
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F1EFEF;
  color: #314240;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #314240;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B69770;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
}
strong, b {
  font-weight: 600;
}
button, .cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
}
input, textarea, select {
  font: inherit;
  outline: none;
}

/* === BRAND GEOMETRIC STRUCTURED ============================ */
:root {
  --color-primary: #314240;
  --color-secondary: #B69770;
  --color-accent: #F1EFEF;
  --color-white: #fff;
  --shadow-card: 0 3px 14px rgba(49,66,64,0.07);
  --shadow-hover: 0 6px 20px rgba(49,66,64,0.14);
  --radius-card: 18px;
  --radius-btn: 7px;
  --transition: all 0.22s cubic-bezier(.65,.05,.36,1);
}

html {
  scroll-behavior: smooth;
  background: var(--color-accent);
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  line-height: 1.1;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 18px;
  text-transform: uppercase;
}
h2 {
  font-size: 2.0rem;
  margin-bottom: 16px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.33rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.15rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-secondary);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* === HEADER =========================================== */
header {
  background: var(--color-white);
  border-bottom: 2.5px solid var(--color-secondary);
  position: sticky;
  top: 0;
  z-index: 22;
  box-shadow: 0 2px 16px rgba(49,66,64,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
header img {
  height: 44px;
  width: auto;
  border-radius: 7px;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.06rem;
  padding: 8px 10px;
  letter-spacing: 0.01em;
  border-radius: 4px;
  position: relative;
}
nav a:after {
  content: '';
  display: block;
  height: 2.5px;
  width: 0;
  background: var(--color-secondary);
  transition: width 0.3s;
  border-radius: 1px;
  margin-top: 3.5px;
}
nav a:hover:after,
nav a:focus:after {
  width: 100%;
}

/* === MAIN BUTTONS ===================================== */
.cta-button {
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 13px 28px;
  border: none;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0px 2px 13px rgba(182,151,112,0.07);
  display: inline-block;
  margin-left: 16px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #907244;
  color: #fff;
  box-shadow: 0 4px 22px 0 rgba(182,151,112,0.18);
  letter-spacing: 2px;
}

/* === HERO SECTION ===================================== */
.hero {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 48px -12px rgba(49,66,64,0.12);
  margin-bottom: 60px;
}
.hero .container {
  padding-top: 54px;
  padding-bottom: 54px;
}
.hero h1, 
.hero .subheadline {
  color: var(--color-white);
}
.hero .cta-button {
  margin-top: 24px;
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 2px 16px rgba(182,151,112,0.08);
}

/* === SECTIONS, SPACING & FLEX ========================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  background: #fff;
  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;
  background: #fff;
  color: #0d1e1d;
  padding: 20px;
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  border-left: 6px solid var(--color-secondary);
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px 22px;
  min-width: 220px;
  margin-bottom: 20px;
  flex: 1 1 225px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px) scale(1.03) rotate(-1deg);
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 7px;
}

/* == SERVICE CARDS == */
.service-overview, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.service-card {
  background: #fff;
  border-radius: 15px;
  padding: 28px 22px 20px 22px;
  flex: 1 1 240px;
  max-width: 310px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  border-bottom: 5.5px solid var(--color-secondary);
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
  position: relative;
  min-height: 172px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px) scale(1.03);
}
.service-card .price {
  margin-top: auto;
  font-weight: 600;
  font-size: 1rem;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 5px 14px;
  border-radius: 5px;
  align-self: flex-end;
  letter-spacing: 0.5px;
}

/* == MAP/LOCATION SECTION == */
.map-section {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-accent);
  border-radius: 11px;
  padding: 11px 17px;
  margin: 16px 0 14px 0;
}

/* == TEXT SECTION == */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

/* == FOOTER ============================================ */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  margin-top: 66px;
  padding: 36px 0 12px 0;
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -7px 38px -10px rgba(49,66,64,0.12);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 29px;
  margin-bottom: 6px;
}
footer nav a {
  color: var(--color-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  position: relative;
  padding: 6px 2px;
  border-radius: 3px;  
}
footer nav a:hover, footer nav a:focus {
  background: rgba(182,151,112,0.12);
  color: var(--color-white);
}
footer .social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 3px;
}
footer .social-links a img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-secondary);
  padding: 6px;
  transition: background var(--transition), transform var(--transition);
}
footer .social-links a:hover img {
  background: var(--color-white);
  transform: scale(1.08);
}
footer .cta-button {
  margin: 8px 0 0 0;
  background: var(--color-secondary);
  color: #fff;
}
footer p {
  font-size: 0.98rem;
  margin-top: 12px;
}

/* === CARDS & SHADOW EFFECTS =========================== */
.card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px 22px;
  transition: box-shadow var(--transition), transform var(--transition);
  z-index: 1;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.015) rotate(-0.5deg);
}

/* === TESTIMONIALS ===================================== */
.testimonial-card {
  background: var(--color-accent);
  border-left: 6px solid var(--color-secondary);
  color: #222;
  padding: 20px;
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.08rem;
  position: relative;
}
.testimonial-card p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.12rem;
  margin-bottom: 3px;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1rem;
}

.testimonial-card:after {
  content: '\201D';
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-secondary);
  font-size: 2.8rem;
  position: absolute;
  top: 8px; right:18px;
  opacity: 0.15;
  pointer-events: none;
}

/* ===== MOBILE MENU (BURGER NAV) ======================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--color-secondary);
  cursor: pointer;
  z-index: 1002;
  margin-left: 12px;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 355px;
  height: 100vh;
  background: var(--color-primary);
  box-shadow: -6px 0 22px 0 rgba(49,66,64,0.11);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.57,.16,.38,1);
  z-index: 1001;
  padding: 23px 0 23px 0;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 0 20px 3px 0;
  cursor: pointer;
  z-index: 1101;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: background var(--transition), color var(--transition);
  margin-right: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

@media (max-width: 1020px) {
  nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  header .container nav,
  header .container .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 500px) {
  .mobile-menu {
    max-width: 100vw;
    padding: 13px 0 13px 0;
  }
}

/* ===== COOKIE CONSENT BANNER & MODAL ========================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 5010;
  background: var(--color-accent);
  color: var(--color-primary);
  border-top: 3.5px solid var(--color-secondary);
  box-shadow: 0 -3px 18px -8px rgba(49,66,64,0.08);
  padding: 21px 18px 17px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  animation: cookieBannerSlide 0.44s ease-out;
}
@keyframes cookieBannerSlide {
  from { transform: translateY(120%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-consent-banner p {
  font-size: 1.09rem;
  color: var(--color-primary);
  margin: 3px 0 6px 0;
}
.cookie-consent-btns {
  display: flex;
  gap: 14px;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: var(--radius-btn);
  font-weight: 600;
  padding: 9px 22px;
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  margin: 0;
}
.cookie-accept {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #927546;
}
.cookie-reject {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-settings {
  background: var(--color-accent);
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #fff6ec;
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; right:0; bottom:0;
  z-index: 5090;
  background: rgba(49,66,64,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s;
}
.cookie-modal.active { opacity: 1; pointer-events: all; }
.cookie-modal-content {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 20px;
  padding: 34px 22px 27px 22px;
  min-width: 310px;
  max-width: 95vw;
  box-shadow: 0 5px 34px -9px rgba(49,66,64,0.13);
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 17px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-secondary);
  font-size: 2.15rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 12px 14px;
  border-radius: 11px;
  box-shadow: 0 0 6px #efede9;
}
.cookie-category label {
  font-size: 1.07rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--color-primary);
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--color-secondary);
  width: 20px; height:20px;
  border-radius: 3px;
}
.cookie-category input[disabled] {
  opacity: 0.8;
}

@media (max-width: 700px) {
  .cookie-modal-content {
    min-width: 89vw;
    padding-left: 7vw;
    padding-right: 7vw;
  }
}

/* ===== FLEXBOX ADAPTATION & RESPONSIVE ================== */
@media (max-width: 1170px) {
  .container {
    max-width: 100%;
  }
}
@media (max-width: 960px) {
  .feature-grid,
  .service-overview,
  .service-list,
  .card-container,
  .content-grid {
    gap: 14px;
  }
  .feature-item, .service-card {
    min-width: 185px;
    max-width: 95vw;
  }
}
@media (max-width: 820px) {
  .hero .container {
    padding-top: 33px;
    padding-bottom: 33px;
  }
  .section {
    padding: 32px 7vw;
    margin-bottom: 44px;
  }
  .feature-item, .service-card {
    min-width: 180px;
  }
  .testimonial-card {
    font-size: 1rem;
  }
}
@media (max-width: 700px) {
  .hero {
    border-radius: 0 0 35px 35px;
  }
  .feature-grid, .service-list, .service-overview, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item, .service-card {
    max-width: 100%;
  }
  .section {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 580px) {
  .hero h1 {
    font-size: 2.0rem;
  }
  .hero .container {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .section {
    margin-bottom: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  h2 {
    font-size: 1.2rem;
  }
}
@media (max-width: 510px) {
  .footer .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}
@media (max-width: 480px) {
  .hero {
    border-radius: 0 0 18px 18px;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
  }
}

/* ======== INTERACTIONS & MICRO-EFFECTS =================== */
.card, .testimonial-card, .feature-item, .service-card,
.cta-button, .footer .social-links a img,
.cookie-accept, .cookie-reject, .cookie-settings {
  transition: var(--transition);
}
.card:focus-within, .card:focus, .testimonial-card:focus-within,
.feature-item:focus-within, .service-card:focus-within {
  box-shadow: 0 0 0 4px #B6977033;
  outline: none;
}

button:focus, .cta-button:focus, .cookie-accept:focus,
.cookie-reject:focus, .cookie-settings:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

::-webkit-input-placeholder { color: #8a9f9e; }
::-moz-placeholder          { color: #8a9f9e; }
:-ms-input-placeholder      { color: #8a9f9e; }
::placeholder              { color: #8a9f9e; }

/* == Hide visually but accessible for screen readers == */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* ==== Geometric Borders and Section Accents ============== */
.section, .feature-item, .service-card, .testimonial-card {
  box-shadow: var(--shadow-card);
}
.feature-item {
  border-top: 4px solid var(--color-secondary);
  border-bottom: none;
}
.service-card {
  border-left: 5px solid var(--color-secondary);
}

/* ======= Typography for Geometric Structured Style ======== */
body, .text-section, p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  font-size: 1rem;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1.25px;
}

/* ======= Utility: Spacing and Consistency Patterns ======== */
.section:not(:last-child) {
  margin-bottom: 60px;
}
.card-container > *,
.content-grid > *,
.feature-grid > *,
.service-overview > *,
.service-list > * {
  margin-bottom: 0;
}

/* == Selection colors == */
::selection {
  background: var(--color-secondary);
  color: var(--color-accent);
}

/* == Animation for Hero title == */
.hero h1 {    
  animation: fadeUpHero 0.9s cubic-bezier(.68,.27,.54,1.1) 0.2s both;
}
@keyframes fadeUpHero {
  from { opacity:0; transform: translateY(28px) skewY(3deg) scale(1.04); }
  to   { opacity:1; transform: none; }
}

/* ====== END of style.css ====== */
