:root {
  --ink: #101114;
  --panel: #17191d;
  --muted: #656a72;
  --line: #dedfe2;
  --paper: #f7f7f5;
  --white: #ffffff;
  --red: #c4000b;
  --red-dark: #920008;
  --steel: #64737b;
  --teal: #1f6f78;
  --shadow: 0 22px 65px rgba(0, 0, 0, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

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

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(142px, 220px) 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 78px;
  padding: 0.75rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  backdrop-filter: blur(16px);
}

.brand img {
  width: min(220px, 38vw);
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  color: #2d3036;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a,
.footer-links a {
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.footer-links a:hover {
  border-color: var(--red);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.85rem 1.1rem;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
}

.header-action,
.button.primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(196, 0, 11, 0.22);
}

.button.primary:hover,
.header-action:hover {
  background: var(--red-dark);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.button.outline {
  color: var(--ink);
  border: 1px solid rgba(16, 17, 20, 0.24);
  background: var(--white);
  box-shadow: none;
}

.button.outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.button.dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(16, 17, 20, 0.22);
}

.button.dark:hover {
  background: #000000;
}

.button.whatsapp {
  background: #128c7e;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(18, 140, 126, 0.22);
}

.button.whatsapp:hover {
  background: #0b6f63;
}

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 78px));
  overflow: hidden;
  isolation: isolate;
}

.hero picture,
.hero picture img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.92) 0%, rgba(5, 6, 8, 0.72) 38%, rgba(5, 6, 8, 0.2) 72%),
    linear-gradient(0deg, rgba(5, 6, 8, 0.7) 0%, rgba(5, 6, 8, 0) 32%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: min(780px, calc(100vh - 78px));
  width: min(760px, 100%);
  flex-direction: column;
  justify-content: center;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.2rem, 6vw, 5.5rem) clamp(3rem, 8vw, 6rem);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.9rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.quality h2 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.section {
  padding: clamp(4.5rem, 9vw, 7rem) clamp(1.2rem, 6vw, 5.5rem);
}

.intro-grid,
.section-heading,
.quality-inner,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 1180px;
  margin: 0 auto;
}

.intro h2,
.services h2,
.process h2,
.quality h2,
.contact h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
}

.intro p,
.section-heading p,
.quality-points p,
.contact p {
  margin: 0;
  color: #444951;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}

.services {
  background: var(--white);
}

.team {
  padding-top: 0;
  background: var(--paper);
}

.team-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1.45fr);
  align-items: end;
  gap: clamp(1.5rem, 5vw, 4rem);
  max-width: 1180px;
  margin: 0 auto;
}

.team-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.team h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  line-height: 1.02;
}

.team-photo img {
  width: 100%;
  height: clamp(280px, 38vw, 520px);
  object-fit: cover;
  object-position: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 260px;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  background: var(--white);
}

.service-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--red);
  border: 1px solid rgba(196, 0, 11, 0.35);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.24rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.process {
  background: #eeefec;
}

.process > .section-kicker,
.process > h2 {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1180px;
  margin: 2.5rem auto 0;
}

.timeline div {
  min-height: 170px;
  padding: 1.35rem;
  border-top: 4px solid var(--red);
  background: var(--white);
  box-shadow: 0 12px 35px rgba(16, 17, 20, 0.07);
}

.timeline strong {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.timeline span {
  color: var(--muted);
}

.quality {
  padding: clamp(4.5rem, 9vw, 7rem) clamp(1.2rem, 6vw, 5.5rem);
  background: var(--panel);
  color: var(--white);
}

.quality-points p {
  color: rgba(255, 255, 255, 0.74);
}

.quality-points ul {
  display: grid;
  gap: 0.75rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.quality-points li {
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.88);
}

.quality-points li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.58rem;
  height: 0.58rem;
  background: var(--red);
  border-radius: 50%;
  content: "";
}

.contact-panel {
  align-items: start;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-details {
  display: grid;
  gap: 1.2rem;
  color: #2f343a;
}

.contact-details > a:not(.button) {
  width: fit-content;
  color: var(--red);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-details .button.full {
  width: min(100%, 250px);
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.3rem;
}

.contact-action {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 260px);
  align-items: center;
  column-gap: 0.8rem;
}

.contact-action .button {
  width: 100%;
  min-height: 46px;
}

address {
  font-style: normal;
}

.legal {
  padding-top: 0;
  background: var(--paper);
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 1180px;
  margin: 0 auto;
  padding-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.legal h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.legal-copy {
  display: grid;
  gap: 1rem;
  color: #4a5057;
}

.legal-copy p {
  margin: 0;
}

.legal-copy a {
  color: var(--red);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.legal-hero {
  background: var(--panel);
  color: var(--white);
}

.legal-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 1180px;
  margin: 0 auto;
}

.legal-hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  line-height: 0.96;
}

.legal-hero p:not(.section-kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.privacy-content {
  display: grid;
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: clamp(3rem, 6vw, 5rem);
}

.privacy-content article {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.25fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
  border-top: 1px solid var(--line);
}

.privacy-content h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.privacy-content p {
  grid-column: 2;
  margin: 0;
  color: #424850;
}

.privacy-content p + p {
  margin-top: 0.85rem;
}

.privacy-content a {
  color: var(--red);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.full {
  width: fit-content;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(190px, 300px) minmax(220px, 1fr);
  align-items: center;
  gap: 1.5rem;
  padding: 2rem clamp(1.2rem, 6vw, 5.5rem);
  color: rgba(255, 255, 255, 0.76);
  background: #08090b;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--white);
}

.footer-member {
  display: block;
  justify-self: center;
  width: min(300px, 100%);
}

.footer-member img {
  width: 100%;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: flex-end;
}

.linktree-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1.6rem, 7vw, 4rem);
  background:
    linear-gradient(180deg, rgba(8, 9, 11, 0.56), rgba(8, 9, 11, 0.82)),
    url("assets/hero-lackiererei.png") center / cover;
}

.linktree {
  display: grid;
  gap: clamp(1.55rem, 5vw, 2rem);
  width: min(100%, 430px);
  padding: clamp(1.8rem, 7vw, 2.8rem);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.linktree-logo {
  justify-self: center;
  width: min(305px, 88vw);
  height: auto;
}

.linktree h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.linktree p {
  margin: 0.8rem 0 0;
  color: #424850;
}

.linktree-page .linktree-actions {
  display: grid;
  row-gap: 1.05rem;
  justify-items: center;
}

.linktree-action {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 310px);
  align-items: center;
  column-gap: 0.9rem;
  width: min(100%, 353px);
}

.linktree-page .linktree-actions .button {
  width: 100%;
  max-width: 310px;
  min-height: 52px;
}

.link-icon {
  width: 1.725rem;
  height: 1.725rem;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.linktree address {
  padding-top: 0.2rem;
  color: #4a5057;
}

.linktree-member {
  display: none;
  width: 100%;
  height: auto;
}

.linktree-member-link {
  display: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .intro-grid,
  .section-heading,
  .quality-inner,
  .contact-panel,
  .team-inner,
  .legal-grid,
  .legal-hero-inner,
  .privacy-content article {
    grid-template-columns: 1fr;
  }

  .privacy-content p {
    grid-column: 1;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-photo img {
    height: clamp(250px, 56vw, 420px);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 0.7rem 1rem;
  }

  .brand img {
    width: min(165px, 52vw);
  }

  .header-action {
    min-height: 40px;
    padding: 0.72rem 0.82rem;
    font-size: 0.9rem;
  }

  .hero,
  .hero-content {
    min-height: calc(100svh - 68px);
  }

  .hero picture img {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 6, 8, 0.94) 0%, rgba(5, 6, 8, 0.76) 58%, rgba(5, 6, 8, 0.35) 100%),
      linear-gradient(0deg, rgba(5, 6, 8, 0.75) 0%, rgba(5, 6, 8, 0) 40%);
  }

  .hero-content {
    padding: 4rem 1.1rem 2.5rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .contact-action {
    grid-template-columns: 1.7rem minmax(0, 1fr);
  }

  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .team-photo img {
    height: min(72vw, 320px);
  }

  .service-card,
  .timeline div {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-member,
  .footer-links {
    justify-self: start;
  }

  .footer-member {
    width: min(220px, 72vw);
  }

  .footer-links {
    justify-content: flex-start;
  }

  body.linktree-page {
    align-items: stretch;
    min-height: 100svh;
    padding: 0;
  }

  .linktree-page .linktree {
    align-content: stretch;
    grid-template-rows: auto auto auto auto 1fr auto;
    width: 100%;
    min-height: 100svh;
    max-width: none;
    margin: 0;
    padding: clamp(0.8rem, 3.4vw, 1.1rem) clamp(1rem, 5vw, 1.4rem) 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .linktree-logo {
    margin-top: clamp(2rem, 6svh, 3.3rem);
    width: min(240px, 74vw);
  }

  .linktree {
    gap: 0.78rem;
  }

  .linktree h1 {
    font-size: clamp(1.85rem, 7vw, 2.55rem);
  }

  .linktree p {
    margin-top: 0.45rem;
  }

  .linktree-page .linktree-actions {
    row-gap: 0.62rem;
    justify-items: center;
  }

  .linktree-action {
    grid-template-columns: 2rem minmax(0, 300px);
    width: min(100%, 338px);
  }

  .linktree-page .linktree-actions .button {
    width: 100%;
    max-width: 300px;
    min-height: 45px;
  }

  .linktree address {
    font-size: 0.95rem;
    line-height: 1.36;
  }

  .linktree-member-link {
    align-self: end;
    display: block;
    justify-self: center;
    width: calc(100% + clamp(2rem, 10vw, 2.8rem));
    max-width: none;
    margin: 0 calc(clamp(1rem, 5vw, 1.4rem) * -1);
  }

  .linktree-member {
    display: block;
  }
}

@media (max-width: 640px) and (max-height: 700px) {
  .linktree-page .linktree {
    gap: 0.42rem;
    padding: 0.48rem 1rem 0;
  }

  .linktree-logo {
    margin-top: 0;
    width: min(200px, 64vw);
  }

  .linktree h1 {
    font-size: clamp(1.58rem, 6vw, 2.1rem);
  }

  .linktree p {
    margin-top: 0.32rem;
    font-size: 0.9rem;
  }

  .linktree-page .linktree-actions {
    row-gap: 0.32rem;
  }

  .linktree-page .linktree-actions .button {
    min-height: 36px;
    padding-top: 0.58rem;
    padding-bottom: 0.58rem;
    font-size: 0.9rem;
  }

  .linktree-action {
    grid-template-columns: 1.85rem minmax(0, 300px);
    column-gap: 0.72rem;
  }

  .link-icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .linktree address {
    font-size: 0.86rem;
    line-height: 1.28;
  }

  .linktree-member-link {
    width: calc(100% + 2rem);
    margin-right: -1rem;
    margin-left: -1rem;
  }
}
