/* =========================================
   CSS 1: FARBEN & VARIABLEN
   ========================================= */
:root {
  --sage: #8a9e8c;
  --sage-light: #d7e0d5;
  --sage-deep: #4f7454;

  --cream: #f4efe8;
  --warm-white: #fcfbf8;

  --charcoal: #2c2c2c;
  --mid: #5f6468;
  --soft: #72777c;

  --accent: #c4956a;
  --accent-hover: #bb8a60;
  --accent-deep: #9b6648;
  --accent-deep-soft: #ddd2c5;

  --logo-mirror-fill: #f3ede4;
  --logo-mirror-highlight: rgba(252, 251, 248, 0.95);

  --hero-glow-warm: rgba(196, 149, 106, 0.11);
  --hero-glow-sage: rgba(138, 158, 140, 0.13);
  --hero-divider: rgba(79, 116, 84, 0.08);

  --badge-bg: rgba(252, 251, 248, 0.68);
  --badge-border: rgba(138, 158, 140, 0.18);
  --badge-text: #6d836f;
  --badge-shadow: rgba(44, 44, 44, 0.04);

  --btn-primary: #c97a4d;
  --btn-primary-hover: #b86d43;
  --btn-primary-active: #a66039;

  --focus-ring: rgba(138, 158, 140, 0.30);

  --footer-bg: #c9beaf;
  --footer-text: #4f5961;

  --brand-height-desktop: 66px;
  --brand-height-mobile: 60px;

  --hero-side-space: 24px;
  --mobile-side-space: 24px;

  --hero-badge-space: 36px;
  --hero-title-space: 32px;
  --hero-note-space: 24px;

  --hero-cta-radius: 18px;
  --hero-cta-pad-y: 15px;
  --hero-cta-pad-x: 32px;
}

/* =========================================
   CSS 2: BASIS
   ========================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  -webkit-tap-highlight-color: transparent;
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

a,
button,
label,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0 var(--hero-side-space);
}

main {
  padding-top: var(--brand-height-desktop);
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* =========================================
   CSS 3: HEADER / BRAND / NAVIGATION
   ========================================= */
.brand {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--brand-height-desktop);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px 9px 24px;
  background: var(--accent-deep-soft);
  text-align: left;
  z-index: 50;
}

.brand-home {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-home:hover {
  opacity: 0.9;
}

.brand-home:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
  border-radius: 10px;
}

.brand-mark {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand strong {
  font-size: 15px;
  color: var(--accent-deep);
  letter-spacing: 0.02em;
  font-weight: 500;
}

.brand span {
  font-size: 12px;
  line-height: 1.35;
  color: var(--mid);
  opacity: 0.9;
}

.menu-toggle {
  margin-left: auto;
  width: 52px;
  height: 52px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  flex: 0 0 auto;
}

.menu-toggle svg {
  width: 31px;
  height: 31px;
  stroke: var(--accent-deep);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.96;
}

.menu-toggle:hover svg {
  opacity: 1;
}

/* =========================================
   CSS 4: HERO
   ========================================= */
.hero {
  position: relative;
  min-height: calc(100svh - var(--brand-height-desktop));
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 20% 20%, var(--hero-glow-warm) 0%, transparent 42%),
    radial-gradient(ellipse at 80% 10%, var(--hero-glow-sage) 0%, transparent 36%),
    linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%);
  text-align: center;
  padding: 64px 0 58px;
}

.hero::after {
  display: none;
}

.hero-inner {
  max-width: 1000px;
  padding-top: 34px;
}

.hero-badge {
  display: inline-block;
  margin-bottom: var(--hero-badge-space);
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 20px var(--badge-shadow);
  backdrop-filter: blur(4px);
}

h1 {
  margin: 0 0 var(--hero-title-space);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-accent {
  color: var(--accent-deep);
  font-weight: 600;
  font-style: normal;
}

.hero-sub {
  font-size: 20px;
  line-height: 1.72;
  max-width: 710px;
  margin: 0 auto;
  color: var(--mid);
}

.hero-note {
  margin-top: var(--hero-note-space);
  font-size: 15px;
  line-height: 1.5;
  color: var(--soft);
}

/* =========================================
   CSS 5: BUTTON
   ========================================= */
.btn-primary {
  display: inline-block;
  background: var(--btn-primary);
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: var(--hero-cta-pad-y) var(--hero-cta-pad-x);
  border-radius: var(--hero-cta-radius);
  border: none;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 10px rgba(155, 102, 72, 0.15);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary:active {
  background: var(--btn-primary-active);
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(155, 102, 72, 0.12);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--btn-primary-hover);
  box-shadow: 0 10px 22px rgba(191, 143, 102, 0.06);
}

.hero-inner .btn-primary {
  margin-top: 30px;
}

/* =========================================
   CSS 6: FOOTER
   ========================================= */
.site-footer {
  display: block;
  padding: 12px 0 16px;
  background: var(--footer-bg);
  border-top: none;
  margin-top: 0;
  flex-shrink: 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--footer-text);
  font-size: 14px;
}

.footer-mark {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

.footer-mark svg {
  width: 100%;
  height: 100%;
}

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a:hover {
  color: var(--accent-deep);
}

/* =========================================
   CSS 7: MOBILE MENU
   ========================================= */

.mobile-menu {
  position: fixed;
  top: var(--brand-height-desktop);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px 24px 14px;
  background: rgba(252, 251, 248, 0.96);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 24px rgba(44, 44, 44, 0.08);
  backdrop-filter: blur(10px);
  z-index: 45;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0s linear 0.22s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0s linear 0s;
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--accent-deep);
}

/* =========================================
   CSS 8: MOBILE
   ========================================= */
@media (max-width: 700px) {
  .hero {
    min-height: calc(100svh - var(--brand-height-mobile));
    padding: 40px 0 46px;
  }

  .brand {
    min-height: var(--brand-height-mobile);
    padding: 8px 8px 8px 16px;
    gap: 10px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand span {
    font-size: 11px;
  }

  main {
    padding-top: var(--brand-height-mobile);
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
  }

  .menu-toggle svg {
    width: 29px;
    height: 29px;
  }

  .hero-inner {
    padding-top: 22px;
  }

  .hero-badge {
    margin-bottom: 28px;
    padding: 10px 18px;
    font-size: 11px;
  }

  h1 {
    margin: 0 0 22px;
    font-size: clamp(38px, 9.2vw, 54px);
    line-height: 1.14;
  }

  .hero-sub {
    font-size: 17px;
    line-height: 1.62;
    max-width: 100%;
  }

  .hero-inner .btn-primary {
    margin-top: 30px;
  }

  .btn-primary {
    font-size: 16px;
    font-weight: 600;
    padding: 15px 26px;
    border-radius: 18px;
  }

  .hero-note {
    margin-top: 20px;
    font-size: 14px;
  }

  .container {
    padding: 0 var(--mobile-side-space);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-nav {
    gap: 14px;
  }
  
    .mobile-menu {
    top: var(--brand-height-mobile);
    padding: 8px 16px 12px;
  }

  .mobile-menu a {
    font-size: 15px;
    padding: 13px 0;
  }
}

