:root {
  --bg: #ffffff;
  --bg-soft: #f1ede4;
  --surface: #ffffff;
  --surface-soft: #f7f2e8;
  --text: #1f1e1b;
  --muted: #5c5a53;
  --accent: #ad8a45;
  --accent-hover: #8f6f2f;
  --accent-rgb: 173, 138, 69;
  --green: #6e846d;
  --border: #dfd9cc;
  --shadow: 0 12px 30px rgba(36, 29, 18, 0.08);
  --radius: 18px;
  --band-light: #eef1ed;
  --band-sage: #a8b3a7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

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

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem clamp(1rem, 2vw, 2rem);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand img {
  width: 62px;
  height: 62px;
}

.main-nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  transition: color 180ms ease;
  font-size: 0.95rem;
  padding-top: 0.55rem;
}

.main-nav a::before {
  content: "";
  position: absolute;
  top: 0.06rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transform: scaleX(0.35);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--text);
}

.main-nav a:hover::before,
.main-nav a:focus-visible::before,
.main-nav a[aria-current="page"]::before {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--accent);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
}

main {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 3.4rem 0 2.8rem;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: -44px;
  bottom: -26px;
  width: 170px;
  height: 170px;
  background: url("assets/spirale.svg") center / contain no-repeat;
  opacity: 0.42;
  pointer-events: none;
}

.hero-content {
  max-width: 620px;
}

.hero-content h1,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  margin-top: 0;
  line-height: 1.1;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.3vw, 3.5rem);
  margin-bottom: 1rem;
  max-width: 22ch;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  color: var(--muted);
  max-width: 54ch;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  margin-bottom: 0.9rem;
}

.hero-media {
  justify-self: end;
  width: min(108%, 620px);
  transform: translateX(54px);
  overflow: hidden;
}

.hero-media,
.hero-media img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.hero-media img {
  width: 108%;
  max-width: none;
  transform: translateX(2%) scale(1.03);
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(circle at 45% 50%, rgba(0, 0, 0, 0.95) 24%, rgba(0, 0, 0, 0.68) 46%, rgba(0, 0, 0, 0.25) 66%, transparent 84%);
  mask-image: radial-gradient(circle at 45% 50%, rgba(0, 0, 0, 0.95) 24%, rgba(0, 0, 0, 0.68) 46%, rgba(0, 0, 0, 0.25) 66%, transparent 84%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.72rem 1.24rem;
  text-decoration: none;
  font-weight: 500;
  transition: transform 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  border: 1px solid #b89a5a;
  background: #b89a5a;
  color: #fffaf1;
}

.btn-primary:hover {
  background: #a78643;
  border-color: #a78643;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-secondary {
  border: 1px solid #b89a5a;
  background: #b89a5a;
  color: #fffaf1;
}

.btn-secondary:hover {
  background: #a78643;
  border-color: #a78643;
}

.btn-spiral {
  position: relative;
  isolation: isolate;
}

.btn-spiral::before {
  content: "";
  position: absolute;
  left: -78px;
  top: 50%;
  width: 210px;
  height: 210px;
  transform: translateY(-50%);
  background: url("assets/spirale.svg") center / contain no-repeat;
  opacity: 0.34;
  z-index: -1;
  pointer-events: none;
}

.section {
  padding: 3.1rem 0;
}

.section-band {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-inline: max(1rem, calc((100vw - 1140px) / 2));
}

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

.section-band-sage {
  background: var(--band-sage);
}

.section-soft {
  background: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  padding-inline: clamp(1rem, 3vw, 2.4rem);
}

#ueber-mich.section-soft,
#ambiente.section-soft,
#kontakt-cta.cta {
  padding-inline: max(1rem, calc((100vw - 1140px) / 2));
}

#kontakt-cta {
  background: #a8b3a7;
}

#ueber-mich {
  background: #eef1ee;
}

#ueber-mich h2,
#ueber-mich p {
  color: var(--text);
}

#ueber-mich strong {
  font-weight: 700;
  color: #1a1a1a;
}

#ueber-mich .eyebrow {
  color: var(--accent);
}

.section-heading {
  margin-bottom: 1.3rem;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin-bottom: 0.25rem;
}

.section-heading h2::after {
  content: "";
  display: block;
  margin-top: 0.35rem;
  width: 140px;
  height: 3px;
  background: #b89a5a;
}

.section p {
  color: var(--muted);
}

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

.split > div {
  transform: translateY(6px);
}

.split figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.split-about {
  align-items: stretch;
}

.split-about > div {
  transform: none;
}

.about-photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  width: min(100%, 360px);
  justify-self: end;
  min-height: 300px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.ueber-mich-spirale {
  margin: 0;
  justify-self: end;
  width: min(100%, 320px);
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  opacity: 0.42;
  overflow: visible;
}

.ueber-mich-spirale img {
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0.7;
  mix-blend-mode: screen;
  filter: saturate(0.8);
}

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

.card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.card:nth-child(2n) {
  transform: translateY(8px);
}

.card h3,
.card h2 {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.pricing-section {
  --mooi-green: #57725d;
  --mooi-green-soft: #e9f0eb;
  background: #212429;
}

#preise h2,
#preise h3,
#preise p,
#preise .eyebrow,
#preise .price-accordion-trigger,
#preise .price-item strong {
  color: #ffffff;
}

.price-accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.price-group + .price-group {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.price-accordion-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.1rem;
  font: inherit;
  font-weight: 600;
  font-size: 1.03rem;
  text-align: left;
  cursor: pointer;
}

.price-accordion-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.price-icon {
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.price-accordion-trigger[aria-expanded="true"] .price-icon {
  transform: rotate(45deg);
}

.price-panel {
  display: none;
  background: rgba(255, 255, 255, 0.05);
}

.price-panel.is-open {
  display: block;
}

.price-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.price-item h3 {
  font-size: 1.24rem;
  margin-bottom: 0.2rem;
}

.price-item p {
  margin: 0;
  font-size: 0.93rem;
}

.price-item strong {
  color: var(--mooi-green);
  white-space: nowrap;
  font-size: 1.04rem;
  align-self: center;
}

.gallery {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery img {
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--border);
}

.gallery figure {
  margin: 0;
}

.cta {
  margin-top: 1.1rem;
  margin-bottom: 3.5rem;
  border: 0;
  border-radius: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  background: transparent;
  box-shadow: none;
}

.page-head {
  padding-bottom: 1rem;
}

.page-head h1 {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  margin-bottom: 0.45rem;
}

.contact-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.95fr 1.05fr;
}

.contact-card a {
  color: var(--accent-hover);
}

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

.contact-form label {
  color: var(--text);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.72rem;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(var(--accent-rgb), 0.32);
  border-color: rgba(var(--accent-rgb), 0.85);
}

.form-status {
  margin: 0.35rem 0 0;
  font-size: 0.94rem;
  border-radius: 10px;
  padding: 0.58rem 0.72rem;
}

.form-status.success {
  background: rgba(110, 132, 109, 0.16);
  color: #264226;
}

.form-status.error {
  background: rgba(150, 53, 40, 0.12);
  color: #6f261f;
}

.hint {
  font-size: 0.9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.is-hidden {
  display: none;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.final-contact {
  background: #212429;
  color: #d6d9de;
  padding-top: 3rem;
  padding-bottom: 2.6rem;
}

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

.final-contact-col {
  padding-right: 1.2rem;
}

.final-contact-col:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.26);
}

.final-contact-col h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: #f7f8fa;
  font-size: 1.6rem;
}

.final-contact-col p {
  color: #c8ced6;
  margin-top: 0;
}

.final-contact-col a {
  color: #ffffff;
}

.final-map-bottom {
  background: #212429;
  padding-top: 0;
  padding-bottom: 3rem;
}

.map-wrap.map-wrap-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.map-wrap.map-wrap-full iframe {
  height: 420px;
}

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

.legal-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
  color: var(--accent);
}

.footer {
  border-top: 1px solid var(--border);
  margin-top: 2.2rem;
  padding: 1.4rem min(4vw, 2rem) 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
}

.footer div {
  display: flex;
  gap: 1rem;
}

.footer a {
  text-decoration: none;
}

.media-placeholder {
  width: 100%;
  border-radius: 14px;
  border: 1px dashed rgba(var(--accent-rgb), 0.52);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(247, 242, 232, 0.88));
  box-shadow: var(--shadow);
}

.media-placeholder img {
  width: 100%;
  height: auto;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .contact-layout,
  .legal-grid,
  .final-contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    justify-self: start;
    width: min(100%, 560px);
    aspect-ratio: 4 / 3;
    transform: none;
  }

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

  .card:nth-child(2n),
  .split > div {
    transform: none;
  }

  .about-photo {
    width: min(100%, 320px);
    justify-self: start;
    min-height: 270px;
  }

  .final-contact-col {
    padding-right: 0;
    padding-bottom: 0.9rem;
  }

  .final-contact-col:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.4rem);
    flex-direction: column;
    align-items: flex-start;
    min-width: 240px;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: all 180ms ease;
  }

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

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

  .price-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
