/* CSS RESET & NORMALIZE */
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, 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,
menu, 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #18181A;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #23476A;
  text-decoration: underline;
  transition: color 0.2s;
  outline: none;
}
a:hover,
a:focus {
  color: #E2B441;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
/* --- BRAND COLOR PALETTE --- */
:root {
  --color-primary: #18181A;
  --color-secondary: #efefef;
  --color-accent: #E2B441;
  --color-brand-primary: #23476A;
  --color-brand-secondary: #D1E8F5;
  --color-card-bg: #fff;
  --color-border: #e2e2e4;
  --color-dark-gray: #343438;
  --color-mid-gray: #858585;
  --color-light-gray: #f8f8f9;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}
/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #18181A;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}
p {
  margin-bottom: 16px;
}
strong {
  color: #18181A;
  font-weight: bold;
}
.text-section {
  margin-bottom: 32px;
  color: #343438;
}
.text-section a {
  color: #23476A;
  font-weight: 700;
  text-decoration: underline;
}
/* --- CONTAINER ALIGNMENT --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
header .container,
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
main {
  width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.cta-box {
  background: #18181A;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(24,24,26,0.07);
  padding: 32px 24px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cta-box h2,
.cta-box h3,
.cta-box h4 {
  color: #fff;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
/* --- HEADER --- */
header {
  width: 100%;
  padding: 24px 0 16px 0;
  background: #fff;
  box-shadow: 0 2px 16px rgba(24,24,26,0.06);
  position: relative;
  z-index: 101;
}
header img {
  max-height: 48px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 1rem;
}
header nav a {
  color: #18181A;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
header nav a:hover,
header nav a:focus {
  color: #23476A;
  border-bottom: 2px solid #23476A;
}
/* --- BUTTONS --- */
.button {
  padding: 10px 28px;
  border-radius: 25px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  user-select: none;
  display: inline-block;
  margin-right: 8px;
}
.button.primary {
  background: #18181A;
  color: #fff;
  box-shadow: 0 2px 10px rgba(24,24,26,0.08);
}
.button.primary:hover,
.button.primary:focus {
  background: #23476A;
  color: #fff;
  box-shadow: 0 4px 22px rgba(35,71,106,0.14);
}
.button.accent {
  background: #E2B441;
  color: #18181A;
  box-shadow: 0 2px 10px rgba(224,180,65,0.08);
}
.button.accent:hover,
.button.accent:focus {
  background: #18181A;
  color: #fff;
  box-shadow: 0 4px 22px rgba(35,71,106,0.12);
}
.button.outline {
  background: transparent;
  color: #18181A;
  border: 2px solid #18181A;
}
.button.outline:hover,
.button.outline:focus {
  background: #18181A;
  color: #fff;
}
/* --- FLEXBOX GRIDS & LAYOUTS --- */
/* Feature grid (as ul) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}
.feature-grid li {
  flex: 1 1 210px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1.5px 12px rgba(24,24,26,.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 24px 20px;
  min-width: 180px;
  margin-bottom: 20px;
  border: 1.5px solid #e2e2e4;
  transition: box-shadow 0.24s;
}
.feature-grid li:hover,
.feature-grid li:focus-within {
  box-shadow: 0 8px 32px rgba(24,24,26,0.13);
  border-color: #18181A;
}
.feature-grid li img {
  height: 38px;
  margin-bottom: 8px;
}
/* Benefits (Mietangebote page) */
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.benefits-grid > div {
  flex: 1 1 220px;
  background: #18181A;
  color: #fff;
  border-radius: 10px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 20px;
  min-width: 180px;
}
.benefits-grid img {
  height: 28px;
}
/* --- CARD STYLES --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 2px 20px rgba(24,24,26,0.09);
  border: 1px solid #e2e2e4;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 8px 40px rgba(24,24,26,0.14);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* GENERAL FLEX UTILS FOR LAYOUTS */
.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;
}
.text-image-section > * {
  flex: 1 1 280px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 1.5px solid #18181A;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 5px 40px rgba(24,24,26,.13);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  border-color: #23476A;
  box-shadow: 0 6px 60px rgba(35,71,106,0.11);
}
.testimonial-card p {
  color: #18181A;
  font-size: 1.12rem;
  text-align: center;
  margin-bottom: 12px;
}
.testimonial-card .star-rating {
  display: flex;
  gap: 4px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #343438;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 14px;
}
/* --- TIMELINE (Vermietungsablauf) --- */
.timeline {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  counter-reset: step;
}
.timeline li {
  position: relative;
  padding-left: 48px;
  color: #18181A;
  font-size: 1.10rem;
  min-height: 38px;
  display: flex;
  align-items: center;
}
.timeline li span {
  background: #18181A;
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  box-shadow: 0 1px 4px rgba(24,24,26,0.10);
}
.timeline li span img {
  height: 20px;
}
/* --- CONTACT LIST --- */
.contact-list {
  list-style: none;
  margin: 0 0 26px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.07rem;
  color: #18181A;
}
.contact-list li img {
  height: 20px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
  color: #fff;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}
.contact-details img {
  height: 20px;
  filter: invert(1);
}
/* --- FOOTER --- */
footer {
  width: 100%;
  background: #18181A;
  color: #fff;
  font-size: 0.97rem;
  padding: 32px 0 20px 0;
  border-top: 4px solid #E2B441;
}
footer nav {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
footer nav a {
  color: #fff;
  opacity: 0.94;
  text-decoration: underline;
  font-weight: 500;
  transition: color var(--transition), opacity var(--transition);
}
footer nav a:hover,
footer nav a:focus {
  color: #E2B441;
  opacity: 1;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
footer p {
  color: #fff;
  opacity: 0.82;
  margin-bottom: 0;
}
/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 25px;
  right: 22px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #18181A;
  z-index: 203;
  cursor: pointer;
  transition: color 0.18s;
  padding: 4px 10px;
  border-radius: 8px;
}
.mobile-menu-toggle:focus {
  color: #23476A;
  background: #e2e2e4;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 3000;
  min-width: 240px;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(.49,.06,.21,.97);
  box-shadow: 0 8px 60px rgba(24,24,26,0.29);
  padding: 32px 22px 22px 30px;
  opacity: 0;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #18181A;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 16px;
  cursor: pointer;
  padding: 2px 12px;
  border-radius: 9px;
  transition: background 0.18s, color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #e2e2e4;
  color: #23476A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.14rem;
  margin-top: 20px;
}
.mobile-nav a {
  color: #18181A;
  padding: 10px 0;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
  min-width: 80vw;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #E2B441;
  color: #18181A;
}
/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #18181A;
  color: #fff;
  padding: 28px 10px 20px 10px;
  box-shadow: 0 -2px 18px rgba(24,24,26,0.14);
  z-index: 3500;
  font-size: 1rem;
  transition: transform 0.25s cubic-bezier(.4,0,.2,1), opacity 0.25s;
}
.cookie-banner.hide {
  transform: translateY(115%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 12px;
}
.cookie-banner button {
  padding: 8px 23px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  background: #fff;
  color: #18181A;
  font-weight: 600;
  margin-right: 4px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 10px rgba(224,180,65,0.09);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #E2B441;
  color: #18181A;
}
.cookie-banner button:last-child {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-banner button:last-child:hover {
  background: #fff;
  color: #18181A;
  border: 2px solid #E2B441;
}
/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(17, 17, 20, 0.56);
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  min-width: 320px;
  max-width: 96vw;
  background: #fff;
  color: #18181A;
  border-radius: 18px;
  padding: 42px 30px 28px 30px;
  box-shadow: 0 8px 60px rgba(24,24,26,0.22);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: fadein 0.4s cubic-bezier(.4,0,.2,1);
  z-index: 4010;
}
@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 10px;
  color: #18181A;
}
.cookie-modal .close {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #18181A;
  cursor: pointer;
  border-radius: 7px;
  padding: 2px 10px;
  transition: background 0.14s;
}
.cookie-modal .close:hover {
  background: #e2e2e4;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 10px 0 18px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #e2e2e4;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  color: #18181A;
  flex: 1;
}
.cookie-category .category-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #eaeaea;
  border-radius: 19px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
  border: 1.5px solid #cacaca;
}
.cookie-category .category-toggle:checked {
  background: #E2B441;
  border-color: #E2B441;
}
.cookie-category .category-toggle:before {
  content: '';
  position: absolute;
  left: 3px; top: 2.5px;
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
  box-shadow: 0 1px 4px rgba(24,24,26,.13);
}
.cookie-category .category-toggle:checked:before {
  left: 18px;
}
.cookie-category .category-required {
  font-size: 0.95rem;
  color: #858585;
  font-style: italic;
  margin-left: 6px;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .button {
  font-size: 1rem;
}
/* --- UTILS --- */
.force-bold {
  font-weight: bold;
  color: #18181A;
}
.force-muted {
  color: #858585;
  opacity: 0.85;
}
/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .container {
    max-width: 90vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .benefits-grid {
    gap: 18px;
  }
  .feature-grid li, .benefits-grid > div {
    flex: 1 1 360px;
    min-width: 160px;
  }
}
@media (max-width: 768px) {
  :root {
    font-size: 15px;
  }
  .container {
    padding: 0 10px;
    max-width: 100vw;
  }
  header .container {
    gap: 8px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-box {
    padding: 22px 10px;
    border-radius: 8px;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 34px;
  }
  .feature-grid, .benefits-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid li, .benefits-grid > div {
    width: 100%;
    min-width: 0;
    border-radius: 7px;
    padding: 18px 13px;
  }
  .content-wrapper,
  .content-grid,
  .card-container,
  .timeline,
  .contact-list {
    gap: 14px;
  }
  .testimonial-card {
    padding: 16px 8px;
  }
  .timeline {
    gap: 10px;
  }
  .card {
    padding: 18px 12px;
    border-radius: 8px;
  }
  .text-section {
    margin-bottom: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  /* Adjust modal on mobile */
  .cookie-modal {
    padding: 22px 8vw 18px 8vw;
    min-width: 0;
  }
}
@media (max-width: 460px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.32rem; }
  h3 { font-size: 1.09rem; }
  .button { font-size: 0.97rem; padding: 7px 13px; }
  .footer .container { padding: 0 8px; }
}
/* --- MICRO-INTERACTIONS --- */
.button, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal .close {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-grid li,
.benefits-grid > div,
.card,
.cta-box,
.testimonial-card {
  transition: box-shadow 0.24s, border-color 0.21s;
}
.mobile-menu,
.cookie-banner {
  will-change: transform, opacity;
}
::selection {
  background: #E2B441;
  color: #18181A;
}
/* --- END CSS --- */
