/* Vortex Balance Reinigung – style.css */

/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}

/* BRAND VARIABLES (fallbacks for older browsers) */
:root {
  --primary: #28727B;
  --primary-dark: #205963;
  --secondary: #F7F7F7;
  --secondary-white: #FFFFFF;
  --accent: #FFD166;
  --gray: #949CA2;
  --black: #202127;
  --shadow: 0 4px 18px rgba(32, 89, 99, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--primary-dark);
  background: linear-gradient(172deg, #E6F2F5 0%, var(--secondary) 100%);
  min-height: 100vh;
}

/* Typography */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  line-height: 1.18;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.24;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
h4, .h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
p, li, ul, ol {
  font-size: 1rem;
  font-family: var(--font-body);
}
strong { font-weight: 600; }

/* Container and Spacing */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 46px;
    padding: 32px 8px;
  }
}

/* Navigation */
header {
  background: linear-gradient(90deg, #ECF8F9 0%, var(--secondary-white) 100%);
  border-bottom: 1px solid #dbecec;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1001;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  background: transparent;
}
.main-nav .logo {
  display: flex;
  align-items: center;
  height: 54px;
  transition: opacity var(--transition);
}
.main-nav ul {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav ul li a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--black);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: var(--primary);
  color: var(--secondary-white);
}
.main-nav ul li .button-primary {
  color: var(--secondary-white);
  background: var(--primary);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 20px;
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.main-nav ul li .button-primary:hover,
.main-nav ul li .button-primary:focus {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 8px 28px rgba(40, 114, 123, 0.16);
}

/* Mobile Menu */
.mobile-menu-toggle {
  background: var(--primary);
  color: var(--secondary-white);
  border: none;
  border-radius: 8px;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1102;
  transition: background var(--transition), color var(--transition);
}

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

.mobile-menu {
  position: fixed;
  inset: 0;
  background: linear-gradient(157deg, var(--secondary-white) 70%, #E6F8F9 100%);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.65,0,.33,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 32px 24px 24px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--primary);
  color: var(--secondary-white);
  border: none;
  font-size: 2rem;
  margin-bottom: 30px;
  border-radius: 100px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--accent);
  color: var(--primary-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-dark);
  padding: 11px 0 11px 10px;
  border-radius: var(--radius);
  width: 100%;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--primary);
  color: var(--secondary-white);
}

/* Page Section Patterns */
.features-grid, .services-list, .services-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .features-grid, .services-list, .services-cards {
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .features-grid, .services-list, .services-cards {
    flex-direction: column;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 260px;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px 20px 22px;
  min-width: 220px;
  max-width: 350px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-item img {
  width: 42px; height: 42px; margin-bottom: 4px;
  filter: grayscale(0.08);
}
.feature-item:hover {
  box-shadow: 0 8px 28px rgba(40, 114, 123, 0.12);
  transform: translateY(-4px) scale(1.02);
}

/* Service Cards/List */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.service-preview {
  background: var(--secondary-white);
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  padding: 20px 20px 16px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 345px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid #e5eceb;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-preview h3 {
  font-size: 1.16rem;
  font-family: var(--font-display);
  margin-bottom: 8px;
}
.service-preview .service-price {
  font-weight: bold;
  color: var(--primary);
  background: var(--accent);
  padding: 2px 10px;
  border-radius: 12px;
  align-self: flex-start;
  font-size: 1.02rem;
  margin-top: 8px;
  letter-spacing: 0.07em;
}
.service-preview:hover {
  box-shadow: 0 8px 36px 0 rgba(32, 89, 99, 0.13);
  transform: translateY(-4px) scale(1.015);
}

.services-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  align-items: stretch;
}
.service-card {
  background: var(--secondary-white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  border: 1px solid #e5eceb;
  padding: 30px 22px 20px 22px;
  min-width: 230px;
  max-width: 370px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card img {
  width: 48px; height: 48px;
  margin-bottom: 6px;
}
.service-card h2 {
  font-size: 1.18rem;
  color: var(--primary-dark);
  font-family: var(--font-display);
  margin-bottom: 6px;
}
.service-card .service-price {
  font-weight: 600;
  color: var(--primary);
  background: var(--accent);
  padding: 2px 13px;
  border-radius: 12px;
  align-self: flex-start;
  font-size: 1.04rem;
  margin-top: 5px;
}
.service-card:hover {
  box-shadow: 0 8px 36px 0 rgba(32, 89, 99, 0.13);
  transform: translateY(-3px) scale(1.013);
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--secondary-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border: 1px solid #e5eceb;
  max-width: 660px;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.16rem;
  color: var(--primary-dark);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 8px;
  margin-left: 0;
}
.testimonial-card p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #484d50;
}

/* Testimonial Slider (referenzen) */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
@media (max-width: 700px) {
  .testimonial-slider {
    flex-direction: column;
  }
}

.star-ratings {
  margin: 15px 0 25px 0;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 1.11rem;
}

.quotes-list, .certificates-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 15px 0 10px 0;
  padding: 0 0 0 10px;
}

.certificates-list li, .quotes-list li {
  color: var(--primary-dark);
  font-size: 1rem;
  position: relative;
  padding-left: 18px;
}
.certificates-list li:before, .quotes-list li:before {
  content: '\2022';
  color: var(--accent);
  position: absolute;
  left: 0; top: 0;
  font-weight: bold;
}

.trusted-by {
  background: #eaf6f5;
  border-radius: 13px;
  padding: 11px 17px;
  font-size: 0.98rem;
  color: #588388;
  margin-top: 20px;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: var(--secondary);
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  padding: 19px 18px;
  border: 1px solid #e5eceb;
  transition: box-shadow var(--transition);
}
.faq-item h2 {
  font-size: 1.13rem;
  margin-bottom: 6px;
  color: var(--primary-dark);
  font-family: var(--font-display);
}
.faq-item p {
  margin-bottom: 0;
  color: #555d5f;
}

/* CTA Banner, Contact CTA */
.cta-banner, .contact-cta {
  background: linear-gradient(90deg, var(--primary) 10%, var(--accent) 100%);
  color: var(--primary-dark);
  border-radius: var(--radius);
  padding: 28px 28px 24px 28px;
  box-shadow: 0 7px 28px rgba(40, 114, 123, 0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
}
.cta-banner h2, .contact-cta h2 {
  color: var(--secondary-white);
  font-size: 1.6rem;
}

/* Contact Shortlist */
.contact-short {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 8px 0;
}
.contact-short li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-short img {
  width: 26px; height: 26px;
}
.contact-short a {
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition);
}
.contact-short a:hover { color: var(--accent); }

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  z-index: 13000;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--secondary-white);
  box-shadow: 0 -4px 28px rgba(40, 114, 123, 0.09);
  border-top: 1.5px solid #e5eceb;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 22px 18px 22px;
  font-size: 0.98rem;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.32s cubic-bezier(.6,0,.33,1);
}
.cookie-banner.hide {
  transform: translateY(130%);
  opacity: 0;
}
.cookie-banner p { color: var(--primary-dark); }
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.cookie-banner button {
  padding: 8px 16px;
  font-size: 1rem;
  border-radius: 8px;
  margin: 0;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  font-family: var(--font-display);
  font-weight: 500;
  cursor: pointer;
}
.cookie-accept {
  background: var(--primary);
  color: var(--secondary-white);
  box-shadow: var(--shadow);
}
.cookie-accept:hover,
.cookie-accept:focus {
  background: var(--accent);
  color: var(--primary-dark);
}
.cookie-reject {
  background: #e5eceb;
  color: var(--primary-dark);
}
.cookie-reject:hover,
.cookie-reject:focus {
  background: #bdd7da;
}
.cookie-settings {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-settings:hover,
.cookie-settings:focus {
  background: var(--primary);
  color: var(--secondary-white);
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32, 89, 99, 0.34);
  z-index: 13001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: cookie-modal-fadein 0.35s;
}
@keyframes cookie-modal-fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: var(--secondary-white);
  padding: 38px 28px;
  border-radius: var(--radius);
  box-shadow: 0 9px 38px rgba(32, 89, 99, 0.07);
  min-width: 280px;
  max-width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-content h2 {
  font-family: var(--font-display);
  font-size: 1.33rem;
  color: var(--primary-dark);
}
.cookie-modal-close {
  position: absolute;
  right: 20px; top: 16px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.7rem;
  cursor: pointer;
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #e5eceb;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  background: #f4f9fa;
  padding: 13px 14px;
  border-radius: 10px;
}
.cookie-category label {
  font-weight: 600;
  color: var(--primary-dark);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--primary);
  width: 20px;
  height: 20px;
  border-radius: 4px;
}
.cookie-category input[type="checkbox"][disabled] {
  opacity: 0.5;
}
.cookie-category .req {
  font-size: 0.95em;
  color: #70a8b2;
  margin-left: 4px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

/* Button Styles */
.button-primary, .button-secondary {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.button-primary {
  background: linear-gradient(96deg, var(--primary) 70%, #549fa9 110%);
  color: var(--secondary-white);
}
.button-primary:hover,
.button-primary:focus {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 9px 26px rgba(40, 114, 123, 0.12);
  transform: translateY(-1px) scale(1.022);
}
.button-secondary {
  background: var(--secondary-white);
  color: var(--primary-dark);
  border: 1.5px solid var(--primary);
}
.button-secondary:hover,
.button-secondary:focus {
  background: var(--primary);
  color: var(--secondary-white);
  box-shadow: 0 9px 26px rgba(40, 114, 123, 0.12);
  transform: translateY(-1px) scale(1.022);
}

/* Table Styling (for price table) */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--secondary-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin: 15px 0 22px 0;
  overflow: hidden;
}
thead th {
  background: var(--primary);
  color: var(--secondary-white);
  font-family: var(--font-display);
  padding: 13px 8px;
  font-size: 1.02rem;
  border-right: 1px solid #e5eceb;
}
thead th:last-child { border-right: none; }
tbody td {
  padding: 12px 8px;
  border-bottom: 1px solid #e5eceb;
  color: var(--primary-dark);
  font-size: 1rem;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(odd) { background: #f1f8fa; }
tbody tr:nth-child(even) { background: var(--secondary-white); }

/* Text Section Blocks */
.text-section {
  margin-top: 6px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section h2,
.text-section h3 { margin-top: 12px; }
.text-section ul, .text-section ol {
  padding-left: 24px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.text-section ul li, .text-section ol li {
  list-style: disc;
  color: var(--primary-dark);
}
.text-section a { color: var(--primary); text-decoration: underline; }
.text-section a:hover { color: var(--accent); }

/* Layout/Alignment Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--secondary-white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  padding: 24px; /* you can adjust or use more specific selectors for inner pattern */
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 28px rgba(40, 114, 123, 0.10);
  transform: translateY(-2px) scale(1.012);
}
.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) {
  .text-image-section { flex-direction: column; align-items: stretch; gap: 18px; }
  .container { padding: 0 10px; }
}

/* Footer Styles */
footer {
  background: linear-gradient(97deg, #e3f2f4 40%, var(--secondary-white) 100%);
  border-top: 1px solid #e5eceb;
  padding-top: 30px;
  margin-top: 80px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 20px 18px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo img {
  width: 56px; height: auto;
  margin-bottom: 3px;
}
.footer-contact {
  font-size: 1rem;
  color: var(--primary-dark);
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
}
.footer-menu a {
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: 1.06rem;
  transition: color var(--transition);
}
.footer-menu a:hover {
  color: var(--accent);
}
.footer-bottom {
  padding: 16px 20px 24px 20px;
  color: #719ba1;
  font-size: 0.93rem;
  text-align: center;
  background: transparent;
}
@media (max-width: 850px) {
  .footer-main { flex-direction: column; gap: 28px; align-items: flex-start; }
  .footer-logo { margin-bottom: 10px; }
}

/* Media Queries for Responsiveness */
@media (max-width: 700px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.4rem; }
  .main-nav { height: 57px; }
  .cta-banner, .contact-cta { padding: 14px 9px; border-radius: 12px; }
  .feature-item, .service-preview, .service-card, .testimonial-card, .faq-item { padding: 13px 10px 14px 11px; border-radius: 12px; }
  .container { padding: 0 3vw; }
}

/* Micro-interactions */
a, button { transition: color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition); }
a:focus, button:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Utility: Responsive Image and Alignment */
img, svg { display: block; max-width: 100%; height: auto; }

/* Hide elements visually (for accessibility etc) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* Z-index rules for overlays & nav */
.mobile-menu { z-index: 1100; }
.mobile-menu-toggle { z-index: 1102; }
.cookie-banner { z-index: 13000; }
.cookie-modal { z-index: 13001; }

/* Hide unwanted browser outlines for mouse users */
*:focus:not(:focus-visible) { outline: none; }

/* Accessibility: improved focus visible */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- END --- */
