/* Boxro Primu Reinigung - Minimalist CSS Theme (Flexbox only, Responsive, Animations, Brand Colors, All Components) */

/* ===== CSS 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, menu, 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, 
main, 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; height: 100%; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #173a43;
  background: #fff;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: #185466; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #3cab96; outline: none; }
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}

/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #185466;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.2; }
h3 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.3; }
h4, h5, h6 { font-size: 1rem; }

p, ul, ol, li, dl, dd, dt, table { font-size: 1rem; }
p { margin-bottom: 18px; color: #253b42; }
.small { font-size: 0.93rem; color: #53737c; }


/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

main {
  margin-top: 30px;
  margin-bottom: 80px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(24,84,102,0.05);
}
@media (max-width: 768px) {
  .section { padding: 28px 10px; margin-bottom: 36px; }
}

/* ===== FLEXBOX PATTERNS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(24,84,102,0.07);
  transition: box-shadow 0.2s, transform 0.17s;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  flex: 1 1 260px;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(24,84,102,0.12);
  transform: translateY(-2px) scale(1.01);
}

.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;
}
@media (max-width: 768px) {
  .content-grid { flex-direction: column; gap: 16px; }
  .text-image-section { flex-direction: column; gap: 20px; }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  margin-bottom: 20px;
  background: #f7f7f2;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(24,84,102,0.06);
  min-width: 220px;
  flex: 1 1 310px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(24,84,102,0.12);
  transform: translateY(-2px);
}
.testimonial-header {
  font-weight: 700;
  color: #185466;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 2px;
  font-size: 1.05rem;
}
.testimonial-body p {
  color: #222;
  font-size: 1.04rem;
  margin-bottom: 0;
  font-style: italic;
}
.star-rating {
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  color: #3cab96;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: #f7f7f2;
  border-radius: 16px;
  margin-bottom: 56px;
  padding: 44px 0 44px 0;
  box-shadow: 0 2px 22px 0 rgba(24,84,102,0.07);
}
.hero h1 {
  margin-bottom: 18px;
  font-size: 2.25rem;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 30px;
  color: #3e5c65;
}

/* ===== NAVIGATION & HEADER ===== */
header {
  box-shadow: 0 2px 12px 0 rgba(24,84,102,0.04);
  background: #fff;
  position: relative;
  padding: 0;
}
header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  min-height: 78px;
  z-index: 30;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  padding: 6px 0 6px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #173a43;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.18s;
}
header nav a:hover,
header nav a:focus {
  color: #3cab96;
  border-bottom: 2px solid #3cab96;
}
.cta-button {
  display: inline-block;
  background: #185466;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 13px 30px;
  border: none;
  border-radius: 44px;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  box-shadow: 0 1px 4px 0 rgba(24, 84, 102, 0.05);
  cursor: pointer;
  letter-spacing: 0.03em;
  margin-left: 20px;
}
.cta-button:hover, .cta-button:focus {
  background: #3cab96;
  color: #fff;
  transform: translateY(-1px) scale(1.035);
}
.cta-button:active {
  background: #14505a;
}

/* Logo sizing */
header img, footer img {
  max-height: 38px;
  width: auto;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #185466;
  cursor: pointer;
  margin-left: 20px;
  z-index: 110;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus { outline: 2px solid #3cab96; }

.mobile-menu {
  display: none;
  position: fixed;
  z-index: 1200;
  left: 0; top: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,84,102, 0.92);
  backdrop-filter: blur(3px);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.72,0,.34,1.22);
}
.mobile-menu.open {
  display: block;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  cursor: pointer;
  z-index: 1250;
}
.mobile-menu-close:focus { outline: 2px solid #3cab96; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 70px;
  margin-left: 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.32rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #3cab96;
  border-bottom: 2px solid #3cab96;
}

@media (max-width: 1050px) {
  header nav,
  header .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1051px) {
  .mobile-menu { display: none !important; }
}

/* ===== FOOTER ===== */
footer {
  background: #f7f7f2;
  border-top: 1px solid #ebede6;
  padding: 40px 0 20px 0;
  color: #185466;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 10px;
}
footer nav a {
  color: #185466;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-bottom: 1.5px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
footer nav a:hover,
footer nav a:focus { color: #3cab96; border-bottom: 1.5px solid #3cab96; }
.footer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.footer-contact img {
  max-height: 28px;
  margin-right: 5px;
}
.footer-legal {
  font-size: 0.95rem;
  color: #53737c;
  margin-top: 6px;
}
@media (max-width: 600px) {
  footer .container { padding-left: 8px; padding-right: 8px; }
  .footer-contact { flex-direction: column; gap: 4px; text-align: center; }
}

/* ===== FEATURE & SERVICE GRIDS ===== */
.feature-grid, .service-list, .service-grid, .review-list, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.feature {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 7px 0 rgba(24,84,102,0.07);
  padding: 24px 18px 20px 18px;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.14s;
}
.feature img {
  height: 38px;
  width: 38px;
  margin-bottom: 14px;
}
.feature h3 {
  font-size: 1.13rem;
  margin-bottom: 7px;
  color: #185466;
}
.feature p {
  font-size: 1rem;
  color: #253b42;
}
.feature:hover {
  box-shadow: 0 5px 18px 0 rgba(24,84,102,0.10);
  transform: translateY(-2px) scale(1.03);
}

.service {
  background: #f7f7f2;
  border-radius: 14px;
  box-shadow: 0 1.5px 7px 0 rgba(24,84,102,0.05);
  padding: 18px 16px 18px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
  flex: 1 1 260px;
  align-items: flex-start;
  transition: box-shadow 0.18s;
}
.service img {
  height: 34px;
  width: 34px;
  margin-bottom: 10px;
}
.service h2, .service h3 {
  font-size: 1.14rem;
  color: #185466;
}
.service p {
  font-size: 1rem; color: #253b42; margin-bottom: 0;
}
.service:hover {
  box-shadow: 0 5px 18px 0 rgba(24,84,102,0.12);
}

@media (max-width: 900px) {
  .feature-grid, .review-list, .testimonial-slider, .service-list, .service-grid { gap: 16px; flex-direction: column; }
  .feature, .service, .testimonial-card, .card { min-width: 0; flex: 1 1 100%; }
}


/* ===== TABLES (PRICES) ===== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1.5px 7px 0 rgba(24,84,102,0.06);
  overflow: hidden;
}
.price-table th, .price-table td {
  text-align: left;
  padding: 12px 18px;
  font-size: 1rem;
  color: #153950;
}
.price-table th {
  background: #f7f7f2;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.price-table tr:not(:last-child) td {
  border-bottom: 1px solid #ebede6;
}
@media (max-width: 600px) {
  .price-table th, .price-table td { padding: 9px 4px; font-size: 0.98rem; }
}

/* ===== FAQ LIST ===== */
.faq-list {
  margin-bottom: 0;
}
.faq-list dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #185466;
  margin-top: 22px;
  margin-bottom: 6px;
  font-size: 1rem;
}
.faq-list dd {
  margin-left: 0;
  margin-bottom: 12px;
}

/* ===== MAPS & EMBEDS ===== */
.map-embed {
  margin: 18px 0 0 0;
  padding: 14px;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(24,84,102,0.07);
  border-radius: 9px;
  color: #223a33;
}
.map-embed strong { color: #185466; }

/* ===== MISC STYLES ===== */
.text-section {
  margin-bottom: 24px;
  line-height: 1.68;
}
.text-section ul {
  margin-left: 16px;
}
.text-section li {
  margin-bottom: 7px;
}

/* ===== BUTTON STYLES FOR FORMS/COOKIES ===== */
.button,
.cookie-banner .button,
.cookie-banner .cookie-action {
  background: #185466;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  border: none;
  border-radius: 44px;
  padding: 12px 29px;
  cursor: pointer;
  transition: background 0.19s, color 0.18s, transform 0.13s;
  margin-right: 12px;
  margin-bottom: 7px;
}
.button:hover, .cookie-banner .button:hover, .cookie-banner .cookie-action:hover {
  background: #3cab96;
  color: #fff;
  transform: translateY(-2px);
}
.button.secondary, .cookie-action.secondary {
  background: #fff;
  color: #185466;
  border: 1.2px solid #185466;
}
.button.secondary:hover, .cookie-action.secondary:hover{
  background: #185466;
  color: #fff;
}
.button.text, .cookie-action.text {
  background: none;
  color: #185466;
  border: none;
  padding: 0 12px;
}
.button.text:hover, .cookie-action.text:hover {
  text-decoration: underline;
  background: transparent;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 1500;
  background: #fff;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 -2px 24px 0 rgba(24,84,102,0.12);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s, transform 0.44s cubic-bezier(.72,0,.34,1.22);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(150px);
  pointer-events: none;
}
.cookie-banner .cookie-banner-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #185466;
  margin-bottom: 6px;
}
.cookie-banner-text {
  color: #253b42;
  font-size: 1em;
  margin-bottom: 10px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  width: 100%;
}
@media (max-width: 600px) {
  .cookie-banner { padding: 22px 8px 16px 8px; }
}

/* ===== COOKIE PREFERENCES MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(24,84,102,0.74);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s, backdrop-filter 0.25s;
}
.cookie-modal-overlay.hide { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 420px; width: 90%;
  padding: 35px 30px 28px 30px;
  box-shadow: 0 6px 38px 6px rgba(24,84,102,0.17);
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 2020;
  animation: fadeinpopup 0.4s cubic-bezier(.7,0,.2,1);
}
@keyframes fadeinpopup {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 3px;
  color: #185466;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  justify-content: space-between;
}
.cookie-category-label {
  font-size: 1rem;
  font-weight: 600;
  color: #253b42;
}
.cookie-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.cookie-switch input[type="checkbox"] {
  width: 38px; height: 20px;
  appearance: none;
  border: 1.5px solid #185466;
  border-radius: 14px;
  background: #f7f7f2;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.17s, border 0.16s;
}
.cookie-switch input[type="checkbox"]:checked {
  background: #3cab96;
  border-color: #3cab96;
}
.cookie-switch input[type="checkbox"]:before {
  content: "";
  display: block;
  height: 17px; width: 17px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px; top: 1px;
  transition: left 0.17s;
  box-shadow: 0 1px 3px rgba(24,84,102,.13);
}
.cookie-switch input[type="checkbox"]:checked:before {
  left: 19px;
  background: #fff;
}
.cookie-switch input[disabled] {
  pointer-events: none;
  opacity: 0.7;
  border: 1.5px solid #aaccc2;
  background: #e7eae6;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ===== ANIMATION FOR SLIDERS ===== */
.testimonial-slider,
.review-list {
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  padding-bottom: 4px;
}
.testimonial-card, .review-card {
  scroll-snap-align: start;
}
@media (max-width: 780px) {
  .testimonial-slider, .review-list { flex-direction: column; gap: 12px; overflow-x: visible; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .container { max-width: 99vw; }
  .card-container, .feature-grid, .service-grid, .review-list, .testimonial-slider {
    flex-direction: column; gap: 15px;
  }
  .content-wrapper { padding: 0 4px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.05rem; }
  .hero { padding: 18px 0 18px 0; border-radius: 10px; }
}

/* ===== ACCESSIBILITY FOCUS ===== */
a:focus, button:focus, input:focus {
  outline: 2.2px dashed #3cab96;
  outline-offset: 2px;
}

/* ===== UTILITIES ===== */
.mb20 { margin-bottom: 20px !important; }
.mb32 { margin-bottom: 32px !important; }
.mt20 { margin-top: 20px !important; }
.radius { border-radius: 18px !important; }
.shadow {
  box-shadow: 0 2px 16px 0 rgba(24,84,102,0.09) !important;
}
.text-center { text-align: center !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ===== HIGH CONTRAST FOR TESTIMONIAL TEXT ===== */
.testimonial-body p, .review-card p, .testimonial-card p {
  color: #134050;
  background: none;
}

/* ===== ICONS IN LISTS ===== */
.text-section li img,
ul li img {
  vertical-align: middle;
  margin-right: 6px;
  height: 17px;
  width: 17px;
  display: inline-block;
}

/* ===== SPECIAL FORMS/THANK YOU ETC. ===== */
.form-success {
  color: #3cab96;
  background: #f3f7f6;
  border: 1.3px solid #3cab96;
  padding: 16px 18px;
  border-radius: 9px;
  margin-top: 20px;
  font-size: 1.09rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* ===== PRINT UTILITY ===== */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cta-button, .cookie-banner, .cookie-modal-overlay { display:none !important; }
}
