/* Version 1.0.0 – 2026-11-28 | Copyright © Frone.de
   Stylesheet für formenbau-gutachter.de (statischer Nachbau, angelehnt an das TYPO3 Bootstrap Package) */

@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/source-sans-pro-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-pro-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-pro-latin-700-normal.woff2") format("woff2"); }

:root {
  --text: #2b2b2b;
  --muted: rgba(0, 0, 0, .5);
  --primary: #074291;
  --grey: #a2a7a8;
  --footer-bg: #232323;
  --footer-text: #fff;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text);
  font-family: "Source Sans Pro", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a { color: var(--primary); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only-focusable:focus { position: static; width: auto; height: auto; clip: auto; }

/* Kopfbereich */
.page-header {
  background: #fff;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, .15);
}
.page-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 104px;
}
.brand img { display: block; height: 40px; width: auto; }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.mainnav a {
  display: block;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 16px;
}
.mainnav a:hover, .mainnav a:focus, .mainnav a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Inhalt */
.page-content { flex: 1; padding: 48px 0 96px; }
h1 { font-size: 32px; font-weight: 300; line-height: 1.25; margin: 0 0 24px; }
h2 { font-size: 24px; font-weight: 400; margin: 32px 0 12px; }
h3 { font-size: 22px; margin: 0 0 16px; }
p { margin: 0 0 12px; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.contact-block dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; }
.contact-block dt { color: var(--muted); }
.contact-block dd { margin: 0; }

/* Fußbereich */
.page-footer { background: var(--footer-bg); color: var(--footer-text); font-size: 14px; }
.page-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 24px; }
.page-footer a { color: var(--footer-text); opacity: .8; }
.page-footer a:hover, .page-footer a:focus { opacity: 1; }
.page-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-top {
  position: fixed; right: 16px; bottom: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0, 0, 0, .6); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1;
}
.scroll-top:hover { background: rgba(0, 0, 0, .8); text-decoration: none; }

@media (max-width: 576px) {
  .page-header .container { min-height: 80px; padding-top: 12px; padding-bottom: 12px; }
  .page-content { padding: 32px 0 64px; }
  h1 { font-size: 26px; }
  .mainnav a { padding: 8px; }
}

.page-content ul { margin: 0 0 12px; padding-left: 22px; }
