/* ========================================================
   nature_organic STYLE.CSS for Carreaggro Sammlerclub
   FLEXBOX LAYOUT ONLY — NO GRID/COLUMNS
   Color palette: Deep green/navy, muted mustard, fern green, natural sand, soft gray
   Primary font: Merriweather (serif display), Body font: Roboto (sans-serif)
   ======================================================== */

/* ===== 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #f4f4f4;
  color: #264653;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%; height: auto; display: block;
}
a { color: #528b68; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #2a6f46; text-decoration: underline; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, Times, serif;
  color: #264653;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.1rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
h4, h5, h6 { font-size: 1rem; }
p, ul, ol, table { margin-bottom: 18px; }
ul, ol {
  padding-left: 24px;
  margin-top: 8px;
}
li {
  margin-bottom: 8px;
}
strong, b { font-weight: bold; }
em, i   { font-style: italic; }
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
  background: #f8f3ea;
  border-radius: 12px;
  overflow: hidden;
}
th, td {
  border: none;
  padding: 14px 16px;
  text-align: left;
}
th {
  background: #BAD7B4;
  color: #264653;
  font-weight: 700;
}
td {
  border-bottom: 1px solid #e2dec6;
}
tr:last-child td { border-bottom: none; }

/* ===== Organic/Natural Shape helpers ===== */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px 32px 24px 40px / 38px 28px 36px 24px;
  box-shadow: 0 6px 28px rgba(82,139,104,0.07), 0 1.5px 6px rgba(38,70,83,0.03);
  transition: box-shadow .24s;
}
section.hero {
  background: #e9c46a2b;
  border-radius: 0 0 48px 48px / 0 0 52px 52px;
  padding-top: 56px;
  padding-bottom: 56px;
  margin-bottom: 48px;
  box-shadow: none;
}
.content-wrapper, .text-section {
  max-width: 890px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ====== BRANDED BUTTONS ====== */
.btn-primary {
  background: #26734d;
  color: #fff;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  padding: 13px 32px;
  border: none;
  border-radius: 32px 24px 32px 30px;
  box-shadow: 0 2px 12px rgba(38,70,83,0.13);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.18s, color 0.18s, box-shadow .2s;
  margin-top: 10px;
  margin-bottom: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #184c34;
  color: #e9c46a;
  box-shadow: 0 4px 24px rgba(38,70,83,0.22);
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ===== NAVIGATION ===== */
header {
  background: #264653;
  color: #fff;
  padding: 0;
  box-shadow: 0 6px 20px rgba(38,70,83,0.09);
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img[alt="Carreaggro Sammlerclub"] {
  height: 42px;
  width: auto;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  color: #f4f4f4;
  font-size: 1rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 18px 18px 12px 22px;
  transition: background .14s, color .14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #2a6f46;
  color: #e9c46a;
}
/* Burger for mobile */
.mobile-menu-toggle {
  display: none;
  background: #26734d;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  margin-left: 18px;
}
.mobile-menu-toggle:hover,.mobile-menu-toggle:focus { background: #2a6f46; }

/* ===== Mobile Menu Overlay ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38, 70, 83, 0.97);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.85, 0.12, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px 24px 24px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: #fff0;
  position: absolute;
  top: 26px; right: 30px;
  background: #26734d;
  color: #fff;
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: #e76f51; color:#fff; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  padding: 14px 12px;
  border-radius: 26px 26px 18px 18px;
  background: none;
  transition: background .14s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2a6f46;
  color: #e9c46a;
}

/* Hide desktop menu on mobile, show burger */
@media (max-width: 980px) {
  .main-nav { display: none !important; }
  .btn-primary[href*="mitgliedschaft.html"] { display: none !important; } /* Hide join/membership button in desktop bar on mobile */
  .mobile-menu-toggle { display: flex !important; }
}
@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ========== HERO SECTION ========== */
.hero {
  background: #e9c46a29;
  position: relative;
  border-radius: 0 0 48px 48px / 0 0 52px 52px;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 280px;
  box-shadow: none;
}
.hero .container { align-items: center; justify-content: center; }
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 16px;
}
.hero h1 {
  color: #264653;
  font-size: 2.6rem;
  margin-bottom: 16px;
}
.hero p {
  color: #26734d;
  max-width: 600px;
  margin: 0 auto 12px auto;
  font-size: 1.18rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}

/* ============ FEATURE GRID / ORGANIC ICON CARDS ============= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 12px;
}
.feature-grid li {
  background: #BAD7B4;
  border-radius: 32px 14px 32px 22px;
  box-shadow: 0 2px 12px rgba(38,70,83,0.08);
  padding: 24px 22px 20px 22px;
  flex: 1 1 240px;
  min-width: 210px; max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow .2s, background .18s;
  border: 1px solid #e2dec6;
}
.feature-grid li:hover, .feature-grid li:focus {
  background: #e9c46a3a;
  box-shadow: 0 4px 28px rgba(38,70,83,0.15);
}
.feature-grid img {
  width: 38px; height: 38px;
  margin-bottom: 2px;
  border-radius: 40% 35% 60% 35%/45% 50% 40% 45%;
}
.feature-grid h3 {
  color: #184c34;
  margin-bottom: 2px;
}
.feature-grid p {
  color: #264653;
  font-size: 1rem;
  margin-bottom: 0;
}

/* ========== TESTIMONIAL CARDS ========== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f6f9f4;
  border-left: 7px solid #2a6f46;
  border-radius: 23px 24px 23px 42px;
  box-shadow: 0 2px 12px rgba(38,70,83,0.06);
  max-width: 560px;
  color: #264653;
}
.testimonial-card p {
  color: #264653;
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.testimonial-card strong {
  color: #26734d;
  font-size: 1rem;
  font-weight: bold;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 4px 24px rgba(38,70,83,0.15);
  border-left-color: #E9C46A;
  background: #fffbe8;
}

/* ========== FOOTER ========== */
footer {
  background: #23413a;
  color: #e5e7e4;
  padding: 38px 0 14px 0;
  border-top-left-radius: 40px 24px;
  border-top-right-radius: 55px 28px;
  box-shadow: 0 -3px 17px rgba(38,70,83,0.06);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
  justify-content: center;
}
.footer-nav a {
  color: #e9c46a;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: color .15s;
  padding: 4px 10px;
  border-radius: 10px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #BAD7B4;
  background: #2a6f46;
}
.contact-details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.contact-details span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  color: black;
}
.contact-details img {
  width: 20px; height: 20px;
  margin-right: 3px;
}
footer p {
  font-size: 0.94rem;
  color: #b9bdb7;
  text-align: center;
  margin: 0;
}

/* ========== COMMON PAGE MODULES ========== */
.text-section {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  gap: 14px;
}
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-list li {
  background: #F2F0EB;
  border-radius: 20px 25px 18px 30px;
  box-shadow: 0 2px 11px rgba(38,70,83,0.06);
  padding: 22px 26px;
  min-width: 210px; max-width: 320px;
  font-size: 1rem;
  margin-bottom: 20px;
  flex: 1 1 180px;
}
.team-list em {
  display: block;
  margin-top: 7px;
  color: #26734d;
}
.contact-details {
  margin-bottom: 0;
}

.location-map p {
  color: #26734d;
  font-style: italic;
  margin-top: 11px;
}

/* ========== TABLE STYLING ========== */
table {
  font-size: 1rem;
  background: #fbfaee;
  border: 1.5px solid #e2dec6;
}
th, td {
  padding: 13px 10px;
}
th {
  background: #e9c46a3a;
  color: #26734d;
}

/* ========== CARD PATTERNS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #effaf3;
  border-radius: 22px 20px 28px 18px;
  box-shadow: 0 2px 10px rgba(38,70,83,0.07);
  padding: 20px 16px;
  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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== FORM ELEMENTS ========== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border: 1.5px solid #BAD7B4;
  border-radius: 12px;
  background: #fff;
  color: #264653;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #26734d;
  border-color: #264653;
}
label {
  display: block;
  margin-bottom: 6px;
  color: #26734d;
  font-weight: 500;
}

/* ===== MEDIA QUERIES FOR RESPONSIVENESS ===== */
@media (max-width: 980px) {
  .container { max-width: 100%; padding-left: 8px; padding-right: 8px; }
  section, .section { padding: 28px 7px; margin-bottom: 38px; }
  .footer-nav, .contact-details { gap: 16px; font-size: 0.97rem; }
  .feature-grid { gap: 16px; }
  .card-container, .team-list { gap: 12px; }
}
@media (max-width: 900px) {
  .feature-grid li, .team-list li {
    min-width: 100px; max-width: 100%; flex: 1 1 100%;
    padding: 18px 8px;
  }
}
@media (max-width: 720px) {
  .hero .content-wrapper { padding-left: 0; padding-right: 0; }
  .hero { min-height: 190px; }
}
@media (max-width: 640px) {
  .section, section { padding: 18px 2vw; border-radius: 19px; }
  .feature-grid { flex-direction: column; gap: 20px; }
  .feature-grid li { max-width: 100%; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  .btn-primary { font-size: 0.98rem; padding: 10px 18px; }
  .hero {
    border-radius: 0 0 20px 20px / 0 0 30px 30px;
    padding-top: 26px; padding-bottom: 29px;
  }
}
@media (max-width: 768px) {
  
  .content-grid,
  .card-container,
  .team-list {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .text-image-section { flex-direction: column !important; gap: 16px; }
  .footer-nav { gap: 14px; }
}

/* ====== Cookie Banner SYSTEM ======= */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: #e9c46a;
  color: #264653;
  box-shadow: 0 -2px 14px rgba(38,70,83,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 18px 16px 20px 16px;
  font-size: 1rem;
  line-height: 1.6;
  border-top-left-radius: 30px 12px;
  border-top-right-radius: 38px 16px;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(.68,-0.55,.27,1.55);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.cookie-banner button, .cookie-banner .btn {
  font-family: 'Roboto',Arial,sans-serif;
  font-size: 1rem;
  padding: 8px 18px;
  border: none;
  border-radius: 19px 19px 17px 11px;
  font-weight: 700;
  cursor: pointer;
  margin: 0 2px;
  box-shadow: 0 1px 4px rgba(38,70,83,0.10);
  transition: background .15s, color .15s;
}
.cookie-banner .accept-all { background: #26734d; color: #fff; }
.cookie-banner .accept-all:hover, .cookie-banner .accept-all:focus { background: #184c34; color: #e9c46a; }
.cookie-banner .reject-all { background: #bad7b4; color: #264653; }
.cookie-banner .reject-all:hover, .cookie-banner .reject-all:focus { background: #f4f4f4; }
.cookie-banner .settings-btn { background: #fff; color: #26734d; border:1px solid #bad7b4; }
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus { background: #eaeedd; color: #26734d; }

/* Cookie Preferences MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(38,70,83, 0.63);
  z-index: 4100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .26s;
}
.cookie-modal.hide { opacity: 0; pointer-events: none; }
.cookie-modal-content {
  background: #fffce8;
  color: #264653;
  border-radius: 32px 25px 30px 40px;
  padding: 36px 30px 30px 30px;
  max-width: 420px;
  width: 95vw;
  box-shadow: 0 8px 32px rgba(38,70,83,0.18);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.cookie-modal-header {
  font-family: 'Merriweather',serif;
  font-size: 1.3rem;
  color: #26734d;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #bad7b4;
  font-size: 1rem;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-toggle {
  position: relative;
  width: 46px; height: 24px;
  display: inline-flex;
  align-items: center;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0; width: 0; height: 0;
}
.cookie-slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #bad7b4;
  border-radius: 19px;
  transition: background .15s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #26734d;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform .22s;
  box-shadow: 0 2px 7px rgba(38,70,83,0.10);
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(22px);
}
.cookie-modal-close {
  position: absolute; top:14px; right: 16px;
  font-size: 1.9rem;
  background: #26734d;
  color: #fff;
  border-radius: 50%;
  width: 35px; height: 35px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  transition: background .15s;
  z-index: 2;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #e76f51; color: #fff; }

.cookie-modal .modal-actions {
  display: flex; flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}
.cookie-modal .modal-actions .btn {
  font-family: 'Roboto',Arial,sans-serif;
  font-size: 1rem;
  padding: 9px 17px;
  background: #26734d;
  color: #fff;
  border-radius: 20px 20px 11px 11px;
  font-weight: 700;
  border: none;
  transition: background .15s, color .15s;
}
.cookie-modal .modal-actions .btn:hover,
.cookie-modal .modal-actions .btn:focus {
  background: #E9C46A; color: #26734d;
}

@media (max-width: 480px) {
  .cookie-modal-content { padding: 18px 7px 18px 12px; font-size: 0.98rem; }
  .cookie-modal-header { font-size: 1.04rem; }
}

/* ========== Miscellaneous ========== */
::-webkit-input-placeholder { color: #26734d; }
::-moz-placeholder { color: #26734d; }
:-ms-input-placeholder { color: #26734d; }
::placeholder { color: #26734d; }

hr {
  border: 0; border-top: 1px solid #bad7b4;
  margin: 32px 0 21px 0;
}

/* ========== Hide scroll on mobile menu/modal open (handled by JS usually) ========== */
.no-scroll { overflow: hidden!important; }
