/* Electropolis Kaffee Service – Futuristic Tech CSS Theme */

/* ---- CSS RESET & BASE ---- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: #202631;
  color: #F2E9DC;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(135deg, #202631 70%, #294155 100%);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #83A74B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D6DB73;
}
ul, ol {
  margin-left: 18px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #F2E9DC;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
h1 {
  font-size: 2.4rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.35rem;
}
strong {
  font-weight: 700;
}
blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #222831;
  background-color: #D6DB73;
  background: linear-gradient(90deg,#F2E9DC 65%, #D6DB73 100%);
  padding: 18px 30px;
  margin-bottom: 12px;
  border-left: 4px solid #83A74B;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 3px 18px 0 rgba(44,73,56,0.10);
  font-size: 1.125rem;
}

/* ---- CONTAINER & SECTIONS ---- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ---- HEADER & NAVIGATION ---- */
header {
  width: 100%;
  background: #181F25;
  box-shadow: 0 2px 16px 0 rgba(41,65,85,0.14);
  padding-top: 0;
  position: relative;
  z-index: 120;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
}
header a img {
  height: 48px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  color: #F2E9DC;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:not(.primary):hover,
.main-nav a:not(.primary):focus {
  color: #83A74B;
  text-shadow: 0 0 6px #B8E986;
}
.main-nav .primary {
  background: linear-gradient(90deg,#294155,#83A74B);
  color: #202631;
  border: none;
  border-radius: 28px;
  padding: 8px 24px;
  box-shadow: 0 2px 8px 0 rgba(44, 177, 136, 0.11);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  margin-left: 16px;
}
.main-nav .primary:hover, .main-nav .primary:focus {
  background: linear-gradient(90deg,#83A74B 60%,#4966A7);
  color: #F2E9DC;
  box-shadow: 0 6px 38px 0 #85FFA7;
}

.mobile-menu-toggle {
  display: none;
  background: #202631;
  color: #D6DB73;
  border: none;
  font-size: 2rem;
  height: 44px;
  width: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.1s;
  margin-left: 12px;
  z-index: 130;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #4966A7;
  color: #F2E9DC;
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: #202631;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.4,.05,.42,1), opacity 0.22s;
  opacity: 0;
  z-index: 3020;
  box-shadow: 0 2px 24px rgba(30,58,138,0.23);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #83A74B;
  font-size: 2.4rem;
  align-self: flex-end;
  margin: 20px 30px 0 0;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F2E9DC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding-left: 48px;
  padding-top: 18px;
}
.mobile-nav a {
  color: #F2E9DC;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.20rem;
  font-weight: 600;
  text-shadow: 0 0 14px #202631;
  padding: 8px 4px;
  border-radius: 4px;
  transition: color 0.14s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #83A74B;
  background: #293448;
}

/* ---- HERO AREA ---- */
.hero {
  width: 100%;
  background: linear-gradient(110deg,#294155 70%,#181F25 100%);
  padding: 70px 0 40px 0;
  margin-bottom: 0px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.6rem;
  background: -webkit-linear-gradient(90deg,#B8E986,#83A74B,#F2E9DC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  text-shadow: 0 3px 18px #2B664A44;
}
.hero p {
  font-size: 1.25rem;
  color: #F2E9DC;
  margin-bottom: 22px;
}
.hero .cta.primary {
  margin-top: 4px;
}

/* ---- FEATURES GRID ---- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
  justify-content: flex-start;
}
.feature {
  background: #242F3B;
  border-radius: 16px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 250px;
  max-width: 280px;
  flex: 1 1 240px;
  box-shadow: 0 8px 36px rgba(41,65,85,0.08);
  margin-bottom: 20px;
  position: relative;
  gap: 15px;
  border: 1px solid #294155;
  transition: box-shadow 0.22s, border-color 0.22s;
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 7px #83A74B44);
}
.feature h3 {
  font-size: 1.2rem;
  color: #B8E986;
  letter-spacing: .5px;
}
.feature p {
  font-size: 1rem;
  color: #F2E9DC;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 12px 48px #83A74B33, 0 2px 14px #00000022;
  border-color: #83A74B;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
  margin-bottom: 18px;
}
.testimonial-card {
  background: #F2E9DC;
  color: #222831;
  border-radius: 18px;
  box-shadow: 0 2px 22px #29415519;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border: 2px solid #83A74B55;
  min-width: 250px;
  max-width: 430px;
  flex: 1 1 320px;
  position: relative;
  transition: box-shadow 0.17s, border-color 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 28px #83A74B59;
  border-color: #294155;
}
.testimonial-card blockquote {
  color: #222831;
  background: #D6DB73;
  font-size: 1.05rem;
  border-left: 4px solid #83A74B;
  border-radius: 0 10px 10px 0;
  margin-bottom: 4px;
}
.testimonial-meta {
  color: #294155;
  font-size: 0.99rem;
}
.testimonial-meta strong {
  color: #294155;
  font-weight: 700;
}
.testimonial-meta span {
  color: #83A74B;
  font-size: 1.1rem;
  margin-left: 10px;
  letter-spacing: 1.5px;
}

/* ---- CARDS, GRIDS, & SECTIONS ---- */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #292F3B;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(39,136,109,0.07);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  color: #F2E9DC;
  min-width: 200px;
  max-width: 340px;
  flex: 1 1 240px;
  transition: box-shadow 0.18s, border-color 0.22s;
  border: 1.5px solid #294155;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 44px #83A74B44;
  border-color: #83A74B;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.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;
}

.text-section {
  width: 100%;
  background: transparent;
  padding: 0;
  color: #F2E9DC;
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.text-section ul, .faq-list ul { margin-bottom: 18px; }
.text-section li {
  color: #83A74B;
  margin-bottom: 8px;
}

.trust-badges {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 10px;
  align-items: center;
}
.trust-badges img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 10px #83A74B33);
  background: #F2E9DC;
  border-radius: 7px;
}

/* ---- SUPPORT LISTS AND PROMPTS ---- */
.support-prompt {
  background: #181F25;
  color: #F2E9DC;
  padding: 18px 18px 18px 28px;
  border-left: 3px solid #83A74B;
  border-radius: 10px;
  margin-top: 22px;
}

.contact-info {
  margin-top: 8px;
  margin-bottom: 0;
  padding-left: 4px;
  color: #BDDE69;
  font-size: 1.08rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #83A74B;
  background: none;
}
.contact-info img {
  width: 21px;
  height: 21px;
}

/* ---- FOOTER ---- */
footer {
  background: #181F25;
  padding: 32px 0 12px;
  border-top: 3px solid #294155;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 38px;
  flex-wrap: wrap;
  padding: 0;
}
.footer-menu {
  display: flex;
  gap: 26px;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 10px;
}
.footer-menu a {
  color: #B8E986;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.16s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #D6DB73;
}
.contact-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #83A74B;
  font-size: 1rem;
}
.contact-footer ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #83A74B;
}
.contact-footer li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #83A74B;
}
.contact-footer img {
  width: 20px;
  height: 20px;
}
.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.19s, transform 0.13s;
}
.social-links a:hover {
  filter: drop-shadow(0 0 12px #D6DB73AA);
  transform: scale(1.11);
}
footer {
  margin-top: 60px;
}

/* ---- CTA BUTTONS ---- */
.cta.primary {
  background: linear-gradient(90deg,#294155,#83A74B 80%);
  color: #181F25;
  border: none;
  border-radius: 26px;
  padding: 13px 34px;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 22px #83A74B33;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  transition: background 0.15s, color 0.16s, box-shadow 0.17s, transform 0.13s;
  display: inline-block;
  margin-top: 12px;
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(90deg,#83A74B 35%,#294155 99%);
  color: #F2E9DC;
  box-shadow: 0 8px 36px #83A74B66, 0 3px 18px #22283122;
  transform: translateY(-2px) scale(1.045);
}

/* ---- SERVICE LIST (for Wartung, Reparatur, FAQ) ---- */
.service-list {
  background: #1B232A;
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-list h3 {
  color: #83A74B;
  font-size: 1.10rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 7px;
}
.service-list ul {
  margin: 0 0 12px 18px;
}
.service-list li {
  margin-bottom: 6px;
  color: #CCD680;
}

/* ---- FAQ Section ---- */
.faq-list {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #232D37;
  border-radius: 9px;
  padding: 18px 22px 12px;
  box-shadow: 0 2px 10px #29415522;
  margin-bottom: 8px;
  transition: box-shadow 0.14s, border-color 0.16s;
  border-left: 4px solid #83A74B;
}
.faq-item h3 {
  color: #83A74B;
  font-size: 1.06rem;
  margin-bottom: 10px;
}
.faq-item div {
  color: #F2E9DC;
  font-size: 1rem;
}

/* ---- THANK YOU ---- */
.thank-you {
  background: #2A3440;
  padding: 60px 0;
  border-radius: 24px;
  box-shadow: 0 4px 24px #83A74B33;
  margin: 48px 0 0 0;
}
.thank-you h1 {
  color: #83A74B;
  font-size: 2.2rem;
}

/* ---- COOKIE CONSENT ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #181F25;
  color: #F2E9DC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 22px 28px;
  z-index: 4000;
  box-shadow: 0 -3px 18px #83A74B44;
  transition: transform 0.32s, opacity 0.19s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-message {
  color: #F2E9DC;
  font-size: 0.95rem;
  flex: 1;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  min-width: 120px;
  padding: 10px 20px;
  border: none;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, box-shadow 0.19s, outline 0.12s;
  margin-right: 4px;
}
.cookie-btn.accept {
  background: linear-gradient(90deg,#294155,#83A74B);
  color: #F2E9DC;
}
.cookie-btn.reject {
  background: #242F3B;
  color: #B8E986;
  border: 1px solid #83A74B;
}
.cookie-btn.settings {
  background: #83A74B;
  color: #242F3B;
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: 0 1px 18px #83A74B55;
  outline: 2px solid #83A74B;
}

/* ---- COOKIE MODAL ---- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4010;
  inset: 0;
  background: rgba(28,36,45,0.90);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.17s;
}
.cookie-modal {
  background: #232D37;
  color: #F2E9DC;
  padding: 32px 30px 22px 30px;
  border-radius: 16px;
  max-width: 480px;
  width: 94vw;
  box-shadow: 0 6px 44px #83A74B44;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
  position: relative;
  animation: popModal 0.20s cubic-bezier(.7,.2,.4,1);
}
@keyframes popModal {
  0% { transform: scale(0.93); opacity:0; }
  100% { transform: scale(1); opacity:1; }
}
.cookie-modal h2 {
  color: #B8E986;
  font-size: 1.2rem;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 0;
}
.cookie-category input[type="checkbox"] {
  accent-color: #83A74B;
  width: 20px;
  height: 20px;
}
.cookie-modal .modal-actions {
  display: flex;
  width: 100%;
  gap: 16px;
  margin-top: 14px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: #BDDE69;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .close-modal:hover {
  color: #F2E9DC;
}

/* ---- RESPONSIVE DESIGN ---- */
@media (max-width: 1150px) {
  .footer-menu { flex-wrap: wrap; gap: 14px; }
  .features-grid { gap: 24px; }
  .testimonials { gap: 24px; }
}
@media (max-width: 990px) {
  .features-grid, .testimonials, .card-container, .card-grid {
    gap: 18px;
    justify-content: flex-start;
  }
  .trust-badges { gap: 10px; }
}
@media (max-width: 890px) {
  .main-nav { gap: 17px; }
  .footer-menu { gap: 10px; }
  .footer .content-wrapper { gap: 12px; }
  .trust-badges img { width: 32px; height: 32px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .features-grid, .testimonials, .card-container, .content-grid, .card-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature, .card, .testimonial-card {
    min-width: 0;
    max-width: 98vw;
    width: 100%;
  }
  .hero {
    padding: 36px 0 18px 0;
  }
  .container { padding-left: 8px; padding-right: 8px; }
  .section { padding: 20px 7px; }
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .trust-badges, .social-links {
    gap: 10px;
    flex-wrap: wrap;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 10px;
  }
  .cookie-banner .cookie-actions { gap: 9px; }
  .cookie-modal { padding: 16px 8px 12px 13px; }
}
@media (max-width: 450px) {
  .hero h1 { font-size: 1.35rem; }
  h2 { font-size: 1.2rem; }
  header .container { padding: 8px 5px 8px 7px; }
}

/* ---- ANIMATIONS / MICRO-INTERACTIONS ---- */
.feature:after {
  content: '';
  position: absolute;
  right: 14px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #B8E986;
  opacity: 0.12;
  filter: blur(2px);
}
.feature:hover:after {
  opacity: 0.4;
  filter: blur(5px);
}
.cta.primary:active { transform: translateY(1px) scale(0.98); }

/* ---- ACCESSIBILITY ---- */
:focus {
  outline: 2px solid #83A74B;
  outline-offset: 1px;
}

/* ---- UTILITIES ---- */
.hide { display: none !important; }
.visible { display: block !important; }

/* ---- PRINT STYLES ---- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff; color: #111; }
}
