/* =========================================================
   Human Touch Innenarchitektur — Design System
   Palette: warm ivory + charcoal ink + stone neutral + brand yellow accent
   Type: Fraunces (headlines) / Inter (body, UI)
   ========================================================= */

@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-variable.woff2') format('woff2-variations'),
       url('../assets/fonts/fraunces-variable.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-variable.woff2') format('woff2-variations'),
       url('../assets/fonts/inter-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F8F5EF;
  --bg-alt: #EFE9DD;
  --ink: #201E1B;
  --ink-soft: #55504A;
  --stone: #9C8F7B;
  --stone-line: #E1D8C7;
  --accent: #FFE600;
  --accent-deep: #E2C700;
  --on-accent: #201E1B;
  --white: #FFFFFF;

  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 12px 32px -16px rgba(32, 30, 27, 0.25);
  --shadow-lift: 0 20px 44px -18px rgba(32, 30, 27, 0.35);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
p { margin: 0 0 1em; color: var(--ink-soft); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent-deep);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  min-height: 52px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background-color 0.22s var(--ease), border-color 0.22s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 10px 24px -10px rgba(226, 199, 0, 0.7);
}
.btn-primary:hover {
  transform: translateY(-3px);
  background: var(--accent-deep);
  box-shadow: 0 16px 32px -12px rgba(226, 199, 0, 0.85);
}
.btn-primary:active { transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-3px);
}
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost-light:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 239, 0.86);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: padding 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}
.navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  transition: padding 0.32s var(--ease);
}
.navbar.is-scrolled .nav-inner { padding: 12px 0; }
.navbar.is-scrolled {
  border-color: var(--stone-line);
  box-shadow: 0 8px 24px -18px rgba(32,30,27,0.35);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
}
.brand img {
  height: 46px;
  width: auto;
  transition: height 0.32s var(--ease);
}
.navbar.is-scrolled .brand img { height: 36px; }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent-deep);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 6px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -8px; }
.nav-toggle span::after { position: absolute; top: 8px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  max-width: 14ch;
}
.hero .lede {
  font-size: 19px;
  max-width: 46ch;
  color: var(--ink-soft);
  margin-bottom: 34px;
}
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-note {
  font-size: 14px;
  color: var(--stone);
  font-weight: 500;
}
.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5;
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}
.hero-badge .stars { color: var(--accent-deep); font-size: 14px; letter-spacing: 2px; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 17px; }
.hero-badge span { font-size: 13px; color: var(--stone); }

/* ---------- Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--stone-line);
  border-bottom: 1px solid var(--stone-line);
  padding: 26px 0;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 44px;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.trust-item {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
}
.trust-item strong { color: var(--ink); font-family: var(--font-head); font-size: 15px; text-transform: none; letter-spacing: 0; display: block; margin-bottom: 2px; }

/* ---------- Section shell ---------- */
section { padding: 108px 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.section-head p { font-size: 17px; }
.section-head.left { margin: 0 0 56px; text-align: left; }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.feature-icon svg { width: 28px; height: 28px; stroke: var(--ink); }
.feature-card h3 { font-size: 21px; margin-bottom: 10px; }
.feature-card p { font-size: 15.5px; margin-bottom: 0; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-step { position: relative; padding-top: 8px; }
.process-num {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--stone);
  border: 1px solid var(--stone-line);
  border-radius: 999px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.process-step h3 { font-size: 18px; margin-bottom: 8px; }
.process-step p { font-size: 14.5px; }

/* ---------- Gallery / Projects ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 18px;
}
.gallery-grid a { border-radius: var(--radius-sm); overflow: hidden; position: relative; display: block; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid .tall { grid-row: span 2; }
.gallery-caption {
  position: absolute; inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(32,30,27,0.72), transparent);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-grid a:hover .gallery-caption { opacity: 1; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial-card .stars { color: var(--accent-deep); letter-spacing: 3px; font-size: 15px; }
.testimonial-card p { color: var(--ink); font-size: 15.5px; margin: 0; flex: 1; }
.testimonial-card footer { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.testimonial-card cite { font-style: normal; font-weight: 600; font-size: 14px; display: block; }
.testimonial-card .role { font-size: 12.5px; color: var(--stone); }

/* ---------- CTA banners ---------- */
.cta-banner {
  background: var(--ink);
  color: var(--white);
  border-radius: 28px;
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,230,0,0.16), transparent 70%);
  top: -160px; right: -120px;
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.5rem); max-width: 18ch; margin: 0 auto 16px; }
.cta-banner p { color: rgba(255,255,255,0.72); max-width: 52ch; margin: 0 auto 36px; font-size: 16.5px; }
.cta-banner .btn-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Email capture ---------- */
.subscribe {
  background: var(--bg-alt);
  border-top: 1px solid var(--stone-line);
}
.subscribe-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.subscribe form {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.subscribe input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--stone-line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  min-height: 52px;
}
.subscribe input[type="email"]:focus { outline: none; border-color: var(--ink); }
.subscribe .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin-top: 14px; font-size: 14px; font-weight: 600; min-height: 20px; }
.form-msg.success { color: #3F7A45; }
.form-msg.error { color: #B23B3B; }
.subscribe-fine { font-size: 12.5px; color: var(--stone); margin-top: 14px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.62); font-size: 14.5px; max-width: 32ch; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,255,255,0.68); text-decoration: none; font-size: 14.5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.24);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.social-row a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.social-row svg { width: 17px; height: 17px; stroke: var(--white); }
.social-row a:hover svg { stroke: var(--ink); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- FAQ page ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--stone);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent-deep); }
.faq-item .faq-a { padding: 0 26px 24px; font-size: 15.5px; color: var(--ink-soft); }

/* ---------- Simple content pages (Impressum/Datenschutz) ---------- */
.legal-page { padding: 72px 0 100px; }
.legal-page .container { max-width: 760px; }
.legal-page h1 { margin-bottom: 28px; }
.legal-page h2 { font-size: 20px; margin-top: 40px; }
.legal-page p, .legal-page li { font-size: 15.5px; }
.legal-page address { font-style: normal; }

/* ---------- Page header (sub-pages) ---------- */
.page-header {
  padding: 64px 0 40px;
  text-align: center;
}
.page-header .eyebrow { justify-content: center; }
.page-header h1 { font-size: clamp(2rem, 4vw, 2.8rem); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}

@media (max-width: 720px) {
  section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 32px 32px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.36s var(--ease);
    box-shadow: -18px 0 40px -20px rgba(0,0,0,0.25);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 18px; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: 0; margin-top: 12px; }
  .hero-badge { position: static; margin-top: -40px; margin-left: 18px; max-width: none; }
  .features-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-grid .tall { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 48px 28px; border-radius: 20px; }
  .subscribe form { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; }
  .hero-actions { width: 100%; }
  .hero-actions .btn-primary { width: 100%; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .process-grid { grid-template-columns: 1fr; }
}
