/* --------------------------------------------------
   Twin Dividend Reinigung – Elegant Classic CSS Theme
   --------------------------------------------------
   Brand Colors:
     Primary:   #215373 (deep blue)
     Secondary: #F3F7FA (muted light)
     Accent:    #21753a (classic green)
   Fonts:
     Display:   'Montserrat', 'Georgia', serif
     Body:      'Roboto', 'Georgia', serif
   Elegant Classic: serif fonts, muted colors, refined spacing
-------------------------------------------------- */

@import url('https://fonts.googleapis.com/css?family=Montserrat:700,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --primary: #215373;
  --secondary: #F3F7FA;
  --accent: #21753a;
  --white: #fff;
  --black: #222;
  --gray: #6d7a86;
  --muted: #e9ecef;
  --shadow: 0 2px 16px rgba(33,83,115,0.08);
  --radius: 10px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --font-display: 'Montserrat', Georgia, serif;
  --font-body: 'Roboto', Georgia, serif;
}

html {
  box-sizing: border-box;
  font-size: 18px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--secondary);
  margin: 0;
  padding: 0;
  line-height: 1.7;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.7em;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.2rem; line-height: 1.15; }
h2 { font-size: 1.6rem; line-height: 1.2; }
h3 { font-size: 1.2rem; line-height: 1.3; }
h4, h5, h6 { font-size: 1rem; }
p, ul, ol, li {
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 1em;
}
strong, b {
  font-weight: 700;
  color: var(--primary);
}
em, i {
  color: var(--gray);
}
a {
  color: var(--primary);
  text-decoration: underline;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--accent);
  text-decoration: none;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

/* Header & Navigation */
header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(33,83,115,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 24px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
header nav a:hover, header nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: var(--radius);
  border: none;
  box-shadow: 0 2px 8px rgba(33,83,115,0.08);
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-left: 16px;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(33,117,58,0.12);
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: 16px;
  transition: color var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--accent);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,83,115,0.97);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  margin: 24px 32px 0 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin: 60px 0 0 40px;
}
.mobile-nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  padding: 4px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
}

/* Hero Section */
.hero {
  background: linear-gradient(120deg, var(--secondary) 60%, #e6eef4 100%);
  padding: 60px 0 40px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}
.hero h1 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 0.5em;
}
.hero p {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 1.5em;
}

/* Feature Grid & Cards */
.feature-grid, .service-list, .gallery, .logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-grid > div, .service-list > div, .gallery > div, .logo-grid > span {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  color: var(--black);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid > div:hover, .service-list > div:hover, .gallery > div:hover {
  box-shadow: 0 6px 24px rgba(33,83,115,0.13);
  transform: translateY(-4px) scale(1.02);
}
.logo-grid {
  gap: 20px;
  flex-wrap: wrap;
}
.logo-grid > span {
  background: var(--muted);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.1rem;
  padding: 16px 24px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  min-width: 180px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(33,83,115,0.06);
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--secondary);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(33,83,115,0.07);
  padding: 20px 28px;
  margin-bottom: 20px;
  color: var(--black);
  font-family: var(--font-body);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(33,117,58,0.10);
}
.testimonial-card p {
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 0.5em;
}
.testimonial-card strong {
  color: var(--primary);
  font-weight: 700;
}
.testimonial-card div:last-child {
  color: var(--accent);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

/* Table Styling (Preise) */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  overflow: hidden;
}
thead {
  background: var(--primary);
  color: var(--white);
}
thead th {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 12px;
  text-align: left;
}
tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--muted);
  font-size: 1rem;
  color: var(--black);
}
tbody tr:last-child td {
  border-bottom: none;
}

/* Cards & Card Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 6px 24px rgba(33,83,115,0.13);
  transform: translateY(-4px) scale(1.02);
}

.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;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0 10px 0;
}
.trust-badges span {
  background: var(--muted);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 20px;
  letter-spacing: 0.01em;
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 0 0 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 24px;
}
footer img {
  height: 40px;
  width: auto;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1rem;
  opacity: 0.85;
  transition: color var(--transition), opacity var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
  opacity: 1;
}
.footer-contact p, .footer-contact a {
  color: var(--white);
  font-size: 0.98rem;
  margin-bottom: 4px;
  text-decoration: none;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: var(--accent);
}

/* Lists */
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1.2em;
}
ul li, ol li {
  margin-bottom: 0.5em;
  font-size: 1rem;
}

/* Forms (if any) */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--muted);
  background: var(--secondary);
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  outline: none;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 -2px 16px rgba(33,83,115,0.10);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 99999;
  font-size: 1rem;
  animation: cookie-slide-in 0.5s cubic-bezier(.4,0,.2,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 22px;
  padding: 8px 26px;
  border: none;
  cursor: pointer;
  margin: 0 2px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-banner .accept {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #1a5e2f;
}
.cookie-banner .reject {
  background: var(--muted);
  color: var(--primary);
  font-weight: 700;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #e0e6eb;
  color: var(--accent);
}
.cookie-banner .settings {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
  font-weight: 700;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--primary);
  color: var(--white);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,83,115,0.65);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(.4,0,.2,1);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(33,83,115,0.18);
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-modal-in 0.4s cubic-bezier(.4,0,.2,1);
}
@keyframes cookie-modal-in {
  from { transform: translateY(40px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: var(--black);
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: var(--muted);
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
  margin-left: 8px;
  display: inline-block;
}
.cookie-modal .cookie-toggle input {
  display: none;
}
.cookie-modal .cookie-toggle span {
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: var(--primary);
  border-radius: 50%;
  transition: left var(--transition), background var(--transition);
}
.cookie-modal .cookie-toggle input:checked + span {
  left: 19px;
  background: var(--accent);
}
.cookie-modal .cookie-category.essential .cookie-toggle {
  background: #e0e6eb;
  cursor: not-allowed;
}
.cookie-modal .cookie-category.essential label {
  color: var(--gray);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.cookie-modal .modal-actions button {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 22px;
  padding: 8px 26px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal .modal-actions .save {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
}
.cookie-modal .modal-actions .save:hover, .cookie-modal .modal-actions .save:focus {
  background: #1a5e2f;
}
.cookie-modal .modal-actions .cancel {
  background: var(--muted);
  color: var(--primary);
  font-weight: 700;
}
.cookie-modal .modal-actions .cancel:hover, .cookie-modal .modal-actions .cancel:focus {
  background: #e0e6eb;
  color: var(--accent);
}

/* Responsive Design */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .feature-grid > div, .service-list > div, .gallery > div, .card {
    min-width: 180px;
    flex: 1 1 180px;
  }
  .logo-grid > span {
    min-width: 120px;
    font-size: 1rem;
    padding: 10px 12px;
  }
}
@media (max-width: 768px) {
  html { font-size: 16px; }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 10px;
  }
  header nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
    text-align: center;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 36px 0 24px 0;
    margin-bottom: 40px;
  }
  .feature-grid, .service-list, .gallery, .logo-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .service-list > div, .gallery > div, .card {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }
  .logo-grid > span {
    min-width: 0;
    width: 100%;
    font-size: 1rem;
    padding: 10px 8px;
  }
  .testimonial-card {
    padding: 16px 12px;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  html { font-size: 15px; }
  .hero h1 { font-size: 1.4rem; }
  .btn-primary { font-size: 0.98rem; padding: 10px 18px; }
  .cookie-modal { padding: 18px 8px 12px 8px; min-width: 0; }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2em !important; }
.mb-2 { margin-bottom: 2em !important; }

/* Hide elements visually but keep for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Decorative Only: No absolute for content cards! */

/* End of CSS */
