/* LOCAL FONTS
   Lege diese Dateien in den Ordner /fonts:
   Inter-Regular.woff2
   Inter-Medium.woff2
   Inter-SemiBold.woff2
   Inter-Bold.woff2
   PlayfairDisplay-Medium.woff2
   PlayfairDisplay-SemiBold.woff2
   PlayfairDisplay-Bold.woff2
*/

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6efe5;
  --bg-light: #fbf7f1;
  --text: #2d2924;
  --muted: #6f665d;
  --accent: #7b8c65;
  --accent-dark: #596849;
  --white: #ffffff;
  --line: rgba(45, 41, 36, 0.12);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 164, 112, 0.62), transparent 34%),
    radial-gradient(circle at top right, rgba(214, 164, 112, 0.62), transparent 30%),
    radial-gradient(circle at bottom left, rgba(187, 128, 84, 0.64), transparent 34%),
    linear-gradient(
      180deg,
      #fff8ef 0%,
      #f7ecd8 32%,
      #efe0c8 68%,
      #f8f1e7 100%
    );
}

/* TYPOGRAPHY */
h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
}

body,
p,
li,
a,
button,
select,
input,
textarea,
.main-nav a,
.language-switcher,
.button {
  font-family: "Inter", Arial, Helvetica, sans-serif;
}


a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}

.header-glass {
  width: min(1120px, calc(100% - 32px));
  margin: 14px auto 0;
  background: rgba(0, 0, 0, 0.50);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 26px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.22);
  overflow: hidden;
}

.topbar {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 22px 8px;
}

.topbar-title {
  text-align: center;
}

.topbar-title a {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: white;
  text-shadow: none;
}

.topbar-right {
  display: flex;
  justify-content: flex-end;
}

.language-switcher {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.18);
  color: white;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.95rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.language-switcher option {
  color: #2d2924;
  background: white;
}

.main-nav {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0 22px 14px;
}

.main-nav a {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: white;
  font-size: 1.18rem;
  font-weight: 600;
  text-shadow: none;
}

.main-nav a:hover {
  color: rgba(255,255,255,0.78);
}

/* HERO */
.hero {
  min-height: 32vh;
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: -8%;
  width: 116%;
  height: 100%;
  background: url("photos/pano.jpg") center center / cover no-repeat;
  animation: panZoom 36s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes panZoom {
  0% {
    transform: translateX(-2%) scale(1.01);
  }
  100% {
    transform: translateX(2%) scale(1.04);
  }
}

.hero-overlay {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.38), rgba(0,0,0,0.34));
  padding: 115px 16px 45px;
}

.hero-content {
  max-width: 850px;
  text-align: center;
  color: white;
}

.hero-kicker,
.section-label {
  margin: 0 0 12px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-kicker {
  color: rgba(255,255,255,0.88);
}

.section-label {
  color: var(--accent-dark);
}

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

.hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin: 22px auto 0;
  max-width: 760px;
}

.button {
  display: inline-block;
  margin-top: 30px;
  padding: 13px 24px;
  border-radius: 999px;
  background: white;
  color: var(--text);
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.18);
}

/* SECTIONS */
.intro-section,
.highlight-section,
.details-section,
.special-section,
.page-title-section,
.gallery-section {
  padding: 36px 0;
}

.intro-section {
  padding-bottom: 24px;
}

.highlight-section {
  padding-top: 24px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: stretch;
}

.text-card,
.info-card,
.features-box,
.special-card,
.page-title-section .container {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.text-card {
  padding: 36px;
}

.text-card h2,
.section-heading h2,
.details-grid h2,
.special-card h2,
.page-title-section h1 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.15;
}

.text-card p,
.info-card p,
.details-grid p,
.special-card p,
.page-title-section p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.image-stack {
  min-height: 460px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.image-card {
  border-radius: 28px;
  box-shadow: var(--shadow);
  min-height: 0;
}

.image-card-town {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.22)),
    url("photos/img1.jpg") center center / cover no-repeat;
}

.image-card-house {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.22)),
    url("photos/haus.jpg") center center / cover no-repeat;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.info-card {
  padding: 28px;
}

.info-card h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.info-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.features-box {
  padding: 30px;
}

.features-box h3 {
  margin-top: 0;
  font-size: 1.45rem;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.features-list span {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(123, 140, 101, 0.12);
  color: var(--accent-dark);
  font-size: 0.95rem;
}

.special-card {
  padding: 38px;
  max-width: 920px;
}

/* GALLERY PAGE */
.page-title-section .container {
  padding: 38px;
  text-align: center;
}

.page-title-section h1 {
  margin-bottom: 12px;
}

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

.img-wrapper {
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.img-wrapper img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.img-wrapper:hover img {
  transform: scale(1.05);
}

/* OVERLAY */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.93);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  z-index: 9999;
}

.hidden {
  display: none;
}

.overlay-content {
  position: relative;
  max-width: min(1000px, 88vw);
  max-height: 86vh;
}

.overlay-content img {
  display: block;
  max-width: 100%;
  max-height: 86vh;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
}

.overlay-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px;
  color: white;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.78) 100%);
  border-radius: 0 0 16px 16px;
  font-size: 1rem;
  line-height: 1.45;
}

.close-btn,
.nav {
  border: none;
  color: white;
  cursor: pointer;
  z-index: 10002;
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 28px;
  background: transparent;
  font-size: 44px;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  font-size: 30px;
  backdrop-filter: blur(6px);
}

.nav:hover {
  background: rgba(255,255,255,0.24);
}

.nav-left {
  left: 24px;
}

.nav-right {
  right: 24px;
}

/* FOOTER */
.site-footer {
  padding: 30px 16px;
  text-align: center;
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .intro-grid,
  .details-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .image-stack {
    min-height: auto;
    gap: 14px;
  }

  .image-card {
    min-height: 220px;
  }
}

@media (max-width: 650px) {
.topbar {
  grid-template-columns: 1fr auto;
}

.topbar-left {
  display: none;
}

.topbar-title {
  text-align: left;
}

.topbar-title a {
  font-size: 1.35rem;
}

.hero-overlay {
  padding-top: 120px;
}

  .hero-content {
    text-align: left;
  }

  .text-card,
  .info-card,
  .features-box,
  .special-card,
  .page-title-section .container {
    padding: 26px;
    border-radius: 22px;
  }

  .nav-left {
    left: 10px;
  }

  .nav-right {
    right: 10px;
  }

  .nav {
    width: 46px;
    height: 46px;
  }

  .overlay {
    padding: 12px;
  }
}

/* INFO PAGE */
.info-section,
.contact-section {
  padding: 72px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: stretch;
}

.parking-card {
  padding: 32px;
}

.parking-card h3 {
  margin-top: 0;
  font-size: 1.45rem;
}

.parking-card p {
  color: var(--muted);
  line-height: 1.75;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 38px;
}

.contact-card h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.contact-card p {
  color: var(--muted);
  line-height: 1.75;
}

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

.contact-item {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(123, 140, 101, 0.10);
}

.contact-item strong {
  color: var(--accent-dark);
}

.contact-item span,
.contact-item a {
  color: var(--text);
  line-height: 1.5;
}

.contact-item a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .info-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }
}



/* HEADER MOBILE */
@media (max-width: 650px) {
  .header-glass {
    width: calc(100% - 20px);
    margin-top: 10px;
    border-radius: 22px;
  }

  .header-glass .topbar {
    grid-template-columns: 1fr auto;
    padding: 12px 16px 8px;
  }

  .topbar-left {
    display: none;
  }

  .topbar-title {
    text-align: left;
  }

  .topbar-title a {
    font-size: 1.35rem;
  }

  .header-glass .main-nav {
    padding: 0 16px 12px;
    gap: 18px;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-glass .main-nav a {
    font-size: 0.95rem;
  }
}

/* SPACE FOR FIXED GLASS HEADER ON SUBPAGES */
.page-title-section {
  padding-top: 150px;
}

.gallery-title-compact {
  padding-top: 120px;
  padding-bottom: 8px;
}

.gallery-title-compact .container {
  max-width: 680px;
  padding: 14px 22px;
}

.gallery-title-compact h1 {
  margin: 0 0 4px;
  font-size: 2rem;
}

.gallery-title-compact p {
  margin: 0;
  font-size: 0.98rem;
}

.gallery-section {
  padding-top: 18px;
}

.img-wrapper video {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 42px;
  background: rgba(0,0,0,0.18);
  pointer-events: none;
}

.overlay-content video {
  display: block;
  max-width: 100%;
  max-height: 86vh;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
}

.img-wrapper {
  position: relative;
}

.img-wrapper video {
  background: #111;
}
