/* Kristin Pierny Steuerberatungsgesellschaft mbH – pierny.de */

@font-face {
  font-family: "Oswald";
  src: url("fonts/oswald-light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-latin-ext.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #de0029;
  --red-dark: #b30021;
  --ink: #2f343a;
  --text: #535961;
  --muted: #6b7077;
  --line: #e2e2e2;
  --soft: #f5f5f5;
  --white: #fff;
  --stripe: #c4c6c8;
  --radius: 6px;
  --wrap: 72rem;
  --header-h: 4.5rem;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3 {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .75rem;
}
h2 { font-size: clamp(2rem, 4vw, 2.75rem); text-transform: uppercase; letter-spacing: .02em; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1rem; }

a { color: var(--red); text-underline-offset: .2em; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--white); padding: .5rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: 1rem; color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 220px; }
@media (max-width: 400px) { .brand img { width: 180px; } }


/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 8vw, 6.5rem) 0;
  background: var(--soft);
}
/* gestreifter Kreis aus dem Logo als Motiv */
.hero::after {
  content: ""; position: absolute;
  width: min(34rem, 80vw); aspect-ratio: 1; border-radius: 50%;
  right: max(-12rem, -20vw); top: 50%; transform: translateY(-50%);
  background: repeating-linear-gradient(to bottom, var(--stripe) 0 9px, transparent 9px 20px);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%);
          mask-image: linear-gradient(to right, transparent 0%, #000 45%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
@media (max-width: 760px) { .hero::after { opacity: .35; right: -45vw; } }
@media (min-width: 900px) and (max-width: 1500px) { .hero::after { right: -24rem; opacity: .6; } }
.hero h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  max-width: 30ch; margin-bottom: 1.5rem;
}
.hero h1 strong { font-weight: 300; color: var(--red); }
.hero .lead { max-width: 52ch; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero-main { display: grid; gap: 2rem; max-width: 34rem; }
.hero-main .hero-card { margin-bottom: 0; }
@media (min-width: 900px) {
  .hero-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem;
    align-items: center; max-width: 60rem; margin-inline: auto;
  }
}
.hero-text .lead { margin-bottom: 0; }
.hero-card {
  background: var(--white); border-top: 4px solid var(--red); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(47,52,58,.12);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 2rem;
}
.hero-card h1 { margin: 0; font-size: inherit; max-width: none; }
.hero-card-name, .hero-card-sub { display: block; }
.hero-card p { margin: 0; }
.hero-card-name {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 300;
  font-size: clamp(2.25rem, 5vw, 3rem); line-height: 1.1; color: var(--red);
}
.hero-card-sub { font-family: "Open Sans", Arial, Helvetica, sans-serif; font-size: 1.1rem; color: var(--ink); margin-top: .25rem; }
.hero-card address {
  display: flex; gap: .75rem; align-items: flex-start;
  font-style: normal; font-size: 1.2rem; color: var(--ink); line-height: 1.5;
  margin: 1.25rem 0 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.hero-card address svg { width: 1.4rem; height: 1.4rem; color: var(--red); flex: none; margin-top: .15rem; }
.hero-card-route { font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
  border: 2px solid var(--red);
  transition: background-color .15s, color .15s;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--red); }
.btn-ghost:hover { background: var(--red); color: var(--white); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--soft); }
.section-head { margin-bottom: 2.5rem; }
.section-head h2::after {
  content: ""; display: block; width: 3.5rem; height: 3px; background: var(--red); margin-top: .75rem;
}
.section-head p { max-width: 60ch; }

/* Über mich – Zeitleiste */
.about { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .about { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.about-intro p:first-child { font-size: 1.15rem; color: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.5rem 1.75rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: .55rem;
  width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--red);
}
.timeline li.highlight::before { background: var(--red); }
.timeline strong { display: block; color: var(--ink); font-weight: 600; }

/* Leistungen */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.card-wide { grid-column: 1 / -1; }
.card {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--red);
  border-radius: var(--radius); padding: 1.5rem;
}
.card h3 { display: flex; align-items: center; gap: .6rem; }
.card h3 svg { width: 1.6rem; height: 1.6rem; color: var(--red); flex: none; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 1.6rem; margin-bottom: .35rem; }
.checklist li::before {
  content: ""; position: absolute; left: .1rem; top: .55em;
  width: .7rem; height: .4rem; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 0; padding: 0; }
.tags li {
  background: var(--soft); border: 1px solid var(--line); border-radius: 999px;
  padding: .2rem .8rem; font-size: .95rem; color: var(--ink);
}

.daily { margin-top: 3rem; }
.daily .checklist { columns: 16rem 3; column-gap: 2rem; }
.daily .checklist li { break-inside: avoid; }

/* Zitat-Band */
.quote {
  background: var(--red); color: rgba(255,255,255,.88); text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.quote p {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4; margin: 0 auto; max-width: 40ch;
}
.quote strong { color: var(--white); font-weight: 400; }

/* Kontakt */
.contact { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.contact .card { border-top-width: 1px; }
.contact address { font-style: normal; }
.contact dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; }
.contact a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b0b3b6; padding: 2.5rem 0; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; }
.site-footer p { margin: 0; }

/* ---------- Rechtstexte ---------- */
.legal { padding: clamp(2.5rem, 6vw, 4rem) 0 4rem; }
.legal .wrap { max-width: 48rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); text-transform: uppercase; }
.legal h2 { font-size: 1.5rem; text-transform: none; margin-top: 2.25rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.legal ul { padding-left: 1.25rem; }
.back { display: inline-block; margin-bottom: 1.5rem; }

@media print {
  .site-header, .hero::after, .actions { display: none; }
  .site-footer { background: none; color: #000; }
  .site-footer a { color: #000; }
}
