@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Poppins:wght@300;400;600&display=swap');

:root {
  --header-height: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a0a;
    color: white;
    font-family: 'Poppins', sans-serif;
    padding-top: var(--header-height);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    /* height: auto;
    min-height: 80px; */
    box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.2rem;
}

.logo span {
    letter-spacing: 2px;
}

.logo img {
  height: 60px;
  width: auto;
}

nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
    margin-left: 0;
    line-height: 1;
    text-decoration: none;
    color: white;
}

.nav-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #c6a84a;
}

.hero {
  height: 400px;
  /* background: linear-gradient(to bottom right, #000000, #111111); */
  background-color: black;
  background-image: url('images/background2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: 1px;
  -webkit-text-stroke: 1.5px black;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
}

.hero p {
  font-size: 20px;
  font-weight: 900;
  max-width: 700px;
  margin: 0 auto 30px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
}

.cta-button {
  background: linear-gradient(135deg, #c9a227, #f5d76e);
  color: black;
  padding: 15px 35px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(201,162,39,0.4);
}

.dark-section {
    padding: 60px 8%;
    background: #111;
}

h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    /* background: #1a1a1a; */
    background: linear-gradient(to bottom right, #1a1a1a, #242424);
    padding: 40px;
    margin-bottom: 20px;
    border-radius: 10px;
    text-align: center;
    transition: .3s;
    border: 1px solid #222;
    width: 100%;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #c6a84a;
}
.card h3 {
    color: #c6a84a;
}

.featured {
    border: 1px solid #c6a84a;
}

.price {
    font-size: 28px;
    color: #c6a84a;
    margin: 20px 0;
}
.price-sub {
    font-size: 20px;
    color: #c6a84a;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

form {
    margin: auto;
    display: grid;
    gap: 15px;
}

input,
select,
textarea {
    padding: 12px;
    border: none;
    background: #1a1a1a;
    color: white;
}

.total {
    font-size: 20px;
    color: #c6a84a;
    font-weight: 600;
}

.premium-btn {
    background: #c6a84a;
    color: black;
    padding: 15px;
    border: none;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 40px;
    background: black;
    color: #777;
}

footer a {
  color: #c6a84a;
  text-decoration: none;
  font-weight: 500;
}

/* Hover Effekt */
footer a:hover {
  color: #e0c36a;
}

/* Besuchte Links (wichtig!) */
footer a:visited {
  color: #c6a84a;
}

.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all .8s ease;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.before-after-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    height: 400px;
    margin: auto;
    border-radius: 10px;
}

.before-after-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.before-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #c6a84a;
    cursor: ew-resize;
}

.usp {
  padding: 40px 40px;
  background: linear-gradient(to bottom right, #111111, #303030);
  text-align: center;
}

.usp h2 {
  font-size: 36px;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
}

.usp-item {
  background: linear-gradient(to bottom right, #303030, #111111);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(170, 170, 170, 0.08);
  transition: 0.3s ease;
}

.usp-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.usp-item h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: white;
}

.usp-item p {
  font-size: 15px;
  opacity: 0.8;
  color: white;
  margin-bottom: 0px;
}

.usp p {
  font-size: 15px;
  opacity: 0.8;
  margin-bottom: 0px;
}

.leasing {
  padding: 80px 40px;
  background: linear-gradient(135deg, #111, #000);
  color: white;
  text-align: center;
}

.leasing h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.leasing p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
  opacity: 0.9;
}

.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.services {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  justify-content: left;
  text-align: left;
}

.services li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}
.services p {
  color: grey;
}

.card-subtitle  {
  color: grey;
}

.services li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00c896;
  font-weight: bold;
}

.addons {
  margin-top: 20px;
  border-top: 1px solid #333;
}

.addon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #222;
  font-size: 14px;
}

.addon span:first-child {
  opacity: 0.85;
}

.addon span:last-child {
  color: #c6a84a;
  font-weight: 600;
}

.paragraph {
  padding-bottom: 20px;
}

.paragraph p {
  color: rgb(201, 201, 201);
}

.request form {
  max-width: 60%;
}
.request div {
  display: flex;
  gap: 10px;
}
.request input, select, textarea {
  flex: 1;
  border-radius: 5px;
}
.request span {
  flex: 1;
}
.request p {
  color: #c6a84a;
}

.main-package {
  padding-left: 20%;
  padding-right: 20%;
}

.notice {
  background: rgba(198, 168, 74, 0.1);
  border-left: 4px solid #c6a84a;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
  border-radius: 6px;
}
/* ===== CALENDAR CONTAINER ===== */
.flatpickr-calendar {
  background: #0a0a0a !important;
  border: 1px solid rgba(198, 168, 74, 0.4) !important;
  box-shadow: 0 15px 40px rgba(0,0,0,0.8) !important;
  color: #ffffff !important;
}

/* ===== HEADER (Monat / Jahr) ===== */
.flatpickr-months {
  background: #0a0a0a !important;
}

.flatpickr-current-month {
  color: #c6a84a !important;
  font-weight: 600;
}

.flatpickr-monthDropdown-months,
.numInputWrapper span.arrowUp,
.numInputWrapper span.arrowDown {
  color: #c6a84a !important;
  background: #0a0a0a !important;
}

/* Dropdown-Options (wenn geöffnet) */
.flatpickr-monthDropdown-months option {
  background: #0a0a0a !important;
  color: #c6a84a !important;
}

/* Pfeile */
.flatpickr-prev-month,
.flatpickr-next-month {
  fill: #c6a84a !important;
}

/* ===== WEEKDAYS ===== */
.flatpickr-weekday {
  color: #c6a84a !important;
  font-weight: 500;
}

/* ===== DAYS ===== */
.flatpickr-day {
  color: #ffffff !important;
  background: transparent !important;
  border: 1px solid transparent !important;
}

/* Hover */
.flatpickr-day:hover {
  background: rgba(198, 168, 74, 0.15) !important;
  border-color: #c6a84a !important;
  color: #fff !important;
}

/* Selected day (wichtig: Blau überschreiben!) */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #c6a84a !important;
  border-color: #c6a84a !important;
  color: #000 !important;
}

/* Today */
.flatpickr-day.today {
  border-color: #c6a84a !important;
}

/* Disabled */
.flatpickr-day.disabled,
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay.disabled,
.flatpickr-day.nextMonthDay.disabled {
  color: #444 !important;
  background: transparent !important;
  border: none !important;
  opacity: 0.25 !important;
  cursor: not-allowed !important;
}
.flatpickr-day.disabled:hover {
  background: transparent !important;
  color: #444 !important;
  border: none !important;
}
/* Sicherheit: auch per Attribut */
.flatpickr-day[aria-disabled="true"] {
  color: #444 !important;
  opacity: 0.25 !important;
  cursor: not-allowed !important;
}

/* ===== TIME PICKER ===== */
.flatpickr-time {
  background: #0a0a0a !important;
  border-top: 1px solid rgba(198, 168, 74, 0.3) !important;
}

.flatpickr-time input {
  background: #0a0a0a !important;
  color: #c6a84a !important;
  font-weight: bold;
}

/* Wrapper um Inputs */
.flatpickr-time .numInputWrapper {
  background: #0a0a0a !important;
}
/* Hover / Focus */
.flatpickr-time input:focus,
.flatpickr-monthDropdown-months:focus {
  outline: none !important;
  border-color: #c6a84a !important;
  background: #111 !important;
}

/* Spinner Icons */
.flatpickr-time .arrowUp,
.flatpickr-time .arrowDown {
  fill: #c6a84a !important;
}

/* ===== INPUT FIELD ===== */
#datePicker {
  background: #111 !important;
  border: 1px solid #333 !important;
  color: #fff !important;
  padding: 10px;
  border-radius: 6px;
}

#datePicker:focus {
  border-color: #c6a84a !important;
  outline: none;
}

.flatpickr-confirm svg {
  display: none !important;
}

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    height: 300px;
  }
  .hero h1 {
    font-size: 35px;
  }
  header {
    padding: 10px 30px;
  }
  nav a {
    margin-left: 20px;
    font-size: 0.95rem;
  }
  .logo {
    font-size: 1rem;
  }
  .logo img {
    height: 60px;
  }
  .logo span {
    font-size: 1rem;
    letter-spacing: 1px;
  }
  nav a {
      margin-left: 20px;
  }
  .request form {
    max-width: 70%;
  }
  .main-package {
    padding-left: 10%;
    padding-right: 10%;
  }
}

/* Smartphone */
@media (max-width: 600px) {
  .hero {
    height: 200px;
  }
  .hero h1 {
    font-size: 20px;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .logo {
    font-size: 0.8rem;
  }
  .logo img {
    height: 50px;
  }
  nav {
    width: 100%;
    justify-content: space-between;
  }
  nav a {
    margin-left: 0;
    font-size: 0.9rem;
  }
  .request form {
    max-width: 100%;
  }
  .request div {
    display:block;
  }
  .request input, select, textarea {
    width: 100%;
    border-radius: 5px;
  }
  .request span {
    width: 100%;
  }
  .main-package {
    padding-left: 0%;
    padding-right: 0%;
  }
}