/* Danke (post-256) – Standard-Seitentemplate mit Theme-Seitentitel */

/* Hello-Theme-Seitentitel (.page-header .entry-title) */
.d-entry-title {
  width: 100%;
  margin: .5rem auto 1rem;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: #333;
}
@media (max-width: 575px) { .d-entry-title { padding-inline: 10px; } }
@media (min-width: 576px) { .d-entry-title { max-width: 500px; } }
@media (min-width: 768px) { .d-entry-title { max-width: 600px; } }
@media (min-width: 992px) { .d-entry-title { max-width: 800px; } }
@media (min-width: 1200px) { .d-entry-title { max-width: 1140px; } }

.d-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  max-width: min(100%, var(--content-w));
  margin: 0 auto;
}
.d-col-spacer, .d-col-title, .d-col-content { display: flex; flex-direction: column; gap: 20px; flex: 0 0 auto; }
.d-col-spacer { width: 17.44%; }
.d-col-title { width: 99.455%; }
.d-col-content { width: 100%; }

.d-title {
  padding: 39px;
  font-family: var(--f-heading);
  font-size: 55px;
  font-weight: 600;
  line-height: 1.2em;
  text-align: center;
  color: var(--c-primary);
}
.d-btn-wrap { text-align: center; }
.d-btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--f-heading);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-transform: capitalize;
  color: #fff;
  background-color: var(--c-secondary);
  border-radius: 3px;
  transition: all .3s;
}
.d-btn:hover, .d-btn:focus-visible { color: #fff; }
.d-spacer--10 { height: 10px; }
.d-spacer--50 { height: 50px; }

.d-text, .d-social-text {
  font-family: var(--f-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}
.d-text { color: #000; }
.d-social-text { color: #324A6D; }
.d-text p, .d-social-text p { margin-block-end: .9rem; }
.d-text h3 { margin-block: .5rem 1rem; font-size: 1.75rem; font-weight: 500; line-height: 1.2; }
.d-text strong { font-weight: 700; }
.d-text a { text-decoration: underline; }

.d-social-inner {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: min(100%, var(--content-w));
  margin: 0 auto;
}
.d-social-col { width: 25%; line-height: 1.5; text-align: center; } /* Icon inline-block auf der Grundlinie wie .elementor-icon-wrapper */
.d-social-icon {
  display: inline-block;
  font-size: 50px;
  line-height: 1;
  color: var(--c-primary);
  transition: all .3s;
}
.d-social-icon .icon { width: 1em; height: 1em; }

@media (max-width: 1024px) {
  .d-title { font-size: 45px; }
  .d-btn { font-size: 14px; }
  .d-text, .d-social-text { line-height: 1.5; }
}
@media (max-width: 767px) {
  .d-col-spacer, .d-col-title, .d-social-col { width: 100%; }
  .d-social-inner { flex-wrap: wrap; }
  .d-title { font-size: 28px; line-height: 1.1em; }
  .d-text, .d-social-text { line-height: 1.4; }
}
