@import url("./fonts.css");

:root {
  --paper: #f4f3ef;
  --paper-2: #e8e7e1;
  --ink: #17181a;
  --ink-2: #5b5d60;
  --accent: #e4342a;
  --accent-press: #b7261e;
  --line: #d6d5ce;
  --radius: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.u-wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.u-display {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.u-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 2px solid var(--ink);
  background: color-mix(in srgb, var(--paper) 95%, transparent);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.wordmark svg {
  width: 28px;
  height: 28px;
}

.wordmark span {
  font-size: 1.5rem;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.navlink {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
}

.navlink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.navlink:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 1rem;
}

.menu {
  position: relative;
}

.menu summary {
  list-style: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  cursor: pointer;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu[open] .icon-open {
  display: none;
}

.menu:not([open]) .icon-close {
  display: none;
}

.menu-panel {
  position: absolute;
  right: 0;
  top: 52px;
  width: min(70vw, 280px);
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 1.25rem;
  box-shadow: 6px 6px 0 var(--ink);
}

.menu-panel nav {
  display: flex;
  flex-direction: column;
}

.menu-panel a {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
  font-weight: 500;
}

.menu-panel a:last-child {
  border-bottom: 0;
}

.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--accent);
  color: var(--paper);
  border: 2px solid var(--ink);
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  transition: transform 0.08s ease, background 0.08s ease;
}

.stamp:active {
  background: var(--accent-press);
  transform: translateY(1px) skewX(-2deg);
}

.stamp.small {
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
}

.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.phone-cta:hover {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.hero {
  border-bottom: 2px solid var(--ink);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0 4rem;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 1.1rem 0 0;
  font-size: clamp(2.4rem, 8vw, 4.6rem);
}

.hero h1 .accent {
  color: var(--accent);
}

.lede {
  margin: 1.4rem 0 0;
  max-width: 48ch;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 28rem;
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 2px solid var(--ink);
}

.stats dt {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.stats dd {
  margin: 0.2rem 0 0;
  font-size: 1.5rem;
}

.wipe {
  position: relative;
  aspect-ratio: 3 / 2;
  width: 100%;
  border: 2px solid var(--ink);
  overflow: hidden;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}

.wipe img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wipe .after {
  clip-path: inset(0 0 0 var(--pos, 50%));
}

.wipe .seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: var(--accent);
  transform: translateX(-1px);
}

.wipe .handle {
  position: absolute;
  top: 50%;
  left: var(--pos, 50%);
  width: 36px;
  height: 36px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--accent);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
}

.caption {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.trust {
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
  padding: 0.75rem 0;
}

.trust span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trust .slash {
  color: var(--accent);
  margin-right: 0.4rem;
}

.trust .hours {
  margin-left: auto;
  opacity: 0.65;
}

.section {
  border-bottom: 2px solid var(--ink);
  padding: 4rem 0;
}

.section.alt {
  background: var(--paper-2);
}

.section h2 {
  margin: 1rem 0 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  max-width: 16ch;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
}

.muted {
  color: var(--ink-2);
  max-width: 42ch;
  line-height: 1.6;
}

.services {
  margin-top: 2.5rem;
  border-top: 2px solid var(--ink);
}

.service {
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.service summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.15rem 0.2rem;
  cursor: pointer;
}

.service summary::-webkit-details-marker {
  display: none;
}

.service .idx {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--accent);
  min-width: 2.4ch;
}

.service h3 {
  margin: 0;
  font-size: 1.35rem;
}

.service .short {
  margin: 0.25rem 0 0;
  color: var(--ink-2);
}

.service .body {
  display: grid;
  gap: 1rem;
  padding: 0 0.2rem 1.4rem;
  color: var(--ink-2);
}

.service .body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service .body li {
  display: flex;
  gap: 0.7rem;
  margin: 0.35rem 0;
}

.service .body li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  background: var(--accent);
  flex: none;
}

.service img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.steps {
  margin-top: 3rem;
  display: grid;
  gap: 2px;
  background: var(--ink);
  border: 2px solid var(--ink);
}

.step {
  background: var(--paper-2);
  padding: 1.8rem;
}

.step-top {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.step-num {
  font-size: 4.2rem;
  color: var(--accent);
  line-height: 0.9;
}

.step-line {
  flex: 1;
  height: 1px;
  background: var(--ink);
  transform: translateY(-0.4em);
}

.prices {
  margin-top: 3rem;
  border-top: 2px solid var(--ink);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 2px solid var(--line);
}

.price-row h3 {
  margin: 0;
  font-size: 1.25rem;
}

.offer {
  margin-top: 3rem;
  border: 2px solid var(--ink);
  background: var(--accent);
  color: var(--paper);
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
}

.offer .ghost {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 2px solid var(--paper);
  background: var(--paper);
  color: var(--ink);
  padding: 0.8rem 1.3rem;
  font-weight: 600;
}

.offer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rail {
  margin-top: 2.5rem;
  overflow: hidden;
}

.rail-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rail-track::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 min(82%, 720px);
  scroll-snap-align: start;
}

.slide img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.slide figcaption {
  margin-top: 0.7rem;
  color: var(--ink-2);
}

.faq details {
  border-top: 2px solid var(--line);
  padding: 1rem 0;
}

.faq details:last-child {
  border-bottom: 2px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.faq p {
  color: var(--ink-2);
  line-height: 1.65;
}

.kontakt-grid {
  display: grid;
  gap: 3rem;
}

.card {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 1.25rem;
}

.form {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 1.6rem;
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

label span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 0.65rem 0.75rem;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}

.check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.check input {
  width: auto;
  accent-color: var(--accent);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  padding: 0.85rem 1.1rem;
  font-weight: 600;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 2.2rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.footer-inner a:hover {
  color: var(--accent);
}

.legal-main {
  max-width: 42rem;
  padding: 4rem 0;
}

.seo-main {
  max-width: 46rem;
  padding: 3.2rem 0 5rem;
}

.seo-main h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin: 0.4rem 0 1.1rem;
}

.seo-main h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 2.2rem 0 0.8rem;
}

.seo-main p {
  margin: 0.85rem 0;
}

.crumb {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.crumb a:hover {
  color: var(--accent);
}

.seo-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 0.4rem;
}

.related {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.related a {
  border-bottom: 2px solid var(--line);
  padding: 0.55rem 0;
  font-weight: 600;
}

.related a:hover {
  color: var(--accent);
}

.bezirk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 0.45rem;
  margin-top: 1.4rem;
}

.bezirk-grid a {
  border: 2px solid var(--ink);
  padding: 0.55rem 0.65rem;
  font-size: 0.85rem;
}

.bezirk-grid a:hover {
  background: var(--ink);
  color: var(--paper);
}

.seo-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  width: 100%;
  margin-top: 0.4rem;
  font-size: 0.82rem;
}

.legal-main h1 {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
}

.row {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 0;
  border-bottom: 2px solid var(--line);
}

.note {
  margin-top: 2.5rem;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  padding: 1.4rem;
}

@media (min-width: 720px) {
  .header-cta {
    display: flex;
  }

  .menu {
    display: none;
  }

  .form-row,
  .kontakt-grid,
  .offer {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-actions {
    flex-direction: row;
  }

  .row {
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
  }

  .service .body {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .wipe .after {
    clip-path: none;
  }

  .wipe .seam,
  .wipe .handle,
  .wipe .before {
    display: none;
  }
}
