/* =========================================================
   Güther Gravur – Stylesheet
   Farbwelt aus Logo/Flyer abgeleitet: Gold, Schwarz, Creme
   ========================================================= */

:root {
  --gold:        #c8a24c;
  --gold-light:  #e9d6a3;
  --gold-dark:   #a07f30;
  --black:       #1a1714;
  --black-soft:  #211d18;
  --cream:       #f5edda;
  --cream-deep:  #ece0c4;
  --text:        #2a2620;
  --text-light:  #f3ead6;

  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;

  --maxw: 1100px;
  --footer-h: 60px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* Platz für den fest fixierten Footer am unteren Rand */
  padding-bottom: var(--footer-h);
}

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

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  /* dauerhaft sichtbare Leiste, gespiegelt zum Footer */
  background: rgba(26, 23, 20, .92);
  border-bottom: 1px solid rgba(200, 162, 76, .3);
  backdrop-filter: blur(6px);
  transition: box-shadow .3s ease;
}
.nav.is-scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.nav__brand {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: var(--text-light);
  text-decoration: none;
}
.nav__links { display: flex; gap: clamp(1rem, 2.5vw, 2.2rem); }
.nav__links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .85;
  transition: opacity .2s, color .2s;
}
.nav__links a:hover { opacity: 1; color: var(--gold-light); }

/* Burger-Button (nur mobil sichtbar) */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 60;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
/* Animation zum X im geöffneten Zustand */
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--footer-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(120% 90% at 70% 20%, #322b22 0%, var(--black) 60%);
  color: var(--text-light);
  padding: 6rem 1.5rem 9rem;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; }
.hero__logo {
  width: clamp(120px, 18vw, 190px);
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold), 0 12px 40px rgba(0,0,0,.5);
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 5rem);
  letter-spacing: .03em;
  margin: 0;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__tagline {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
  margin: .6rem 0 2rem;
}
.hero__wave {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 140px;
  z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 2.2rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-light);
  text-decoration: none;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: inherit;
  font-size: .85rem;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.btn:hover { background: var(--gold); color: var(--black); }

/* ---------- Sektionen ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.2rem, 4vw, 2rem);
}
.section--dark {
  max-width: none;
  background: var(--black);
  color: var(--text-light);
}
.section--dark .section { padding-top: 0; padding-bottom: 0; }
.section__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin: 0 0 .4rem;
  position: relative;
}
.section__title::after {
  content: "";
  display: block;
  width: 60px; height: 2px;
  margin: .8rem auto 0;
  background: var(--gold);
}
.section__title--light { color: var(--text-light); }
.section__title--left { text-align: left; }
.section__title--left::after { margin-left: 0; }
.section__lead {
  max-width: 620px;
  margin: 1.2rem auto 2.5rem;
  text-align: center;
  font-size: 1.1rem;
}

/* ---------- Leistungs-Karten ---------- */
.cards {
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  padding: 0 clamp(1.2rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.card {
  border: 1px solid rgba(200, 162, 76, .35);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform .25s, border-color .25s, background .25s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: rgba(200, 162, 76, .07);
}
.card h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--gold-light);
  margin: 0 0 .6rem;
}
.card p { margin: 0; opacity: .8; }

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery__item:hover img { transform: scale(1.06); }

/* ---------- Über mich (Split) ---------- */
.section--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.split__media img { border-radius: 6px; box-shadow: 0 12px 40px rgba(0,0,0,.2); }

/* ---------- Kontakt ---------- */
.contact { text-align: center; font-size: 1.15rem; line-height: 2; }
.contact__note {
  margin-top: 1.5rem;
  font-size: .9rem;
  opacity: .6;
  font-style: italic;
}

/* ---------- Kontakt-Bereich ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
}
.contact-info { font-size: 1.1rem; line-height: 2; }
.contact-info .contact__note {
  margin-top: 1.2rem;
  font-size: .9rem;
  opacity: .6;
  font-style: italic;
}

/* Formular */
.contact-form .field { margin-bottom: 1.1rem; }
.contact-form label {
  display: block;
  margin-bottom: .35rem;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .8;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .75rem .9rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(200, 162, 76, .35);
  border-radius: 4px;
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .2s, background .2s;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(200, 162, 76, .08);
}
.contact-form input:user-invalid,
.contact-form textarea:user-invalid { border-color: #c66; }

/* Honeypot unsichtbar */
.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Einwilligung */
.contact-form .consent {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin: 1.2rem 0 1.5rem;
  font-size: .9rem;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: normal;
  opacity: .9;
}
.consent input { width: auto; margin-top: .25rem; accent-color: var(--gold); flex: none; }
.consent a { color: var(--gold-light); }

.contact-form .btn { width: 100%; }
.contact-form .btn:hover { background: var(--gold); color: var(--black); }

.form-status { margin: 1rem 0 0; font-size: .95rem; min-height: 1.2em; }
.form-status.is-ok { color: var(--gold-light); }
.form-status.is-error { color: #e08c8c; }

/* ---------- Footer ---------- */
.footer {
  position: fixed;          /* immer sichtbar am unteren Bildschirmrand */
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  height: var(--footer-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-soft);
  color: var(--text-light);
  text-align: center;
  padding: 0 1rem;
  font-size: .9rem;
  border-top: 1px solid rgba(200, 162, 76, .3);
}
.footer a { color: var(--gold-light); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__sep { margin: 0 .6rem; opacity: .4; }

/* ---------- Platzhalter-Markierung ---------- */
[data-placeholder] {
  position: relative;
  color: inherit;
  opacity: .7;
}
[data-placeholder]::before {
  content: "✎ ";
  color: var(--gold);
  opacity: .8;
}

/* ---------- Rechtstext-Seiten (Impressum / Datenschutz) ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(7rem, 12vw, 9rem) clamp(1.2rem, 4vw, 2rem) 4rem;
}
.legal h1 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin: 0 0 .3rem;
}
.legal h1::after {
  content: "";
  display: block;
  width: 60px; height: 2px;
  margin: .8rem 0 2rem;
  background: var(--gold);
}
.legal h2 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 2.2rem 0 .5rem;
}
.legal p, .legal li { font-size: 1rem; }
.legal a { color: var(--gold-dark); }
.legal .back {
  display: inline-block;
  margin-bottom: 1.5rem;
  text-decoration: none;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--gold-dark);
}
.legal .back::before { content: "← "; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 12, 10, .92);
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lightbox__close {
  position: absolute;
  top: 1.2rem; right: 1.6rem;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .section--split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Mobile Navigation: Burger-Menü */
@media (max-width: 640px) {
  .nav__brand { font-size: 1.25rem; }
  .nav__toggle { display: flex; }

  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(26, 23, 20, .98);
    border-bottom: 1px solid rgba(200, 162, 76, .3);
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
    padding: .4rem 0;
    /* eingeklappt */
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open .nav__links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__links a {
    width: 100%;
    padding: .95rem clamp(1.2rem, 4vw, 3rem);
    font-size: .9rem;
    border-top: 1px solid rgba(255,255,255,.05);
  }
  .nav__links a:first-child { border-top: none; }
}
