/* =============================================================================
   style.css – tyrol.dev Global Styles
   Mobile-first, no framework, vanilla CSS
   ============================================================================= */

/* ── Local Font Faces (DSGVO-konform, kein Google CDN) ─────────────────────── */
@font-face { font-family: 'Crimson Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/CrimsonText-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Crimson Text'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/CrimsonText-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Crimson Text'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/CrimsonText-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/PlusJakartaSans-Light.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/PlusJakartaSans-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/PlusJakartaSans-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/PlusJakartaSans-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/PlusJakartaSans-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/PlusJakartaSans-ExtraBold.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/Inter-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/Inter-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/Inter-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/Inter-Bold.ttf') format('truetype'); }

/* --------------------------------------------------------------------------
   1. Design Tokens & Reset – Alpine Modern
   -------------------------------------------------------------------------- */
:root {
  /* Warm Tyrolean palette */
  --terra:       #a85d3a;
  --terra-light: #c97c54;
  --terra-pale:  #f5e6d3;
  --sage:        #6b8e6f;
  --sage-light:  #8db894;
  --sage-pale:   #e8ede8;
  --cream:       #faf8f5;
  --warm-stone:  #9c8f85;
  --charcoal:    #2a2420;
  --text:        #2a2420;
  --text-muted:  #6f6763;

  --radius-sm:   8px;
  --radius:      16px;
  --radius-lg:   24px;
  --shadow-sm:   0 2px 6px rgba(42,36,32,.07), 0 1px 2px rgba(42,36,32,.04);
  --shadow:      0 6px 20px rgba(168,93,58,.12);
  --shadow-lg:   0 12px 40px rgba(42,36,32,.15);

  --transition:  0.35s cubic-bezier(.25,.46,.45,.94);
  --font-display: 'Crimson Text', -apple-system, serif;
  --font:        'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* --------------------------------------------------------------------------
   2. Typography – Distinctive & Warm
   -------------------------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--charcoal);
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
}

p {
  color: var(--text-muted);
  letter-spacing: -.005em;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-muted);
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

section:nth-child(even) {
  background: linear-gradient(135deg, #faf8f5 0%, rgba(107,142,111,.04) 100%);
}

.section-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1rem;
  font-family: var(--font);
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-header p {
  max-width: 54ch;
  margin: .75rem auto 0;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   4. Buttons – Warm & Inviting
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  border: none;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--terra) 0%, var(--terra-light) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(168,93,58,.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168,93,58,.35);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(168,93,58,.2);
}

.btn-outline {
  background: rgba(255,255,255,.08);
  color: white;
  border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-1px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--terra-pale);
}
.btn-outline-dark:hover {
  border-color: var(--terra);
  color: var(--terra);
  background: var(--terra-pale);
}

.btn-ghost {
  background: rgba(107,142,111,.08);
  color: var(--sage);
}
.btn-ghost:hover {
  background: rgba(107,142,111,.15);
}

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250,248,245,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168,93,58,.08);
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(42,36,32,.04);
}

#navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -.03em;
}
.nav-logo span {
  color: var(--terra);
  font-weight: 700;
}

.nav-links {
  display: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: .875rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover {
  color: var(--terra);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language switcher */
.lang-switch {
  display: flex;
  background: var(--terra-pale);
  border-radius: 100px;
  padding: 3px;
  gap: 3px;
}

.lang-btn {
  padding: .35rem .75rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  letter-spacing: .05em;
}
.lang-btn.active {
  background: linear-gradient(135deg, var(--terra), var(--terra-light));
  color: white;
}
.lang-btn:hover:not(.active) {
  color: var(--terra);
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .375rem;
  color: var(--charcoal);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: linear-gradient(180deg, #faf8f5 0%, #f5e6d3 100%);
  border-top: 2px solid var(--terra-pale);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 1rem 1.25rem;
  color: var(--text-muted);
  font-size: .95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--terra-pale);
  transition: color var(--transition), background var(--transition);
}
.mobile-menu a:hover {
  color: var(--terra);
  background: var(--terra-pale);
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-hamburger { display: none; }
}

/* --------------------------------------------------------------------------
   6. Hero – Warm Welcome
   -------------------------------------------------------------------------- */
#hero {
  min-height: 100svh;
  background: linear-gradient(135deg, #3c2f2a 0%, #5a4845 50%, #4a6b5f 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

/* Background image */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark gradient overlay for text readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(60, 47, 42, 0.85) 0%, rgba(90, 72, 69, 0.85) 50%, rgba(74, 107, 95, 0.85) 100%);
  z-index: 0.5;
}

/* Alpine-inspired organic shapes */
#hero::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(168,93,58,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -12%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(107,142,111,.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(201,124,84,.3);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  letter-spacing: .05em;
  backdrop-filter: blur(10px);
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--terra-light);
  border-radius: 50%;
  animation: pulse 2.5s ease infinite;
  box-shadow: 0 0 12px rgba(201,124,84,.6);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.2); }
}

.hero-headline {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-headline em {
  font-style: normal;
  background: linear-gradient(120deg, var(--terra-light), var(--sage-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hero-subline {
  color: rgba(255,255,255,.75);
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 52ch;
  font-weight: 300;
  letter-spacing: -.005em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.3);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: bounce 2.5s ease infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* --------------------------------------------------------------------------
   7. Services
   -------------------------------------------------------------------------- */
#services { background: var(--gray-50); }

.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terra), var(--sage));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(168,93,58,.15);
  transform: translateY(-4px);
  border-color: var(--terra-pale);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--terra-pale), rgba(107,142,111,.08));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--terra);
}
.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin-bottom: .75rem;
  color: var(--charcoal);
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   8. Projects / References
   -------------------------------------------------------------------------- */
#projects { background: var(--white); }

.projects-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 100%;
}

.project-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  background: linear-gradient(135deg, #f5e6d3 0%, #e8ede8 100%);
  border: 1px solid var(--terra-pale);
  position: relative;
}
.project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
  filter: brightness(0.98);
}
.project-preview img:not([src*="placeholder"]) {
  filter: brightness(1);
}
.project-card:hover .project-preview img {
  transform: scale(1.05);
  filter: brightness(1.05);
}
.project-preview .preview-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--terra);
  background: linear-gradient(135deg, #f5e6d3 0%, #e8ede8 100%);
}

.project-card {
  background: white;
  border: 1px solid var(--terra-pale);
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: var(--transition);
  overflow: hidden;
}

.project-card:hover {
  box-shadow: 0 12px 32px rgba(168,93,58,.15);
  transform: translateY(-4px);
  border-color: var(--terra);
}

.project-card > .project-header,
.project-card > p:not(.project-tech),
.project-card > .project-tags,
.project-card > a {
  padding: 0 1.75rem;
}

.project-card > .project-header {
  padding-top: 1.75rem;
}

.project-card > a {
  padding-bottom: 1.75rem;
}

.project-card p {
  color: var(--text-muted);
}

.project-card .project-tech {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0 0;
  padding: 0 1.75rem;
}

.project-card .project-tech strong {
  color: var(--terra);
  font-weight: 600;
}

.project-card h3 {
  color: var(--charcoal);
}

.project-card.coming-soon {
  opacity: .85;
  border-style: dashed;
}

.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.project-title-group h3 { color: var(--navy); }
.project-title-group .project-url {
  font-size: .8125rem;
  color: var(--green);
  font-weight: 500;
  margin-top: .25rem;
}

.project-status {
  flex-shrink: 0;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .625rem;
  border-radius: 100px;
}
.project-status.live    { background: #dcfce7; color: #166534; }
.project-status.soon    { background: #fef9c3; color: #854d0e; }

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  margin-top: 0.3rem;
}

.tag {
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .6rem;
  background: var(--navy);
  color: rgba(255,255,255,.8);
  border-radius: 4px;
  letter-spacing: .02em;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--green);
  margin-top: auto;
  transition: gap var(--transition);
}
.project-link:hover { gap: .625rem; }
.project-link svg { width: 14px; height: 14px; }

@media (min-width: 768px) {
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --------------------------------------------------------------------------
   9. Process / How it works – Warm & Clear
   -------------------------------------------------------------------------- */
#process {
  background: linear-gradient(135deg, rgba(42,36,32,.02) 0%, rgba(107,142,111,.03) 100%);
  color: var(--text);
}
#process .section-label {
  color: var(--terra);
}
#process .section-header h2 {
  color: var(--charcoal);
}
#process .section-header p {
  color: var(--text-muted);
}

.process-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(to bottom, var(--terra), rgba(168,93,58,.1));
}

.phase {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  position: relative;
  z-index: 2;
}

.phase-dot {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terra-pale), rgba(255,255,255,.5));
  border: 2.5px solid var(--terra);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--terra);
  position: relative;
  z-index: 1;
}

.phase-content {
  padding-top: .5rem;
}
.phase-content h3 {
  color: var(--charcoal);
  margin-bottom: .5rem;
  font-size: 1.1rem;
}
.phase-content p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.65;
}

/* Payment split */
.payment-split {
  background: linear-gradient(135deg, rgba(168,93,58,.04), rgba(107,142,111,.04));
  border: 1.5px solid rgba(168,93,58,.15);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 760px;
  margin: 0 auto;
}

.payment-split h4 {
  color: var(--text-muted);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.payment-bars {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.payment-bar {
  flex: 1;
  min-width: 130px;
  background: white;
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  border-left: 3px solid var(--terra);
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(42,36,32,.05);
}
.payment-bar:hover {
  background: var(--terra-pale);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(168,93,58,.1);
}

.payment-bar .pct {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--terra);
  line-height: 1;
}
.payment-bar .label {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .35rem;
}

/* --------------------------------------------------------------------------
   10. Price Calculator – Interactive & Warm
   -------------------------------------------------------------------------- */
#calculator {
  background: linear-gradient(135deg, #faf8f5 0%, rgba(107,142,111,.04) 100%);
}

.calc-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border: 2px solid var(--terra-pale);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(168,93,58,.1);
}

/* Progress bar */
.calc-progress {
  padding: 1.75rem 2.25rem 0;
  background: linear-gradient(135deg, #faf8f5, rgba(255,255,255,.5));
  border-bottom: 1px solid var(--terra-pale);
}

.calc-steps-bar {
  display: flex;
  gap: .5rem;
}

.calc-step-dot {
  height: 5px;
  border-radius: 3px;
  flex: 1;
  background: var(--terra-pale);
  transition: background var(--transition);
}
.calc-step-dot.active {
  background: linear-gradient(90deg, var(--terra), var(--terra-light));
  box-shadow: 0 2px 8px rgba(168,93,58,.3);
}
.calc-step-dot.done {
  background: var(--sage);
}

.calc-step-label {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
}

/* Step body */
.calc-body {
  padding: 2.25rem;
}
.calc-body h3 {
  color: var(--charcoal);
  margin-bottom: .5rem;
  font-weight: 600;
}
.calc-body .step-hint {
  font-size: .9rem;
  margin-bottom: 1.75rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Radio & checkbox groups */
.choice-group {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.choice-item {
  position: relative;
}

.choice-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.choice-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--terra-pale);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
  user-select: none;
  background: white;
}

.choice-label:hover {
  border-color: var(--terra);
  background: var(--terra-pale);
}

.choice-item input:checked + .choice-label {
  border-color: var(--terra);
  background: linear-gradient(135deg, var(--terra-pale), rgba(107,142,111,.04));
  color: var(--terra);
  font-weight: 600;
}

.choice-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--terra-pale);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  background: white;
}

.choice-item input:checked + .choice-label .choice-indicator {
  border-color: var(--terra);
  background: var(--terra);
}

.choice-indicator::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: white;
  display: none;
}
.choice-item input:checked + .choice-label .choice-indicator::after { display: block; }

/* Checkbox variant */
.choice-item.checkbox .choice-indicator { border-radius: 4px; }
.choice-item.checkbox input:checked + .choice-label .choice-indicator::after {
  width: 10px; height: 8px;
  background: none;
  border: 2px solid white;
  border-top: none; border-right: none;
  transform: rotate(-45deg) translate(0, -2px);
  display: block;
}

/* Sub-options (language count, api count) */
.sub-options {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
  padding-left: 2.5rem;
}

.sub-opt {
  padding: .45rem .85rem;
  border-radius: 100px;
  border: 1.5px solid var(--terra-pale);
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
  background: white;
}
.sub-opt.selected {
  border-color: var(--terra);
  background: var(--terra);
  color: white;
  font-weight: 700;
}

/* Contact fields */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.field label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--charcoal);
}
.field input,
.field textarea {
  padding: .875rem 1.125rem;
  border: 2px solid var(--terra-pale);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: white;
  font-family: var(--font);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(168,93,58,.1);
}
.field textarea {
  resize: vertical;
  min-height: 100px;
}

/* Result step */
.calc-result {
  text-align: center;
  padding: 1.5rem 0;
}

.price-display {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -.04em;
  margin: 1.5rem 0;
  font-family: var(--font-display);
}

.price-display span {
  color: var(--terra);
}

.price-note {
  font-size: .9rem;
  color: var(--text-muted);
  max-width: 45ch;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* Navigation buttons */
.calc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.25rem;
  border-top: 1px solid var(--terra-pale);
  background: linear-gradient(135deg, #faf8f5, rgba(255,255,255,.5));
}

/* --------------------------------------------------------------------------
   11. About
   -------------------------------------------------------------------------- */
#about {
  background: white;
}

/* About – header row */
.about-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}
.about-header-text .section-label { margin-bottom: .5rem; }
.about-header-text h2 { margin-bottom: 0; }

.about-monogram {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(168,93,58,.25);
}

/* About – body grid */
.about-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p { color: var(--text-secondary); line-height: 1.75; }
.about-text p + p { margin-top: .875rem; }

.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.75rem;
}

.skill-tag {
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem .7rem;
  background: var(--green-pale);
  color: var(--green);
  border-radius: 4px;
}

/* Stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-stat {
  text-align: center;
  padding: 1.25rem .75rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.about-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--terra);
  line-height: 1;
  margin-bottom: .25rem;
}

.about-stat-label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* USP list */
.about-usps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-usp {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
  padding: .875rem 1rem;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.about-usp-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: .1rem;
}

.about-usp strong {
  display: block;
  font-size: .9rem;
  color: var(--charcoal);
  margin-bottom: .2rem;
}

.about-usp p {
  margin: 0;
  font-size: .825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .about-body { grid-template-columns: 1.2fr 1fr; }
  .about-monogram { width: 96px; height: 96px; font-size: 2.1rem; }
}

@media (max-width: 480px) {
  .about-header { flex-direction: row; }
  .about-monogram { width: 64px; height: 64px; font-size: 1.4rem; }
  .about-stat-num { font-size: 1.6rem; }
}

/* --------------------------------------------------------------------------
   12. Contact – Inviting & Accessible
   -------------------------------------------------------------------------- */
#contact {
  background: linear-gradient(135deg, #faf8f5 0%, rgba(107,142,111,.03) 100%);
}

.contact-form-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: white;
  border: 2px solid var(--terra-pale);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 8px 24px rgba(168,93,58,.08);
}

.form-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.form-field label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -.005em;
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: .875rem 1.125rem;
  border: 2px solid var(--terra-pale);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(168,93,58,.1);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font);
}
.form-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a85d3a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-submit {
  align-self: flex-start;
}

.form-notice {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: -.5rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   13. Footer – Warm & Grounded
   -------------------------------------------------------------------------- */
footer {
  background: linear-gradient(135deg, #3c2f2a 0%, #4a4238 100%);
  color: rgba(255,255,255,.65);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}

.footer-brand .nav-logo {
  display: inline-block;
  margin-bottom: 1rem;
  color: white;
}
.footer-brand .nav-logo span {
  color: var(--terra-light);
}
.footer-brand p {
  font-size: .875rem;
  max-width: 32ch;
  line-height: 1.7;
}

.footer-col h4 {
  color: white;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.footer-col a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col a:hover {
  color: var(--terra-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   14. Animations / Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* --------------------------------------------------------------------------
   15. Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* Success message */
.success-msg {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 500;
  display: none;
}
.success-msg.show { display: block; }

.error-msg {
  background: #fee2e2;
  border: 2px solid #dc2626;
  color: #7f1d1d;
  padding: 1.125rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  display: none;
  margin-top: 1rem;
  animation: slideIn 0.3s ease;
}
.error-msg.show {
  display: block;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
