/* =========================================================
   Countryside Collection — Brand Stylesheet
   Layout concept: warm, light paper throughout; a mid-tone living
   green and a brighter amber gold carry the brand, used as accents
   and in two friendlier (not near-black) anchor bands. A thin gold
   rule and a three-stalk mark carry the motif through every page.
   Motion: gentle scroll-reveal, hover lift and one soft count-up
   support the "ansprechend & lebendig" brief without ever
   overriding prefers-reduced-motion.
   ========================================================= */

:root{
  /* --- color tokens (light / default) --- */
  --bg:        #FDFBF4;   /* warm paper */
  --bg-panel:  #F1EEE0;   /* alt panel / cards */
  --bg-soft:   #EAF3EC;   /* soft mint panel — secondary variety */
  --forest-900:#336A4C;   /* living, slightly warmer green — friendlier anchor */
  --forest-700:#4B9168;   /* lighter, more vivid gradient stop */
  --ink:       #1C2A20;   /* primary text on paper */
  --ink-soft:  #57685C;   /* secondary text on paper */
  --paper-ink: #FBF8ED;   /* text on green */
  --paper-soft:#DFEBE0;   /* secondary text on green */
  --gold:      #CF8A28;   /* warm, inviting accent on paper */
  --gold-2:    #A56F22;   /* accent hover / darker */
  --gold-soft: #F3CB82;   /* accent on green */
  --sage:      #6FA37C;   /* secondary accent for variety */
  --line:      rgba(28,42,32,.13);
  --line-dark: rgba(251,248,237,.20);
  --shadow:    0 20px 44px -22px rgba(43,97,70,.28);
  --radius-card: 14px;    /* rounded = approachable (color/shape psychology) */
  --radius-btn:  10px;

  /* --- type tokens --- */
  --font-display: 'Fraunces', 'Iowan Old Style', 'Georgia', serif;
  --font-body: 'Public Sans', 'Segoe UI', system-ui, sans-serif;

  --fs-h1: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem);
  --fs-h2: clamp(1.6rem, 1.25rem + 1.5vw, 2.4rem);
  --fs-h3: clamp(1.15rem, 1.02rem + .6vw, 1.5rem);
  --fs-body: 1rem;
  --fs-lead: clamp(1.05rem, .95rem + .4vw, 1.25rem);
  --fs-small: .85rem;
  --fs-eyebrow: .78rem;

  color-scheme: light;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: inherit;
  text-wrap: balance;
}

h1{ font-size: var(--fs-h1); font-weight: 480; }
h2{ font-size: var(--fs-h2); }
h3{ font-size: var(--fs-h3); font-weight: 600; }

p{ margin: 0 0 1em; max-width: 62ch; }
p.lead{ font-size: var(--fs-lead); max-width: 46ch; color: var(--ink-soft); }

a{ color: inherit; }

.container{
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.eyebrow::before{
  content:"";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display:inline-block;
}
section.dark .eyebrow{ color: var(--gold-soft); }
section.dark .eyebrow::before{ background: var(--gold-soft); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55em;
  padding: .95em 1.7em;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .94rem;
  letter-spacing: .01em;
  text-decoration:none;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{
  background: var(--gold);
  color: #201405;
}
.btn-primary:hover{ background: var(--gold-soft); }
.btn-ghost{
  border-color: var(--line-dark);
  color: var(--paper-ink);
  background: transparent;
}
.btn-ghost:hover{ border-color: var(--gold-soft); color: var(--gold-soft); }
.btn-outline{
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover{ border-color: var(--gold); color: var(--gold-2); }

/* ---------- header / nav ---------- */
.site-header{
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: rgba(250,246,237,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  padding-block: 14px;
}
.brand{
  display:flex;
  align-items:center;
  gap:.65em;
  text-decoration:none;
  color: var(--ink);
}
.brand svg{ height: 30px; width:auto; }
.brand-word{
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: .04em;
  font-weight: 560;
  white-space: nowrap;
}
.brand-word b{ color: var(--gold-2); font-weight: 560; }

.nav-links{
  display:flex;
  align-items:center;
  gap: clamp(14px, 2.4vw, 34px);
  list-style:none;
  margin:0; padding:0;
}
.nav-links a{
  text-decoration:none;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: .3em 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"]{
  color: var(--ink);
  border-bottom-color: var(--gold);
}
.nav-right{ display:flex; align-items:center; gap: 14px; }

.lang-toggle{
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: .4em .9em;
  cursor:pointer;
}
.lang-toggle:hover{ border-color: var(--gold); color: var(--gold-2); }

.nav-toggle{
  display:none;
  border:0; background:transparent; cursor:pointer;
  padding: 6px;
}
.nav-toggle span{
  display:block; width:22px; height:2px; background:var(--ink); margin:5px 0;
}

@media (max-width: 860px){
  .nav-links{
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction:column;
    align-items:flex-start;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 18px clamp(20px,5vw,48px) 26px;
    gap: 16px;
    transform: translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav-links[data-open="true"]{
    opacity:1; transform:none; pointer-events:auto;
  }
  .nav-toggle{ display:block; }
}

/* ---------- sections ---------- */
section{ padding-block: clamp(52px, 9vw, 108px); }
section.dark{ background: var(--forest-900); color: var(--paper-ink); }
section.dark p{ color: var(--paper-soft); }
section.panel{ background: var(--bg-panel); }
section.tight{ padding-block: clamp(36px,5vw,64px); }

.section-head{ max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }

/* ---------- hero ---------- */
.hero{
  background:
    radial-gradient(ellipse 700px 420px at 82% -10%, rgba(228,192,120,.16), transparent 60%),
    linear-gradient(160deg, var(--forest-900), var(--forest-700) 120%);
  color: var(--paper-ink);
  position:relative;
  overflow:hidden;
  padding-block: clamp(64px, 11vw, 132px) clamp(56px, 8vw, 96px);
}
.hero .mark-bg{
  position:absolute;
  right: -4%;
  top: 8%;
  width: min(46vw, 520px);
  opacity: .1;
}
.hero-grid{
  position:relative;
  display:grid;
  gap: 28px;
  max-width: 760px;
}
.hero h1{ margin-bottom: .4em; }
.hero h1 em{ font-style: italic; color: var(--gold-soft); }
.hero .lead{ color: var(--paper-soft); }
.hero-cta{ display:flex; flex-wrap:wrap; gap: 14px; margin-top: 6px; }

.stat-row{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
  margin-top: clamp(40px, 6vw, 68px);
  border-top: 1px solid var(--line-dark);
  padding-top: 26px;
}
.stat-row .stat b{
  display:block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-soft);
  margin-bottom: .3em;
}
.stat-row .stat span{ color: var(--paper-soft); font-size: .92rem; }
@media (max-width: 720px){ .stat-row{ grid-template-columns: 1fr; gap: 18px; } }

/* ---------- feature grid ---------- */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(20px, 3vw, 32px);
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(20px, 3vw, 32px);
}
.grid-4{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: clamp(16px, 2.4vw, 26px);
}
@media (max-width: 860px){
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns:1fr; }
  .grid-4{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){ .grid-4{ grid-template-columns: 1fr; } }

.feature{
  padding: 28px 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.feature .num{
  font-family: var(--font-display);
  color: var(--gold);
  font-size: .95rem;
  letter-spacing: .05em;
  display:block;
  margin-bottom: 14px;
}
.feature h3{ margin-bottom: .35em; }
.feature p{ margin:0; color: var(--ink-soft); font-size: .96rem; }

.icon-leaf{
  width: 30px; height: 30px;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ---------- service cards ---------- */
.service-card{
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px 28px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.service-card h3{ margin:0; }
.service-card ul{
  margin: 4px 0 0;
  padding-left: 1.1em;
  color: var(--ink-soft);
  font-size: .94rem;
  display:grid;
  gap: 6px;
}
.service-card .tag{
  font-size: var(--fs-eyebrow);
  letter-spacing:.1em;
  text-transform:uppercase;
  color: var(--gold-2);
  font-weight:700;
}

/* ---------- process steps ---------- */
.process{
  display:grid;
  gap: 0;
  counter-reset: step;
}
.step{
  display:grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
}
section:not(.dark) .step{ border-top-color: var(--line); }
.step:last-child{ border-bottom: 1px solid var(--line-dark); }
section:not(.dark) .step:last-child{ border-bottom-color: var(--line); }
.step .idx{
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
}
.step h4{
  font-family: var(--font-body);
  font-weight:700;
  font-size: 1.02rem;
  margin: 0 0 .3em;
}
.step p{ margin:0; font-size: .95rem; }
.step .tag{
  display:inline-block;
  margin-top:8px;
  font-size: .74rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:700;
  color: var(--gold-soft);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: .25em .75em;
}
section:not(.dark) .step .tag{ color: var(--gold-2); border-color: var(--line); }

/* ---------- photo placeholders ---------- */
.photo-ph{
  position:relative;
  border-radius: var(--radius-card);
  overflow:hidden;
  background:
    linear-gradient(135deg, var(--bg-panel), #E4D6B4 60%);
  border: 1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 220px;
  aspect-ratio: 4 / 3;
}
.photo-ph.square{ aspect-ratio: 1 / 1; }
.photo-ph.wide{ aspect-ratio: 16 / 9; }
.photo-ph .ph-inner{
  text-align:center;
  color: var(--gold-2);
  padding: 20px;
}
.photo-ph svg{ width: 34px; height:34px; margin: 0 auto 10px; opacity:.7; }
.photo-ph .ph-label{
  font-size: .72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:700;
  color: var(--ink-soft);
}

/* ---------- team ---------- */
.team-card{ display:grid; gap: 16px; }
.team-card h3{ margin-bottom:0; }
.team-card .role{
  color: var(--gold-2);
  font-size: .85rem;
  font-weight:700;
  letter-spacing:.03em;
  text-transform:uppercase;
  margin-bottom: 10px;
  display:block;
}
.team-card p{ color: var(--ink-soft); font-size: .95rem; }

/* ---------- values ---------- */
.value{ display:flex; gap: 16px; align-items:flex-start; }
.value svg{ flex:none; width:26px; height:26px; color:var(--gold); margin-top:2px; }
.value h4{ font-family: var(--font-body); font-weight:700; margin:0 0 .3em; font-size: 1rem; }
.value p{ margin:0; font-size:.93rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  background: var(--forest-900);
  color: var(--paper-ink);
  border-radius: 18px;
  padding: clamp(28px,4vw,44px) clamp(28px,5vw,52px);
}
.cta-band h3{ margin:0 0 .2em; }
.cta-band p{ margin:0; color: var(--paper-soft); }

/* ---------- forms ---------- */
.form-grid{ display:grid; gap: 18px; }
.form-row{ display:grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px){ .form-row{ grid-template-columns: 1fr; } }
label{
  display:block;
  font-size: .82rem;
  font-weight:700;
  letter-spacing:.02em;
  margin-bottom: .5em;
  color: var(--ink-soft);
}
input, textarea{
  width:100%;
  font-family: var(--font-body);
  font-size: .96rem;
  padding: .85em .9em;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
}
input:focus, textarea:focus, button:focus-visible, a:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
textarea{ min-height: 150px; resize: vertical; }
.form-note{ font-size:.82rem; color: var(--ink-soft); }
.form-success{
  display:none;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  font-size:.92rem;
  color: var(--ink);
}
.form-success.show{ display:block; }
.form-error{
  display:none;
  background: var(--bg-panel);
  border: 1px solid #c0392b;
  border-left: 3px solid #c0392b;
  border-radius: 10px;
  padding: 16px 18px;
  font-size:.92rem;
  color: var(--ink);
}
.form-error.show{ display:block; }

.contact-info{ display:grid; gap: 22px; }
.contact-item .label{
  font-size:.76rem; letter-spacing:.09em; text-transform:uppercase;
  color: var(--gold-2); font-weight:700; display:block; margin-bottom:.35em;
}
.contact-item .value-copy{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.copy-btn{
  border:1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  font-size:.72rem;
  font-weight:700;
  padding: .3em .8em;
  cursor:pointer;
  color: var(--ink-soft);
}
.copy-btn:hover{ border-color: var(--gold); color: var(--gold-2); }

.social-row{ display:flex; gap:12px; }
.social-row a{
  width:38px; height:38px;
  border:1px solid var(--line);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  text-decoration:none;
  color: var(--ink-soft);
}
.social-row a:hover{ border-color: var(--gold); color: var(--gold-2); }

/* ---------- notice box (legal placeholders) ---------- */
.notice{
  border: 1px solid var(--gold);
  background: #FBF1DD;
  color: #5A431B;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: .9rem;
  margin-bottom: 36px;
}
.notice b{ display:block; margin-bottom:.3em; }

.legal h2{ font-size: 1.25rem; margin-top: 2em; }
.legal h2:first-of-type{ margin-top:0; }
.legal p, .legal li{ color: var(--ink-soft); font-size: .96rem; }
.legal ul{ padding-left:1.2em; }

/* ---------- breadcrumb / page header ---------- */
.page-header{
  background: var(--bg-panel);
  padding-block: clamp(44px, 7vw, 72px) clamp(30px,4vw,44px);
  border-bottom: 1px solid var(--line);
}

/* ---------- footer ---------- */
.site-footer{
  background: var(--forest-900);
  color: var(--paper-soft);
  padding-block: 56px 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-grid h5{
  font-family: var(--font-body);
  color: var(--paper-ink);
  font-size: .8rem;
  letter-spacing:.09em;
  text-transform:uppercase;
  margin: 0 0 14px;
}
.footer-grid ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.footer-grid a{ color: var(--paper-soft); text-decoration:none; font-size:.92rem; }
.footer-grid a:hover{ color: var(--gold-soft); }
.footer-brand p{ color: var(--paper-soft); font-size:.92rem; max-width: 34ch; }
.footer-bottom{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px;
  padding-top: 22px;
  font-size: .8rem;
  color: rgba(247,242,230,.55);
}

/* ---------- misc ---------- */
.i18n[hidden]{ display:none; }
.skip-link{
  position:absolute; left:-999px; top:auto;
}
.skip-link:focus{
  left: 16px; top: 16px; background:var(--gold); color:#201405; padding:8px 14px; z-index:100; border-radius:3px;
}

/* ---------- motion: scroll reveal ---------- */
.reveal{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.visible{ opacity: 1; transform: none; }

/* ---------- motion: hover lift on interactive cards ---------- */
.feature, .service-card, .team-card .photo-ph, .value{
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover, .service-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold-soft);
}
.team-card .photo-ph:hover{ transform: translateY(-3px); box-shadow: var(--shadow); }

.step{ transition: background .25s ease; }
.step:hover{ background: rgba(203,139,44,.06); }
section.dark .step:hover{ background: rgba(241,200,120,.06); }

/* ---------- motion: gentle float for decorative mark ---------- */
@keyframes float-soft{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-7px); }
}
.float{ animation: float-soft 6s ease-in-out infinite; }

/* ---------- motion: animated underline on nav / text links ---------- */
.nav-links a{ position:relative; }
.nav-links a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:-1px;
  height:1px; background: var(--gold);
  transition: right .25s ease;
}
.nav-links a:hover::after{ right:0; }

/* ---------- badges (variety accent) ---------- */
.badge-sage{
  display:inline-flex; align-items:center; gap:.5em;
  background: var(--bg-soft);
  color: var(--sage);
  border: 1px solid rgba(111,163,124,.35);
  border-radius: 999px;
  padding: .3em .85em;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing:.03em;
}

/* ---------- hero ambient leaves (lively, very subtle) ---------- */
.hero-leaf{
  position:absolute;
  color: var(--gold-soft);
  opacity: .16;
  width: 54px; height: 54px;
  animation: float-soft 7s ease-in-out infinite;
}
.hero-leaf.l1{ top: 14%; right: 14%; width:40px; height:40px; animation-delay: 0s; }
.hero-leaf.l2{ top: 48%; right: 26%; width:64px; height:64px; animation-delay: 1.2s; animation-duration: 8.5s; }
.hero-leaf.l3{ top: 66%; right: 8%;  width:30px; height:30px; animation-delay: 2.4s; animation-duration: 6s; }

/* ---------- accordion: service teasers ---------- */
.feature-toggle{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
  width:100%;
  background:none;
  border:0;
  padding:0;
  margin-top: 14px;
  cursor:pointer;
  font-family: var(--font-body);
  font-size: .86rem;
  font-weight: 700;
  color: var(--gold-2);
  text-align:left;
}
.feature-toggle .chev{
  flex: none;
  width: 16px; height:16px;
  transition: transform .25s ease;
  margin-top: 2px;
}
.feature-toggle[aria-expanded="true"] .chev{ transform: rotate(180deg); }
.feature-detail{
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.feature-detail.open{ max-height: 420px; }
.feature-detail ul{
  margin: 12px 0 0;
  padding-left: 1.1em;
  color: var(--ink-soft);
  font-size: .89rem;
  display:grid;
  gap: 6px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; }
  .float, .hero-leaf{ animation:none; }
}
