/* Claudia Goebbel – konsolidiertes Stylesheet */

@font-face {
  font-family: "Uniform Round Regular";
  src: url("../fonts/UniformRnd-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Uniform Round Medium";
  src: url("../fonts/UniformRnd-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Uniform Round Bold";
  src: url("../fonts/UniformRnd-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --sand: #DBC9B3;
  --sand-dark: #b2a08a;
  --brown: #694c16;
  --brown-soft: rgba(105, 76, 22, 0.75);
  --white: #ffffff;
  --black: #000000;
  --gray: #333333;
  --light-gray: #aaaaaa;
  --content-max: 1000px;
  --header-height: 56px;
  --button-radius: 9999px;
  --font: "Uniform Round Medium", sans-serif;
  --heading-font: "Uniform Round Medium", sans-serif;
  --testimonial-font: "Uniform Round Medium", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--brown);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  border-radius: var(--button-radius);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
}
/* ——— Header / Navigation ——— */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--sand);
  transition: box-shadow 0.25s ease;

}

.site-header.is-scrolled {
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

.nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 3%;
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  justify-self: start;
}

.nav-links a {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.nav-links a:hover{
  opacity: 0.5;
  color: var(--brown);
}

.nav-links a.is-active {
  color: var(--brown);
}

.nav-logo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  overflow: hidden;
  display: block;
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  justify-self: end;
}

.nav-toggle {
  justify-self: start;
}

.nav-social a,
.footer-social a {
  display: inline-flex;
  color: var(--white);
  transition: opacity 0.2s ease;
}

.nav-social a:hover,
.footer-social a:hover {
  opacity: 0.7;
}

.nav-social svg,
.footer-social svg {
  width: 48px;
  height: 48px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

/* ——— Masthead ——— */

.masthead {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  min-height: 420px;
  background-color: var(--sand);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.masthead-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  color: var(--white);
  transition: background 0.2s ease;
}

.masthead-scroll:hover {
  background: rgba(255, 255, 255, 0.2);
}

.masthead-scroll svg {
  width: 42px;
  height: 42px;
  fill: currentColor;
}

/* ——— Page content ——— */

.page-content {
  position: relative;
  z-index: 1;
  background: var(--white);
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.page-content--legal {
  max-width: 780px;
  text-align: left;
  padding-top: 6rem;
  background: transparent;
}

.page--legal {
  background: var(--brown);
  color: var(--white);
  min-height: 100vh;
}

.page--legal .site-header {
  background: var(--sand);
}

.page--legal .page-content {
  color: var(--white);
}

.page--legal a {
  color: var(--white);
  text-decoration: underline;
}

.page-title {
  font-size: 50px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sand);
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 2rem;
  max-width: var(--content-max);
  margin: 0 auto 40px;
}

.page--legal .page-title {
  color: var(--white);
}

.content-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto 3rem;
}

.content-section:last-of-type {
  margin-bottom: 0;
}

.content-section > .text-block,
.content-section > .gallery,
.content-section > .video-grid,
.content-section > .tree,
.content-section > .testimonial,
.content-section > .content-image {
  max-width: var(--content-max);
}

.section-title {
  display: inline-block;
  font-size: 25px;
  line-height:30px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brown);
  text-decoration: underline;
  margin: 0 0 1rem;
}

.section-subtitle {
  font-size: 0.95rem;
  font-weight: 500;
  font-style: italic;
  color: var(--brown);
  margin: -0.5rem 0 1.25rem;
}

.text-block {
  max-width: var(--content-max);
  margin: 0 auto 1.75rem;
  font-size: 1.125rem;
  font-weight: 400;
}

.text-block p + p {
  margin-top: 1.1rem;
}

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

.content-image {
  max-width: var(--content-max);
  margin: 2rem auto;
}


.content-image--portrait {
  max-width: 75%;
}

.content-image img {
  width: 100%;
  margin: 0 auto;
}

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  margin: 1.5rem 0 2rem;
  padding: 0.85rem 1.75rem;
  background: var(--sand);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  border-radius: var(--button-radius);
  text-transform: uppercase;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  background: var(--sand-dark);
}

.page--legal .btn {
  background: var(--white);
  color: var(--brown);
}

/* ——— Gallery ——— */

.gallery {
  columns: 3;
  column-gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}

.gallery.equal img{
  height:218px
}
.gallery--2 {
  columns: 2;
}

.gallery a,
.gallery button {
  break-inside: avoid;
  display: block;
  overflow: hidden;
  padding: 0;
  width: 100%;
  margin-bottom: 0.5rem;
}

.gallery img {
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}

.gallery a:hover img,
.gallery button:hover img {
  transform: scale(1.04);
}

/* ——— Two-column tree ——— */

.tree {
  display: flex;
  align-items: stretch;
  gap: 3rem;
  text-align: left;
  max-width: var(--content-max);
  margin: 0 auto;
  
}

.tree:not(:last-of-type) {
  margin-bottom: 3rem;
}

.tree-text {
  flex: 1;
  padding:0 2rem 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tree-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--brown);
  display: inline-block;
  padding-bottom: 0.2rem;
}

.tree-text ul {
  list-style: none;
}

.tree-text li {
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  position: relative;
  padding-left: 0;
}

.tree-image {
  flex: 1;
  overflow: hidden;
}

.tree-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ——— Testimonials ——— */

.testimonial {
  margin: 2.5rem auto 1.5rem;
  max-width: 720px;
}

.testimonial-portrait {
  width: 230px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
}

.testimonial-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-family: var(--testimonial-font);
  line-height:1.5rem;
  padding-bottom:10px;
  font-weight: 500;
  color: var(--brown);
}

.testimonial-author {
  font-weight: 700;
  font-size: 1.25rem;
  font-style: italic;
}

.testimonial + .testimonial {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sand);
}

/* ——— Contact form ——— */

.contact-form-wrap {
  max-width: var(--content-max);
  margin: 0 auto 1rem;
  text-align: left;
  width: 100%;
}

.contact-form-submit {
  text-align: center;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--sand);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--brown);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brown);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-success {
  display: none;
  padding: 1rem;
  background: var(--sand);
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
}

.form-error {
  display: none;
  padding: 1rem;
  background: #a94442;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.form-error.is-visible {
  display: block;
}

/* ——— Contact reach section ——— */

.contact-reach {
  max-width: var(--content-max);
  margin: 3rem auto 0;
  width: 100%;
}

.contact-reach-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sand);
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 2rem;
}

.contact-reach-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  text-align: left;
}

.contact-reach-image {
  flex: 0 0 42%;
  max-width: 42%;
  margin: 0;
}

.contact-reach-image img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-reach-info {
  flex: 1;
  padding-top: 0.5rem;
}

.contact-reach-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.contact-reach-info p {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.contact-reach-info .contact-details {
  margin-top: 1.5rem;
}

.contact-reach-info .contact-details p {
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ——— Legal pages ——— */

.legal-block {
  margin-bottom: 2rem;
}

.legal-block h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
}

.legal-block h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
}

.legal-block p {
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.65;
}

.legal-block ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 0.85rem;
}

.legal-block li {
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

/* ——— Page footer links ——— */

.page-links {
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown);
}

.page-links a:hover {
  opacity: 0.7;
}

.page-links span {
  margin: 0 0.4rem;
}

/* ——— Site footer ——— */

.site-footer {
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
}

.footer-social a {
  color: var(--light-gray);
}

.footer-social svg {
  width: 3rem;
  height: 3rem;
}
/* ——— Cookie banner ——— */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--brown);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  font-size: 0.85rem;
  flex: 1;
  min-width: 220px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cookie-actions button {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
}

.cookie-close {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none !important;
}

/* ——— Back to top ——— */

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: opacity 0.2s ease, background 0.2s ease;
}

.back-to-top.is-visible {
  display: flex;
}

.back-to-top:hover {
  background: var(--sand-dark);
}

.back-to-top svg {
  width: 11px;
  height: 14px;
  fill: currentColor;
}

/* ——— Lightbox ——— */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(255, 255, 255, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 85vh;
  margin: 0 auto;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--brown);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: transparent;
}

.lightbox-close {
  top: -2.5rem;
  right: 0;
}

.lightbox-prev {
  left: -3rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: -3rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.6;
}

/* ——— Video embeds ——— */

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

/* .video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
} */

/* ——— Responsive ——— */

@media (max-width: 900px) {
  .tree {
    flex-direction: column;
    text-align: center;
    margin: 0 -1.5rem 2rem;
  }

  .tree-text {
    padding: 1.5rem 1.5rem 1rem;
    justify-content: flex-start;
  }

  .tree-image {
    min-height: 260px;
    width: 100%;
  }

  .tree-text h3 {
    display: inline-block;
  }

  .contact-reach-layout {
    flex-direction: column;
  }

  .contact-reach-image {
    flex: none;
    max-width: 70%;
    margin: 0 auto;
  }

  .lightbox-prev {
    left: 0.25rem;
  }

  .lightbox-next {
    right: 0.25rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    grid-column: 1;
    grid-row: 1;
  }

  .nav {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--sand);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 0 1.25rem;
    gap: 0;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    justify-self: stretch;
    z-index: 999;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }

  .nav-logo {
    grid-column: 2;
    justify-self: center;
  }

  .nav-social {
    grid-column: 3;
  }

  .gallery {
    columns: 2;
  }

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

  .content-image--wide,
  .content-image--portrait {
    max-width: 100%;
  }

  .page-content {
    padding: 3rem 1.15rem 2.5rem;
    max-width: var(--content-max);
  }

  .tree {
    margin-left: -1.15rem;
    margin-right: -1.15rem;
  }

  .tree-text {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .testimonial-portrait {
    width: 28%;
  }
}

@media (max-width: 480px) {
  .gallery {
    columns: 2;
    column-gap: 0.35rem;
  }

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