/* hubs-v2b: only webdesign-main-tauber-kreis and webdesign-landkreis-miltenberg.
   Header/footer look stays with base.min.css, the page stylesheet and theme.css. */

.h2b {
  background: #0a0d12;
  color: #eef0f4;
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 400;
  overflow-x: clip;
}

/* Schmale Ansicht: kein seitliches Überlaufen, kein Lime-Scrollbar-Strich. */
html:has(body.h2b) {
  overflow-x: clip;
  scrollbar-color: #2a3340 #0a0d12;
}
html:has(body.h2b)::-webkit-scrollbar {
  width: 8px;
  height: 0;
}
html:has(body.h2b)::-webkit-scrollbar-thumb {
  background: #2a3340 !important;
}

.h2b-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px 5% 88px;
}

.h2b-main section {
  max-width: none;
  margin: 0;
  padding: 52px 0 8px;
}

.h2b h1,
.h2b h2,
.h2b h3 {
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 700;
  color: #eef0f4;
  letter-spacing: -0.02em;
}

.h2b h1 {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.12;
  margin: 0 0 18px;
  text-align: left;
  font-weight: 700;
}

.h2b h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  margin: 0 0 16px;
}

.h2b h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0 0 8px;
}

.h2b-eye {
  margin: 0 0 14px;
  color: #9aa7b5;
  font-size: 0.95rem;
  font-weight: 400;
}

.h2b-prose p,
.h2b-hero p {
  margin: 0 0 16px;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #eef0f4;
}

.h2b-textlink {
  display: inline-block;
  margin-top: 6px;
  color: #eef0f4;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.h2b-textlink:hover {
  color: #eef0f4;
  text-decoration: underline;
}

.h2b-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 48px;
  align-items: start;
}

.h2b-narrow {
  max-width: 34rem;
}

/* Maßlinie */
.h2b-mass {
  position: relative;
  margin: 36px 0 0;
  padding: 0 0 42px;
  overflow-x: clip;
}

.h2b-mass-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 92px 10px 0;
  color: #9aa7b5;
  font-size: 0.92rem;
}

.h2b-mass-rule {
  height: 1px;
  margin-right: 78px;
  background: rgba(238, 240, 244, 0.38);
}

.h2b-mass-end {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
}

.h2b-mass-tick {
  display: block;
  width: 2px;
  height: 36px;
  background: #b8d44a;
  transform: scaleY(1);
  transform-origin: top center;
}

.h2b-mass-buchen {
  margin-top: 8px;
  color: #eef0f4;
  font-size: 1.35rem;
  font-weight: 700;
}

/* Winkel: 2014 vs klar */
.h2b-angle {
  display: grid;
  gap: 28px;
  margin-top: 8px;
}

.h2b-angle-cap {
  display: block;
  margin-bottom: 8px;
  color: #9aa7b5;
  font-size: 0.8rem;
}

.h2b-bar {
  display: block;
  height: 7px;
  border-radius: 1px;
  background: #3a4454;
}

.h2b-angle-old .h2b-bar:nth-child(2) { width: 46%; margin-left: 14%; }
.h2b-angle-old .h2b-bar:nth-child(3) { width: 62%; margin-left: 7%; }
.h2b-angle-old .h2b-bar:nth-child(4) { width: 38%; margin-left: 24%; }

.h2b-angle-clear {
  position: relative;
  padding-left: 14px;
}

.h2b-angle-edge {
  position: absolute;
  left: 0;
  top: 1.6rem;
  bottom: 0;
  width: 2px;
  background: #b8d44a;
}

.h2b-angle-clear .h2b-bar { margin-bottom: 10px; margin-left: 0; }
.h2b-angle-clear .h2b-bar:nth-child(3) { width: 46%; }
.h2b-angle-clear .h2b-bar:nth-child(4) { width: 62%; }
.h2b-angle-clear .h2b-bar:nth-child(5) { width: 38%; }

.h2b-angle-old .h2b-bar { margin-bottom: 10px; }

/* Index */
.h2b-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.h2b-index li {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 8px 16px;
  align-items: baseline;
}

.h2b-num {
  color: #9aa7b5;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.h2b-index strong {
  display: block;
  font-weight: 700;
  font-size: 1.12rem;
}

.h2b-index p {
  margin: 4px 0 0;
  color: #9aa7b5;
}

.h2b-ticks {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.h2b-ticks li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-weight: 400;
}

.h2b-ticks span {
  flex: none;
  width: 18px;
  height: 2px;
  margin-top: 0.55em;
  background: #b8d44a;
}

.h2b-got {
  grid-template-columns: 1fr 1fr;
  column-gap: 36px;
}

/* Preis: eine Fläche */
.h2b-price {
  background: #131820;
  padding: 28px 28px 24px;
}

.h2b-price-kicker,
.h2b-price-note {
  margin: 0;
  color: #9aa7b5;
  font-size: 0.95rem;
}

.h2b-price-figure {
  margin: 6px 0 0;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #eef0f4;
}

.h2b-price-note { margin-top: 14px; }
.h2b-price-note a { color: #9aa7b5; }
.h2b-price-wide { text-align: center; }
.h2b-price-wide .h2b-price-figure { margin-top: 8px; }

/* Ablauf */
.h2b-vsteps {
  list-style: none;
  margin: 8px 0 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid #b8d44a;
  display: grid;
  gap: 20px;
}

.h2b-vsteps li {
  font-weight: 700;
}

.h2b-split-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.h2b-weeks {
  margin: 0;
  color: #9aa7b5;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* Klammer */
.h2b-bracket-box {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.h2b-bracket-svg {
  width: 22px;
  height: 100%;
  overflow: hidden;
}

.h2b-bracket-svg path {
  fill: none;
  stroke: #b8d44a;
  stroke-width: 2px;
  stroke-linecap: square;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.h2b-names,
.h2b-rest {
  list-style: none;
  margin: 0;
  padding: 0;
}

.h2b-names {
  display: grid;
  gap: 18px;
  padding: 6px 0;
}

.h2b-names a {
  color: #eef0f4;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.h2b-names a:hover { text-decoration: underline; }

.h2b-sub {
  display: block;
  margin-top: 4px;
  color: #9aa7b5;
  font-size: 0.85rem;
  font-weight: 400;
}

.h2b-rest {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  color: #eef0f4;
  font-size: 1.15rem;
  font-weight: 700;
}

.h2b-sitz {
  margin: 18px 0 0;
  color: #9aa7b5;
  font-size: 0.95rem;
}

.h2b-sitz strong {
  display: block;
  margin-top: 4px;
  color: #eef0f4;
  font-weight: 400;
  font-size: 1.05rem;
}

.h2b-ul {
  border-bottom: 2px solid #b8d44a;
  font-weight: 700;
}

/* Beweis */
.h2b-proof {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 8px 0 10px;
  padding: 0;
}

.h2b-proof li {
  padding: 0 22px;
  border-left: 1px solid rgba(238, 240, 244, 0.28);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.h2b-proof li:first-child {
  padding-left: 0;
  border-left: 0;
}

.h2b-proof a {
  color: #eef0f4;
  text-decoration: none;
}

.h2b-proof a:hover { text-decoration: underline; }

.h2b-kicker {
  margin: 0;
  color: #9aa7b5;
  font-size: 0.9rem;
}

.h2b-kicker a {
  color: #9aa7b5;
  text-decoration: none;
}

.h2b-kicker a:hover { text-decoration: underline; }

/* Laufspur */
.h2b-spur {
  position: relative;
  height: 3px;
  margin-top: 28px;
  background: #3a4454;
}

.h2b-spur-lime {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 16%;
  background: #b8d44a;
  transform: scaleX(1);
  transform-origin: left center;
}

.h2b-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.h2b-cols article {
  border-top: 1px solid rgba(238, 240, 244, 0.35);
  padding-top: 14px;
}

.h2b-cols p {
  margin: 0;
  color: #9aa7b5;
  font-size: 0.95rem;
}

.h2b-board {
  margin: 36px 0 0;
}

.h2b-board img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* FAQ */
.h2b-faq {
  border-top: 1px solid rgba(238, 240, 244, 0.14);
}

.h2b-q {
  position: relative;
  border-bottom: 1px solid rgba(238, 240, 244, 0.14);
}

.h2b-q input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.h2b-q label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  font-weight: 700;
  color: #eef0f4;
}

.h2b-q label::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 1px solid #9aa7b5;
  border-bottom: 1px solid #9aa7b5;
  transform: rotate(45deg);
}

.h2b-q input:focus-visible + label {
  outline: 1px solid #b8d44a;
  outline-offset: 4px;
}

.h2b-q input:checked + label::after {
  transform: rotate(-135deg);
}

.h2b-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
}

.h2b-q input:checked ~ .h2b-a {
  grid-template-rows: 1fr;
}

.h2b-a > div { overflow: hidden; }

.h2b-a p {
  margin: 0 0 18px;
  color: #eef0f4;
  font-weight: 400;
  line-height: 1.7;
}

/* Anfrage */
.h2b-form label {
  display: block;
  margin: 0 0 6px;
  color: #9aa7b5;
  font-size: 0.82rem;
  font-weight: 400;
}

.h2b-form input,
.h2b-form textarea {
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: #131820;
  color: #eef0f4;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
}

.h2b-form textarea {
  min-height: 140px;
  resize: vertical;
}

.h2b-form-stack {
  max-width: 28rem;
  margin: 0 auto;
}

.h2b-form-phone,
.h2b-phone {
  color: #eef0f4;
  font-weight: 700;
  text-decoration: none;
}

.h2b-form-phone {
  margin: 0 0 18px;
  font-size: 1.15rem;
}

.h2b-phone:hover,
.h2b-form-phone a:hover {
  color: #eef0f4;
  text-decoration: underline;
}

.h2b-form-line {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.h2b-phone {
  display: inline-block;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.h2b-fields-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.h2b-fields-2 input { margin-bottom: 12px; }

.h2b-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 0;
  border-radius: 6px;
  background: #b8d44a;
  color: #0a0d12;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.h2b-form-line > div { display: flex; flex-direction: column; }
.h2b-form-line .h2b-submit { align-self: flex-end; }

.h2b-form { position: relative; }
.h2b-hp {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.h2b-addr p { margin-bottom: 6px; }

@media (prefers-reduced-motion: no-preference) {
  .h2b-mass-tick {
    animation: h2b-tick 0.5s ease forwards;
  }
  .h2b-angle-clear .h2b-bar:nth-child(3) { --snap: 14%; }
  .h2b-angle-clear .h2b-bar:nth-child(4) { --snap: 7%; }
  .h2b-angle-clear .h2b-bar:nth-child(5) { --snap: 24%; }
  .h2b-angle-clear .h2b-bar {
    animation: h2b-snap 0.6s ease forwards;
  }
  .h2b-bracket-svg path {
    animation: h2b-draw 0.5s ease forwards;
  }
  .h2b-spur-lime {
    animation: h2b-grow 0.4s ease forwards;
  }
}

@keyframes h2b-tick {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes h2b-snap {
  from { transform: translateX(var(--snap, 0)); }
  to { transform: translateX(0); }
}

@keyframes h2b-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes h2b-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 860px) {
  .h2b-hero-grid,
  .h2b-split-flow,
  .h2b-form-line,
  .h2b-cols {
    grid-template-columns: 1fr;
  }
  .h2b-cols { grid-template-columns: 1fr 1fr; }
  .h2b-fields-2 { grid-template-columns: 1fr; }
  .h2b-mass-labels { flex-wrap: wrap; margin-right: 0; }
  .h2b-form-line .h2b-submit { align-self: flex-end; }
}

@media (max-width: 560px) {
  .h2b-cols,
  .h2b-got { grid-template-columns: 1fr; }
  .h2b-proof li {
    padding: 8px 0;
    border-left: 0;
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .h2b-a,
  .h2b-mass-tick,
  .h2b-angle-clear .h2b-bar,
  .h2b-bracket-svg path,
  .h2b-spur-lime,
  .h2b-submit,
  .h2b .btn-nav {
    animation: none !important;
    transition: none !important;
  }
  .h2b .btn-nav:hover,
  .h2b-submit:hover { transform: none !important; }
}

/* Fotos: volle Inhaltsbreite, kein Ausbruch aus .h2b-main */
.h2b-photo {
  margin: 0 0 16px;
  max-width: 100%;
}

.h2b-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.h2b-photo--air {
  margin-top: 28px;
  margin-bottom: 28px;
}
