/* Schild GmbH — "Stille Autorität"
   Tiefes Waldgrün · Altgold-Akzent · Cormorant + Hanken Grotesk */

:root {
  --pine-0: #0a140f;   /* tiefstes Schwarzgrün */
  --pine-1: #0d1c14;   /* Grundton */
  --pine-2: #102219;   /* Panel */
  --pine-3: #16301f;   /* erhöht */
  --moss:   #1f3d2a;   /* Linien */
  --sage:   #e6efe7;   /* Haupttext */
  --sage-2: #9db1a3;   /* gedämpft */
  --sage-3: #6e8576;   /* sehr leise */
  --gold:   #c2a36b;   /* heraldischer Akzent */
  --gold-2: #d8c094;
  --maxw: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-weight: 300;
  background: var(--pine-1);
  color: var(--sage);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* — Atmosphäre: Vignette + sanft driftendes Licht + Korn — */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(46,86,58,.55), transparent 60%),
    radial-gradient(80% 60% at 85% 110%, rgba(31,61,42,.45), transparent 70%),
    radial-gradient(60% 50% at 8% 30%, rgba(15,34,23,.6), transparent 70%);
  animation: drift 26s var(--ease) infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1.02); }
  to   { transform: translate3d(2%, 1.5%, 0) scale(1.06); }
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  * { animation-duration: .001ms !important; }
}

.wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }

/* — Kopf — */
.top {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
}
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--sage); }
.brand .crest { width: 26px; height: auto; flex: none; }
.brand .crest path { stroke: var(--gold); }
.brand .nm {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500; font-size: 1.4rem; letter-spacing: .14em; text-transform: uppercase;
}
.top nav { display: flex; gap: clamp(1.2rem, 3vw, 2.4rem); }
.top nav a {
  color: var(--sage-2); text-decoration: none; font-size: .82rem;
  letter-spacing: .18em; text-transform: uppercase; transition: color .4s var(--ease);
}
.top nav a:hover { color: var(--gold-2); }

/* — Hairline — */
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--moss) 12%, var(--moss) 88%, transparent); transform-origin: center; }

/* — Hero — */
.hero { min-height: calc(100vh - 120px); display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 9vh, 7rem) 0; }
.overline {
  font-size: .76rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 1rem; margin-bottom: clamp(1.6rem, 4vh, 2.6rem);
}
.overline::before { content: ""; width: clamp(28px, 6vw, 64px); height: 1px; background: var(--gold); opacity: .6; }

.display {
  font-family: "Cormorant Garamond", serif; font-weight: 300;
  font-size: clamp(3.6rem, 13vw, 10rem); line-height: .92; letter-spacing: -.01em;
  color: var(--sage);
}
.display em { font-style: italic; color: var(--gold-2); font-weight: 400; }

.lede {
  margin-top: clamp(1.8rem, 4vh, 2.8rem); max-width: 38ch;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem); font-weight: 300; line-height: 1.5; color: var(--sage);
  font-family: "Cormorant Garamond", serif; font-style: italic;
}
.sub { margin-top: 1.4rem; max-width: 46ch; color: var(--sage-2); font-size: clamp(.95rem, 1.6vw, 1.05rem); }

.meta {
  margin-top: clamp(2.6rem, 6vh, 4rem); display: flex; flex-wrap: wrap; gap: clamp(2rem, 6vw, 4.5rem);
  padding-top: 2rem; border-top: 1px solid var(--moss);
}
.meta .item .k { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--sage-3); margin-bottom: .5rem; }
.meta .item .v { font-family: "Cormorant Garamond", serif; font-size: 1.25rem; color: var(--sage); }
.meta .item .v a { color: var(--sage); text-decoration: none; border-bottom: 1px solid var(--moss); padding-bottom: 2px; transition: border-color .4s var(--ease), color .4s var(--ease); }
.meta .item .v a:hover { color: var(--gold-2); border-color: var(--gold); }

/* — Fuß — */
.foot { padding: clamp(2.2rem, 5vw, 3.2rem) 0 clamp(2.6rem, 5vw, 3.6rem); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: baseline; justify-content: space-between; color: var(--sage-3); font-size: .8rem; letter-spacing: .04em; }
.foot a { color: var(--sage-3); text-decoration: none; transition: color .4s var(--ease); }
.foot a:hover { color: var(--gold-2); }
.foot .addr { letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }

/* — Reveal — */
.reveal { opacity: 0; transform: translateY(18px); animation: rise 1.1s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .32s; }
.d4 { animation-delay: .46s; } .d5 { animation-delay: .6s; } .d6 { animation-delay: .74s; }

/* — Innenseite (Impressum) — */
.page { padding: clamp(3rem, 9vh, 6rem) 0 4rem; max-width: 760px; }
.page h1 { font-family: "Cormorant Garamond", serif; font-weight: 300; font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1; margin-bottom: 2.5rem; }
.page h2 { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 1.5rem; color: var(--gold-2); margin: 2.6rem 0 .8rem; letter-spacing: .01em; }
.page p { color: var(--sage-2); margin-bottom: .5rem; max-width: 60ch; }
.page p strong { color: var(--sage); font-weight: 400; }
.page .ph { color: var(--gold); font-style: italic; }
.page a { color: var(--sage); text-decoration: none; border-bottom: 1px solid var(--moss); transition: color .4s var(--ease), border-color .4s var(--ease); }
.page a:hover { color: var(--gold-2); border-color: var(--gold); }
.back { display: inline-flex; align-items: center; gap: .6rem; margin-top: 3rem; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-3); border: 0 !important; }
.back:hover { color: var(--gold-2); }

/* — Kontaktformular — */
.kform { max-width: 520px; }
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sage-3); margin-bottom: .55rem; }
.kform input, .kform textarea {
  width: 100%; background: var(--pine-2); color: var(--sage);
  border: 1px solid var(--moss); border-radius: 2px;
  padding: .8rem .9rem; font-family: inherit; font-size: 1rem; font-weight: 300;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.kform input:focus, .kform textarea:focus { outline: none; border-color: var(--gold); background: var(--pine-3); }
.kform textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formrow { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.8rem; }
.kform button {
  background: transparent; color: var(--gold-2); cursor: pointer;
  border: 1px solid var(--gold); border-radius: 2px;
  padding: .75rem 2.2rem; font-family: "Cormorant Garamond", serif; font-size: 1.1rem; letter-spacing: .06em;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.kform button:hover:not(:disabled) { background: var(--gold); color: var(--pine-0); }
.kform button:disabled { opacity: .55; cursor: default; }
.status { font-size: .92rem; }
.status.ok { color: var(--gold-2); }
.status.err { color: #e2a3a3; }

@media (max-width: 600px) {
  .top nav a span { display: none; }
  .meta { gap: 1.6rem 2.4rem; }
}
