/* ==========================================================================
   SITE FOR YOU. — Styles (mobile first)
   ========================================================================== */
:root {
  --dark: #151719;
  --light: #FAFAF8;
  --light-2: #F0F0EC;
  --muted: #777B80;
  --white: #FFFFFF;
  --line: rgba(21, 23, 25, .12);
  --line-inv: rgba(250, 250, 248, .16);
  --font: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--light); color: var(--dark);
  font-family: var(--font); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
img { max-width: 100%; display: block; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--dark); padding: 10px 16px; border-radius: 4px;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--light); transition: background .3s, color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(250, 250, 248, .92); color: var(--dark);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-color: var(--line);
}
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 800; letter-spacing: .06em; font-size: .95rem; text-decoration: none; padding: 8px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px;
  font: 600 .95rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--small { min-height: 40px; padding: 0 20px; font-size: .875rem; border-color: currentColor; background: transparent; }
.btn--small:hover { background: var(--light); color: var(--dark); border-color: var(--light); }
.header.is-solid .btn--small:hover { background: var(--dark); color: var(--light); border-color: var(--dark); }
.btn--large { min-height: 58px; padding: 0 34px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--light { background: var(--light); color: var(--dark); }
.btn--light:hover { background: var(--white); }
.btn--dark { background: var(--dark); color: var(--light); }
.btn--dark:hover { background: #2a2d30; }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateY(3px); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Hero ---------- */
.hero { background: var(--dark); color: var(--light); min-height: 100vh; min-height: 100svh; display: flex; }
.hero__in { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-top: calc(var(--header-h) + 56px); padding-bottom: 40px; }
.hero__meta { color: var(--muted); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.hero__title {
  font-size: clamp(3rem, 13.5vw, 9.5rem); line-height: .96; letter-spacing: -.045em; font-weight: 700;
  margin-block: auto;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: block; }
.hero__bottom { display: grid; gap: 32px; border-top: 1px solid var(--line-inv); padding-top: 28px; }
.hero__text { font-size: 1.125rem; max-width: 24em; color: rgba(250, 250, 248, .78); }
.hero__cta { display: grid; gap: 16px; justify-items: start; }
.hero__cta .btn { width: 100%; }
.hero__loc { color: var(--muted); font-size: .875rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 12vw, 160px); }
.section--alt { background: var(--light-2); }
.section__head { margin-bottom: clamp(32px, 5vw, 64px); display: grid; gap: 14px; }
h2 { font-size: clamp(2rem, 6.5vw, 4rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.section__head p { color: var(--muted); font-size: 1.125rem; max-width: 32em; }
.note { margin-top: 32px; color: var(--muted); font-size: .875rem; max-width: 44em; }

/* ---------- Work ---------- */
.work { display: grid; gap: 40px 24px; }
.project__link { display: block; text-decoration: none; }
.project__media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px;
  background: var(--light-2); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.project__media::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 28px; border-bottom: 1px solid var(--line); }
.project__media::after { content: attr(data-ph); font-size: clamp(2rem, 8vw, 5rem); font-weight: 700; letter-spacing: -.04em; color: rgba(21, 23, 25, .1); }
.project__media.has-img::before, .project__media.has-img::after { display: none; }
.ph-label { position: absolute; left: 16px; bottom: 12px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.project__media.has-img .ph-label { display: none; }
.project__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.project__info { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-top: 16px; }
.project__info h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.3; }
.project__info p { color: var(--muted); font-size: .9375rem; }
.project__cta { font-size: .875rem; font-weight: 600; white-space: nowrap; padding-top: 3px; color: var(--muted); }
.project.is-live .project__cta { color: var(--dark); border-bottom: 1px solid currentColor; padding-top: 0; }
.project.is-live .project__cta::after { content: " ↗"; }
.project:not(.is-live) .project__link { cursor: default; }
.project.is-live .project__link:hover img,
.project.is-live .project__link:hover .project__media { transform: none; }
.project.is-live .project__link:hover img { transform: scale(1.025); }
.project--featured .project__media { aspect-ratio: 16 / 10; }
.project--featured .project__info h3 { font-size: clamp(1.5rem, 4vw, 2.25rem); }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 16px; }
.plan {
  display: flex; flex-direction: column; background: var(--light); color: var(--dark);
  border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 4vw, 36px);
  transition: transform .35s var(--ease), border-color .35s;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(21, 23, 25, .4); }
.plan--dark { background: var(--dark); color: var(--light); border-color: var(--dark); }
.plan__name { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.plan__price { font-size: clamp(3rem, 10vw, 4.25rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; margin-top: 20px; white-space: nowrap; }
.plan__price small { font-size: .3em; letter-spacing: 0; font-weight: 500; color: var(--muted); margin-right: .2em; }
.plan__desc { margin-top: 14px; font-size: 1.0625rem; font-weight: 500; }
.plan__list { margin: 28px 0 32px; border-top: 1px solid var(--line); flex: 1; }
.plan--dark .plan__list { border-color: var(--line-inv); }
.plan__list li { padding: 11px 0 11px 24px; position: relative; border-bottom: 1px solid var(--line); font-size: .9375rem; line-height: 1.45; }
.plan--dark .plan__list li { border-color: var(--line-inv); }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: 1.1em; width: 10px; height: 5px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); opacity: .6; }
.plan--dark .btn--light:hover { background: var(--white); }

/* ---------- Care ---------- */
.care { display: grid; gap: 16px; }
.care__item { border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 4vw, 36px); }
.care__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.care__top h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.care__price { font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; }
.care__price span { font-size: .9375rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.care__plus { margin-top: 18px; font-size: .9375rem; font-weight: 600; }
.care__list { margin-top: 18px; border-top: 1px solid var(--line); }
.care__plus + .care__list { margin-top: 10px; }
.care__list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; color: #44484d; }

/* ---------- Contact ---------- */
.contact { background: var(--dark); color: var(--light); padding-block: clamp(72px, 12vw, 160px); }
.contact__in { display: grid; gap: 40px; }
.contact__intro { display: grid; gap: 20px; align-content: start; }
.contact__intro p { font-size: 1.125rem; color: rgba(250, 250, 248, .78); max-width: 26em; }
.contact__fallback { font-size: .9375rem !important; color: var(--muted) !important; }
.contact__fallback a { color: var(--light); }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .875rem; font-weight: 600; }
.opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; /* 16px verhindert iOS-Zoom */
  color: var(--light); background: transparent; border: 0; border-bottom: 1px solid rgba(250, 250, 248, .35);
  border-radius: 0; padding: 12px 0; min-height: 48px; transition: border-color .25s;
  -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; min-height: 112px; }
input:hover, select:hover, textarea:hover { border-color: rgba(250, 250, 248, .7); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--light); box-shadow: 0 1px 0 var(--light); }
select option { color: var(--dark); background: var(--white); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--light); border-bottom: 1.5px solid var(--light); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field.is-invalid input { border-color: #ffb4a8; }
.err { color: #ffb4a8; font-size: .875rem; min-height: 0; }
.err:empty { display: none; }
.form .btn--dark { background: var(--light); color: var(--dark); margin-top: 6px; }
.form .btn--dark:hover { background: var(--white); }
.form__hint { color: var(--muted); font-size: .8125rem; }
.form__privacy { color: rgba(250, 250, 248, .78); font-size: .875rem; line-height: 1.5; }
.form__privacy a { color: var(--light); text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.is-loading .btn__label::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.status { display: none; padding: 18px 20px; border: 1px solid var(--line-inv); border-radius: 6px; font-size: .9375rem; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.status.is-visible { display: block; }
.status.is-in { opacity: 1; transform: none; }
.status.is-success { border-color: rgba(250, 250, 248, .6); }
.status.is-error { border-color: #ffb4a8; }
.status strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.status a { color: var(--light); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--muted); border-top: 1px solid var(--line-inv); font-size: .875rem; }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 24px; }
.footer__in p { color: var(--light); font-weight: 700; letter-spacing: .06em; }
.footer nav { display: flex; gap: 8px; }
.footer nav a { text-decoration: none; padding: 12px 8px; transition: color .2s; }
.footer nav a:hover { color: var(--light); }

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--header-h) + 56px) 0 96px; min-height: 80vh; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.25rem, 8vw, 4rem); letter-spacing: -.04em; line-height: 1; margin-bottom: 32px; }
.legal h2 { font-size: 1.25rem; letter-spacing: -.01em; margin: 32px 0 8px; }
.legal p { color: #44484d; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 12px; color: #44484d; }
.legal li { margin-bottom: 4px; }
.legal a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__warn { border: 1px dashed var(--muted); border-radius: 6px; padding: 16px 20px; margin-bottom: 32px; color: var(--dark) !important; background: var(--light-2); }
.legal__back { display: inline-block; margin-top: 32px; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__title .line > span { transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.js .hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.js .hero__meta, .js .hero__bottom { opacity: 0; animation: fade .9s .45s var(--ease) forwards; }
.js .hero.is-reset .hero__title .line > span { animation: none; transform: translateY(105%); }
.js .hero.is-reset .hero__meta, .js .hero.is-reset .hero__bottom { animation: none; opacity: 0; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Larger screens ---------- */
@media (hover: hover) {
  .project.is-live .project__link:hover .project__media { border-color: rgba(21, 23, 25, .4); }
}

@media (min-width: 720px) {
  :root { --header-h: 76px; }
  .hero__bottom { grid-template-columns: 1fr auto; align-items: end; }
  .hero__cta { justify-items: end; }
  .hero__cta .btn { width: auto; }
  .work { grid-template-columns: 1fr 1fr; }
  .project--featured { grid-column: 1 / -1; }
  .care { grid-template-columns: 1fr 1fr; }
  .care__item { padding: 36px; }
}

@media (min-width: 980px) {
  .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .contact__in { grid-template-columns: 5fr 6fr; gap: 96px; }
  .contact__intro { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}
