/* Mathias Hartmann Werbung – Stylesheet
   Schrift: PT Sans (lokal eingebunden), Akzent: Orange aus dem Logo */

@font-face {
  font-family: "PT Sans";
  src: url("../fonts/PTSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PT Sans";
  src: url("../fonts/PTSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: rgba(0, 0, 0, 0.82);
  --paper: #ffffff;
  --wash: #eeeeec;
  --accent: #e75113;
  --muted: #5a5a56;
  --rule: #c9c9c5;
  --radius-btn: 999px;

  --font: "PT Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: min(72rem, 100% - 3rem);
  --section: clamp(3.5rem, 8vw, 7rem);
}

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

html {
  font-size: 100%;
  scroll-padding-top: 6.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.16em; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

h1, h2, h3 { font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }

.wrap { width: var(--wrap); margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: var(--paper);
  padding: 0.6rem 1rem; z-index: 20;
}
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: inherit; font-weight: 700;
  background: var(--accent); color: var(--ink);
  padding: 0.8rem 1.7rem;
  border: 0; border-radius: var(--radius-btn);
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--small { padding: 0.5rem 1.1rem; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.5rem 2rem;
  padding-block: 0.6rem;
}
.logo img { height: 3.5rem; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.75rem; }
.nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { text-decoration: none; font-weight: 700; padding-block: 0.4rem; display: inline-block; }
.nav a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 0.15em; text-underline-offset: 0.3em; }

@media (max-width: 52rem) {
  .site-header { position: static; }
  .site-header .wrap { padding-block: 0.75rem 0.4rem; }
  .logo img { height: 3rem; }
  .nav { width: 100%; }
  .nav ul { gap: 0 1.1rem; }
  .nav a:not(.btn) { font-size: 1rem; }
  .nav .btn--small { display: none; }
  html { scroll-padding-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(4rem, 11vw, 9rem) clamp(3.5rem, 8vw, 6.5rem); }
.hero h1 {
  font-size: clamp(2.75rem, 7.2vw, 5.75rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.hero h1 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  animation: build 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: calc(var(--i) * 120ms + 150ms);
}
@keyframes build { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero h1 .w { opacity: 1; transform: none; animation: none; }
}
.hero__lead {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  max-width: 36em;
  margin: 1.75rem 0 2.25rem;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.hero__since { margin: 2.5rem 0 0; color: var(--muted); font-size: 1rem; }

/* ---------- Gemeinsame Abschnitte ---------- */
.section { padding-block: var(--section); }
.section--wash { background: var(--wash); }
.section__title { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 2.5rem; max-width: 22ch; }

/* ---------- Leistungen ---------- */
.services { display: grid; gap: 2.5rem 3.5rem; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 48rem) { .services { grid-template-columns: 1fr 1fr; } }
.service { border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.service h3 { font-size: 1.6rem; margin-bottom: 0.6rem; color: var(--accent); }
.service p { max-width: 30em; }


/* ---------- Weiterführende Links ---------- */
.link-more {
  display: inline-flex; align-items: center; gap: 0.55em;
  color: var(--accent);
  font-size: 1.175rem; font-weight: 700;
  text-decoration: none;
}
.link-more::after {
  content: "";
  width: 0; height: 0;
  border-left: 0.5em solid currentColor;
  border-top: 0.32em solid transparent;
  border-bottom: 0.32em solid transparent;
  transition: transform 0.2s ease;
}
.link-more:hover { color: var(--ink); text-decoration: none; }
.link-more:hover::after { transform: translateX(0.25em); }
@media (prefers-reduced-motion: reduce) { .link-more::after { transition: none; } }

/* ---------- Ablauf ---------- */
.steps { display: grid; gap: 2rem 3rem; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block;
  font-size: 4rem; font-weight: 700; line-height: 1;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.steps h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }

/* ---------- Leitspruch ---------- */
.motto {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--accent);
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.motto::before,
.motto::after {
  content: "";
  position: absolute; inset: 0;
}
.motto::before {
  z-index: -2;
  background: url("../img/fischer-angel.jpg") center / cover no-repeat;
}
.motto::after {
  z-index: -1;
  background: var(--accent);
  opacity: 0.2;
  animation: motto-pulse 2s ease-in-out infinite alternate;
}
@keyframes motto-pulse {
  from { opacity: 0.2; }
  to   { opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
  .motto::after { animation: none; opacity: 0.6; }
}
.motto blockquote { margin: 0; }
.motto blockquote p {
  color: var(--paper);
  font-size: clamp(2.2rem, 5.6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.motto__formula { margin: 2rem 0 0; font-weight: 700; color: var(--paper); font-size: 1.2rem; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }

/* ---------- Kundschaft ---------- */
.clients__intro { max-width: 36em; margin-bottom: 2.5rem; }
.clients { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 3rem; }
@media (min-width: 40rem) { .clients { columns: 2; } }
@media (min-width: 64rem) { .clients { columns: 3; } }
.clients li {
  break-inside: avoid;
  padding: 0.55rem 0;
  border-top: 1px solid var(--rule);
  line-height: 1.35;
}
.clients strong { display: block; }
.clients span { display: block; color: var(--muted); font-size: 1rem; }
.clients__more { margin: 2.5rem 0 0; font-weight: 700; }
.clients__more .link-more { margin-left: 0.4em; }

/* ---------- Über mich ---------- */
.about { display: grid; gap: 2.5rem 4rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 52rem) { .about { grid-template-columns: 20rem 1fr; } }
.about__photo img { width: 100%; max-width: 20rem; aspect-ratio: 1; object-fit: cover; }
.about h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 1.5rem; max-width: 20ch; }
.about p { max-width: 36em; }

/* ---------- Kontakt ---------- */
.contact { background: var(--ink); color: var(--paper); }
.contact :focus-visible { outline-color: var(--paper); }
.contact__grid { display: grid; gap: 3rem 4rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .contact__grid { grid-template-columns: 1.4fr 1fr; } }
.contact h1,
.contact h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 1rem; }
.contact__lead { max-width: 30em; margin-bottom: 2rem; }

.form { display: grid; gap: 1rem; max-width: 34rem; }
.field label { display: block; font-weight: 400; margin-bottom: 0.25rem; }
.field input, .field textarea {
  width: 100%;
  font: inherit; color: var(--paper);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid #8b8b86;
  border-radius: 0;
  padding: 0.35rem 0.7rem;
  line-height: 1.4;
}
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--paper); outline: 3px solid var(--accent); outline-offset: 2px; }
.field textarea { min-height: 6.5rem; resize: vertical; }
.form__note { font-size: 1rem; color: #d4d4d0; margin: 0; }
.form__note a { color: var(--paper); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact address { font-style: normal; }
.contact address p { margin-bottom: 1.25rem; }
.contact address a {
  color: var(--accent);
  font-size: 1.175rem; font-weight: 700;
  text-decoration: none;
}
.contact address a:hover { color: var(--paper); }
.contact__hint { color: #d4d4d0; font-size: 1rem; }

/* ---------- Fuss ---------- */
.site-footer { border-top: 1px solid #3f3f3b; background: var(--ink); color: #d4d4d0; font-size: 1rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.75rem; }
.site-footer ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-footer a {
  color: var(--accent);
  font-size: 1.175rem; font-weight: 700;
  text-decoration: none;
}
.site-footer a:hover { color: var(--paper); }
.site-footer :focus-visible { outline-color: var(--paper); }
.site-footer p { margin: 0; }


/* ---------- Unterseiten ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.page-head h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  letter-spacing: -0.02em;
  margin: 1rem 0 1.25rem;
  max-width: 20ch;
}
.page-lead {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.5;
  max-width: 38em;
  margin: 0 0 1.75rem;
}
.link-back {
  display: inline-flex; align-items: center; gap: 0.55em;
  color: var(--accent);
  font-size: 1.175rem; font-weight: 700;
  text-decoration: none;
}
.link-back::before {
  content: "";
  width: 0; height: 0;
  border-right: 0.5em solid currentColor;
  border-top: 0.32em solid transparent;
  border-bottom: 0.32em solid transparent;
}
.link-back:hover { color: var(--ink); text-decoration: none; }

.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 3rem; }
.offer { display: grid; grid-template-columns: 1fr; gap: 0.75rem 3rem; border-top: 2px solid var(--ink); padding-top: 1.5rem; }
@media (min-width: 52rem) { .offer { grid-template-columns: 20rem 1fr; } }
.offer h2 { font-size: 1.6rem; color: var(--accent); text-wrap: pretty; }
.offer__body p { max-width: 40em; }
.offer__body > :last-child { margin-bottom: 0; }

.list { margin: 0 0 1em; padding-left: 1.2rem; list-style: disc; }
.list li { margin-bottom: 0.3rem; padding-left: 0.2rem; break-inside: avoid; }
.list li::marker { color: var(--accent); }
@media (min-width: 40rem) { .list--cols { columns: 2; column-gap: 3rem; } }

.cta .contact__lead { margin-bottom: 1.5rem; }

.legal-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal > * { max-width: 46rem; }
.legal h2 { font-size: 1.6rem; margin: 2.25rem 0 0.6rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
.legal .legal__title { font-size: clamp(1.9rem, 4vw, 2.5rem); margin: 0 0 1rem; }
.legal__stand { color: var(--muted); font-size: 1rem; margin-top: 2rem; }

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