*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f7f5f2;
}

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

a {
  color: inherit;
}

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

.narrow {
  width: min(760px, 100%);
  margin: 0 auto;
}

/* HEADER */

.site-header {
  background-color: rgba(247, 245, 242, 0.95);
  border-bottom: 1px solid #e7e0d7;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  transition: transform 0.4s ease;
}

.site-header.hide {
  transform: translateY(-100%);
}

.header-inner {
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #333;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #b08968;
}

.site-nav a[aria-current="page"] {
  border-bottom: 2px solid #b08968;
  padding-bottom: 4px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #222;
}

/* HERO */

.hero {
  padding: 90px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow,
.section-label,
.portfolio-category {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: #b08968;
  margin: 0 0 1rem;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-description {
  max-width: 560px;
  margin-bottom: 2rem;
  color: #555;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  border-radius: 18px;
}

/* BUTTONS */

.btn {
  display: inline-block;
  padding: 14px 24px;
  background-color: #222;
  color: #fff;
  text-decoration: none;
  border: 1px solid #222;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.btn:hover {
  background-color: #b08968;
  border-color: #b08968;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: #222;
}

.btn-secondary:hover {
  color: #fff;
}

/* SECTIONS */

.section {
  padding: 90px 0;
}

.alt-section {
  background-color: #efe9e1;
}

.booking-section {
  background-color: #f1ebe4;
  border-top: 1px solid #e7e0d7;
  border-bottom: 1px solid #e7e0d7;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0 0 1rem;
}

.section-intro,
.center-text {
  color: #555;
  font-size: 1.05rem;
}

.center {
  text-align: center;
}

.subhero {
  padding: 90px 0 30px;
}

/* SLIDESHOW */

.slideshow {
  position: relative;
  max-width: 1000px;
  height: 650px;
  margin: 2rem auto 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #e7e0d7;
  background-color: #fff;
}

.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 25s infinite;
}

.img-slider_1 {
  object-position: center 40% !important;
}

.img-slider_2 {
  object-position: center 40% !important;
}

.img-slider_3 {
  object-position: center 27% !important;
}

.img-slider_4 {
  object-position: center 60% !important;
}

.img-slider_5 {
  object-position: center 5% !important;
}

#slide1 {
  animation-delay: 0s;
}

#slide2 {
  animation-delay: 5s;
}

#slide3 {
  animation-delay: 10s;
}

#slide4 {
  animation-delay: 15s;
}

#slide5 {
  animation-delay: 20s;
}

@keyframes fade {
  0% {
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  20% {
    opacity: 1;
  }

  28% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* LAYOUT */

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.content-block h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-top: 0;
  margin-bottom: 1rem;
}

.image-block img {
  width: 100%;
  height: 670px !important;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}

/* CARDS */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid #e7e0d7;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card h3,
.card h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
}

.card p {
  margin-bottom: 0;
  color: #555;
}

/* GALLERY */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.text-link {
  text-decoration: none;
  color: #b08968;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: 260px;
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

/* CONTACT / FORM */

.contact-layout {
  align-items: stretch;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.contact-list li + li {
  margin-top: 0.5rem;
}

.contact-card {
  background-color: #fff;
  border: 1px solid #e7e0d7;
  border-radius: 18px;
  padding: 2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.95rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: 0.9rem 1rem;
  border: 1px solid #d7cec3;
  border-radius: 12px;
  background-color: #fff;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #b08968;
}

.form-hint {
  font-size: 0.85rem;
  color: #777;
}

/* PORTFOLIO */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.portfolio-card {
  background-color: #fff;
  border: 1px solid #e7e0d7;
  border-radius: 18px;
  overflow: hidden;
}

.portfolio-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.portfolio-card img:hover {
  transform: scale(1.03);
}

.img-portrait_1 {
  object-position: center 70% !important;
}

.img-portrait_2 {
  object-position: center 10% !important;
}

.img-portrait_3 {
  object-position: center 40% !important;
}

.img-portrait_4 {
  object-position: center 62% !important;
}

.img-portrait_4_1 {
  object-position: center 38% !important;
}

.img-portrait_5 {
  object-position: center 45% !important;
}

.img-portrait_7 {
  object-position: center 5% !important;
}

.img-portrait_8 {
  object-position: center 15% !important;
}

.img-portrait_9 {
  object-position: center 5% !important;
}

.img-portrait_10 {
  object-position: center 40% !important;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.portfolio-content p:last-child {
  margin-bottom: 0;
  color: #555;
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.img-fotografin {
  object-position: center 30% !important;
}

/* FOOTER */

.site-footer {
  background-color: #fff;
  border-top: 1px solid #e7e0d7;
  padding: 16px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-footer ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  padding: 0;
  margin: 0;
}

.site-footer a {
  text-decoration: none;
  color: #555;
}

.site-footer a:hover {
  color: #b08968;
}

/* BOOKING */

.booking-text-block {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.booking-text-block .image-block {
  margin-top: 2rem;
  flex-grow: 1;
}

.booking-text-block .image-block img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 18px;
}

.price-note {
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  color: #555;
  background-color: #f1ebe4;
  border-radius: 12px;
  text-align: center;
}

/* KONTAKT */

.contact-teaser {
  text-align: left;
}

.contact-teaser .section-title {
  margin-bottom: 1rem;
}

.teaser-contact-list {
  margin: 1.5rem 0 2rem;
}

.teaser-contact-list li {
  margin-bottom: 0.6rem;
}

.contact-teaser .btn {
  display: inline-block;
}

.map-box {
  margin-top: 2rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e7e0d7;
}

.map-box iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

/* POPUP */

.success-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.success-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
}

.success-box .btn {
  margin-top: 1rem;
}

/* COOKIE */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e7e0d7;
  border-radius: 18px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-grid,
  .split-layout,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .slideshow {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 14px 0;
  }

  .header-inner {
    min-height: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .logo {
    font-size: 1rem;
    letter-spacing: 0.12em;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 230px;
    background: #fff;
    border: 1px solid #e7e0d7;
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    z-index: 2000;
  }

  .site-nav.active {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .site-nav a {
    font-size: 1rem;
  }

  .hero-image img {
    height: 360px;
  }

  .image-block img {
    height: 360px !important;
  }

  .portfolio-card img {
    height: 320px;
  }

  .booking-text-block .image-block img {
    height: 360px;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero,
  .section,
  .subhero {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
    line-height: 1.15;
  }

  .hero-text h1 {
    font-size: 2.45rem;
  }

  .center-text,
  .section-intro,
  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .slideshow {
    height: 280px;
  }

  .footer-inner {
    align-items: center;
    text-align: center;
  }

  .site-footer ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .cookie-banner {
    width: calc(100% - 40px);
    flex-direction: column;
    text-align: center;
  }
}