/* Steuerkanzlei Katrin Hehl – Vorschlag B „Modern und warm“
   Layoutidee: Bordeaux und Grau als zwei Teile, die ineinandergreifen
   (Puzzle-Motiv). Große Grotesk, Bordeaux als Fläche, warmes Papierweiß. */

@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/Lato-Regular.woff") format("woff"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/Lato-Italic.woff") format("woff"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/Lato-Bold.woff") format("woff"); }
@font-face { font-family: "Lato"; font-weight: 900; font-style: normal; font-display: swap; src: url("fonts/Lato-Black.woff") format("woff"); }

:root {
  --bordeaux: #8F0825;        /* Kanzleifarbe */
  --bordeaux-deep: #6A0519;   /* dunklere Stufe für Hover und Tiefe */
  --bordeaux-soft: #F6E8EB;   /* heller Tint für Flächen */
  --bordeaux-line: #E7C9D0;
  --grau: #676767;            /* Kanzleifarbe, nur für große Schrift */
  --ink: #2B2526;             /* Fließtext, warmes Dunkelgrau */
  --ink-2: #4B4546;           /* Sekundärtext */
  --paper: #FFFFFF;
  --paper-warm: #FAF6F5;      /* leicht rosé getöntes Weiß */
  --line: #E8DEDF;
  --on-bordeaux: #FFFFFF;
  --on-bordeaux-muted: #F2D5DC;

  --font: "Lato", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --gutter: clamp(16px, 5vw, 56px);
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; } /* 5rem = Sticky-Header (4.5rem + Rand) plus Luft */
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bordeaux-deep); }
:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 3px; border-radius: 2px; }
.bg-bordeaux :focus-visible, .panel-bordeaux :focus-visible, .card-bordeaux :focus-visible { outline-color: #fff; }

h1, h2, h3, h4 { margin: 0; line-height: 1.1; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-weight: 900; font-size: clamp(2.75rem, 7.5vw, 6.25rem); line-height: 0.96; letter-spacing: -0.03em; }
h2 { font-weight: 900; font-size: clamp(2rem, 4.2vw, 3.125rem); }
h3 { font-weight: 700; font-size: 1.3125rem; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.375rem); color: var(--ink-2); max-width: 36em; }
.prose { max-width: 65ch; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: 1.625rem; margin-top: 2.2em; margin-bottom: .6em; }
.prose h3 { margin-top: 1.8em; margin-bottom: .5em; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose address { font-style: normal; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100%; z-index: 30; padding: .75rem 1.25rem; background: var(--bordeaux); color: #fff; font-weight: 700; text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; outline-color: var(--bordeaux-deep); }

/* Buttons – ein Radius-System: alles 12 px */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 3.25rem; padding: .75rem 1.5rem;
  font: inherit; font-weight: 700; text-decoration: none; white-space: nowrap;
  border-radius: var(--radius); border: 2px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--bordeaux); color: #fff; border-color: var(--bordeaux); }
.btn-primary:hover { background: var(--bordeaux-deep); border-color: var(--bordeaux-deep); color: #fff; }
.btn-light { background: #fff; color: var(--bordeaux); border-color: #fff; }
.btn-light:hover { background: var(--bordeaux-soft); border-color: var(--bordeaux-soft); color: var(--bordeaux-deep); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn-outline { background: transparent; color: var(--bordeaux); border-color: var(--bordeaux-line); }
.btn-outline:hover { border-color: var(--bordeaux); color: var(--bordeaux-deep); }

/* Kopf */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
.brand img { width: 44px; height: auto; flex: none; }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font-weight: 900; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grau); }
.brand-name strong { display: block; font-size: 1.125rem; letter-spacing: .08em; color: var(--bordeaux); }
.brand-claim { font-size: .75rem; color: var(--grau); margin-top: .2rem; display: none; }
@media (min-width: 1100px) { .brand-claim { display: block; } }

.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
/* .nav-label ist ohne JS ein <label> für die Checkbox, mit JS ein <button aria-expanded> (Skript am Seitenende) */
.nav-label { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem 1rem; font: inherit; font-weight: 700; color: inherit; background: transparent; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; user-select: none; }
.nav-label::after { content: "+"; font-weight: 400; font-size: 1.3em; line-height: 1; }
.nav-toggle:focus-visible + .nav-label { outline: 3px solid var(--bordeaux); outline-offset: 3px; }
.nav-toggle:checked ~ .nav-label::after, .nav-label[aria-expanded="true"]::after { content: "–"; }
.site-nav { display: none; }
.nav-toggle:checked ~ .site-nav, .nav-open .site-nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; box-shadow: 0 24px 40px -24px rgba(143,8,37,.25); }
.site-nav ul { display: grid; gap: .25rem; }
.site-nav li a { display: block; padding: .6rem .25rem; font-weight: 700; color: var(--ink); text-decoration: none; border-radius: 6px; }
.site-nav li a:hover { color: var(--bordeaux); }
.site-nav .btn { margin-top: 1rem; width: 100%; }
@media (min-width: 900px) {
  .nav-label, .nav-toggle { display: none; }
  .site-nav, .nav-toggle:checked ~ .site-nav, .nav-open .site-nav { display: flex; position: static; align-items: center; gap: 1.5rem; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .site-nav ul { display: flex; gap: .25rem; }
  .site-nav li a { padding: .5rem .7rem; font-weight: 700; font-size: .95rem; }
  .site-nav .btn { margin: 0; width: auto; min-height: 2.75rem; padding: .5rem 1.15rem; }
}

/* Startbereich: links Bordeaux-Block, rechts Puzzle auf Papier */
.hero { display: grid; background: var(--paper-warm); }
.hero-text { background: var(--bordeaux); color: var(--on-bordeaux); padding: clamp(3rem, 8vw, 6.5rem) var(--gutter); }
.hero-text .kicker { font-weight: 700; color: var(--on-bordeaux-muted); margin-bottom: 1.25rem; }
.hero-text h1 { color: #fff; }
.hero-text .lede { color: var(--on-bordeaux-muted); margin-top: 1.5rem; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero-visual { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: clamp(2rem, 6vw, 4rem) var(--gutter); min-height: 16rem; }
.hero-visual img { width: min(100%, 560px); }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: min(82vh, 760px); }
  .hero-text { display: flex; flex-direction: column; justify-content: center; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)) clamp(2rem, 5vw, 5rem); }
  .hero-visual { padding: 0; }
  .hero-visual img { position: absolute; width: 112%; max-width: none; left: 5%; top: 50%; transform: translateY(-50%); }
}

/* Abschnitte */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-warm { background: var(--paper-warm); }
.bg-bordeaux { background: var(--bordeaux); color: var(--on-bordeaux); }
.bg-bordeaux h2, .bg-bordeaux h3 { color: #fff; }
.bg-bordeaux p { color: var(--on-bordeaux-muted); }
.bg-bordeaux a { color: #fff; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); display: grid; gap: 1rem; }

/* Die Kanzlei: Text links, Puzzle-Ausschnitt rechts */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.split .prose { font-size: 1.0625rem; }
.signoff { margin-top: 1.5rem; font-weight: 700; }
.crop { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bordeaux-soft) url("img/puzzle.webp") no-repeat; background-size: 230%; background-position: 46% 34%; }
.crop figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.5rem; background: linear-gradient(to top, rgba(255,255,255,.96), rgba(255,255,255,0)); font-weight: 900; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.02em; color: var(--bordeaux); line-height: 1.05; }
.crop figcaption small { display: block; font-weight: 400; font-size: .95rem; letter-spacing: 0; color: var(--ink-2); margin-top: .3rem; }

/* Leistungen: vier Karten, eine davon in Bordeaux */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; align-content: start; gap: 1rem; }
.card h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); color: var(--bordeaux); line-height: 1.2; }
.card ul { display: grid; gap: .45rem; }
.card li { padding-left: 1.4rem; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: .72em; width: .65rem; height: 2px; background: var(--bordeaux); }
.card-bordeaux { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.card-bordeaux h3 { color: #fff; }
.card-bordeaux li::before { background: var(--on-bordeaux-muted); }
.card-bordeaux li { color: #fff; }

/* Service: drei Aussagen auf Bordeaux */
.triple { display: grid; gap: 2rem; }
@media (min-width: 760px) { .triple { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); } }
.triple > div { border-top: 2px solid rgba(255,255,255,.35); padding-top: 1.25rem; }
.triple h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 900; letter-spacing: -0.02em; margin-bottom: .75rem; }

/* Steuerberaterin: Porträt mit versetzter Fläche */
.person { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 860px) { .person { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.portrait { position: relative; max-width: 440px; margin-inline: auto; padding: 0 1.25rem 1.25rem 0; }
.portrait::before { content: ""; position: absolute; inset: 1.5rem 0 0 1.5rem; background: var(--bordeaux-soft); border-radius: var(--radius); }
.portrait img { position: relative; border-radius: var(--radius); width: 100%; }
.person-name { font-size: 1.125rem; color: var(--grau); margin: .5rem 0 1.5rem; font-weight: 700; }
.memberships { margin-top: 1.75rem; padding: 1.25rem 1.5rem; border-left: 4px solid var(--bordeaux); background: var(--paper-warm); border-radius: 0 var(--radius) var(--radius) 0; }

/* Digital: Mandantenportal + DATEV */
.digital { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .digital { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.panel-bordeaux { background: var(--bordeaux); color: #fff; border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 3rem); display: grid; gap: 1.25rem; align-content: start; }
.panel-bordeaux h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.panel-bordeaux p { color: var(--on-bordeaux-muted); max-width: 32em; }
.panel-bordeaux .btn { justify-self: start; }
.panel-light { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 3rem); display: grid; gap: 1rem; align-content: start; }
.panel-light img { width: 120px; }
.panel-light p { color: var(--ink-2); }

/* Karriere-Band */
.band { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 760px) { .band { grid-template-columns: minmax(0, 1fr) auto; } }
.band h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }

/* Kontakt */
.contact { display: grid; gap: 2rem; }
@media (min-width: 860px) { .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); } }
.contact address { font-style: normal; font-size: 1.125rem; display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.contact address a { font-weight: 700; text-decoration: none; }
.contact address a:hover { text-decoration: underline; }
.contact .label { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grau); margin-bottom: .15rem; }
.hours { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.hours h3 { margin-bottom: 1rem; }
.hours table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: .6rem 0; border-top: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 700; width: 7.5em; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 0; }
.hours .note { margin-top: 1rem; color: var(--ink-2); font-size: .95rem; }

/* Fuß */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; background: var(--paper); }
.footer-inner { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: auto 1fr; align-items: center; } }
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: flex-start; }
@media (min-width: 760px) { .footer-links { justify-content: flex-end; } }
.footer-links a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .95rem; }
.footer-links a:hover { color: var(--bordeaux); }
.footer-meta { grid-column: 1 / -1; color: var(--grau); font-size: .9rem; }

/* Unterseiten */
.page-head { background: var(--bordeaux); color: #fff; padding-block: clamp(3rem, 7vw, 5.5rem); }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.page-head p { color: var(--on-bordeaux-muted); margin-top: 1rem; max-width: 36em; font-size: 1.125rem; }
.notice { background: var(--bordeaux-soft); border-left: 4px solid var(--bordeaux); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
