:root {
  --ink: #11110f;
  --paper: #f2efe8;
  --paper-deep: #e7e2d8;
  --white: #fffdf8;
  --accent: #d8ff45;
  --orange: #f25d32;
  --muted: #68675f;
  --line: rgba(17, 17, 15, 0.16);
  --display: "Arial", "Helvetica Neue", sans-serif;
  --body: "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 200;
  background: var(--accent); padding: .75rem 1rem; border-radius: .5rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed; z-index: 100; top: 0; left: 0; right: 0;
  height: 82px; padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.scrolled {
  height: 68px; background: rgba(242, 239, 232, .88);
  backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 600; letter-spacing: -.02em; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  flex: 0 0 auto; border-radius: 50%; background: var(--ink); color: var(--accent); font-size: .7rem;
}
.brand-logo {
  display: block;
  width: 46px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font: inherit; }
.brand-copy small { margin-top: .2rem; color: var(--muted); font-size: .57rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3rem); font-size: .88rem; font-weight: 500; }
.site-nav > a:not(.nav-cta) { position: relative; }
.site-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -.25rem;
  height: 1px; background: currentColor; transition: right .25s;
}
.site-nav > a:hover::after { right: 0; }
.nav-cta { padding: .75rem 1.1rem; border: 1px solid var(--ink); border-radius: 999px; }
.nav-cta:hover { background: var(--ink); color: var(--white); }
.menu-toggle { display: none; border: 0; background: none; width: 42px; height: 42px; padding: 10px; }
.menu-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 7px 0; transition: transform .25s; }

.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 7rem); }
.hero {
  min-height: 100svh; padding-top: 9rem; padding-bottom: 2rem;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4vw;
  overflow: hidden; position: relative;
}
.eyebrow {
  display: flex; align-items: center; gap: .7rem; margin: 0 0 1.6rem;
  text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 600;
}
.eyebrow > span { width: 30px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.04; letter-spacing: -.055em; }
h1 { font-size: clamp(3.5rem, 7.7vw, 8rem); font-weight: 600; max-width: 12ch; }
h1 em, h2 em { font-family: var(--serif); font-weight: 500; }
.hero-intro { margin: 2rem 0; max-width: 580px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 1.5rem;
  min-height: 54px; padding: .9rem 1.35rem; border: 1px solid transparent;
  border-radius: 999px; cursor: pointer; font-weight: 600; transition: transform .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(17,17,15,.15); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary span, .button-accent span { font-size: 1.15rem; }
.text-link { display: inline-flex; align-items: center; gap: .7rem; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: .15rem; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -3px); }

.hero-visual { min-height: 570px; position: relative; display: grid; place-items: center; }
.browser-card {
  width: min(100%, 560px); aspect-ratio: 1.07; background: var(--white);
  border: 1px solid rgba(17,17,15,.12); border-radius: 14px; overflow: hidden;
  transform: rotate(2deg); box-shadow: 0 35px 80px rgba(17,17,15,.18); position: relative; z-index: 2;
}
.browser-bar { height: 42px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.browser-bar i { width: 6px; height: 6px; background: #c8c3b8; border-radius: 50%; }
.browser-bar span { margin: auto; padding-right: 30px; font-size: .55rem; color: #858278; }
.mockup-body { height: calc(100% - 42px); background: #1a1d20; color: white; padding: 12% 10%; position: relative; overflow: hidden; }
.mockup-label { font-size: .55rem; letter-spacing: .19em; }
.mockup-title { font: 500 clamp(2.1rem, 4.8vw, 4.5rem)/.95 var(--display); letter-spacing: -.06em; margin-top: 17%; position: relative; z-index: 2; }
.mockup-button { display: inline-block; margin-top: 8%; padding: .55rem .9rem; background: var(--accent); color: var(--ink); border-radius: 999px; font-size: .58rem; font-weight: 600; }
.mockup-shape { position: absolute; width: 62%; aspect-ratio: 1; border: 1px solid var(--accent); border-radius: 50%; right: -30%; bottom: -30%; box-shadow: 0 0 0 2rem rgba(216,255,69,.06), 0 0 0 5rem rgba(216,255,69,.03); }
.orbit { position: absolute; border: 1px solid rgba(17,17,15,.12); border-radius: 50%; }
.orbit-one { width: 90%; aspect-ratio: 1; }
.orbit-two { width: 70%; aspect-ratio: 1; }
.floating-note { position: absolute; z-index: 3; padding: .7rem 1rem; background: var(--accent); border-radius: 999px; font-size: .72rem; font-weight: 600; box-shadow: 0 12px 28px rgba(17,17,15,.15); }
.note-top { top: 13%; right: -1%; transform: rotate(-4deg); }
.note-bottom { bottom: 10%; left: -3%; transform: rotate(3deg); background: var(--orange); color: white; }
.trust-strip { grid-column: 1/-1; align-self: end; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: clamp(.8rem, 2vw, 2rem); color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: .66rem; }
.trust-strip i { width: 4px; height: 4px; background: var(--orange); border-radius: 50%; }

.services { background: var(--ink); color: var(--white); display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; }
.section-heading h2 { font-size: clamp(2.7rem, 5.6vw, 6rem); max-width: 11ch; }
.section-heading > p:last-child { color: var(--muted); max-width: 490px; margin: 1.8rem 0 0; font-size: 1.05rem; }
.services .section-heading > p:last-child { color: #a5a49e; }
.service-list { border-top: 1px solid rgba(255,255,255,.18); }
.service-card { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.service-number { color: var(--accent); font-size: .7rem; padding-top: .5rem; }
.service-card h3 { font-size: clamp(1.55rem, 2.6vw, 2.4rem); margin-bottom: .8rem; }
.service-card p { color: #a5a49e; margin: 0; max-width: 500px; }
.service-icon { align-self: center; color: var(--accent); font-size: 1.8rem; }

.projects { background: var(--white); }
.projects-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 4rem; }
.projects-heading .eyebrow { flex-basis: 100%; }
.projects-heading > p:last-child { max-width: 380px; }
.project-grid { display: grid; grid-template-columns: 1fr; gap: clamp(3rem, 7vw, 7rem); }
.project-art {
  display: block; position: relative; overflow: hidden; width: 100%; aspect-ratio: 3/2;
  border-radius: clamp(10px, 1.2vw, 18px);
  transition: transform .5s cubic-bezier(.2,.75,.25,1), box-shadow .5s;
  box-shadow: 0 24px 70px rgba(17,17,15,.12);
}
.project-card:hover .project-art { transform: scale(.985); }
.project-card:hover .project-art { box-shadow: 0 30px 85px rgba(17,17,15,.18); }
.project-meta { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.project-meta h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.project-meta p, .project-meta > span { margin: 0; color: var(--muted); font-size: .8rem; }
.art-one, .art-two, .art-three { background: #e9e7e1; }
.professional-mockup { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-visit {
  position: absolute; z-index: 6; right: 1.25rem; top: 1.25rem;
  padding: .55rem .85rem; border-radius: 999px; background: rgba(17,17,15,.82);
  backdrop-filter: blur(8px); color: white; font-size: .65rem; font-weight: 600;
  opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s;
}
.project-card:hover .project-visit { opacity: 1; transform: translateY(0); }

.process { background: var(--paper-deep); }
.process .section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; }
.process .section-heading .eyebrow { width: 100%; }
.process-grid { list-style: none; padding: 0; margin: 5rem 0 0; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
.process-grid li { padding: 2rem 2rem 1rem 0; border-right: 1px solid var(--line); }
.process-grid li:not(:first-child) { padding-left: 2rem; }
.process-grid li:last-child { border-right: 0; }
.process-grid span { color: var(--orange); font-size: .72rem; font-weight: 600; }
.process-grid h3 { font-size: 1.35rem; margin: 4rem 0 1rem; }
.process-grid p { color: var(--muted); margin: 0; font-size: .9rem; }

.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10vw; align-items: center; }
.about-portrait { position: relative; max-width: 520px; }
.portrait-frame {
  aspect-ratio: .8; background: #24211f; position: relative; overflow: hidden;
  border-radius: 2px; box-shadow: 0 24px 65px rgba(17,17,15,.16);
}
.portrait-frame img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 32%; filter: saturate(.96) contrast(1.02);
}
.about-stamp {
  position: absolute; width: 124px; height: 124px; right: -42px; bottom: 10%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--accent); color: var(--ink);
  box-shadow: 0 16px 34px rgba(17,17,15,.2); transform: rotate(-6deg);
  text-align: center; line-height: 1;
}
.about-stamp strong { font: 700 2.25rem/.9 var(--display); letter-spacing: -.08em; }
.about-stamp span { margin-top: .5rem; font-size: .67rem; font-weight: 700; letter-spacing: .08em; line-height: 1.15; text-transform: uppercase; }
.about-copy h2 { font-size: clamp(2.8rem, 5vw, 5.5rem); max-width: 10ch; }
.about-copy > p:not(.eyebrow) { color: var(--muted); max-width: 600px; }
.about-copy .about-lead { color: var(--ink) !important; font-size: 1.2rem; margin-top: 2rem; }
.about-copy .text-link { margin-top: 1.5rem; }

.contact { background: var(--ink); color: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: start; }
.eyebrow.light { color: var(--accent); }
.contact-copy h2 { font-size: clamp(3rem, 6vw, 6.5rem); }
.contact-copy > p:not(.eyebrow) { color: #aaa9a2; max-width: 500px; margin: 2rem 0; }
.contact-email { font-size: clamp(1rem, 1.6vw, 1.4rem); border-bottom: 1px solid #777; padding-bottom: .4rem; }
.contact-email span { color: var(--accent); margin-left: .5rem; }
.contact-form { padding-top: 1.5rem; }
.contact-form label { display: block; margin-bottom: 1.5rem; }
.contact-form label > span { display: block; text-transform: uppercase; letter-spacing: .12em; color: #92918b; font-size: .66rem; margin-bottom: .6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; color: var(--white); background: transparent; border: 0; border-bottom: 1px solid #4a4a46;
  border-radius: 0; padding: .7rem 0; outline: none; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--accent); }
.contact-form option { color: var(--ink); }
.button-accent { background: var(--accent); color: var(--ink); margin-top: .5rem; }
.form-note { color: #74736e; font-size: .72rem; margin-top: 1rem; }
.form-note a { color: #b8db3a; text-decoration: underline; text-underline-offset: .18em; }
.form-note.is-success { color: var(--accent); }
.form-note.is-error { color: #ff8d75; }
.form-honeypot {
  position: absolute !important; width: 1px !important; height: 1px !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important; white-space: nowrap !important;
}
.contact-form button:disabled { cursor: wait; opacity: .65; transform: none; box-shadow: none; }

.site-footer { padding: 2rem clamp(1.25rem, 6vw, 7rem); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; border-top: 1px solid var(--line); font-size: .78rem; }
.footer-brand { font-size: .86rem; }
.footer-brand .brand-mark { width: 28px; height: 28px; }
.footer-brand .brand-logo { width: 40px; height: 28px; }
.site-footer > p { color: var(--muted); }
.footer-links { display: flex; gap: 1.4rem; }
.copyright { grid-column: 1/-1; margin: 0; border-top: 1px solid var(--line); padding-top: 1rem; }

/* Impressum und Datenschutz */
.legal-page { background: var(--paper); }
.legal-header {
  position: absolute;
  border-bottom: 1px solid var(--line);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.legal-back:hover { background: var(--ink); color: var(--white); }
.legal-main {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(9rem, 15vw, 12rem) clamp(1.25rem, 6vw, 5rem) clamp(5rem, 9vw, 8rem);
}
.legal-hero {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 2rem 5rem;
  align-items: end;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.legal-hero .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.legal-hero h1 {
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  max-width: none;
}
.legal-hero > p:last-child {
  margin: 0 0 .5rem;
  color: var(--muted);
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
}
.legal-content { width: min(100%, 850px); margin: 0 auto; }
.legal-section {
  display: grid;
  grid-template-columns: minmax(180px, 250px) 1fr;
  column-gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(2.2rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.legal-section h2 {
  grid-row: 1 / span 8;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -.035em;
}
.legal-section p,
.legal-section address {
  grid-column: 2;
  margin: 0 0 1rem;
  color: #44443f;
  font-style: normal;
}
.legal-section p:last-child,
.legal-section address:last-child { margin-bottom: 0; }
.legal-section a {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(17, 17, 15, .28);
  text-underline-offset: .2em;
}
.legal-section a:hover { text-decoration-color: currentColor; }
.legal-note {
  margin-top: 2rem;
  padding: 2rem;
  border: 0;
  border-radius: 12px;
  background: var(--paper-deep);
}
.legal-footer .footer-links [aria-current="page"] {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .25em;
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.25,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 8rem; }
  .hero-visual { min-height: 500px; }
  .browser-card { width: min(82%, 530px); }
  .services, .about, .contact { grid-template-columns: 1fr; }
  .section-heading h2 { max-width: 13ch; }
  .project-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid li:nth-child(2) { border-right: 0; }
  .process-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-portrait { width: min(80%, 500px); }
  .about-copy { max-width: 740px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p:not(.copyright) { display: none; }
}

@media (max-width: 720px) {
  .site-header { height: 68px; }
  .menu-toggle { display: block; position: relative; z-index: 102; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; background: var(--paper); padding: 7rem 1.5rem 3rem;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.2rem;
    font: 600 2rem var(--display); transform: translateX(100%); transition: transform .35s ease;
  }
  .site-nav.is-open { transform: translateX(0); }
  .nav-cta { font-size: 1rem; margin-top: 1rem; }
  .section { padding: 5rem 1.25rem; }
  .hero { padding-top: 7.5rem; }
  h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .hero-intro { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .hero-visual { min-height: 390px; margin-inline: -1rem; }
  .browser-card { width: 84%; }
  .floating-note { font-size: .6rem; }
  .note-top { right: 1%; }
  .note-bottom { left: 1%; }
  .trust-strip { margin-top: 2rem; gap: .6rem 1rem; }
  .services { gap: 3rem; }
  .service-card { grid-template-columns: 2rem 1fr; }
  .service-icon { display: none; }
  .project-grid { grid-template-columns: 1fr; }
  .projects-heading { margin-bottom: 2.5rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li, .process-grid li:not(:first-child) { border-right: 0; border-top: 1px solid var(--line); padding: 1.5rem 0; }
  .process-grid h3 { margin-top: 2rem; }
  .about { gap: 4rem; }
  .about-portrait { width: calc(100% - 2rem); }
  .about-stamp { right: -24px; width: 104px; height: 104px; }
  .about-stamp strong { font-size: 1.8rem; }
  .about-stamp span { margin-top: .35rem; font-size: .57rem; }
  .contact { gap: 3rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .legal-header { padding-inline: 1.25rem; }
  .legal-back { padding-inline: .8rem; font-size: .72rem; }
  .legal-main { padding-top: 8.5rem; }
  .legal-hero { grid-template-columns: 1fr; gap: 1.25rem; }
  .legal-hero .eyebrow { grid-column: auto; }
  .legal-section { display: block; }
  .legal-section h2 { margin-bottom: 1.25rem; }
  .legal-section p,
  .legal-section address { margin-bottom: 1rem; }
  .legal-note { padding: 1.5rem; }
}

@media (max-width: 390px) {
  .brand { gap: .5rem; font-size: .78rem; }
  .brand-mark { width: 31px; height: 31px; font-size: .62rem; }
  .brand-logo { width: 40px; height: 28px; }
  .brand-copy small { font-size: .47rem; }
  .hero-actions .button { width: 100%; }
  .project-art { border-radius: 9px; }
}
