:root {
  --bg: #101719;
  --panel: #172326;
  --panel2: #1c2b2e;
  --gold: #c9a47b;
  --cream: #f5f0e8;
  --muted: #c3c8c5;
  --line: rgba(201, 164, 123, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at 80% 5%, #263639 0%, var(--bg) 44%) fixed;
  color: var(--cream);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, 92vw);
  margin: auto;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(16, 23, 25, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.brand img {
  width: 52px;
  height: 42px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid var(--line);
  box-shadow: 0 5px 18px #0008;
}

.links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #e0ded8;
  font-size: 0.92rem;
}

.links a:hover {
  color: var(--gold);
}

/* Typografie & Buttons */
.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 6px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin: 0.4rem 0 1.1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 1rem;
}

h3 {
  margin: 0.4rem 0 0.5rem;
  color: var(--cream);
}

p {
  color: var(--muted);
  margin: 0.5rem 0 1rem;
}

.gold {
  color: var(--gold);
}

.btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-block;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #d4b18a, #b58a5e);
  color: #172023;
  box-shadow: 0 8px 24px #0004;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px #0006;
}

.btn.alt {
  background: transparent;
  color: var(--cream);
}

.btn.alt:hover {
  background: rgba(201, 164, 123, 0.12);
}

.tag {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  color: #e7d2b8;
  font-size: 0.8rem;
  margin: 3px 5px 3px 0;
}

/* Sektionen & Bilder */
section {
  padding: 60px 0;
}

.hero {
  padding: 58px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 40px;
  align-items: center;
}

.photo-frame {
  position: relative;
  padding: 9px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(201, 164, 123, 0.75), rgba(255, 255, 255, 0.08) 45%, rgba(201, 164, 123, 0.32));
  box-shadow: 0 25px 65px #0009, 0 0 45px rgba(201, 164, 123, 0.09);
  isolation: isolate;
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 18px -12px -12px 18px;
  border: 1px solid rgba(201, 164, 123, 0.3);
  border-radius: 24px;
  z-index: -1;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 17px;
  box-shadow: inset 0 0 0 1px #fff3;
}

.hero-photo {
  height: 390px;
}

.hero-photo img {
  object-position: center 54%;
}

.section-head {
  max-width: 700px;
  margin-bottom: 28px;
}

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

.card {
  background: linear-gradient(145deg, rgba(31, 47, 50, 0.96), rgba(19, 29, 31, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 12px 35px #0003;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card p {
  font-size: 0.95rem;
}

.mini-icon {
  color: var(--gold);
  font-size: 1.5rem;
}

.split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 38px;
  align-items: center;
}

.portrait {
  max-width: 350px;
  margin: auto;
}

.portrait .photo-frame {
  border-radius: 28px;
}

.portrait .photo-frame img {
  object-position: center top;
  border-radius: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.gallery .photo-frame {
  height: 100%;
  min-height: 260px;
}

.gallery .wide {
  grid-row: span 2;
  min-height: 430px;
}

.contact {
  background: linear-gradient(135deg, #1b292b, #121b1d);
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}

/* Kontaktformular Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form label {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(16, 23, 25, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, outline 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

/* Partnerlogos */
.partner-section {
  padding: 18px 0 38px;
  border-bottom: 1px solid var(--line);
}

.partner-head {
  text-align: center;
  margin: 0 auto 18px;
  max-width: 760px;
}

.partner-head p {
  margin: 0.25rem 0;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.partner-card {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(31, 47, 50, 0.55);
}

.partner-logo {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 46px;
  object-fit: contain;
}

/* Google Maps 2-Klick-Box */
.map-box {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #e5e5e5;
  color: #172023;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
}

.map-box.loaded {
  padding: 0 0 12px 0;
  background: var(--panel);
  color: var(--cream);
}

.map-box h3 {
  color: #172023;
  margin-top: 0;
}

.map-box p {
  color: #303838;
  max-width: 720px;
}

.map-box a {
  color: #172023;
  text-decoration: underline;
  font-weight: 600;
}

/* Rechtliches & Trennlinien */
.legal-box {
  padding: 36px 0 54px;
  border-top: 1px solid var(--line);
}

.legal-box h3 {
  margin-top: 1.8rem;
}

.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

.back-link {
  display: inline-block;
  color: var(--gold);
  margin: 28px 0 16px;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  color: #aeb6b2;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--gold);
}

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

@media (max-width: 760px) {
  .hero-grid, .split, .gallery, .cards {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 34px;
  }
  .hero-photo {
    height: 280px;
  }
  .gallery .wide {
    grid-row: auto;
    min-height: 280px;
  }
  .links {
    gap: 11px;
    font-size: 0.82rem;
  }
  .photo-frame::before {
    inset: 12px -5px -6px 12px;
  }
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .partner-card {
    min-height: 66px;
  }
}
