/* ============================================
   ORNATIS — Stylesheet
   Dunkelgrün #1c2e22 · Gold #c9a84c · Cream #f9f4ec
   Cormorant Garamond (Display) · Jost (UI)
   Stil: historisch, elegant, eckig (radius 0)
   ============================================ */

:root {
  --green:        #1c2e22;
  --forest:       #2a4233;
  --gold:         #c9a84c;
  --gold-light:   #e2c07a;
  --gold-pale:    #f5e9c8;
  --cream:        #f9f4ec;
  --warm-white:   #fefcf8;
  --charcoal:     #2c2c28;
  --muted:        #6b6455;
  --line:         #e3ddd0;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Jost', system-ui, sans-serif;

  --maxw: 1200px;
  --pad: clamp(1.5rem, 5vw, 4rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h1 em, h2 em { font-style: italic; color: var(--gold); }

p { font-size: clamp(1rem, 1.1vw, 1.08rem); }
a { color: inherit; text-decoration: none; }

/* ---- eyebrow ---- */
.eyebrow {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--line { display: inline-flex; align-items: center; gap: 1rem; }
.eyebrow--line::before {
  content: "";
  width: 40px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

/* ============ BUTTONS (eckig) ============ */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 1.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.btn--gold { background: var(--gold); color: var(--green); }
.btn--gold:hover { background: var(--gold-light); }
.btn--outline-gold { background: transparent; color: var(--gold-light); border-color: var(--gold); }
.btn--outline-gold:hover { background: var(--gold); color: var(--green); }
.btn--green { background: var(--green); color: var(--cream); }
.btn--green:hover { background: var(--forest); }
.btn--full { width: 100%; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(254, 252, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 1.1rem var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--green);
}
.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a {
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s;
}
.nav__links a:hover { color: var(--green); }
.nav__cta {
  padding: 0.55rem 1.3rem; border: 1px solid var(--green);
  color: var(--green) !important;
}
.nav__cta:hover { background: var(--green); color: var(--cream) !important; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__burger span { width: 26px; height: 2px; background: var(--green); transition: 0.3s; }

/* ============ HERO (Vollbild, dunkelgrün) ============ */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  background: var(--green);
  overflow: hidden;
  background-image:
    repeating-linear-gradient(0deg, rgba(201,168,76,0.04) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(201,168,76,0.04) 0 1px, transparent 1px 80px);
}
.hero__ornament {
  position: absolute;
  right: -120px; top: 50%; transform: translateY(-50%);
  width: 640px; height: 640px;
  color: var(--gold); opacity: 0.12;
  pointer-events: none;
}
.hero__ornament svg { width: 100%; height: 100%; }
.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  padding: 4rem var(--pad);
}
.hero__content { max-width: 680px; animation: fadeUp 1.1s ease both; }
.hero h1 { color: var(--cream); margin: 1.8rem 0 0; }
.hero__lead {
  color: rgba(249, 244, 236, 0.6);
  max-width: 30em; margin-top: 2rem;
  font-size: 1.15rem;
}
.hero__actions { margin-top: 2.8rem; display: flex; gap: 1.2rem; flex-wrap: wrap; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ ABOUT ============ */
.about { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); }
.about__image img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.about__text { padding: clamp(3rem, 6vw, 6rem) var(--pad); max-width: 640px; }
.about__text h2 { color: var(--green); margin: 1.5rem 0; }
.about__text p { color: var(--muted); margin-bottom: 1.1rem; }

/* ============ SORTIMENT ============ */
.sortiment { max-width: var(--maxw); margin: 0 auto; padding: clamp(4.5rem, 9vw, 8rem) var(--pad); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(3rem, 5vw, 4.5rem); }
.section-head h2 { color: var(--green); margin: 1.3rem 0; }
.section-sub { color: var(--muted); }

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.8rem); }
.tile-card {
  background: var(--warm-white); border: 1px solid var(--line);
  overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tile-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(28,46,34,0.4); }
.tile-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.tile-card figcaption {
  padding: 1rem 1.2rem; font-size: 0.74rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line);
}
.sortiment__cta { text-align: center; margin-top: clamp(3rem, 5vw, 4.5rem); }
.sortiment__cta p { color: var(--muted); margin-bottom: 1.5rem; font-size: 1.12rem; }
.sortiment__note { font-size: 0.92rem !important; color: var(--muted); opacity: 0.75; max-width: 44em; margin: 1.8rem auto 0 !important; }

/* ============ KONTAKT ============ */
.kontakt { position: relative; background: var(--green); color: var(--cream); overflow: hidden; }
.kontakt__ornament {
  position: absolute; left: -140px; bottom: -140px;
  width: 480px; height: 480px; color: var(--gold); opacity: 0.1; pointer-events: none;
}
.kontakt__ornament svg { width: 100%; height: 100%; }
.kontakt__inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) var(--pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start;
}
.kontakt__intro h2 { color: var(--cream); margin: 1.4rem 0; }
.kontakt__intro p { color: rgba(249, 244, 236, 0.7); }
.kontakt__direct { margin-top: 2.2rem; padding-top: 2rem; border-top: 1px solid rgba(201,168,76,0.25); }
.kontakt__direct-label { font-size: 0.72rem !important; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold) !important; margin-bottom: 0.9rem; }
.kontakt__direct-line {
  display: block; font-family: var(--font-display); font-size: 1.4rem;
  color: var(--cream); margin-bottom: 0.3rem; transition: color 0.2s;
}
.kontakt__direct-line:hover { color: var(--gold-light); }

.kontakt__form { display: flex; flex-direction: column; gap: 1.3rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(249,244,236,0.65); }
.field input, .field textarea {
  font-family: var(--font-ui); font-size: 1rem; font-weight: 300;
  padding: 0.9rem 1rem;
  background: rgba(249, 244, 236, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--cream); transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; }
.form-note { font-size: 0.76rem; color: rgba(249,244,236,0.5); margin-top: 0.3rem; }
.form-note a { color: var(--gold-light); text-decoration: underline; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ============ FOOTER ============ */
.footer { background: var(--forest); color: var(--cream); }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3rem, 5vw, 4rem) var(--pad) 2rem;
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.footer__logo { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; display: block; margin-bottom: 0.6rem; }
.footer__brand p { color: rgba(249,244,236,0.6); max-width: 28em; font-size: 0.95rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(249,244,236,0.75); transition: color 0.2s; }
.footer__links a:hover { color: var(--gold-light); }
.footer__bottom {
  border-top: 1px solid rgba(249,244,236,0.12);
  padding: 1.4rem var(--pad); text-align: center;
  font-size: 0.78rem; letter-spacing: 0.08em; color: rgba(249,244,236,0.45);
}

/* ============ LEGAL ============ */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--pad); }
.legal h1 { color: var(--green); margin-bottom: 2rem; }
.legal h2 { color: var(--green); font-size: 1.5rem; margin: 2rem 0 0.8rem; }
.legal p, .legal li { color: var(--muted); margin-bottom: 0.8rem; font-size: 0.98rem; }
.legal ul { padding-left: 1.4rem; }
.legal a { color: var(--green); text-decoration: underline; }

/* ============ MESSAGE BOX ============ */
.message-box { max-width: 600px; margin: clamp(4rem, 10vw, 8rem) auto; padding: 3rem var(--pad); text-align: center; }
.message-box h1 { color: var(--green); margin-bottom: 1rem; }
.message-box p { color: var(--muted); margin-bottom: 2rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__image { order: -1; }
  .about__image img { min-height: 320px; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .kontakt__inner { grid-template-columns: 1fr; }
  .hero__ornament { right: -200px; opacity: 0.08; }

  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column;
    background: var(--cream); padding: 1.5rem var(--pad); gap: 1.4rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform 0.3s ease;
  }
  body.menu-open .nav__links { transform: translateY(0); }
}
@media (max-width: 480px) {
  .tile-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
