Blog- und Veranstaltungsbereich hinzugefuegt

Neuer Bereich /blog fuer Veranstaltungstipps und Neuigkeiten aus
Kaufbeuren: content/blog/ (inkl. erstem Beitrag "Veranstaltungen
Herbst 2026" als Page-Bundle mit Bildern), Layouts layouts/blog/
(list + single) und ein bild-Shortcode, der Bilder aus dem Bundle
aufloest und eine Bildquelle anzeigt. Menueintrag "Blog" in hugo.toml,
zugehoeriges Blog-CSS (und Belegungsplan-Band) in style.css.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@
This commit is contained in:
Michael Stangl
2026-08-28 16:45:09 +02:00
parent 2379f4ac9f
commit eeffa578cb
18 changed files with 249 additions and 6 deletions
+62 -5
View File
@@ -257,9 +257,34 @@ img { max-width: 100%; height: auto; display: block; }
.highlight-card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.highlight-card p { color: var(--text-muted); font-size: 0.9rem; }
/* ===== Belegungsplan-Band (auffälliger Verweis auf der Startseite) ===== */
.belegungsplan-band {
background: #c0392b;
padding: 1.6rem 0;
text-align: center;
}
.belegungsplan-band-btn {
background: #e67e22;
color: #fff;
border: none;
font-size: 1.15rem;
font-weight: 700;
padding: 0.9rem 2rem;
box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.belegungsplan-band-btn:hover {
background: #d35400;
color: #fff;
}
/* ===== Belegungsplan (Übersicht ein-/ausblenden) ===== */
.belegungsplan-toggle { margin: 1rem 0 2.5rem; }
.belegungsplan-frame { margin-top: 1.5rem; }
.belegungsplan-frame {
margin-top: 1.5rem;
background: #fff;
padding: 1rem;
border-radius: var(--radius);
}
.belegungsplan-frame[hidden] { display: none; }
/* ===== FeWo Grid ===== */
@@ -281,6 +306,8 @@ img { max-width: 100%; height: auto; display: block; }
.fewo-card-img { width: 100%; height: 200px; object-fit: cover; transition: opacity 0.2s; }
.fewo-card-imglink:hover .fewo-card-img { opacity: 0.9; }
.fewo-card-body { padding: 1.5rem; }
.fewo-card-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.fewo-card-actions .btn { margin-right: 0; }
.fewo-card-body h2, .fewo-card-body h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.fewo-card-body h2 a, .fewo-card-body h3 a { color: var(--text); }
.fewo-meta {
@@ -311,10 +338,13 @@ img { max-width: 100%; height: auto; display: block; }
/* ===== Karten-Grid (wiederverwendet für Umfeld + Ausstattung) ===== */
.spec-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 1.25rem;
}
@media (max-width: 760px) {
@media (max-width: 980px) {
.spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
.spec-grid { grid-template-columns: 1fr; }
}
.spec-block {
@@ -337,7 +367,6 @@ img { max-width: 100%; height: auto; display: block; }
/* ===== Ausstattung (einzelne Ferienwohnung) ===== */
.ausstattung { margin-top: 2rem; }
.ausstattung h2 { margin: 1.5rem 0 1rem; font-size: 1.2rem; border-bottom: 1px solid var(--border); padding-bottom: 0.25rem; }
.ausstattung-hinweis { margin-top: 1.5rem; font-size: 0.95rem; color: var(--text-muted); }
/* ===== Ausflugsziele-Gruppen ===== */
.ausflug-gruppe { margin-top: 3rem; }
@@ -548,7 +577,7 @@ img { max-width: 100%; height: auto; display: block; }
content: "";
position: absolute;
inset: 0;
background: rgba(255,255,255,0.6);
background: transparent;
}
.zitat-box-inner {
position: relative;
@@ -610,3 +639,31 @@ img { max-width: 100%; height: auto; display: block; }
/* ===== Main ===== */
.main { min-height: calc(100vh - var(--nav-height) - 200px); }
/* ===== Blog ===== */
.blog-grid { margin-top: 2rem; }
.blog-date { color: var(--muted, #777); font-size: 0.85rem; margin-bottom: 0.4rem; }
.container--narrow { max-width: 760px; }
.blog-hero-img {
width: 100%;
max-height: 420px;
object-fit: cover;
border-radius: var(--radius, 6px);
}
.blog-post h2 { margin-top: 2.5rem; }
.blog-back { margin-top: 2.5rem; }
.blog-figure { margin: 1rem 0 1.5rem; }
.blog-figure img {
width: 100%;
max-height: 380px;
object-fit: cover;
border-radius: var(--radius, 6px);
}
.blog-hero { margin: 0 0 2rem; }
.bild-quelle {
font-size: 0.78rem;
color: var(--muted, #777);
margin-top: 0.4rem;
line-height: 1.4;
}
.bild-quelle a { color: var(--muted, #777); text-decoration: underline; }