/* ========================================================
   BlitzKurier Berlin - Nature Organic CSS Stylesheet
   Author: Professional UI/CSS Designer
   Brand style: Modern, trustworthy, nature_organic
   Font stack: Montserrat (display), Roboto (body)
   Color palette: Earth tones, green accents, natural textures
   ======================================================== */

/* CSS RESET + NORMALIZE */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body, html { height: 100%; }
body, input, button, select, textarea { font-family: 'Roboto', Arial, sans-serif; background: #F7F8F5; color: #1A2641; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; padding-left: 0; }
a { color: inherit; text-decoration: none; }
button, [type='button'], [type='submit'] { cursor: pointer; border: none; background: none; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 16px; text-align: left; }

/* =====================
   COLOR & FONT DEFINITIONS
   ===================== */
:root {
  --primary: #1A2641;
  --secondary: #FFD100;
  --accent: #F4F4F4;
  --earth-brown: #7C6144;
  --earth-beige: #E8E2D6;
  --organic-green: #568058;
  --organic-green-light: #E6F4E7;
  --alert-red: #B94F33;
  --gray-700: #525252;
  --gray-900: #191919;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 8px;
  --shadow-card: 0 8px 24px rgba(44, 62, 45, 0.09);
  --shadow-light: 0 2px 8px rgba(44, 62, 45, 0.05);
}

body {
  background: var(--accent);
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--primary);
}
h1 { font-size: 2.5rem; line-height: 1.18; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; color: var(--organic-green); }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; }

@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

strong, b {
  font-weight: 700;
  color: var(--organic-green);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
}

.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}

.text-section:not(:last-child) {
  margin-bottom: 28px;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  width: 100%;
  background: linear-gradient(90deg, #E8E2D6 0%, #F4F9EC 100%);
  box-shadow: 0 6px 14px rgba(60,54,14,0.03);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 18px 0 14px 0;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-shrink: 1;
}
.main-nav a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--organic-green);
  font-weight: 600;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--organic-green-light);
  color: var(--primary);
}

.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 32px;
  background: var(--organic-green);
  color: #fff;
  border-radius: 32px;
  box-shadow: var(--shadow-card);
  font-weight: 700;
  letter-spacing:0.04em;
  transition: background 0.18s, transform 0.18s;
  border: none;
  outline: none;
  margin-left: 18px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #426945;
  transform: translateY(-2px) scale(1.04);
}

/* BURGER (MOBILE MENU) */
.mobile-menu-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  z-index: 1060;
  border-radius: 50%;
  border: 2px solid var(--organic-green);
  background: #fff;
  color: var(--organic-green);
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  box-shadow: 0 2px 8px rgba(86,128,88, 0.28);
  background: var(--organic-green-light);
}
@media (max-width: 990px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(90deg, #F4F9EC 65%, #E6F4E7 100%);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.86,0,0.07,1), opacity 0.23s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 22px 0 0;
  font-size: 2.2rem;
  background: none;
  color: var(--organic-green);
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--organic-green-light);
}
.mobile-nav {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--organic-green);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 16px 0;
  width: 100vw;
  text-align: center;
  border-radius: var(--radius-md);
  transition: background 0.2s, color 0.32s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--earth-beige);
  color: var(--gray-900);
}

@media (max-width: 990px) {
  .mobile-menu {
    display: flex;
  }
}


/* =====================
   HERO & CORE SECTIONS
   ===================== */
.hero, section:first-of-type {
  background: linear-gradient(120deg, #E8E2D6 58%, #E6F4E7 100%);
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  box-shadow: 0 4px 32px rgba(86, 128, 88, 0.06);
  min-height: 25vh;
  margin-top: 0;
}

/* =====================
   FEATURE GRIDS & CARDS
   ===================== */
.feature-grid, .card-container, .features, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin: 0 0 20px 0;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 18px 20px 18px;
  min-width: 250px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover, .feature-grid > div:hover {
  box-shadow: 0 12px 26px rgba(86, 128, 88, 0.11);
  transform: translateY(-4px) scale(1.018);
}
.feature-grid > div, .features > div {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-light);
  flex: 1 1 210px;
  min-width: 210px;
  padding: 24px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  border-left: 7px solid var(--organic-green);
  transition: box-shadow 0.18s, border-color 0.18s;
}
.feature-grid > div:hover {
  border-left: 7px solid var(--secondary);
}
.feature-grid img {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--organic-green-light);
  padding: 8px;
  box-shadow: 0 1px 6px rgba(86,128,88, 0.13);
}

/* =====================
   TESTIMONIAL SLIDER/CARDS
   ===================== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 -12px 0 0;
  align-items: stretch;
}
.testimonial-card {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-light);
  margin-bottom: 20px;
  border-left: 5px solid var(--organic-green);
  min-width: 220px;
  transition: box-shadow 0.2s, border-left 0.23s;
  color: #232416;
}
.testimonial-card p {
  font-size: 1.06rem;
  color: #232416;
}
.testimonial-author {
  font-size: 0.95rem;
  color: var(--organic-green);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(44, 62, 45, 0.14);
  border-left: 5px solid var(--secondary);
}

/* =====================
   TABLES (PRICING/OPENING)
   ===================== */
.pricing-table, .opening-hours-table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-top: 16px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td, .opening-hours-table th, .opening-hours-table td {
  padding: 14px 18px;
  font-size: 1rem;
  border-bottom: 1px solid #E8E2D6;
}
.pricing-table th {
  background: var(--organic-green-light);
  color: var(--primary);
}
.pricing-table tr:last-child td, .opening-hours-table tr:last-child td {
  border-bottom: none;
}

/* ========== BUTTONS & CTAS ========== */
.btn-primary, .express-cta .btn-primary {
  border: none;
  outline: none;
  background: var(--organic-green);
  color: #fff;
  border-radius: 32px;
  box-shadow: var(--shadow-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  padding: 12px 32px;
  font-weight: 700;
  letter-spacing:0.04em;
  margin-top: 8px;
  transition: background 0.18s, transform 0.18s;
  display: inline-block;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #426945;
  transform: translateY(-2px) scale(1.04);
}

@media (max-width: 600px) {
  .btn-primary {
    width: 100%;
    font-size: 1rem;
    padding: 12px 0;
  }
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: #E8E2D6;
  padding: 38px 0 14px 0;
  border-top-right-radius: 36px;
  border-top-left-radius: 36px;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 42px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav nav a {
  font-size: 1rem;
  color: var(--organic-green);
  padding: 3px 0;
  transition: color 0.25s;
}
.footer-nav nav a:hover { color: var(--primary); }
.footer-contact {
  font-size: 0.95rem;
  color: var(--earth-brown);
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 8px;
}
.footer-contact a {
  color: var(--organic-green);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.21s;
}
.footer-contact a:hover { color: var(--primary); }

@media (max-width: 820px) {
  .footer-nav { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* ========== SPECIAL BLOCKS ========== */
.address-block, .contact-details, .location-description, .map-mockup, .calculator-mockup {
  background: var(--organic-green-light);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-light);
}

.map-mockup img {
  display: block;
  margin: 0 auto;
}

.calculator-mockup {
  text-align: center;
  font-size: 1rem;
  color: #475642;
  font-style: italic;
}

/* ========== TARIFF, PRICE, FAQ DETAILS ========== */
.price-notes, .tariff-details, .legal-text {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px 18px 16px 18px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: #232416;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-accordion h3 {
  font-size: 1.1rem;
  color: var(--organic-green);
  cursor: pointer;
}
.faq-accordion p {
  margin-top: 4px;
  color: #1A2641;
  font-size: 1rem;
}

/* ========== MODALS & COOKIE BANNERS ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fffbe8;
  box-shadow: 0 -2px 16px rgba(44,62,45,0.1);
  padding: 24px 18px 21px 18px;
  z-index: 1200;
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  font-size: 1rem;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  transition: transform 0.3s cubic-bezier(0.86,0,0.07,1), opacity 0.23s;
}
.cookie-banner.hidden { transform: translateY(120%); opacity: 0; pointer-events:none; }
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 30px;
  font-size: 1rem;
  padding: 8px 20px;
  background: var(--organic-green);
  border: none;
  color: #fff;
  margin-right: 0;
  transition: background 0.15s;
  font-weight: 600;
}
.cookie-banner button:hover, .cookie-banner button:focus { background: #426945; }
.cookie-banner .btn-reject {
  background: #fff;
  color: var(--earth-brown);
  border: 1.5px solid var(--earth-brown);
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus { background: var(--earth-beige); color: var(--alert-red); border-color: var(--alert-red); }
.cookie-banner .btn-settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus { background: #ffe248; }

/* Cookie modal overlay */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(30, 46, 65, 0.25);
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.23s;
}
.cookie-modal-backdrop.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 34px;
  box-shadow: 0 8px 40px rgba(44,62,45,0.18);
  padding: 38px 32px 26px 32px;
  max-width: 430px;
  width: 95vw;
  z-index: 1260;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookieModalIn 0.32s cubic-bezier(0.86,0,0.07,1);
}
@keyframes cookieModalIn {
  from { opacity:0; transform: translateY(40px) scale(1.03); }
  to { opacity:1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--organic-green);
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 9px;
}
.cookie-modal .toggle {
  appearance:none;
  width:36px; height:18px;
  border-radius:20px;
  background: var(--earth-beige);
  position: relative;
  outline: none;
  box-shadow: var(--shadow-light);
  margin-right: 12px;
  transition: background 0.17s;
}
.cookie-modal .toggle:checked {
  background: var(--organic-green);
}
.cookie-modal .toggle:before {
  content: "";
  position:absolute;
  top: 2px; left:2px;
  width:14px; height:14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-modal .toggle:checked:before {
  transform: translateX(18px);
}
.cookie-modal .btn-save {
  background: var(--organic-green);
  color:#fff;
  padding: 11px 28px;
  border-radius: 32px;
  font-size: 1.08rem;
  font-weight: 700;
  transition: background 0.2s;
  border: none;
  margin-top: 8px;
}
.cookie-modal .btn-save:hover, .cookie-modal .btn-save:focus {
  background: #426945;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px; right: 14px;
  font-size: 1.35rem;
  background: none;
  border: none;
  color: var(--organic-green);
  cursor: pointer;
}
.cookie-modal .close-modal:hover { color: var(--primary); }
.cookie-category-label {
  color: var(--gray-700); font-weight: 500;
}
.cookie-category-essential {
  color: var(--primary);
  font-size: 1rem;
  font-style: italic;
  opacity: 0.7;
}

/* ========== UTILITIES ========== */
.section + .section { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mb-20 { margin-bottom: 20px; }
.pb-16 { padding-bottom: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-center { justify-content: center; }

/* =====================
   RESPONSIVE DESIGN
   ===================== */
@media (max-width: 990px) {
  .nav-bar { flex-direction: row; }
  .container { padding: 0 5px; }
  .section { padding: 32px 3vw; margin-bottom: 36px; }
  .footer-nav { flex-direction: column; gap: 20px; }
}
@media (max-width: 760px) {
  .footer-nav, .content-wrapper, .feature-grid, .testimonial-slider, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .section { padding: 28px 3vw; }
  .main-nav, .nav-bar a.btn-primary { display: none; }
  .footer-nav {
    padding: 0 2vw;
  }
  .card, .feature-grid > div, .testimonial-card {
    min-width: 0;
    width: 100%;
    margin-bottom: 20px;
  }
}
@media (max-width: 560px) {
  .container { padding: 0 2px; }
  .section { border-radius: var(--radius-sm); padding: 15vw 2vw 16vw 2vw; }
  .footer-nav { border-radius: 0; }
}

/* Text-image-section rule,
   e.g., for text-image layouts */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* Cards & Feature items alignment */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Miscellaneous
   -------------- */
a, button:focus { outline: 2px solid var(--secondary); outline-offset:2px; }
::-webkit-scrollbar { width: 8px; background: var(--earth-beige); }
::-webkit-scrollbar-thumb { background: var(--organic-green); border-radius: 8px; }

/* Subtle details for organic look */
.section, .card, .feature-grid > div, .testimonial-card {
  background-image: url('data:image/svg+xml;utf8,<svg opacity=".07" width="120" height="80" xmlns="http://www.w3.org/2000/svg"><ellipse cx="60" cy="40" rx="53" ry="28" fill="%23568058"/></svg>');
  background-repeat: no-repeat;
  background-size: 180px 80px;
  background-position: right 16px bottom 8px;
}

/* Decorative corner for cards - no absolute content! */
.card::after, .feature-grid > div::after, .testimonial-card::after {
  content: "";
  display: block;
  position: absolute;
  top: -18px; right: -24px;
  width: 45px;
  height: 45px;
  background: radial-gradient(ellipse at 60% 30%, var(--organic-green-light) 41%,transparent 78%);
  opacity: 0.23;
  z-index: 1;
  border-radius: 40px;
  pointer-events: none;
}

@media (max-width: 600px) {
  .card::after, .feature-grid > div::after, .testimonial-card::after { width: 27px; height: 27px; top: -9px; right: -11px; }
}

/* =================
   END OF CSS FILE
   ================= */
