/* Ergänzungen für die statische IONOS-Fassung */
.quick-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* V10: zwei getrennte Servicebereiche, kompakte Erfahrungsbox und zentrale Suche */
.desktop-nav { gap: 16px; }
.desktop-nav a { font-size: .84rem; white-space: nowrap; }
.quick-card.service-quick-card { align-items: flex-start; }
.quick-copy { display: grid; min-width: 0; gap: 2px; line-height: 1.35; }
.quick-copy strong { font-size: .93rem; }
.quick-copy small { color: #65727a; font-size: .72rem; font-weight: 500; line-height: 1.4; }

.hero-grid { grid-template-columns: 1.28fr .72fr; gap: 52px; }
.hero-panel { min-height: 360px; padding: 28px; border-radius: 24px; }
.hero-panel .building-art { min-height: 160px; border-radius: 17px; }
.hero-grid > div:first-child { text-align: center; }
.hero-grid > div:first-child .lead { margin-left: auto; margin-right: auto; }
.hero-grid > div:first-child .hero-actions,
.hero-grid > div:first-child .cert { justify-content: center; }
.hero-panel .route-art { min-height: 175px; }
.hero-panel .route-art svg { width: min(235px, 90%); height: auto; color: #a6bc2c; }
.hero-panel .hero-start-copy { display: grid; gap: 12px; text-align: center; color: #dce6e1; }
.hero-panel .hero-start-copy strong { color: #fff; font-size: clamp(2.35rem, 5vw, 3rem); line-height: 1.05; }
.hero-panel .hero-start-copy span { font-size: .96rem; line-height: 1.45; }

.site-search label { display: block; margin: 0 0 8px; color: #1d2830; font-weight: 800; }
.site-search > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.site-search input { width: 100%; min-height: 50px; padding: 12px 15px; border: 1px solid #c9d3cd; border-radius: 9px; background: #fff; color: #1d2830; font: inherit; }
.site-search input:focus { border-color: #8fa31d; outline: 3px solid rgba(166,188,44,.25); }
.hero-site-search { margin-top: 4px; }
.hero-site-search > div { gap: 7px; }
.hero-site-search input { min-height: 46px; font-size: .88rem; }
.hero-site-search button { display: grid; width: 46px; min-height: 46px; place-items: center; border: 0; border-radius: 9px; background: #a6bc2c; color: #172006; cursor: pointer; }
.hero-site-search button:hover { background: #b4ca35; }
.hero-site-search button svg { width: 20px; height: 20px; }

.qualifications .qualification-basis { margin: -6px 0 24px; color: #52616b; font-weight: 700; }

.service-hub-section { padding-top: 62px; }
.service-switch { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 0 0 48px; }
.service-switch-card { display: flex; align-items: center; gap: 17px; min-height: 118px; padding: 24px 26px; border: 1px solid #dce3de; border-radius: 16px; background: #fff; box-shadow: 0 10px 32px rgba(29,40,48,.06); }
.service-switch-card:hover, .service-switch-card.active { border-color: #a6bc2c; background: #f6f8ee; }
.service-switch-card > svg { width: 36px; height: 36px; color: #7f9418; }
.service-switch-card > span { display: grid; gap: 3px; }
.service-switch-card strong { color: #1d2830; font-size: 1.25rem; }
.service-switch-card small { color: #5e6c74; font-size: .88rem; font-weight: 500; }

.search-page { padding-top: 62px; }
.site-search-large { max-width: 900px; padding: clamp(22px,4vw,34px); border-radius: 17px; background: #1d2830; box-shadow: 0 18px 48px rgba(29,40,48,.15); }
.site-search-large label { color: #fff; font-size: 1.05rem; }
.search-summary { margin: 30px 0 16px; color: #52616b; font-weight: 800; }
.search-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.search-result-card { display: grid; align-content: start; gap: 7px; min-height: 190px; padding: 22px; border: 1px solid #dce3de; border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(29,40,48,.05); }
.search-result-card:hover { border-color: #a6bc2c; transform: translateY(-1px); }
.search-result-type { width: fit-content; padding: 4px 9px; border-radius: 999px; background: #e9efcf; color: #637515; font-size: .72rem; font-weight: 800; }
.search-result-card > strong { color: #1d2830; font-size: 1.12rem; }
.search-result-card > span:not(.search-result-type) { color: #5d6a72; font-size: .88rem; line-height: 1.55; }
.search-result-card em { align-self: end; color: #718516; font-size: .86rem; font-style: normal; font-weight: 800; }
.search-empty { padding: 24px; border-left: 5px solid #a6bc2c; border-radius: 0 12px 12px 0; background: #f3f6f2; }
.search-empty p { margin: 7px 0 0; color: #52616b; }
.search-empty a { color: #667b12; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-grid { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 700px) {
  .quick-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-switch, .search-results { grid-template-columns: minmax(0,1fr); }
  .service-switch-card { min-height: 102px; padding: 20px; }
  .site-search > div { grid-template-columns: minmax(0,1fr); }
  .hero-panel { min-height: 330px; }
}

/* Einheitliches, robustes Design für alle statischen Onlineformulare */
.form-wrap { max-width: 1040px; }
.form-card {
  display: block;
  padding: clamp(24px, 4vw, 48px);
  background: #fff;
  border: 1px solid #dce3de;
  border-top: 6px solid #a6bc2c;
  border-radius: 18px;
  box-shadow: 0 18px 52px rgba(29, 40, 48, .09);
}
.form-card * { box-sizing: border-box; }
.form-section { margin: 0 0 34px; padding: 0; border: 0; }
.form-section + .form-section { padding-top: 30px; border-top: 1px solid #dce3de; }
.form-section legend,
.form-section h2 {
  width: 100%;
  margin: 0 0 18px;
  color: #1d2830;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
  font-weight: 750;
}
.form-section-intro { margin: -8px 0 20px; color: #52616b; line-height: 1.65; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
.form-grid label,
.field-label { display: flex; min-width: 0; flex-direction: column; gap: 8px; color: #1d2830; font-size: .95rem; font-weight: 700; }
.form-grid .wide { grid-column: 1 / -1; }
.form-card input:not([type="checkbox"]):not([type="radio"]),
.form-card select,
.form-card textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cbd5cf;
  border-radius: 9px;
  background: #fff;
  color: #1d2830;
  font: 400 1rem/1.45 Arial, Helvetica, sans-serif;
  box-shadow: 0 1px 2px rgba(29, 40, 48, .04);
}
.form-card textarea { min-height: 125px; resize: vertical; }
.form-card input[type="file"] { padding: 9px; background: #f7f9f6; }
.form-card input::file-selector-button {
  margin-right: 12px;
  padding: 9px 12px;
  border: 0;
  border-radius: 7px;
  background: #e9efcf;
  color: #3f4a0b;
  font-weight: 700;
  cursor: pointer;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus { outline: 3px solid rgba(166, 188, 44, .25); border-color: #8fa31d; }
.check-options { display: grid; gap: 12px; margin: 20px 0; }
.check-options label,
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 11px; align-items: start; color: #34434b; line-height: 1.55; }
.form-card input[type="checkbox"],
.form-card input[type="radio"] { width: 20px; height: 20px; margin-top: 2px; accent-color: #8fa31d; }
.consent { margin: 26px 0 10px; padding: 18px; border-radius: 10px; background: #f3f6e8; }
.notice-box {
  margin: 0 0 24px;
  padding: 20px 22px;
  border-left: 5px solid #a6bc2c;
  border-radius: 0 10px 10px 0;
  background: #f6f8ef;
  color: #34434b;
  line-height: 1.65;
}
.notice-box h2, .notice-box h3 { margin: 0 0 8px; color: #1d2830; font-size: 1.1rem; font-weight: 750; }
.notice-box p { margin: 8px 0; }
.declaration-list { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; counter-reset: declaration; }
.declaration-list li { position: relative; padding-left: 34px; color: #34434b; line-height: 1.6; }
.declaration-list li::before { counter-increment: declaration; content: counter(declaration); position: absolute; left: 0; top: 1px; display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: #a6bc2c; color: #172006; font-size: .78rem; font-weight: 800; }
.meter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.meter-card { padding: 20px; border: 1px solid #dce3de; border-radius: 12px; background: #f9faf8; }
.meter-card h3 { margin: 0 0 14px; font-size: 1.05rem; font-weight: 750; color: #1d2830; }
.meter-card .form-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
.meter-card .wide { grid-column: 1 / -1; }
.required { margin: 8px 0 20px; color: #66747c; font-size: .9rem; }
.form-card > .button { min-height: 50px; border: 0; cursor: pointer; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.file-help { color: #6a777e; font-size: .82rem; font-weight: 400; line-height: 1.45; }

/* Übersichtliche, aufklappbare Formular- und Informationsgruppen */
.downloads { gap: 18px; }
.download-group {
  overflow: hidden;
  border: 1px solid #dce3de;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(29, 40, 48, .06);
}
.download-group summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  gap: 16px;
  align-items: center;
  min-height: 78px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  background: #f7f9f4;
  color: #1d2830;
}
.download-group summary::-webkit-details-marker { display: none; }
.download-group summary:hover { background: #f0f4e7; }
.download-group summary > span:first-child { font-size: 1.18rem; font-weight: 800; }
.download-group summary small { color: #66747c; font-size: .85rem; }
.download-group-chevron { color: #7f9418; font-size: 1.65rem; line-height: 1; text-align: center; transition: transform .2s ease; }
.download-group[open] .download-group-chevron { transform: rotate(180deg); }
.download-group[open] summary { border-bottom: 1px solid #dce3de; }
.download-group-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; padding: 10px 24px 22px; }

/* VDIV-Logo in unveränderten Originalfarben auf heller Markenfläche */
.side-card.vdiv-card { padding: 24px; }
.vdiv-logo-surface {
  display: grid;
  place-items: center;
  min-height: 150px;
  margin: 0 0 24px;
  padding: 18px;
  border-radius: 12px;
  background: #fff;
}
.side-card .vdiv-logo-surface > img { width: min(226px, 100%); max-width: none; margin: 0; }

@media (max-width: 760px) {
  .form-card { padding: 24px 18px; border-radius: 12px; }
  .form-grid, .meter-grid { grid-template-columns: minmax(0, 1fr); }
  .meter-card .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid .wide, .meter-card .wide { grid-column: auto; }
  .download-group summary { grid-template-columns: minmax(0, 1fr) 24px; gap: 10px; padding: 18px; }
  .download-group summary small { grid-column: 1; grid-row: 2; }
  .download-group-chevron { grid-column: 2; grid-row: 1 / span 2; }
  .download-group-content { grid-template-columns: minmax(0, 1fr); padding: 6px 18px 18px; }
}
