/* =============================================================================
   style.css – tyrol.dev  ·  Alpine Digital Design System
   Modern, clean, Tyrolean-inspired — crafted to make you scroll & explore
   ============================================================================= */

/* ── Local Font Faces (DSGVO-konform) ──────────────────────────────────────── */
@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 — Alpine Modern + Tyrolean Palette
   ============================================================================= */
:root {
  /* ── Core Tyrolean Palette ─────────────────────────────────────────────── */
  --terra:          #a85d3a;
  --terra-light:    #c97c54;
  --terra-dark:     #7a3f22;
  --terra-pale:     #f5e6d3;
  --terra-subtle:   #fdf6f0;

  --sage:           #6b8e6f;
  --sage-light:     #8db894;
  --sage-dark:      #4a6b4e;
  --sage-pale:      #e8ede8;
  --sage-subtle:    #f2f5f2;

  --cream:          #faf8f5;
  --warm-white:     #ffffff;
  --warm-stone:     #9c8f85;
  --charcoal:       #2a2420;
  --charcoal-mid:   #3c2f2a;
  --charcoal-soft:  #4a3d38;

  --text:           #2a2420;
  --text-muted:     #6f6763;
  --text-light:     #9c8f85;

  /* ── Backward-compat aliases (existing CSS uses these) ─────────────────── */
  --white:          #ffffff;
  --gray-50:        #faf8f5;
  --gray-100:       #f5f0eb;
  --gray-200:       #e8ddd5;
  --navy:           #2a2420;
  --green:          #6b8e6f;
  --green-pale:     #e8ede8;
  --text-secondary: #6f6763;

  /* ── Shape ─────────────────────────────────────────────────────────────── */
  --radius-xs:      4px;
  --radius-sm:      10px;
  --radius:         16px;
  --radius-md:      12px;
  --radius-lg:      24px;
  --radius-xl:      36px;

  /* ── Shadows ────────────────────────────────────────────────────────────── */
  --shadow-xs:      0 1px 4px rgba(42,36,32,.05);
  --shadow-sm:      0 2px 10px rgba(42,36,32,.08);
  --shadow:         0 8px 28px rgba(168,93,58,.12), 0 2px 8px rgba(42,36,32,.06);
  --shadow-lg:      0 20px 60px rgba(42,36,32,.16), 0 4px 16px rgba(42,36,32,.1);
  --shadow-card:    0 4px 16px rgba(42,36,32,.07), 0 1px 4px rgba(42,36,32,.05);
  --shadow-hover:   0 12px 36px rgba(168,93,58,.18), 0 4px 12px rgba(42,36,32,.1);

  /* ── Transitions ────────────────────────────────────────────────────────── */
  --transition:     0.32s cubic-bezier(.25,.46,.45,.94);
  --transition-fast:0.18s cubic-bezier(.25,.46,.45,.94);

  /* ── Typography ─────────────────────────────────────────────────────────── */
  --font-display:   'Crimson Text', Georgia, 'Times New Roman', serif;
  --font:           'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =============================================================================
   2. Reset & Base
   ============================================================================= */
*, *::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;
}

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; }

/* =============================================================================
   3. Typography
   ============================================================================= */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.018em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--charcoal);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

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

h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
}

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

/* =============================================================================
   4. Layout
   ============================================================================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

.section-header {
  margin-bottom: 3.5rem;
  text-align: center;
  position: relative;
}

.section-header h2 {
  margin-bottom: .75rem;
}

.section-header p {
  max-width: 52ch;
  margin: .875rem auto 0;
  font-size: 1.075rem;
  line-height: 1.75;
}

/* Section decorative background number */
.section-header::before {
  content: attr(data-section-num);
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700;
  color: var(--terra);
  opacity: .04;
  letter-spacing: -.04em;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
  z-index: 0;
}

/* =============================================================================
   5. Buttons
   ============================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.875rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  border: none;
  position: relative;
  letter-spacing: -.01em;
}

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

.btn-outline {
  background: rgba(255,255,255,.08);
  color: white;
  border: 1.5px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.55);
  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,.1);
  color: var(--sage);
}
.btn-ghost:hover {
  background: rgba(107,142,111,.18);
}

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

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

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -.04em;
  font-family: var(--font);
}
.nav-logo span { color: var(--terra); }

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

.nav-links a {
  color: var(--text-muted);
  font-size: .875rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--terra);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--terra); }
.nav-links a:hover::after { transform: scaleX(1); }

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

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

.lang-btn {
  padding: .325rem .7rem;
  border-radius: 100px;
  font-size: .72rem;
  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;
  box-shadow: 0 2px 8px rgba(168,93,58,.25);
}
.lang-btn:hover:not(.active) { color: var(--terra); }

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .375rem;
}
.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;
  background: var(--cream);
  border-top: 1px solid var(--terra-pale);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 1rem 1.5rem;
  color: var(--text-muted);
  font-size: .9375rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(168,93,58,.07);
  transition: color var(--transition), background var(--transition), padding-left var(--transition);
}
.mobile-menu a:hover {
  color: var(--terra);
  background: var(--terra-subtle);
  padding-left: 2rem;
}

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

/* =============================================================================
   7. Hero — Full-viewport mountain welcome
   ============================================================================= */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 9rem;
  background: var(--charcoal);
}

/* Photo background */
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
#hero.loaded .hero-image { transform: scale(1); }

/* Layered overlay — depth & readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,  rgba(42,36,32,.5) 0%, rgba(42,36,32,.3) 50%, rgba(42,36,32,.75) 100%),
    linear-gradient(135deg, rgba(42,36,32,.6) 0%, rgba(74,107,95,.3) 100%);
  z-index: 1;
}

/* Decorative radial glow */
#hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168,93,58,.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
}

/* Badge / location pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(201,124,84,.35);
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  font-weight: 600;
  padding: .475rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}
.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--terra-light);
  border-radius: 50%;
  animation: pulse 2.5s ease infinite;
  box-shadow: 0 0 10px rgba(201,124,84,.7);
}

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

/* Hero headline */
.hero-headline {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.08;
}

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

/* Hero subline */
.hero-subline {
  color: rgba(255,255,255,.7);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.8;
  margin-bottom: 2.75rem;
  max-width: 54ch;
  font-weight: 300;
}

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

/* Mountain ridge — the Tyrolean signature element */
.hero-ridge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}
.hero-ridge svg {
  width: 100%;
  display: block;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.28);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 4;
  animation: bobDown 2.5s ease infinite;
}
.hero-scroll svg { width: 18px; height: 18px; }

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

/* =============================================================================
   8. Stats Strip — credibility at a glance
   ============================================================================= */
.stats-strip {
  background: var(--cream);
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(168,93,58,.09);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  display: none;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--terra);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: .35rem;
}

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

@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .stat-item:not(:last-child)::after {
    display: block;
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(168,93,58,.2), transparent);
  }
}

/* =============================================================================
   9. Services — What I build
   ============================================================================= */
#services {
  background: var(--warm-white);
}

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

.service-card {
  background: var(--cream);
  border: 1.5px solid rgba(168,93,58,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

/* Top-color accent strip */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terra) 0%, var(--sage) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

/* Diagonal backdrop glow */
.service-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(168,93,58,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: rgba(168,93,58,.2);
  background: var(--warm-white);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after {
  width: 240px;
  height: 240px;
  bottom: -60px;
  right: -60px;
}

.service-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--terra-pale), rgba(107,142,111,.1));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.375rem;
  color: var(--terra);
  transition: var(--transition);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--terra), var(--terra-light));
  color: white;
  box-shadow: 0 4px 16px rgba(168,93,58,.3);
}

.service-card h3 {
  margin-bottom: .625rem;
  font-size: 1.35rem;
}
.service-card p { font-size: .9375rem; line-height: 1.7; }

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

/* =============================================================================
   10. Projects — Selected work
   ============================================================================= */
#projects {
  background: linear-gradient(180deg, #f5ede5 0%, var(--cream) 100%);
}

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

.project-card {
  background: white;
  border: 1.5px solid rgba(168,93,58,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(168,93,58,.25);
}
.project-card.coming-soon {
  opacity: .8;
  border-style: dashed;
}

/* Project content padding */
.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); line-height: 1.7; }

.project-card .project-tech {
  font-size: .8rem;
  color: var(--text-muted);
  margin: .4rem 0 0;
  padding: 0 1.75rem;
}
.project-card .project-tech strong {
  color: var(--terra);
  font-weight: 600;
}

/* Accent bar on left */
.project-card::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--terra) 0%, var(--sage) 100%);
}

/* Preview area */
.project-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--terra-pale) 0%, var(--sage-pale) 100%);
  overflow: hidden;
  position: relative;
}
.project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}
.project-card:hover .project-preview img { transform: scale(1.05); }
.project-preview .preview-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 600;
  color: var(--terra);
}

.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}
.project-title-group h3    { color: var(--charcoal); font-size: 1.35rem; }
.project-title-group .project-url {
  font-size: .8rem;
  color: var(--sage);
  font-weight: 500;
  margin-top: .2rem;
}

.project-status {
  flex-shrink: 0;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 100px;
}
.project-status.live { background: #d1fae5; color: #065f46; }
.project-status.soon { background: #fef3c7; color: #92400e; }

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  margin-top: .5rem;
}
.tag {
  font-size: .73rem;
  font-weight: 600;
  padding: .2rem .6rem;
  background: var(--charcoal);
  color: rgba(255,255,255,.75);
  border-radius: var(--radius-xs);
  letter-spacing: .02em;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--terra);
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}
.project-link:hover { gap: .625rem; color: var(--terra-dark); }

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

/* =============================================================================
   11. Process — How we work together
   ============================================================================= */
#process {
  background: white;
}

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

.process-timeline::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(to bottom, var(--terra), var(--sage-light), rgba(107,142,111,.15));
}

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

.phase-dot {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: white;
  border: 2.5px solid var(--terra-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.phase:hover .phase-dot {
  background: linear-gradient(135deg, var(--terra), var(--terra-light));
  color: white;
  border-color: var(--terra);
  box-shadow: 0 4px 20px rgba(168,93,58,.3);
  transform: scale(1.08);
}

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

/* Payment split card */
.payment-split {
  background: linear-gradient(135deg, var(--terra-subtle), var(--sage-subtle));
  border: 1.5px solid rgba(168,93,58,.12);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  max-width: 720px;
  margin: 0 auto;
}

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

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

.payment-bar {
  flex: 1;
  min-width: 120px;
  background: white;
  border-radius: var(--radius-sm);
  padding: 1.375rem 1.25rem;
  border-left: 3.5px solid var(--terra);
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}
.payment-bar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.payment-bar .pct {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--terra);
  line-height: 1;
  font-family: var(--font-display);
}
.payment-bar .label {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .3rem;
  font-weight: 500;
}

/* =============================================================================
   12. Price Calculator
   ============================================================================= */
#calculator {
  background: var(--cream);
}

.calc-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: white;
  border: 1.5px solid rgba(168,93,58,.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(168,93,58,.1), 0 4px 16px rgba(42,36,32,.06);
}

.calc-progress {
  padding: 1.75rem 2.25rem 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(168,93,58,.09);
}

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

.calc-step-dot {
  height: 4px;
  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: .73rem;
  color: var(--text-muted);
  margin-top: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
}

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

/* Choice groups */
.choice-group {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.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: 1.5px solid var(--terra-pale);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
  user-select: none;
  background: white;
}
.choice-label:hover {
  border-color: var(--terra);
  background: var(--terra-subtle);
}
.choice-item input:checked + .choice-label {
  border-color: var(--terra);
  background: linear-gradient(135deg, var(--terra-subtle), rgba(107,142,111,.04));
  color: var(--terra-dark);
  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 */
.sub-options {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
  padding-left: 2.5rem;
}
.sub-opt {
  padding: .45rem .875rem;
  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;
}

/* 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: 1.5px solid var(--terra-pale);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: white;
}
.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: 96px; }

/* Result step */
.calc-result {
  text-align: center;
  padding: 1.5rem 0;
}
.price-display {
  font-size: 3rem;
  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: 44ch;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* Footer nav */
.calc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.25rem;
  border-top: 1px solid rgba(168,93,58,.09);
  background: var(--cream);
}

/* =============================================================================
   13. About — Dark mountain section (the pattern interrupt)
   ============================================================================= */
#about {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-soft) 100%);
  color: rgba(255,255,255,.85);
  position: relative;
  overflow: hidden;
}

/* Subtle Tyrolean diamond pattern */
#about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(168,93,58,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Decorative mountain silhouette inside about */
#about::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath d='M0,220 L0,160 L80,130 L160,150 L260,100 L380,130 L480,80 L600,115 L720,60 L840,100 L960,72 L1060,105 L1180,68 L1300,98 L1440,80 L1440,220 Z' fill='rgba(168,93,58,0.04)'/%3E%3C/svg%3E") bottom / cover no-repeat;
  pointer-events: none;
}

/* Override section-label for dark bg */
#about .section-label   { color: var(--terra-light); }
#about h2               { color: white; }
#about .section-header::before { color: rgba(255,255,255,.04); opacity: 1; }

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

.about-monogram {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terra) 0%, var(--terra-dark) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(168,93,58,.4);
}

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

.about-text p {
  color: rgba(255,255,255,.7);
  line-height: 1.8;
}
.about-text p + p { margin-top: .875rem; }

/* Skills tags */
.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.75rem;
}
.skill-tag {
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .75rem;
  background: rgba(107,142,111,.15);
  color: var(--sage-light);
  border-radius: var(--radius-xs);
  border: 1px solid rgba(107,142,111,.25);
  letter-spacing: .02em;
}

/* USP list */
.about-usps {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.about-usp {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.125rem 1.25rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.about-usp:hover {
  background: rgba(168,93,58,.1);
  border-color: rgba(168,93,58,.25);
  transform: translateX(4px);
}
.about-usp-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: .1rem;
}
.about-usp strong {
  display: block;
  font-size: .9375rem;
  color: white;
  margin-bottom: .25rem;
}
.about-usp p {
  margin: 0;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.55;
}

/* Stats (if used in about) */
.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: rgba(255,255,255,.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.08);
}
.about-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--terra-light);
  line-height: 1;
  margin-bottom: .25rem;
}
.about-stat-label {
  display: block;
  font-size: .73rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .05em;
}

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

/* =============================================================================
   14. Contact — Einladend und zugänglich
   ============================================================================= */
#contact {
  background: linear-gradient(180deg, var(--cream) 0%, #f0ebe5 100%);
}

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

.contact-form {
  background: white;
  border: 1.5px solid rgba(168,93,58,.1);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 12px 40px rgba(168,93,58,.08), 0 2px 8px rgba(42,36,32,.05);
}

.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: 1.5px solid var(--terra-pale);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-field input::placeholder { color: var(--text-muted); opacity: .6; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--terra);
  background: white;
  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);
  line-height: 1.6;
}

/* =============================================================================
   15. Footer
   ============================================================================= */
footer {
  background: linear-gradient(160deg, var(--charcoal) 0%, #1e1815 100%);
  color: rgba(255,255,255,.55);
  padding: 4rem 0 2.25rem;
  position: relative;
  overflow: hidden;
}

/* Mountain silhouette footer bg */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terra), var(--sage), var(--terra));
}

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

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

.footer-col h4 {
  color: white;
  font-size: .72rem;
  letter-spacing: .12em;
  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,.45);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--terra-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  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,.35);
}

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

/* =============================================================================
   16. Animations & Scroll Reveal
   ============================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Directional variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: none;
}
.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-right.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; }
.reveal-delay-5 { transition-delay: .5s; }

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

/* Feedback messages */
.success-msg {
  background: #d1fae5;
  border: 1.5px solid #6ee7b7;
  color: #065f46;
  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: 1.5px solid #fca5a5;
  color: #991b1b;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  display: none;
  margin-top: .75rem;
  animation: slideIn .28s ease;
}
.error-msg.show { display: block; }

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================================================
   18. DSGVO — Privacy Checkbox & Notice Banner
   ============================================================================= */

/* Privacy consent checkbox in contact form */
.form-privacy-field {
  margin-top: -.25rem;
}

.privacy-check-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
}

.privacy-check-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: .15rem;
  accent-color: var(--terra);
  cursor: pointer;
  border-radius: 3px;
}

.privacy-check-label span {
  font-size: .8375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.privacy-check-label span a {
  color: var(--terra);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.privacy-check-label span a:hover { color: var(--terra-dark); }

/* Privacy notice banner */
.privacy-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--charcoal);
  border-top: 2px solid var(--terra);
  padding: 1.125rem 0;
  animation: slideUp .4s cubic-bezier(.25,.46,.45,.94);
  box-shadow: 0 -4px 24px rgba(42,36,32,.25);
}

.privacy-notice.hiding {
  animation: slideDown .35s cubic-bezier(.25,.46,.45,.94) forwards;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes slideDown {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(100%); opacity: 0; }
}

.privacy-notice-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.privacy-notice-icon {
  flex-shrink: 0;
  color: var(--terra-light);
}

.privacy-notice-inner p {
  flex: 1;
  min-width: 200px;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin: 0;
}

.privacy-notice-inner p strong { color: rgba(255,255,255,.85); font-weight: 600; }

.privacy-notice-actions {
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-shrink: 0;
}

.privacy-notice-link {
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.privacy-notice-link:hover { color: rgba(255,255,255,.8); }

.privacy-notice-close {
  background: var(--terra);
  color: white;
  font-size: .8125rem;
  font-weight: 600;
  padding: .5rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-family: var(--font);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.privacy-notice-close:hover {
  background: var(--terra-light);
  transform: translateY(-1px);
}
