/* ============================================================================
    Eluxor Shift Style.css - Nature_Organic, Modern, Luxurious, Responsive
============================================================================ */
/* --- RESET & NORMALIZE --- */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
html, body { height: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button { cursor: pointer; }

/* --- BRAND ROOT COLORS --- */
:root {
  --primary: #222831;        /* very dark, deep charcoal */
  --secondary: #BFA268;      /* warm gold */
  --accent: #F4F4F2;         /* off-white */
  --earth1: #5E6351;         /* olive moss green, accent */
  --earth2: #C8B6A6;         /* sand beige */
  --earth3: #87a37a;         /* natural green, used for highlights */
  --success: #81b29a;        /* soft green for approved or selected */
  --danger: #b2645b;         /* earthen red for reject */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

@media (max-width: 768px) {
  :root {
    /* allow larger font-size scale on mobile devices for readability */
  }
}

/* --- SHARED LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 22px;
  box-shadow: 0 3px 14px 0 rgba(34,40,49,0.07);
}

/* --- ORGANIC TEXTURE EFFECT (using svg background) --- */
body {
  background: var(--earth2);
  font-family: var(--font-body);
  color: var(--primary);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  letter-spacing: 0.01em;
  /* Subtle organic backdrop (can be replaced with SVG, here simple bg) */
  background-image: linear-gradient(115deg, rgba(196, 184, 160, 0.14) 55%, transparent 100%), url('assets/bg-organic-texture.png');
  background-size: cover, 600px;
  background-repeat: repeat, no-repeat;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; line-height: 1.14; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.28rem; line-height: 1.24; }
h4 { font-size: 1.14rem; }
p, ul, ol, li, .font-body {
  font-family: var(--font-body);
  font-size: 1.04rem;
  color: var(--primary);
  font-weight: 400;
  line-height: 1.66;
}
.subheadline {
  font-size: 1.28rem;
  font-family: var(--font-body);
  color: var(--earth1);
  margin-top: 8px;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.34rem; }
  h3 { font-size: 1.08rem; }
  .subheadline { font-size: 1.04rem; }
}

/* --- HEADER & MAIN NAVIGATION --- */
header {
  background: var(--earth2);
  border-bottom: 2px solid var(--earth3);
  box-shadow: 0 3px 12px 0 rgba(95, 115, 81, 0.07);
  position: relative;
  z-index: 90;
}
.nav-header {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 80px;
  justify-content: space-between;
}
.header .container { padding: 0 20px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-body);
  color: var(--earth1);
  font-size: 1.06rem;
  padding: 6px 12px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--earth3);
  color: var(--accent);
}
.cta-btn {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  background: var(--secondary);
  border-radius: 24px 14px 20px 14px / 18px 24px 16px 16px;
  padding: 13px 32px 13px 26px;
  font-size: 1.14rem;
  box-shadow: 0 3px 22px 0 rgba(191, 162, 104, 0.16);
  margin-left: 18px;
  border: none;
  outline: none;
  transition: background 0.25s, box-shadow 0.24s,
              transform 0.13s, color 0.2s;
  cursor: pointer;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--earth3);
  color: var(--primary);
  box-shadow: 0 6px 28px 0 rgba(95, 115, 81, 0.19);
  transform: translateY(-2px) scale(1.02);
}

/* Hamburger button */
.mobile-menu-toggle {
  display: none;
  background: var(--earth1);
  color: var(--accent);
  border-radius: 50%;
  height: 44px;
  width: 44px;
  font-size: 2.1rem;
  align-items: center;
  justify-content: center;
  z-index: 120;
  transition: background 0.15s, color 0.15s, box-shadow 0.1s;
  border: 0;
  margin-left: 16px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--earth3);
  color: var(--primary);
  box-shadow: 0 3px 12px 0 rgba(34,40,49,0.13);
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex; }
}

/* --- MOBILE MENU / OVERLAY --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(222, 232, 219, 0.97);
  z-index: 140;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.45s cubic-bezier(0.76,0,0.24,1);
  box-shadow: 0 8px 32px 0 rgba(34,40,49,0.09);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--earth1);
  background: transparent;
  margin: 26px 0 26px 22px;
  padding: 0; border: 0;
  align-self: flex-end;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 18px 0 0 28px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.38rem;
  border-radius: 16px;
  padding: 13px 18px;
  margin-right: 8px;
  background: none;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--earth3);
  color: var(--accent);
}
@media (min-width:901px) {
  .mobile-menu { display: none !important; }
}

/* --- HERO SECTIONS --- */
.hero, .about, .collections, .contact, .thank-you, .legal {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}
.hero .container, .about .container, .collections .container, .contact .container, .thank-you .container, .legal .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper, .thank-you .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 10px;
}
.hero h1 {
  color: var(--earth1);
  letter-spacing: 0.01em;
}

/* --- FEATURES & CARDS FLEX LAYOUT --- */
.features .feature-grid, .collections .feature-grid, .features .feature-grid, .features .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin-top: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  border-radius: 22px 16px 22px 16px/14px 18px 16px 20px;
  box-shadow: 0 2px 8px 0 rgba(191, 162, 104, 0.04);
  padding: 30px 24px;
  min-width: 240px;
  flex: 1 1 265px;
  border: 2px solid rgba(143,156,117,0.13);
  margin-bottom: 20px;
  transition: box-shadow 0.28s, border-color 0.18s, background 0.24s;
}
.feature-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--earth2);
  box-shadow: 0 1px 3px 0 rgba(95,115,81,0.07);
  margin-bottom: 6px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 22px 0 rgba(95, 115,81,.14);
  border-color: var(--earth3);
  background: #ecedea;
}
.feature-item h2, .feature-item h3 {
  color: var(--earth1);
}

@media (max-width: 900px) {
  .features .feature-grid, .collections .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item {
    min-width: 0;
    width: 100%;
  }
}

/* --- SERVICES --- */
.services .service-list, .service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0;
}
.services ul li, .service-list li {
  position: relative;
  padding-left: 0;
  color: var(--primary);
  font-size: 1.06rem;
  background: none;
  line-height: 1.62;
  margin-bottom: 8px;
}
.service-item {
  background: var(--accent);
  border-radius: 22px 18px 24px 16px/14px 20px 20px 18px;
  box-shadow: 0 1px 7px 0 rgba(34,40,49,0.06);
  padding: 26px 22px 18px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  border-left: 4px solid var(--secondary);
  transition: box-shadow 0.23s, border-color 0.17s, background 0.12s;
}
.service-item:hover, .service-item:focus-within {
  box-shadow: 0 6px 20px 0 rgba(95, 115, 81, .12);
  border-left: 4px solid var(--earth3);
  background: #f3f7ef;
}
.service-item h2 { font-size: 1.14rem; margin-bottom: 2px; }
.service-price {
  font-size: 1.08rem;
  color: var(--earth1);
  font-weight: 700;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .services .service-list, .service-list {
    gap: 14px;
  }
  .service-item {
    padding: 18px 12px 13px 14px;
    font-size: 1rem;
  }
}

/* --- CARD CONTAINER & CARD --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: 21px;
  box-shadow: 0 2px 8px 0 rgba(191,162,104,0.05);
  padding: 22px 20px;
  border: 1.5px solid rgba(191,162,104,0.11);
  transition: box-shadow 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 9px 30px 0 rgba(191, 162, 104, 0.14);
  border-color: var(--earth3);
}

/* --- TEXT & IMAGE FLEX SECTION --- */
.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; }
}
.text-section {
  padding: 0;
  margin-bottom: 10px;
}
.text-section ul {
  padding-left: 0;
  margin-top: 12px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.text-section ul li {
  padding-left: 0;
  color: var(--primary);
  font-size: 1.03rem;
  line-height: 1.58;
}

/* --- CTA SECTION --- */
.cta-section {
  margin-bottom: 60px;
  padding: 38px 0;
  background: var(--earth3);
  border-radius: 20px;
  box-shadow: 0 3px 16px 0 rgba(143,156,117,0.07);
  display: flex;
  justify-content: center;
}
.cta-section .content-wrapper {
  align-items: center;
  gap: 14px;
}
.cta-section h2 {
  color: var(--accent);
}
.cta-section .cta-btn {
  background: var(--secondary);
  color: var(--accent);
}
.cta-section .cta-btn:hover, .cta-section .cta-btn:focus {
  color: var(--primary);
  background: var(--accent);
  border: 2px solid var(--secondary);
}
@media (max-width: 768px) {
  .cta-section { padding: 18px 0; margin-bottom: 36px; }
  .cta-section h2 { font-size: 1.08rem; }
}

/* --- TESTIMONIAL CARD (HIGH CONTRAST) --- */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 0px 40px 0px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 30px 24px 22px;
  background: var(--earth2);
  border-radius: 20px 28px 22px 20px / 18px 18px 18px 20px;
  box-shadow: 0 5px 21px 0 rgba(128,126,99,0.055);
  margin-bottom: 20px;
  margin-top: 14px;
  border-left: 3px solid var(--earth1);
  position: relative;
  font-size: 1.08rem;
  color: #24281b;
  transition: box-shadow 0.18s, border-left 0.16s;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.12rem;
  line-height: 1.65;
  margin-right: 18px;
}
.testimonial-card .client-name {
  font-family: var(--font-body);
  font-size: 1.01rem;
  color: var(--earth1);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-left: auto;
  align-self: flex-end;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 34px 0 rgba(128,126,99,0.13);
  border-left: 3px solid var(--secondary);
}
@media (max-width: 600px) {
  .testimonial-card { flex-direction: column; gap: 6px; padding: 13px 10px 16px 7px; }
  .testimonial-card blockquote { margin-right: 0; }
  .testimonial-card .client-name { margin-left: 0; align-self: flex-start; margin-top: 6px; }
}

/* --- FOOTER --- */
footer {
  background: var(--earth1);
  color: #fff;
  margin-top: 60px;
  padding: 36px 0 24px 0;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-flex > * { margin-bottom: 18px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--earth3);
  font-size: 1.02rem;
  font-family: var(--font-body);
  transition: color 0.18s, text-decoration 0.12s;
  text-decoration: underline dotted 1.5px var(--earth3);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline solid 1.5px var(--secondary);
}
.footer-contact {
  color: #f4f4f2;
  font-size: 1.02rem;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 1px;
}
footer img { filter: grayscale(22%) brightness(98%); width: 44px; height: 44px; border-radius: 12px; background: var(--accent); }
@media (max-width: 768px) {
  .footer-flex { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-nav { flex-direction: row; gap: 16px; }
  footer img { width: 36px; height: 36px; }
}

/* --- LEGAL PAGE SPECIFICS --- */
.legal .text-section h2 {
  font-size: 1.12rem;
  margin-top: 32px;
  color: var(--earth1);
}
.legal .text-section p, .legal .text-section ul li {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 7px;
}

/* --- THANK YOU PAGE --- */
.thank-you .content-wrapper { align-items: center; }
.thank-you p { margin-top: 9px; font-size: 1.12rem; color: var(--earth1); }

/* --- FLEX LAYOUTS for required classes --- */
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .card-container, .content-grid { flex-direction: column; gap: 16px; }
}
.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; }
}

/* --- MICRO-ANIMATIONS --- */
.cta-btn, .feature-item, .testimonial-card, .service-item, .card {
  transition: box-shadow 0.2s, background 0.18s, transform 0.10s;
}
.cta-btn:active, .feature-item:active, .service-item:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #eee8dd;
  color: var(--earth1);
  font-family: var(--font-body);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  box-shadow: 0 -6px 36px 0 rgba(34,40,49,0.12);
  padding: 26px 8vw 22px 8vw;
  z-index: 250;
  border-top: 2px solid #c8b6a6;
  animation: fadein 0.6s;
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: none; }
}
.cookie-banner-hidden {
  display: none !important;
}
.cookie-banner .banner-text {
  flex: 1 1 0%;
  font-size: 1.02rem;
  color: var(--earth1);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  font-family: var(--font-body);
  font-size: 1.01rem;
  font-weight: 600;
  padding: 12px 21px;
  border-radius: 18px;
  background: var(--earth3);
  border: none;
  color: var(--accent);
  outline: none;
  cursor: pointer;
  transition: background 0.2s, color 0.19s, box-shadow 0.13s;
  margin-right: 5px;
}
.cookie-btn.accept {
  background: var(--success);
  color: var(--primary);
}
.cookie-btn.reject {
  background: var(--danger);
  color: var(--accent);
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--earth1);
  color: var(--accent);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 15px 11px 16px 11px;
  }
  .cookie-banner .cookie-actions { flex-direction: column; gap: 9px; }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -56%) scale(1);
  background: var(--accent);
  padding: 36px 26px 22px 26px;
  border-radius: 28px 22px 18px 20px;
  box-shadow: 0 7px 40px 0 rgba(34,40,49,0.24);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  min-width: 300px;
  max-width: 94vw;
  max-height: 82vh;
  overflow-y: auto;
  animation: modalfadein 0.38s;
}
@keyframes modalfadein {
  from { opacity: 0; transform: translate(-50%, 36px) scale(0.94); }
  to { opacity: 1;   transform: translate(-50%, -56%) scale(1); }
}
.cookie-modal-hidden { display: none !important; }
.cookie-modal h2 {
  font-size: 1.13rem;
  color: var(--earth1);
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin: 7px 0 12px 0;
}
.cookie-modal .cookie-category label {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--primary);
  font-weight: 500;
}
.cookie-modal input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--success);
  border-radius: 10px;
}
.cookie-modal .cookie-category.essential label:after {
  content: ' (immer aktiv)';
  color: var(--earth3);
  font-size: 0.98rem;
  margin-left: 2px;
  font-style: italic;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 19px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn { margin: 0; }
@media (max-width: 730px) {
  .cookie-modal { min-width: 0; padding: 17px 5vw 13px 5vw; }
  .cookie-modal .cookie-modal-btns { flex-direction: column; gap: 9px; }
}

/* --- GEN. FORM ELEMENTS --- */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.07rem;
  padding: 11px 13px;
  background: #f6f4ee;
  border: 1.5px solid var(--earth1);
  color: var(--primary);
  border-radius: 12px;
  margin-bottom: 8px;
  outline: none;
  transition: border 0.14s, background 0.18s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  background: #eef9f0;
  border-color: var(--earth3);
}
label { font-family: var(--font-body); font-size: 1.03rem; }

/* ------ RESPONSIVE GENERAL ------ */
@media (max-width: 600px) {
  body, .container, .section, .hero, .contact, .about, .footer-flex {
    padding-left: 4px; padding-right: 4px;
  }
}

/* FIXED SPACING for content elements (overwrite margins on ul/li if needed) */
.content-wrapper > * + * {
  margin-top: 18px;
}
@media (max-width: 768px) {
  .hero, .about, .collections, .contact, .thank-you, .legal {
    padding: 18px 0;
    margin-bottom: 32px;
  }
  .content-wrapper { gap: 14px; }
}

/* --- ORGANIC BORDER/SHAPE UTILITIES --- */
.organic {
  border-radius: 26px 20px 18px 32px;
  box-shadow: 0 4px 26px 0 rgba(111, 126, 93, 0.10);
}

/* --- FOCUS STYLES for Accessibility --- */
a:focus, button:focus, .cta-btn:focus, .mobile-menu-toggle:focus {
  outline: 2px solid var(--earth3);
  box-shadow: 0 0 0 3px #e2eccf;
  z-index: 30;
}

/* --- Hide visually, keep for a11y --- */
.visually-hidden {
  position:absolute; width:1px; height:1px; padding:0; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
