/* ---------- STARTSEITE-ENTWURF (.bm-start-entwurf; inhalte/start-entwurf.html) ----------
   Stand 26.11.2026: Gegenentwurf zur Startseite nach impeccable-Kritik, private Seite /startseite-entwurf/.
   Alle Regeln unter .bm-start-entwurf, keine andere Seite betroffen (die echte Startseite nutzt .bm-start).
   Farben wie 38-karriere-entwurf.css (theme.json), Systemschrift wie theme.json, Inhaltsrand = Produktseiten (10-basis.css).
   Keine Dachzeile ueber Ueberschriften, keine Pillen, kein Farbbalken an Karten, keine Kartenraster als Seitengeruest.
   Leitmotiv wie Karriere: Eckdaten als Schriftfeld (Plankopf), Systeme als Liste wie eine Stueckliste.
   26.11.2026 (Max): Kopf mit gruenem Verlauf wie bisher, Kacheln DE + EU / Ein Partner, Ueberschrift-Schrift wie bisher
   (500, Kletterpflanzen kursiv gruen), Bildwechsel alle 5 s ohne JavaScript, Mehrfamilienhaus-Foto getauscht.
   Rueckweg: Datei loeschen (Entwurf faellt auf ungestaltete Bloecke zurueck, sonst keine Wirkung). */

.bm-start-entwurf {
  --bs-tinte: #1c2420; --bs-text: #33403a; --bs-grau: #5e6b64; --bs-linie: #e2e6e2; --bs-linie-2: #c9d0c9;
  --bs-hell: #eef3ee; --bs-gruen: #278039; --bs-gruen-d: #1f6e2f; --bs-gruen-dd: #17552a;
  --bs-blau: #296598; --bs-gold: #e0a400; --bs-gold-d: #a87a00;
  color: var(--bs-tinte);
}
.bm-start-entwurf .bm-wrap { box-sizing: border-box; max-width: var(--bm-inhalt-breite); margin-inline: auto; padding-inline: var(--bm-inhalt-rand); padding-bottom: 48px; }
.bm-start-entwurf :where(.bm-wrap, .bms-kopf, .bms-kopf-text, .bms-kacheln, .bms-kachel, .bms-schriftfeld, .bms-feld, .bms-feld-inhalt, .bms-sec, .bms-weg,
  .bms-liste, .bms-zeile, .bms-zeile-text, .bms-sec-kopf, .bms-mosaik, .bms-zitate, .bms-zitat, .bms-abschluss, .bms-abschluss-text) > * { margin-block: 0; }
.bm-start-entwurf :where(p, li) { max-width: var(--bm-zeile); }
.bm-start-entwurf ::selection { background: #cfe5d2; color: var(--bs-tinte); }
.bm-start-entwurf a { color: var(--bs-blau); text-underline-offset: .18em; }
.bm-start-entwurf a:hover { color: var(--bs-gruen-d); }
.bm-start-entwurf a:focus-visible { outline: 3px solid var(--bs-gold); outline-offset: 2px; border-radius: 4px; }
.bm-start-entwurf :is(h1, h2, h3) { color: var(--bs-tinte); font-family: inherit; letter-spacing: .015em; text-wrap: balance; text-transform: none; }
.bm-start-entwurf :is(h1, h2) { font-weight: 500; }
.bm-start-entwurf h3 { font-weight: 600; letter-spacing: 0; }
.bm-start-entwurf :is(p, li) { text-wrap: pretty; }
.bm-start-entwurf h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.18; }
.bm-start-entwurf h3 { font-size: 20px; line-height: 1.3; }
.bm-start-entwurf figure { margin: 0; }
.bm-start-entwurf figure img { display: block; width: 100%; height: auto; object-fit: cover; background: var(--bs-hell); }

/* Knoepfe: eine Farbe fuer die Haupthandlung (gruen), daneben hell */
.bm-start-entwurf .bms-knoepfe { gap: 10px; margin: 0; }
.bm-start-entwurf .bms-btn .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; box-sizing: border-box; padding: 10px 22px; border-radius: 6px; border: 1px solid transparent; font-size: 16px; font-weight: 600; line-height: 1.35; text-decoration: none; transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out; }
.bm-start-entwurf .bms-btn-gruen .wp-block-button__link { background: var(--bs-gruen-d); color: #fff; }
.bm-start-entwurf .bms-btn-gruen .wp-block-button__link:hover { background: var(--bs-gruen-dd); color: #fff; }
.bm-start-entwurf .bms-btn-hell .wp-block-button__link { background: #fff; color: var(--bs-tinte); border-color: var(--bs-linie-2); }
.bm-start-entwurf .bms-btn-hell .wp-block-button__link:hover { border-color: var(--bs-tinte); color: var(--bs-tinte); }
.bm-start-entwurf .bms-btn-weiss .wp-block-button__link { background: #fff; color: var(--bs-gruen-dd); }
.bm-start-entwurf .bms-btn-weiss .wp-block-button__link:hover { background: var(--bs-hell); color: var(--bs-tinte); }
.bm-start-entwurf .bms-btn .wp-block-button__link:focus-visible { outline: 3px solid var(--bs-gold); outline-offset: 2px; }

/* Textlinks mit gezeichnetem Pfeil (kein Zeichen als Symbol) */
.bm-start-entwurf p.bms-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.bm-start-entwurf a.bms-pfeil { display: inline-flex; align-items: center; gap: 9px; min-height: 32px; font-weight: 600; text-decoration: none; }
.bm-start-entwurf a.bms-pfeil::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.bm-start-entwurf a.bms-pfeil:hover { text-decoration: underline; }
.bm-start-entwurf a.bms-pfeil:hover::after { transform: translateX(3px) rotate(45deg); }

/* Kopf: gruener Verlauf wie die bisherige Startseite, Titel links, Bildwechsel rechts */
.bm-start-entwurf .bms-band { background: linear-gradient(180deg, var(--bs-hell) 0%, #fff 72%); }
.bm-start-entwurf .bm-wrap.bms-kopf { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-block: 44px 40px; }
.bm-start-entwurf .bms-kopf h1 { font-size: clamp(38px, 4.7vw, 64px); line-height: 1.08; margin: 0 0 22px; }
.bm-start-entwurf .bms-kopf h1 em { font-style: italic; color: var(--bs-gruen-d); }
.bm-start-entwurf p.bms-lead { font-size: 19px; line-height: 1.55; color: var(--bs-text); margin: 0 0 30px; max-width: 32em; }

/* Kacheln DE + EU / Ein Partner (wie bisher), nur die verlinkte hebt sich beim Ueberfahren */
.bm-start-entwurf .bms-kacheln { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.bm-start-entwurf .bms-kachel { position: relative; overflow: hidden; flex: 1; min-width: 150px; max-width: 280px; box-sizing: border-box; border: 1px solid var(--bs-linie); border-radius: 8px; padding: 20px 22px 18px; background: #fff; transition: transform .2s ease-out, box-shadow .2s ease-out, border-color .2s ease-out; }
.bm-start-entwurf .bms-kachel::before { content: ""; position: absolute; top: 0; left: 0; width: 34px; height: 3px; background: var(--bs-gruen); }
.bm-start-entwurf .bms-kachel-link:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(28, 36, 32, .08); border-color: var(--bs-gruen); }
.bm-start-entwurf .bms-kachel-link:has(a:focus-visible) { outline: 3px solid var(--bs-gold); outline-offset: 2px; }
.bm-start-entwurf p.bms-kachel-n { font-size: 28px; line-height: 1.1; color: #1d4d76; margin-bottom: 6px; }
.bm-start-entwurf p.bms-kachel-n a { color: inherit; text-decoration: none; }
.bm-start-entwurf p.bms-kachel-n a:focus-visible { outline: none; }
.bm-start-entwurf p.bms-kachel-n a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bm-start-entwurf p.bms-kachel-l { font-size: 14px; line-height: 1.5; color: var(--bs-grau); }

/* Bildwechsel ohne JavaScript: Bild 1 liegt fest, Bild 2 blendet alle 5 s ueber (Zyklus 10 s).
   Haelt nur an, solange ein Link darin den Tastatur-Fokus hat. Laeuft auch bei der Windows-Einstellung "Animationen aus"
   (prefers-reduced-motion): reine Ueberblendung ohne Bewegung; vorher stand dort nur Bild 1 (Max 26.11.: "funktioniert nicht"). */
.bm-start-entwurf .bms-schau { display: grid; min-width: 0; }
.bm-start-entwurf .bms-schau-bild { grid-area: 1 / 1; min-width: 0; }
.bm-start-entwurf .bms-schau-bild img { height: clamp(340px, 37vw, 500px); border-radius: 10px; object-position: 50% 45%; }
.bm-start-entwurf .bms-schau-bild figcaption { margin: 8px 0 0; font-size: 14px; line-height: 1.45; text-align: left; }
.bm-start-entwurf .bms-schau-bild figcaption a { color: var(--bs-grau); }
.bm-start-entwurf .bms-schau-bild figcaption a:hover { color: var(--bs-gruen-d); }
.bm-start-entwurf .bms-schau-bild:first-child figcaption { animation: bms-aus 10s linear infinite; }
.bm-start-entwurf .bms-schau-zwei { position: relative; z-index: 1; opacity: 0; visibility: hidden; animation: bms-ein 10s linear infinite; }
.bm-start-entwurf .bms-schau:focus-within :is(.bms-schau-zwei, figcaption) { animation-play-state: paused; }
@keyframes bms-ein { 0%, 45% { opacity: 0; visibility: hidden; } 53%, 92% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
@keyframes bms-aus { 0%, 45% { opacity: 1; visibility: visible; } 53%, 92% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }

/* Schriftfeld: Eckdaten wie im Plankopf, 2 px Rahmen aussen, 1 px Linien innen */
.bm-start-entwurf .bms-schriftfeld { margin-top: 8px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.15fr); gap: 1px; background: var(--bs-linie-2); border: 2px solid var(--bs-tinte); border-radius: 4px; overflow: hidden; }
.bm-start-entwurf .bms-feld { background: #fff; padding: 14px 18px 16px; min-width: 0; }
.bm-start-entwurf .bms-feld:first-child { background: var(--bs-hell); }
.bm-start-entwurf .bms-feld-logo { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.bm-start-entwurf p.bms-feld-k { font-size: 13px; line-height: 1.3; color: var(--bs-grau); margin: 0 0 5px; }
.bm-start-entwurf p.bms-feld-v { font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--bs-tinte); }
.bm-start-entwurf .bms-logo { flex: none; }
.bm-start-entwurf .bms-logo img { width: auto; height: 46px; background: none; }
.bm-start-entwurf .bms-logo-fll img { height: 52px; }

/* Abschnitte */
.bm-start-entwurf .bms-sec { padding: 72px 0 0; }
.bm-start-entwurf .bms-sec > h2, .bm-start-entwurf .bms-sec-kopf { margin-bottom: 28px; }

/* Zwei Wege: Planer und Selbermacher */
.bm-start-entwurf .bms-wege { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; padding-top: 64px; }
.bm-start-entwurf .bms-weg-bild { margin-bottom: 22px !important; }
.bm-start-entwurf .bms-weg-bild img { aspect-ratio: 3 / 2; border-radius: 10px; }
.bm-start-entwurf .bms-weg h2 { margin-bottom: 12px; }
.bm-start-entwurf .bms-weg > p:not(.bms-links) { font-size: 17px; line-height: 1.6; color: var(--bs-text); margin-bottom: 14px; }

/* Systeme als Liste: ganze Zeile anklickbar (Link der Ueberschrift spannt die Zeile auf) */
.bm-start-entwurf .bms-liste { border-top: 2px solid var(--bs-tinte); }
.bm-start-entwurf .bms-zeile { position: relative; display: grid; grid-template-columns: 168px minmax(0, 1fr) 40px; gap: 28px; align-items: center; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--bs-linie); transition: background-color .15s ease-out; }
.bm-start-entwurf .bms-zeile::after { content: ""; justify-self: center; width: 10px; height: 10px; border-top: 2px solid var(--bs-blau); border-right: 2px solid var(--bs-blau); transform: rotate(45deg); transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.bm-start-entwurf .bms-zeile:hover { background: #f6f8f5; }
.bm-start-entwurf .bms-zeile:hover::after { transform: translateX(4px) rotate(45deg); border-color: var(--bs-gruen-d); }
.bm-start-entwurf .bms-zeile-bild img { aspect-ratio: 4 / 3; border-radius: 6px; }
.bm-start-entwurf .bms-zeile-plan img { object-fit: contain; background: #fff; border: 1px solid var(--bs-linie); box-sizing: border-box; }
.bm-start-entwurf .bms-zeile h3 { margin-bottom: 6px; font-size: 21px; }
.bm-start-entwurf .bms-zeile h3 a { color: var(--bs-tinte); text-decoration: none; }
.bm-start-entwurf .bms-zeile h3 a::after { content: ""; position: absolute; inset: 0; }
.bm-start-entwurf .bms-zeile:hover h3 a { color: var(--bs-gruen-d); }
.bm-start-entwurf .bms-zeile h3 a:focus-visible { outline: none; }
.bm-start-entwurf .bms-zeile:has(a:focus-visible) { outline: 3px solid var(--bs-gold); outline-offset: 2px; }
.bm-start-entwurf .bms-zeile p { font-size: 16.5px; line-height: 1.55; color: var(--bs-text); }

/* Beispiele: ein grosses Objekt links, zwei rechts, Name auf leichtem dunklem Verlauf */
.bm-start-entwurf .bms-sec-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.bm-start-entwurf .bms-mosaik { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; height: clamp(380px, 40vw, 520px); }
.bm-start-entwurf .bms-objekt-gross { grid-row: span 2; }
/* dunkler Grund unter dem Foto: Name bleibt lesbar, solange das Bild laedt oder fehlt */
.bm-start-entwurf .bms-objekt { position: relative; overflow: hidden; border-radius: 10px; min-height: 0; background: #1b2a20; }
.bm-start-entwurf .bms-objekt a { display: block; height: 100%; }
.bm-start-entwurf .bms-objekt img { height: 100%; background: #1b2a20; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.bm-start-entwurf .bms-objekt a:hover img { transform: scale(1.03); }
/* Ausschnitt am unteren Bildrand (Mehrfamilienhaus: Pflanzen am Fuss der Fassade sichtbar, Max 26.11.) */
.bm-start-entwurf .bms-objekt-unten img { object-position: 50% 100%; }
.bm-start-entwurf .bms-objekt a:focus-visible { outline-offset: -4px; }
.bm-start-entwurf .bms-objekt figcaption { position: absolute; inset: auto 0 0 0; margin: 0; padding: 44px 18px 14px; background: linear-gradient(to top, rgba(15, 28, 20, .78), rgba(15, 28, 20, .5) 50%, rgba(15, 28, 20, 0)); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); font-size: 17px; font-weight: 600; line-height: 1.3; text-align: left; pointer-events: none; }

/* Kundenstimmen: Zitate mit Linie oben, ohne Kartenrahmen */
.bm-start-entwurf .bms-zitate { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.bm-start-entwurf .bms-zitat { border-top: 2px solid var(--bs-tinte); padding-top: 16px; display: flex; flex-direction: column; }
.bm-start-entwurf p.bms-sterne { color: var(--bs-gold-d); font-size: 17px; letter-spacing: .12em; margin-bottom: 10px; }
.bm-start-entwurf p.bms-zitat-text { font-size: 17.5px; line-height: 1.55; color: var(--bs-tinte); margin-bottom: 14px; }
.bm-start-entwurf p.bms-zitat-name { margin-top: auto; font-size: 14.5px; color: var(--bs-grau); }
.bm-start-entwurf p.bms-fein { margin-top: 26px; font-size: 14px; line-height: 1.5; color: var(--bs-grau); max-width: none; }   /* volle Breite (Max 26.11.) */
.bm-start-entwurf p.bms-fein a { white-space: nowrap; }

/* Abschluss: dunkelgruenes Band */
.bm-start-entwurf .bms-abschluss { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; margin-top: 80px; padding: 40px 48px; background: var(--bs-gruen-d); color: #fff; border-radius: 14px; }
.bm-start-entwurf .bms-abschluss :is(h2, p) { color: #fff; }
.bm-start-entwurf .bms-abschluss h2 { margin-bottom: 10px; }
.bm-start-entwurf .bms-abschluss p { font-size: 17.5px; line-height: 1.6; color: #e6f0e7; }
.bm-start-entwurf .bms-abschluss a:not(.wp-element-button) { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .55); white-space: nowrap; }
.bm-start-entwurf .bms-abschluss a:not(.wp-element-button):hover { text-decoration-color: #fff; color: #fff; }

@media (max-width: 760px) {
  .bm-start-entwurf .bms-schriftfeld { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .bm-start-entwurf .bm-wrap.bms-kopf { grid-template-columns: 1fr; gap: 28px; padding-block: 28px 30px; }
  .bm-start-entwurf .bms-schau-bild img { height: auto; aspect-ratio: 16 / 11; }
  .bm-start-entwurf .bms-kacheln { margin-top: 28px; }
  .bm-start-entwurf .bms-wege { grid-template-columns: 1fr; gap: 48px; padding-top: 52px; }
  .bm-start-entwurf .bms-sec { padding-top: 56px; }
  .bm-start-entwurf .bms-zitate { grid-template-columns: 1fr; gap: 28px; }
  .bm-start-entwurf .bms-abschluss { grid-template-columns: 1fr; margin-top: 64px; }
}
@media (max-width: 600px) {
  .bm-start-entwurf p.bms-lead { font-size: 17.5px; }
  .bm-start-entwurf p.bms-kachel-n { font-size: 24px; }
  .bm-start-entwurf .bms-feld { padding: 12px 14px 14px; }
  .bm-start-entwurf .bms-logo img { height: 38px; }
  .bm-start-entwurf .bms-logo-fll img { height: 44px; }
  .bm-start-entwurf .bms-zeile { grid-template-columns: 96px minmax(0, 1fr) 20px; gap: 14px; padding-right: 4px; }
  .bm-start-entwurf .bms-zeile h3 { font-size: 18px; }
  .bm-start-entwurf .bms-zeile p { font-size: 15.5px; }
  .bm-start-entwurf .bms-zeile::after { width: 8px; height: 8px; }
  .bm-start-entwurf .bms-mosaik { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .bm-start-entwurf .bms-objekt-gross { grid-row: auto; }
  .bm-start-entwurf .bms-objekt img { aspect-ratio: 16 / 10; height: auto; }
  .bm-start-entwurf .bms-abschluss { padding: 28px 22px 24px; }
  .bm-start-entwurf .bms-knoepfe .wp-block-button { flex: 1 1 100%; }
  .bm-start-entwurf .bms-knoepfe .wp-block-button__link { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-start-entwurf *, .bm-start-entwurf *::after { transition: none !important; }
}
