:root {
  --bg: #edefeb;
  --surface: #ffffff;
  --surface-soft: #f7f7f4;
  --text: #232323;
  --muted: #5e6258;
  --primary: #256887;
  --primary-dark: #143d50;
  --secondary: #4d5e85;
  --accent: #e6ad00;
  --danger: #c42231;
  --radius: 2rem;
  --shadow: 0 18px 50px rgba(20, 50, 40, .12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1rem, .95rem + .2vw, 1.15rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--danger); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.2rem, 5vw, 5rem); }
h2 { font-size: clamp(2rem, 3vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1rem; }

.skip-link { position: absolute; left: -999px; top: 1rem; background: var(--surface); padding: .75rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem clamp(1rem, 3vw, 2.5rem);
  background: rgba(37,104,135,.94); color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; color: #fff; font-weight: 700; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav a { color: #fff; text-decoration: none; padding: .65rem .85rem; border-radius: 999px; }
.site-nav a:hover { background: rgba(255,255,255,.14); color: #fff; }
.nav-toggle { display: none; color: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: .55rem .85rem; }

.section { padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 3vw, 2.5rem); }
.section-muted { background: var(--surface-soft); }
.container { max-width: var(--max); margin: 0 auto; }
.narrow { max-width: 920px; }
.intro, .lead { font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--muted); }
.small { font-size: .95rem; color: var(--muted); }

.hero {
  min-height: calc(100vh - 72px);
  display: grid; align-items: center;
  background: linear-gradient(90deg, rgba(237,239,235,.96), rgba(237,239,235,.8)), url("assets/images/gingko-1024x1024.webp") right center / contain no-repeat;
}
.hero-card { max-width: 830px; padding: clamp(1.25rem, 4vw, 3rem); background: rgba(255,255,255,.82); border-radius: var(--radius); box-shadow: var(--shadow); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; color: var(--primary); font-weight: 700; font-size: .9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: .9rem 1.35rem; border-radius: 999px; border: 2px solid var(--primary); background: var(--primary); color: #fff; text-decoration: none; font-weight: 700; cursor: pointer; }
.button:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.button-secondary { background: var(--accent); border-color: var(--accent); }
.button-small { padding: .5rem .9rem !important; background: var(--accent) !important; border: 0; }
.check-list { padding-left: 1.2rem; margin: 1rem 0; }

.tables-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.table-card, .news-card, .info-list article { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 1rem; }
th, td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid #e1e4dd; vertical-align: top; }
th { background: var(--primary); color: #fff; font-weight: 700; }
tr:last-child td { border-bottom: 0; }
.notice { padding: 1rem 1.2rem; border-left: 5px solid var(--accent); background: #fff9e5; border-radius: 1rem; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-top: 2rem; }
.service-grid span { padding: 1rem 1.2rem; background: var(--surface); border-radius: 1.2rem; box-shadow: 0 8px 24px rgba(20,50,40,.08); font-weight: 700; }

.form { display: grid; gap: 1rem; margin-top: 1.5rem; }
label { display: grid; gap: .35rem; font-weight: 700; }
input, textarea { width: 100%; border: 1px solid #ccd3c7; border-radius: 1rem; padding: .9rem 1rem; font: inherit; background: #fff; }
input:focus, textarea:focus { outline: 3px solid rgba(37,104,135,.22); border-color: var(--primary); }
.form-note { color: var(--muted); font-size: .95rem; }

.info-list { display: grid; gap: 1rem; margin-top: 2rem; }
.info-list article h3, .news-card h3 { color: var(--primary); }
.news-card + .news-card { margin-top: 1rem; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.section-contact { background: var(--primary); color: #fff; }
.section-contact a { color: #fff; }
.contact-grid, .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.site-footer { padding: 2rem clamp(1rem, 3vw, 2.5rem); background: #1f2b31; color: #fff; }
.site-footer summary { cursor: pointer; font-weight: 700; }
.site-footer a { color: #fff; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; inset: 100% 1rem auto 1rem; display: none; flex-direction: column; align-items: stretch; padding: 1rem; background: var(--primary); border-radius: 1rem; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .tables-grid, .service-grid, .gallery, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery img { height: 220px; }
}

@media (max-width: 560px) {
  .brand span { display: none; }
  th, td { padding: .7rem; }
  .hero { background-size: 80%; background-position: right top; }
}


/* Ergänzungen für vollständigen Originalinhalt + Formoid */
body { -webkit-text-size-adjust: 100%; }
.hero-text { font-size: clamp(1.05rem, 1vw + .9rem, 1.25rem); }
.hero-text a { font-weight: 700; }
.intro-block { max-width: 980px; margin: 0 auto 1.5rem; }
.news-card p, .info-list p, .legal-text { line-height: 1.65; }
.info-list article h3 { margin-bottom: .5rem; }
.info-list article h3::first-letter { color: var(--primary); }
.form .alert[hidden] { display: none !important; }
.alert { padding: 1rem 1.2rem; border-radius: 1rem; font-weight: 700; }
.alert-success { background: #e7f6e7; color: #1d5a25; }
.alert-danger { background: #ffe8df; color: #7a151f; }
.hp-field { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; opacity:0 !important; }
.checkbox { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; font-weight: 400; }
.checkbox input { width: 1.2rem; height: 1.2rem; margin-top: .25rem; }
.legal-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 4vw, 3rem); }
.legal-card summary { cursor: pointer; color: var(--primary); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; margin-bottom: 1rem; }
.legal-text { font-size: .98rem; }
.legal-text a { word-break: break-word; }
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(0,0,0,.25); }
.modal.show { display: flex; }
.modal-dialog { max-width: 520px; width: 100%; }
.modal-content { background: #fff; padding: 1.5rem; border-radius: 1.2rem !important; box-shadow: var(--shadow); }
.btn-close, .close { float: right; font-size: 1.4rem; cursor: pointer; }
.btn-loading { opacity: .65; cursor: progress; }
@media (max-width: 900px) {
  .site-header { align-items: center; }
  .site-nav a { width: 100%; }
  .button-small { width: 100%; }
}
@media (max-width: 560px) {
  input, textarea { font-size: 16px; }
  .hero-card { background: rgba(255,255,255,.9); }
  .legal-card { padding: 1.25rem; }
}
