/* Augustin TAX — Website Styles */
:root {
  --c-dark: #1F3243;
  --c-dark-2: #25394C;
  --c-dark-deep: #16242F;
  --c-accent: #7A9283;        /* Salbei (CTA) */
  --c-accent-hover: #688375;
  --c-accent-soft: #AAB7AF;   /* Salbei hell */
  --c-accent-marker: #B8CDB8;
  --c-bg: #FDFCF9;
  --c-bg-2: #F5F3EC;
  --c-text: #202E39;
  --c-text-muted: #395468;
  --c-text-soft: #6E7A85;
  --c-line: #E4E2DA;
  --c-white: #FFFFFF;

  --shadow-sm: 0 1px 2px rgba(20,30,40,.04), 0 2px 6px rgba(20,30,40,.04);
  --shadow-md: 0 2px 8px rgba(20,30,40,.05), 0 12px 30px rgba(20,30,40,.06);
  --shadow-lg: 0 8px 16px rgba(20,30,40,.06), 0 30px 60px rgba(20,30,40,.10);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 22px;

  --maxw: 1200px;
  --serif: 'Playfair Display', 'Times New Roman', serif;
  --sans: 'Source Sans 3', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.18;
  margin: 0;
}
h1 { font-size: clamp(34px, 4vw, 56px); }
h2 { font-size: clamp(28px, 2.6vw, 42px); }
h3 { font-size: 21px; font-weight: 700; }
h4 { font-size: 18px; }

p { margin: 0 0 1em; }

/* ---------- LAYOUT ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(31, 50, 67, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .3s ease;
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 26px; filter: brightness(0) invert(1); }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--c-accent-soft);
}
.nav-cta {
  background: var(--c-accent);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--c-accent-hover); transform: translateY(-1px); }

.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items:center; justify-content:center; width:40px; height:40px; color:#fff; }
  .nav-links {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--c-dark);
    padding: 20px 28px 28px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-110%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-links a { font-size: 16px; }
  .nav-cta { display: inline-block; margin-top: 8px; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--c-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  min-height: 460px;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 28px;
}
.hero-content {
  padding: 96px 0 110px;
  position: relative; z-index: 2;
  max-width: 560px;
}
.hero-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--c-accent-soft);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: fadeUp .8s ease .1s forwards;
}
.hero-title {
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.12;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp .9s ease .25s forwards;
}
.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp .9s ease .45s forwards;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; opacity:0; animation: fadeUp .9s ease .65s forwards; }

.hero-image {
  position: relative;
  align-self: stretch;
  margin-right: -28px;
}
.hero-image .img-fade {
  position: absolute; inset: 0;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeIn 1.2s ease .3s forwards;
}
.hero-image::before {
  content:""; position:absolute; inset: 0;
  background: linear-gradient(90deg, var(--c-dark) 0%, rgba(31,50,67,0.85) 18%, rgba(31,50,67,0) 50%);
  z-index: 2;
}
.hero-image::after {
  content:""; position:absolute; inset: 0;
  background: linear-gradient(0deg, rgba(31,50,67,0.4) 0%, rgba(31,50,67,0) 30%);
  z-index: 2;
}

.hero-divider {
  height: 26px;
  background: var(--c-accent-soft);
  position: relative;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { display: none; }
  .hero-content { padding: 72px 0 68px; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--c-accent-hover); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(122,146,131,.3); }
.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--c-line);
  color: var(--c-text);
}
.btn-ghost:hover { background: var(--c-bg-2); border-color: var(--c-text-soft); }
.btn-arrow::after {
  content: "→";
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0;
  transition: transform .2s;
}
.btn:hover.btn-arrow::after { transform: translateX(4px); }

/* ---------- MARKER (highlight) ---------- */
.marker {
  display: inline;
  background: linear-gradient(180deg, transparent 55%, var(--c-accent-marker) 55%, var(--c-accent-marker) 92%, transparent 92%);
  padding: 0 4px;
}
.marker-dark {
  display: inline;
  background: linear-gradient(180deg, transparent 55%, rgba(170,183,175,0.35) 55%, rgba(170,183,175,0.35) 92%, transparent 92%);
  padding: 0 4px;
}

/* ---------- SECTIONS ---------- */
section { position: relative; }

.section-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--c-accent);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.section-title {
  text-align: center;
  font-size: clamp(28px, 2.4vw, 38px);
  margin-bottom: 56px;
  line-height: 1.25;
}
.section-title.left { text-align: left; }

.divider-down {
  display: flex; justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}
.divider-down svg {
  width: 56px; height: 28px;
  fill: var(--c-accent-soft);
  transform: translateY(-1px);
}

.band-light { background: var(--c-bg); padding: 96px 0; }
.band-cream { background: var(--c-bg-2); padding: 96px 0; }
.band-dark {
  background: var(--c-dark);
  color: #fff;
  padding: 110px 0;
  position: relative;
}
.band-dark::before {
  content:""; position:absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 80px);
  pointer-events: none;
}

/* ---------- CARDS ---------- */
.card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 32px 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.icon-pill {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-bg-2);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--c-text);
}
.icon-pill svg { width: 20px; height: 20px; stroke-width: 1.5; }

.bullet-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bullet-list li {
  position: relative; padding-left: 22px;
  font-size: 15px;
  color: var(--c-text-muted);
}
.bullet-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--c-accent);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  padding: 70px 0 40px;
  font-size: 14px;
  color: var(--c-text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr;
  gap: 56px;
}
.footer h5 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  margin: 0 0 18px;
  color: var(--c-text);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer ul a:hover { color: var(--c-accent); }
.footer-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--c-text-muted);
  max-width: 240px;
  margin: 14px 0 22px;
  line-height: 1.5;
}
.footer-socials { display:flex; gap: 8px; }
.footer-socials a {
  width: 32px; height: 32px;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-text-muted);
  transition: all .2s;
}
.footer-socials a:hover { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.footer-bottom {
  border-top: 1px solid var(--c-line);
  margin-top: 50px; padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  color: var(--c-text-soft);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

/* ---------- FORMS ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}
.form-grid .full { grid-column: 1 / -1; }
.input, .textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-line);
  padding: 12px 2px 10px;
  font: inherit;
  color: var(--c-text);
  outline: none;
  transition: border-color .2s;
  font-weight: 300;
}
.input::placeholder, .textarea::placeholder {
  color: var(--c-text-soft);
  font-weight: 300;
}
.input:focus, .textarea:focus { border-bottom-color: var(--c-accent); }
.textarea { min-height: 70px; resize: vertical; }
.checkbox-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--c-text-muted);
  margin: 8px 0 4px;
}
.checkbox-row input { margin-top: 4px; accent-color: var(--c-accent); }
.btn-submit {
  width: 100%;
  background: var(--c-accent);
  color: #fff;
  padding: 16px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 13px;
  transition: background .2s, transform .2s;
}
.btn-submit:hover { background: var(--c-accent-hover); transform: translateY(-1px); }

/* ---------- ANIM ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- UTIL ---------- */
.eyebrow-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 14px;
}
.eyebrow-tag.dark { color: var(--c-accent-soft); }

.kicker {
  text-align: center;
  font-family: var(--serif); font-style: italic;
  color: var(--c-accent-soft);
  margin-bottom: 10px;
  font-size: 15px;
}

.page-fade {
  animation: fadeIn .35s ease;
}

/* Scroll bar tweak */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--c-bg-2); }
::-webkit-scrollbar-thumb { background: var(--c-accent-soft); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-accent); }

/* page anchor offset */
[id] { scroll-margin-top: 100px; }
