:root {
  --primary: #1f5f7a;
  --accent: #2e86ab;
  --bg-light: #f4f7f9;
  --text: #333333;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, sans-serif; color: var(--text); line-height: 1.6; }
.container { max-width: 1050px; margin: 0 auto; padding: 2rem 1.5rem; }
.container-text { max-width: 1050px; margin: 0 auto; padding: 1rem 1.5rem; }

header { background: #fff; border-bottom: 1px solid #e0e6eb; position: sticky; top: 0; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; }
.logo { font-weight: 700; color: var(--primary); font-size: 1.2rem; }
nav a { margin-left: 1.5rem; text-decoration: none; color: var(--text); font-weight: 500; }

th,td {text-align:left; padding:8px 8px; border-bottom:1px solid #d5e1da; vertical-align:top}

/* Gilt für alle Elemente mit einer ID */
[id] {
  scroll-margin-top: 110px; 
}


.hero { background: var(--primary); color: #fff; padding: 4rem 0; text-align: center; }
.hero h1 { font-size: 2.2rem; margin-bottom: 1rem; }
.hero p { max-width: 650px; margin: 0 auto 1.5rem; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { background: #fff; border: 1px solid #e0e6eb; border-radius: 8px; padding: 2rem; }
.card h2 { color: var(--primary); margin-bottom: 0.8rem; }
.card ul { margin: 1rem 0 1.5rem 1.2rem; }

.bg-light { background: var(--bg-light); }
.map-placeholder { background: #e2e8f0; padding: 1.5rem; border-radius: 6px; margin-top: 1rem; font-size: 0.9rem; }

.btn, .btn-outline, .btn-small { display: inline-block; padding: 0.7rem 1.4rem; border-radius: 5px; text-decoration: none; font-weight: 600; cursor: pointer; border: none; }
.btn { background: var(--accent); color: #fff; }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-small { background: var(--primary); color: #fff; margin-top: 0.8rem; padding: 0.5rem 1rem; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 600px; margin-top: 1rem; }
.contact-form input, .contact-form textarea { padding: 0.8rem; border: 1px solid #ccc; border-radius: 5px; font: inherit; }
.notice { font-weight: 600; color: #b91c1c; margin-top: 0.5rem; }

footer { background: #1e293b; color: #cbd5e1; font-size: 0.9rem; }
.footer-flex { display: flex; justify-content: space-between; }
footer a { color: #cbd5e1; margin-left: 1rem; text-decoration: none; }
