/* Self-hosted fonts (latin subset only — no Google Fonts CDN, see Impressum) */
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 300; font-display: swap; src: url("/fonts/newsreader-italic-300.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/newsreader-italic-400.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/newsreader-normal-300.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/newsreader-normal-400.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: italic; font-weight: 300; font-display: swap; src: url("/fonts/worksans-italic-300.woff") format("woff"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/worksans-normal-300.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/worksans-normal-400.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/worksans-normal-500.woff2") format("woff2"); }

:root {
  --paper: #fbf9f5;
  --cloud-fill: #fffdf8;
  --ink: #2b322e;
  --text-2: #4b524d;
  --text-3: #59615b;
  --text-4: #6b746d;
  --sage: #4f6b57;
  --sage-light: #7a9c82;
  --mist: #3f6280;
  --mist-light: #8fa9bd;
  --clay: #8c5238;
  --clay-light: #cb9274;
  --hairline: rgba(43, 50, 46, 0.12);
  --chip-border: rgba(43, 50, 46, 0.18);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Work Sans", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
}

p { margin: 0 0 1em; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--sage); }

em { font-style: italic; }

h1, h2, h3 {
  font-family: "Newsreader", serif;
  font-weight: 300;
  margin: 0;
  color: var(--ink);
}

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }

.section { padding: 96px 0; scroll-margin-top: 84px; background: var(--paper); }
.section-tight-top { padding: 24px 0 96px; }

.block-header {
  font-size: clamp(32px, 4.4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 700px;
  margin: 0 0 20px;
}
.block-header--mid { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 14px; }
.block-header--small { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.2; margin-bottom: 16px; }

.lead { max-width: 700px; font-size: 20px; line-height: 1.6; color: var(--text-2); margin: 0 0 16px; }
.lead--narrow { max-width: 420px; margin-bottom: 0; }
.intro { max-width: 700px; color: var(--text-4); margin: 0 0 64px; }

.kicker {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  margin: 0 0 14px;
}
.kicker[data-accent="sage"] { color: var(--sage); }
.kicker[data-accent="mist"] { color: var(--mist); }
.kicker[data-accent="clay"] { color: var(--clay); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--sage);
  background: var(--sage);
  color: var(--paper);
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
  transition: all 0.25s ease;
}
.btn:hover { background: transparent; color: var(--sage); }
.btn[data-accent="mist"] { border-color: var(--mist); background: var(--mist); }
.btn[data-accent="mist"]:hover { background: transparent; color: var(--mist); }
.btn[data-accent="clay"] { border-color: var(--clay); background: var(--clay); }
.btn[data-accent="clay"]:hover { background: transparent; color: var(--clay); }

.btn-outline,
.btn-outline[data-accent="mist"] {
  background: transparent;
  color: var(--mist);
  border-color: var(--mist);
}
.btn-outline:hover,
.btn-outline[data-accent="mist"]:hover { background: var(--mist); color: var(--paper); }
.btn-outline[data-accent="sage"] { color: var(--ink); border-color: rgba(43, 50, 46, 0.22); background: transparent; }
.btn-outline[data-accent="sage"]:hover { background: transparent; border-color: var(--sage); color: var(--sage); }

.btn-large {
  padding: 16px 32px;
  font-family: "Newsreader", serif;
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.2;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.header-row {
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand-mark { font-family: "Newsreader", serif; font-weight: 400; font-size: 27px; letter-spacing: -0.01em; color: var(--ink); }
.brand-sub { font-size: 14px; color: var(--text-3); }
.nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.nav a { font-size: 15px; color: var(--text-3); }
.nav a:hover { color: var(--sage); }
.lang-switch { display: flex; gap: 10px; align-items: center; font-size: 13px; margin-left: 6px; }
.lang-switch a { font-weight: 300; color: var(--text-3); border-bottom: 1px solid transparent; padding-bottom: 1px; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-active { font-weight: 500; color: var(--ink); border-bottom-color: var(--sage); }
.lang-sep { color: #b4b9b4; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 1px; }


.progress-track { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sage-light), var(--mist-light), var(--clay-light));
  transition: width 0.12s linear;
}

/* Hero */
.hero {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  min-height: 560px;
}
.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 104px 0 112px;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.5s ease-in-out;
  background-color: var(--paper);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide--1 { background-image: radial-gradient(58% 52% at 16% 22%, rgba(122,156,130,0.34), transparent 70%), radial-gradient(48% 44% at 82% 16%, rgba(143,169,189,0.30), transparent 72%), radial-gradient(56% 50% at 66% 88%, rgba(203,146,116,0.26), transparent 70%); }
.hero-slide--2 { background-image: radial-gradient(54% 48% at 78% 26%, rgba(143,169,189,0.38), transparent 70%), radial-gradient(50% 46% at 14% 20%, rgba(203,146,116,0.24), transparent 72%), radial-gradient(58% 52% at 40% 90%, rgba(122,156,130,0.26), transparent 70%); }
.hero-slide--3 { background-image: radial-gradient(56% 50% at 24% 80%, rgba(203,146,116,0.34), transparent 70%), radial-gradient(52% 46% at 80% 22%, rgba(122,156,130,0.30), transparent 72%), radial-gradient(46% 42% at 48% 8%, rgba(143,169,189,0.20), transparent 72%); }

.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 60px;
  width: 100%;
}
.hero-copy { min-width: 0; will-change: transform; }
.hero-kicker { margin: 0 0 20px; font-family: "Newsreader", serif; font-style: italic; font-weight: 300; font-size: 20px; }
.hero-slide--1 .hero-kicker { color: var(--sage); }
.hero-slide--2 .hero-kicker { color: var(--mist); }
.hero-slide--3 .hero-kicker { color: var(--clay); }
.hero-title { font-family: "Newsreader", serif; font-size: clamp(2.5rem, 5.4vw, 4.1rem); font-weight: 300; line-height: 1.06; letter-spacing: -0.015em; margin: 0 0 24px; color: var(--ink); }
.hero-title em { color: var(--text-4); }
.hero-text { max-width: 480px; font-size: 18px; line-height: 1.7; color: var(--text-2); margin: 0; }
.hero-copy .btn { margin-top: 34px; }

.hero-visual { min-width: 0; position: relative; padding: 54px 46px 58px; }
.hero-portrait-frame { position: relative; max-width: 290px; margin: 0 auto; }
.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  will-change: transform;
  box-shadow: 0 16px 40px rgba(43, 50, 46, 0.1);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; display: block; }
.hero-slide--1 .hero-portrait { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: rgba(122,156,130,0.18); }
.hero-slide--2 .hero-portrait { border-radius: 54% 46% 57% 43% / 44% 55% 45% 56%; background: rgba(143,169,189,0.2); }
.hero-slide--3 .hero-portrait { border-radius: 42% 58% 48% 52% / 56% 48% 52% 44%; background: rgba(203,146,116,0.2); }

.vj-cloud { position: absolute; pointer-events: none; will-change: transform; }
.vj-cloud-float { position: relative; width: 100%; height: 100%; animation: vjFloat ease-in-out infinite; }
.vj-cloud-shape { position: absolute; inset: 0; width: 100%; height: 100%; display: block; fill: var(--cloud-fill); stroke: var(--ink); stroke-width: 3.4; stroke-linejoin: round; filter: drop-shadow(0 8px 14px rgba(43, 50, 46, 0.12)); }
.vj-cloud-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transform: translateY(-1px); }
.vj-cloud-icon svg { stroke: var(--ink); stroke-width: 2.4; }

@keyframes vjFloat { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -9px, 0); } }
@media (prefers-reduced-motion: reduce) { .vj-cloud-float { animation: none !important; } }

.hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 40px; display: flex; gap: 10px; z-index: 5; }
.hero-dot { width: 28px; height: 2px; padding: 0; border: none; background: rgba(43, 50, 46, 0.22); cursor: pointer; }
.hero-dot:hover, .hero-dot.is-active { background: var(--sage); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 52px; }
.service-ordinal { margin: 0 0 16px; font-family: "Newsreader", serif; font-style: italic; font-size: 22px; }
.service-rule { height: 1px; margin: 0 0 22px; }
.service-card h3 { font-weight: 400; font-size: 24px; line-height: 1.25; margin: 0 0 14px; }
.service-card p { color: var(--text-2); margin: 0 0 18px; }
.service-meta { font-size: 15px; color: var(--text-3); margin: 0; }
.service-card[data-accent="sage"] .service-ordinal { color: var(--sage); }
.service-card[data-accent="sage"] .service-rule { background: rgba(122,156,130,0.5); }
.service-card[data-accent="mist"] .service-ordinal { color: var(--mist); }
.service-card[data-accent="mist"] .service-rule { background: rgba(143,169,189,0.55); }
.service-card[data-accent="clay"] .service-ordinal { color: var(--clay); }
.service-card[data-accent="clay"] .service-rule { background: rgba(203,146,116,0.55); }

/* Terms / freelance */
.terms-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px 60px;
  padding: 52px 48px 44px;
  border-radius: 22px;
  background: rgba(143, 169, 189, 0.14);
}
.terms-intro { min-width: 0; }
.terms-facts { min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 40px; }
.fact { padding: 18px 0 20px; border-top: 1px solid rgba(63, 98, 128, 0.22); }
.fact-label { margin: 0 0 6px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); }
.fact-value { margin: 0; font-family: "Newsreader", serif; font-size: 20px; font-weight: 400; line-height: 1.35; color: var(--ink); }

/* Profile */
.section-profile { background-image: radial-gradient(52% 46% at 12% 14%, rgba(122,156,130,0.2), transparent 72%), radial-gradient(48% 44% at 88% 78%, rgba(203,146,116,0.18), transparent 72%); }
.profile-halves { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.half-panel { position: relative; overflow: hidden; padding: 34px 32px 38px; border-radius: 18px; }
.half-panel h3 { font-weight: 400; font-size: 24px; line-height: 1.25; margin: 0 0 14px; position: relative; }
.half-panel p { position: relative; color: var(--text-2); margin: 0; }
.half-kicker { position: relative; margin: 0 0 10px; font-family: "Newsreader", serif; font-style: italic; font-size: 18px; }
.half-watermark { position: absolute; right: 18px; bottom: -34px; font-family: "Newsreader", serif; font-size: 160px; line-height: 1; font-weight: 300; pointer-events: none; }
.half-panel--1 { background: rgba(122,156,130,0.14); }
.half-panel--1 .half-kicker { color: var(--sage); }
.half-panel--1 .half-watermark { color: rgba(79,107,87,0.14); }
.half-panel--2 { background: rgba(143,169,189,0.16); }
.half-panel--2 .half-kicker { color: var(--mist); }
.half-panel--2 .half-watermark { color: rgba(63,98,128,0.14); }
.workflow-band {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 40px;
  margin-top: 24px;
  padding: 30px 32px 34px;
  border-radius: 18px;
  background: rgba(203,146,116,0.16);
}
.workflow-title { flex: 0 0 auto; }
.workflow-title h3 { font-weight: 400; font-size: 24px; line-height: 1.25; margin: 0; }
.workflow-text { flex: 1 1 340px; margin: 0; color: var(--text-2); }

/* Experience */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 60px; }
.chip { border: 1px solid var(--chip-border); border-radius: 999px; padding: 8px 18px; font-size: 15px; color: var(--text-2); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 44px; }
.info-grid h3 { font-weight: 400; font-size: 21px; margin: 0 0 10px; }
.info-grid p { color: var(--text-2); margin: 0; }

/* Brands */
.brand-wall { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; max-width: 900px; margin-top: 24px; }
.brand-name { font-family: "Newsreader", serif; font-weight: 300; line-height: 1.25; color: var(--text-3); transition: color 0.25s ease; }
.brand-name:hover { color: var(--ink); }
.brand-sep { font-size: 15px; color: rgba(43, 50, 46, 0.28); align-self: center; }
.brand-note { margin: 44px 0 0; font-size: 15px; color: var(--text-3); }

/* Halbnerd */
.section-halbnerd { padding: 76px 0; background-image: radial-gradient(60% 70% at 20% 30%, rgba(143,169,189,0.24), transparent 70%), radial-gradient(50% 60% at 85% 70%, rgba(122,156,130,0.2), transparent 72%); }
.halbnerd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 32px; align-items: center; }
.halbnerd-grid p { color: var(--text-2); margin: 0; }
.halbnerd-cta-wrap { justify-self: start; }

/* Contact */
.section-contact { background-image: radial-gradient(56% 58% at 74% 24%, rgba(122,156,130,0.28), transparent 70%), radial-gradient(52% 54% at 16% 80%, rgba(203,146,116,0.22), transparent 72%); }
.contact-links { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.contact-address { margin: 40px 0 0; color: var(--text-4); }

/* Footer */
.site-footer { padding: 52px 0 44px; border-top: 1px solid var(--hairline); color: var(--text-4); }
.impressum { max-width: 780px; }
.impressum summary { cursor: pointer; font-size: 16px; color: var(--text-2); }
.impressum-body { margin-top: 20px; font-size: 15px; line-height: 1.75; }
.impressum-body p { margin: 0 0 20px; }
.impressum-body p:last-child { margin-bottom: 0; }
.impressum-body strong { font-weight: 500; }
.copyright { margin: 28px 0 0; font-size: 14px; }

/* Scroll reveal (progressive enhancement only — content is always visible without it) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    main > section:not(.hero) > .wrap,
    footer > .wrap {
      animation: vjRise linear both;
      animation-timeline: view();
      animation-range: entry 4% cover 26%;
    }
  }
}
@keyframes vjRise { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }

/* Mobile overrides — kept in one block at the end of the file so they
   reliably win the cascade against same-specificity rules defined above,
   regardless of where those rules sit in the file. */
@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 16px;
    padding-top: 8px;
    text-align: center;
  }
  .nav.is-open { display: flex; }
  .lang-switch { margin-left: 0; padding-top: 8px; }

  .hero-slide { align-items: flex-start; padding-top: 64px; }

  .terms-block {
    grid-template-columns: 1fr;
    padding: 32px 22px 28px;
  }
  .terms-facts { grid-template-columns: 1fr; }
}
