/* ============================================
   Steuerkanzlei Braemer — Stylesheet
   Design: Kanzlei-Briefpapier
   ============================================ */

:root {
  /* Farben */
  --color-bg:           #ffffff;
  --color-bg-subtle:    #f5f5f5;
  --color-text:         #1a1a1a;
  --color-text-muted:   #5c5c5c;
  --color-text-light:   #6b6b6b;
  --color-border:       #e0e0e0;
  --color-accent:       #14253d;
  --color-accent-light: #1c3454;

  /* Typografie */
  --font-family:         "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-family-display: "EB Garamond", "Georgia", serif;
  --font-size-base:  1rem;
  --font-size-sm:    0.875rem;
  --font-size-h1:    1.75rem;
  --font-size-h2:    1.25rem;
  --font-weight-normal:   400;
  --font-weight-medium:   500;
  --font-weight-semibold: 600;
  --line-height:         1.6;
  --line-height-heading: 1.3;

  /* Layout */
  --container-width:   940px;
  --container-padding: 2rem;
  --section-spacing:   4rem;
  --element-spacing:   1.5rem;
}


/* === Reset & Base === */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height);
  color: var(--color-text);
  background-color: var(--color-bg);
  border-top: 4px solid var(--color-accent);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* === Container === */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}


/* === Sektionen === */

.section {
  padding: var(--section-spacing) 0;
}

.section--subtle {
  background-color: var(--color-bg-subtle);
}


/* === Header === */

.header {
  padding: var(--section-spacing) 0 2rem;
}

.header h1 {
  font-family: var(--font-family-display);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-heading);
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.header__subtitle {
  margin-top: 0.5rem;
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-normal);
}


/* === Ueberschriften === */

h2 {
  font-family: var(--font-family);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-heading);
  color: var(--color-text);
  margin-bottom: var(--element-spacing);
}


/* === Einleitung === */

.einleitung p {
  max-width: 680px;
  color: var(--color-text);
}


/* === Leistungen === */

.leistungen__list {
  list-style: none;
  max-width: 680px;
}

.leistungen__list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-border);
  font-weight: var(--font-weight-normal);
  color: var(--color-text);
}

.leistungen__list li:first-child {
  border-top: 1px solid var(--color-border);
}


/* === Kontakt === */

.kontakt__details {
  margin-bottom: var(--element-spacing);
}

.kontakt__row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  align-items: baseline;
}

.kontakt__label {
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  min-width: 4.5rem;
}

.kontakt__adresse {
  margin-top: var(--element-spacing);
  color: var(--color-text);
  line-height: var(--line-height);
}

.kontakt__cta {
  margin-top: 2rem;
  color: var(--color-text-muted);
}


/* === Links === */

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-light);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}


/* === Footer === */

.footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
  margin-top: var(--section-spacing);
}

.footer__content {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.7;
}

.footer__content p {
  margin-bottom: 0.75rem;
}

.footer__content p:last-child {
  margin-bottom: 0;
}

.footer__separator {
  display: inline;
  margin: 0 0.4rem;
}


/* === Responsive: Mobile <= 768px === */

@media (max-width: 768px) {
  :root {
    --font-size-h1:      1.5rem;
    --font-size-h2:      1.125rem;
    --section-spacing:   2.5rem;
    --container-padding: 1.25rem;
  }

  .kontakt__row {
    flex-direction: column;
    gap: 0.1rem;
    margin-bottom: 0.75rem;
  }

  .kontakt__label {
    min-width: auto;
  }
}
