:root {
  --color-primary: #008186;
  --color-accent: #d37643;
  --color-accent-hover: #ef8c56;
  --color-cream: #faf5ef;
  --color-text: #666666;
  --color-white: #ffffff;
  --color-dark: #183538;
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.12);
  --radius-large: 28px;
  --radius-medium: 18px;
  --content-width: 1180px;
  --content-gutter: 12rem;
}

@media (max-width: 1024px) {
  :root {
    --content-gutter: 6rem;
  }
}

@media (max-width: 600px) {
  :root {
    --content-gutter: 3rem;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--color-cream);
  line-height: 1.7;
}

/*p,
li,
h1,
h2,
h3,
.feature,
.card,
.price-card__body {
  hyphens: auto;
  overflow-wrap: break-word;
}*/

/* ==================================================
   Typografie Variante: Serif-Überschriften
   Hero-H1 bleibt bewusst in der normalen Sans-Schrift
   ================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 500;
}

.hero h1 {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-weight: 800;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  font-weight: 500;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 32px), 1280px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-dark);
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text small {
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 220px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .brand-logo {
    height: 42px;
    max-width: 180px;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-dark);
  font-size: 0.95rem;
  font-weight: 650;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--color-white);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: clamp(520px, 78vh, 820px);
  display: flex;
  align-items: flex-end;
  background-position: center calc(50% + var(--hero-parallax-y, 0px));
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--color-white);
  will-change: background-position;
}

.hero-inner {
  width: min(calc(100% - var(--content-gutter)), var(--content-width));
  margin: 0 auto;
  padding: 190px 0 84px;
}

.hero-kicker {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.2rem, 11vw, 8.8rem);
  line-height: 0.9;
  /*letter-spacing: 0em;*/
  color: var(--color-white);
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
}

.hero-subtitle {
  max-width: 960px;
  margin: 28px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.site-main {
  overflow: hidden;
}

.section {
  padding: clamp(72px, 8vw, 130px) 0;
}

.section-light {
  background: var(--color-white);
}

.content-width {
  width: min(calc(100% - var(--content-gutter)), var(--content-width));
  margin: 0 auto;
}

.intro-grid,
.info-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 24px;
  color: var(--color-dark);
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0.05em;
}

h3 {
  margin: 0 0 12px;
  color: var(--color-dark);
  font-size: 1.25rem;
}

.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.55;
  color: #505050;
}

.card {
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-large);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.section-light .card {
  background: var(--color-cream);
}

.image-card {
  min-height: 430px;
  border-radius: var(--radius-large);
  background:
    linear-gradient(135deg, rgba(0, 129, 134, 0.24), rgba(211, 118, 67, 0.22)),
    url("../../img/placeholder-apartment.webp");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-soft);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.feature {
  padding: 28px;
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.74);
}

.feature strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-secondary {
  background: rgba(0, 129, 134, 0.1);
  color: var(--color-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  min-height: 260px;
  border-radius: var(--radius-medium);
  background:
    linear-gradient(135deg, rgba(0, 129, 134, 0.23), rgba(211, 118, 67, 0.22)),
    url("../../img/placeholder-gallery.webp");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-soft);
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(5) {
  min-height: 360px;
}

.map-placeholder,
.map-placeholder iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--radius-large);
}

.map-placeholder {
  display: grid;
  place-items: center;
  padding: 34px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--color-dark);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(0, 129, 134, 0.22);
  border-radius: 14px;
  background: var(--color-white);
  color: var(--color-text);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer {
  padding: 54px 0;
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  width: min(calc(100% - var(--content-gutter)), var(--content-width));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.site-footer a {
  color: var(--color-white);
  text-decoration: none;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 16px 22px;
}

.footer-cookie-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-white);
  font: inherit;
  cursor: pointer;
}

.cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1900;
  background: rgba(0, 0, 0, 0.45);
}

.cookie-banner {
  position: fixed;
  z-index: 2000;
  right: 22px;
  bottom: 22px;
  width: min(calc(100% - 44px), 540px);
  padding: 0;
}

.cookie-content {
  padding: 30px;
  border-radius: var(--radius-large);
  background: var(--color-white);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
}

.cookie-kicker {
  margin: 0 0 8px;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-content h2 {
  margin-bottom: 12px;
  font-size: 2rem;
}

.cookie-content p {
  font-size: 0.95rem;
}

.cookie-option {
  margin: 20px 0;
  padding: 16px;
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(0, 129, 134, 0.18);
  border-radius: 18px;
  background: var(--color-cream);
}

.cookie-option input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--color-primary);
}

.cookie-option strong,
.cookie-option small {
  display: block;
}

.cookie-option small {
  margin-top: 4px;
  color: var(--color-text);
  font-size: 0.86rem;
  line-height: 1.45;
}

.cookie-links {
  margin: 0 0 20px;
}

.cookie-links a {
  color: var(--color-primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.empty-page {
  min-height: 340px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(100%, 360px);
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .nav-open .main-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    padding: 14px 16px;
  }

  .intro-grid,
  .info-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-list,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    display: grid;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px;
  }

  .brand-text {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-inner {
    width: min(calc(100% - var(--content-gutter)), var(--content-width));
    padding-bottom: 58px;
  }

  .section {
    padding: 64px 0;
  }

  .feature-list,
  .gallery-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(5) {
    min-height: 240px;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .cookie-content {
    padding: 22px;
  }

  .cookie-actions {
    display: grid;
  }
}
/*==================== BUCHUNGSKRAM===========================*/
/* =========================================================
   Booking / Smoobu
   ========================================================= */

.booking-hero {
  padding: clamp(5rem, 9vw, 8rem) 1.5rem clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25)),
    var(--color-accent, #d37643);
  color: #fff;
  text-align: center;
}

.booking-hero__inner {
  max-width: 900px;
  margin: 0 auto;
}

.booking-hero__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}

.booking-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
}

.booking-hero p {
  max-width: 720px;
  margin: 1.25rem auto 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.booking-section {
  padding: clamp(3rem, 7vw, 6rem) 1.5rem;
  background: #f7f3ee;
}

.booking-width {
  width: min(calc(100% - var(--content-gutter)), var(--content-width));
  margin: 0 auto;
}

.booking-intro {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.booking-intro h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.booking-intro p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
}

.smoobu-booking-box {
  background: #fff;
  border-radius: 24px;
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Falls Smoobu einen iframe liefert */
.smoobu-booking-box iframe {
  width: 100%;
  min-height: 760px;
  border: 0;
  display: block;
}

/* Platzhalter, solange der echte Smoobu-Code noch fehlt */
.smoobu-placeholder {
  min-height: 420px;
  border: 1px dashed rgba(0, 0, 0, 0.22);
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background: #faf7f2;
}

.smoobu-placeholder h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.smoobu-placeholder p {
  margin: 0 0 1.5rem;
  color: #555;
}

.booking-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: var(--color-accent, #d37643);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.booking-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.booking-note {
  max-width: 860px;
  margin: 1.5rem auto 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
  text-align: center;
}

@media (max-width: 700px) {
  .booking-section {
    padding-inline: 1rem;
  }

  .smoobu-booking-box {
    border-radius: 18px;
    padding: 0.75rem;
  }

  .smoobu-booking-box iframe {
    min-height: 820px;
  }

  .smoobu-placeholder {
    min-height: 360px;
  }
}

.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1rem 0 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.privacy-consent input {
  margin-top: 0.25rem;
  width: auto;
  flex: 0 0 auto;
}

.form-note {
  margin-top: 0.25rem;
  font-size: 0.9rem;
}
.form-message {
  margin: 0 0 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 5px solid var(--color-primary);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-message strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.form-message p {
  margin: 0;
}

.form-message--success {
  border-left-color: var(--color-primary);
}

.form-message--success strong {
  color: var(--color-primary);
}

.form-message--error {
  border-left-color: var(--color-accent);
}

.form-message--error strong {
  color: var(--color-accent);
}

.price-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 28px;
}

.price-card {
  overflow: hidden;
  border-radius: var(--radius-medium);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 129, 134, 0.14);
}

.price-card__header {
  min-height: 90px;
  padding: 18px 20px 16px;
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}

.price-card__header h3 {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.price-card__header p {
  margin: 0.35rem 0 0;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  line-height: 1.2;
  opacity: 0.95;
}

.price-card__price {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 20px 16px;
  color: var(--color-primary);
  background: var(--color-white);
  border-bottom: 1px solid rgba(0, 129, 134, 0.12);
}

.price-card__currency {
  align-self: flex-start;
  margin-top: 0.55rem;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1;
}

.price-card__price strong {
  font-size: clamp(3.6rem, 5.6vw, 5rem);
  line-height: 0.85;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.price-card__unit {
  align-self: flex-end;
  margin-bottom: 0.48rem;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  line-height: 1;
}

.price-card__body {
  padding: 20px 22px 22px;
  background: var(--color-white);
}

.price-card__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card__body li {
  position: relative;
  margin: 0 0 0.62rem;
  padding-left: 1.1rem;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--color-text);
}

.price-card__body li:last-child {
  margin-bottom: 0;
}

.price-card__body li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--color-primary);
}

/* Bild-Card rechts */
.price-card--image {
  min-height: 100%;
  background: var(--color-cream);
}

.price-card--image img {
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
}

/* Tablet */
@media (max-width: 980px) {
  .price-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card--image {
    grid-column: 1 / -1;
  }

  .price-card--image img {
    min-height: 260px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .price-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 26px;
  }

  .price-card__header {
    min-height: auto;
  }

  .price-card__price {
    min-height: 105px;
  }

  .price-card__body {
    padding: 20px;
  }

  .price-card--image {
    grid-column: auto;
  }

  .price-card--image img {
    min-height: 240px;
  }
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.2s ease;
}

.back-to-top:hover {
  background: var(--color-accent);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Nur auf Mobile anzeigen */
@media (min-width: 781px) {
  .back-to-top {
    display: none;
  }
}

/* Etwas höher, falls Cookie-Banner unten offen ist */
.cookie-banner:not([hidden]) ~ .back-to-top,
.cookie-backdrop:not([hidden]) ~ .back-to-top {
  bottom: 86px;
}

/* weiches Hintergrundbild */
.page-404::before {
  content: "";
  position: fixed;
  inset: 0;

  background-image: url("/img/hero-kontakt.webp");
  background-size: cover;
  background-position: center;

  filter: blur(16px);
  transform: scale(1.05);

  z-index: -2;
}

.error-page {
  min-height: 80vh;
}

.error-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  margin-top: 2.5rem;
}

.error-box {
  max-width: 720px;
  background: rgba(255, 255, 255, 0.92);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.error-box h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 3.5rem);
}

.error-box p {
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
