theme: friends-spessart von der VM ins Repo uebernehmen
Stand 2026-11-16 inkl. Startseite und Innenseiten nach den neuen Vorlagen. Alte .bak-*-Ordner bleiben aussen vor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
6728be8515
commit
0f9d273c32
|
|
@ -61,6 +61,10 @@ Ladezeiten seitdem konstant ~0,15–0,3s.
|
||||||
### Phase 3 — WordPress-Theme
|
### Phase 3 — WordPress-Theme
|
||||||
Eigenständiges Theme `friends-spessart` unter
|
Eigenständiges Theme `friends-spessart` unter
|
||||||
`/var/www/freunde-des-spessart/wp-content/themes/friends-spessart/` auf der VM.
|
`/var/www/freunde-des-spessart/wp-content/themes/friends-spessart/` auf der VM.
|
||||||
|
Seit 2026-11-16 liegt eine Kopie im Repo unter `theme/friends-spessart/` (ohne die
|
||||||
|
alten `.bak-*`-Ordner). Die VM bleibt die laufende Instanz: Änderungen dort machen
|
||||||
|
und danach ins Repo übernehmen (oder umgekehrt hochladen, dann `chown -R www-data`
|
||||||
|
und `wp-content/cache/supercache/*` leeren), damit beide Stände gleich bleiben.
|
||||||
Farbsystem (Primärgrün `#4C7A2A`, Orange `#E08A1E`, Sand `#F5F1E6`), selbst gehostete
|
Farbsystem (Primärgrün `#4C7A2A`, Orange `#E08A1E`, Sand `#F5F1E6`), selbst gehostete
|
||||||
Fonts (Barlow Condensed / Source Sans 3), Kreis-/Wellen-Signature-Elemente.
|
Fonts (Barlow Condensed / Source Sans 3), Kreis-/Wellen-Signature-Elemente.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
<?php get_header(); ?>
|
||||||
|
<main id="inhalt" class="page-main">
|
||||||
|
<?php get_template_part( 'parts/page-head', null, array( 'title' => 'Seite nicht gefunden', 'kicker' => 'Fehler 404' ) ); ?>
|
||||||
|
<div class="page-wrap entry-content">
|
||||||
|
<p>Diesen Weg gibt es im Spessart leider nicht. Vielleicht hilft Ihnen einer dieser Einstiege weiter:</p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Startseite</a></li>
|
||||||
|
<li><a href="<?php echo esc_url( home_url( '/news/' ) ); ?>">Aktuelles</a></li>
|
||||||
|
<li><a href="<?php echo esc_url( home_url( '/kontakt/' ) ); ?>">Kontakt</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
<?php get_footer(); ?>
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
<?php get_header(); ?>
|
||||||
|
<main id="inhalt" class="page-main">
|
||||||
|
<?php get_template_part( 'parts/page-head', null, array( 'title' => 'Aktuelles', 'kicker' => 'Neues aus dem Spessart', 'wide' => true ) ); ?>
|
||||||
|
<div class="page-wrap page-wrap--wide">
|
||||||
|
<div class="news-teasers__grid">
|
||||||
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
|
<a class="news-teaser<?php echo has_post_thumbnail() ? '' : ' news-teaser--text'; ?>" href="<?php the_permalink(); ?>">
|
||||||
|
<?php if ( has_post_thumbnail() ) : ?>
|
||||||
|
<div class="news-teaser__image"><?php the_post_thumbnail( 'fds-teaser' ); ?></div>
|
||||||
|
<?php endif; ?>
|
||||||
|
<div class="news-teaser__body">
|
||||||
|
<span class="news-teaser__date"><?php echo esc_html( get_the_date( 'j. F Y' ) ); ?></span>
|
||||||
|
<h2 class="news-teaser__title"><?php the_title(); ?></h2>
|
||||||
|
<p class="news-teaser__excerpt"><?php echo esc_html( wp_trim_words( get_the_excerpt(), 20 ) ); ?></p>
|
||||||
|
<span class="news-teaser__more">Weiterlesen</span>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<?php endwhile; ?>
|
||||||
|
</div>
|
||||||
|
<?php the_posts_pagination( array( 'prev_text' => '‹ Neuere', 'next_text' => 'Ältere ›' ) ); ?>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
<?php get_footer(); ?>
|
||||||
|
|
@ -0,0 +1,126 @@
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/barlow-400i-latin-ext.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/barlow-400i-latin.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 500;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/barlow-500i-latin-ext.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 500;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/barlow-500i-latin.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 300;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/barlow-300-latin-ext.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 300;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/barlow-300-latin.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/barlow-400-latin-ext.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/barlow-400-latin.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 500;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/barlow-500-latin-ext.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 500;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/barlow-500-latin.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/barlow-600-latin-ext.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/barlow-600-latin.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 800;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/barlow-800-latin-ext.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 800;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/barlow-800-latin.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,338 @@
|
||||||
|
/*
|
||||||
|
* Verhandeltes Design 2026 (docs/Input/Home Seite.pdf)
|
||||||
|
* Gilt site-weit fuer Kopf- und Fusszeile, sonst nur fuer die Startseite (.home-*).
|
||||||
|
* Schriften: Original ist DIN 2014 ExtraBold / Domus Titling (kostenpflichtig) –
|
||||||
|
* ersetzt durch die freie, DIN-nahe Barlow (800 / 300), selbst gehostet.
|
||||||
|
*/
|
||||||
|
@import url('barlow.css');
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--fds-sage: #799279;
|
||||||
|
--fds-forest: #214938;
|
||||||
|
--fds-cream: #F3F2EA;
|
||||||
|
--fds-rose: #F0C8BF;
|
||||||
|
--fds-slate: #515B54;
|
||||||
|
--fds-orange: #F7941D;
|
||||||
|
--fds-ink: #1E2421;
|
||||||
|
--fds-font: 'Barlow', 'DIN 2014', 'Arial Narrow', Arial, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skip-link {
|
||||||
|
position: absolute; left: 1rem; top: -4rem; z-index: 100;
|
||||||
|
background: var(--fds-forest); color: #fff; padding: .6rem 1rem;
|
||||||
|
font-family: var(--fds-font); font-weight: 800; text-transform: uppercase; text-decoration: none;
|
||||||
|
}
|
||||||
|
.skip-link:focus { top: 1rem; }
|
||||||
|
|
||||||
|
/* ---------- Kopfzeile ---------- */
|
||||||
|
.site-header { background: var(--fds-sage); position: sticky; top: 0; z-index: 50; }
|
||||||
|
.site-header__inner {
|
||||||
|
display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
|
||||||
|
max-width: 1440px; margin: 0 auto; padding: .6rem 1rem;
|
||||||
|
}
|
||||||
|
.site-brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: #fff; }
|
||||||
|
.site-brand__logo { width: 48px; height: auto; flex-shrink: 0; }
|
||||||
|
.site-brand__name {
|
||||||
|
font-family: var(--fds-font); font-weight: 800; text-transform: uppercase;
|
||||||
|
font-size: 1.15rem; line-height: 1.05; letter-spacing: .01em;
|
||||||
|
}
|
||||||
|
.menu-toggle span { background: #fff; }
|
||||||
|
.main-nav ul { padding: .5rem 0 1rem; }
|
||||||
|
.main-nav a {
|
||||||
|
font-family: var(--fds-font); font-weight: 800; font-size: 1rem; letter-spacing: .02em;
|
||||||
|
padding: .65rem 0; border-top: 1px solid rgba(255,255,255,.25);
|
||||||
|
}
|
||||||
|
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--fds-forest); }
|
||||||
|
|
||||||
|
@media (min-width: 900px) {
|
||||||
|
.site-header__inner { align-items: stretch; padding: .75rem 1.5rem .7rem 1.25rem; }
|
||||||
|
.site-brand__logo { width: 56px; }
|
||||||
|
.site-brand__name { font-size: 1.35rem; }
|
||||||
|
.main-nav { display: flex; align-items: flex-end; }
|
||||||
|
.main-nav ul { gap: 0; padding: 0; }
|
||||||
|
.main-nav li + li { border-left: 1px solid rgba(255,255,255,.85); }
|
||||||
|
.main-nav a { border: 0; padding: 0 .6rem; font-size: .8rem; line-height: 1.1; }
|
||||||
|
.main-nav li:last-child a { padding-right: 0; }
|
||||||
|
}
|
||||||
|
@media (min-width: 1200px) {
|
||||||
|
.main-nav a { font-size: .9rem; padding: 0 .75rem; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------- Startseite ---------- */
|
||||||
|
.home-main { background: var(--fds-cream); }
|
||||||
|
.home-wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }
|
||||||
|
|
||||||
|
.home-hero { background: var(--fds-forest); }
|
||||||
|
.home-hero img {
|
||||||
|
width: 100%; height: clamp(220px, 44vw, 600px);
|
||||||
|
object-fit: cover; object-position: center 92%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-intro { padding: 2.25rem 0 2.75rem; }
|
||||||
|
.home-intro__kicker,
|
||||||
|
.home-intro__title,
|
||||||
|
.home-intro__lead { font-family: var(--fds-font); font-weight: 800; text-transform: uppercase; }
|
||||||
|
.home-intro__kicker { color: var(--fds-sage); font-size: .95rem; letter-spacing: .02em; margin: 0 0 .35rem; }
|
||||||
|
.home-intro__title {
|
||||||
|
color: var(--fds-forest); font-size: clamp(2.6rem, 9vw, 4.5rem);
|
||||||
|
line-height: .98; letter-spacing: .005em; margin: 0 0 1.25rem;
|
||||||
|
}
|
||||||
|
.home-intro__title::after { content: none; }
|
||||||
|
.home-intro__lead { color: var(--fds-sage); font-size: clamp(1.05rem, 2.6vw, 1.4rem); line-height: 1.25; margin: 0; max-width: 34em; }
|
||||||
|
|
||||||
|
.home-tiles { padding: 1rem 0 4rem; }
|
||||||
|
.home-tiles__grid {
|
||||||
|
list-style: none; margin: 0 auto;
|
||||||
|
display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
|
||||||
|
}
|
||||||
|
.home-tile {
|
||||||
|
--tile: var(--fds-forest);
|
||||||
|
display: flex; align-items: center; justify-content: center;
|
||||||
|
aspect-ratio: 1 / 1; padding: 12%;
|
||||||
|
border: 6px solid var(--tile); background: var(--fds-cream);
|
||||||
|
color: var(--fds-ink); text-decoration: none;
|
||||||
|
font-family: var(--fds-font); font-weight: 800; text-transform: uppercase;
|
||||||
|
font-size: clamp(.9rem, 3.4vw, 1.05rem); line-height: 1.15; letter-spacing: .01em;
|
||||||
|
transition: background-color .2s ease, color .2s ease;
|
||||||
|
}
|
||||||
|
.home-tile span { display: block; hyphens: manual; }
|
||||||
|
.home-tile:hover, .home-tile:focus-visible { background: var(--tile); color: #fff; }
|
||||||
|
.home-tile--forest { --tile: var(--fds-forest); }
|
||||||
|
.home-tile--rose { --tile: var(--fds-rose); }
|
||||||
|
.home-tile--rose:hover, .home-tile--rose:focus-visible { color: var(--fds-forest); }
|
||||||
|
.home-tile--sage { --tile: var(--fds-sage); }
|
||||||
|
.home-tile--slate { --tile: var(--fds-slate); }
|
||||||
|
.home-tile--orange { --tile: var(--fds-orange); }
|
||||||
|
.home-tile--orange:hover, .home-tile--orange:focus-visible { color: var(--fds-ink); }
|
||||||
|
|
||||||
|
@media (min-width: 640px) {
|
||||||
|
.home-intro { padding: 3rem 0 3.5rem; }
|
||||||
|
.home-tiles__grid { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
|
||||||
|
.home-tile { border-width: 8px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Kennzahlen */
|
||||||
|
.home-facts { background: var(--fds-sage); color: #fff; padding: 1.75rem 0 1rem; text-align: center; }
|
||||||
|
.home-facts .home-wrap { max-width: 1040px; }
|
||||||
|
.home-facts__title {
|
||||||
|
font-family: var(--fds-font); font-weight: 800; text-transform: uppercase;
|
||||||
|
color: #fff; font-size: clamp(1.1rem, 3vw, 1.4rem); letter-spacing: .01em;
|
||||||
|
display: inline-block; padding: 0 0 .1rem; margin: 0 0 1.5rem;
|
||||||
|
border-bottom: 3px solid #fff;
|
||||||
|
}
|
||||||
|
.home-facts__title::after { content: none; }
|
||||||
|
.home-facts__grid { margin: 0 0 3rem; display: grid; gap: 1.75rem .75rem; }
|
||||||
|
.home-facts__grid--five { grid-template-columns: repeat(2, 1fr); }
|
||||||
|
.home-facts__grid--three { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
|
||||||
|
.fact { display: flex; flex-direction: column; align-items: center; }
|
||||||
|
.fact dd { margin: 0; }
|
||||||
|
.fact__value {
|
||||||
|
font-family: var(--fds-font); font-weight: 300; font-size: clamp(2rem, 5vw, 2.4rem);
|
||||||
|
line-height: 1; letter-spacing: -.01em; display: flex; flex-direction: column; align-items: center;
|
||||||
|
}
|
||||||
|
.fact__unit {
|
||||||
|
font-size: .7rem; font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
|
||||||
|
margin-top: .25rem; padding: 0 1.4rem .2rem; border-bottom: 2px solid #fff;
|
||||||
|
}
|
||||||
|
.fact__label, .fact__note {
|
||||||
|
font-family: var(--fds-font); text-transform: uppercase; letter-spacing: .04em;
|
||||||
|
font-size: .66rem; line-height: 1.35; max-width: 15em; margin-top: .6rem !important;
|
||||||
|
}
|
||||||
|
.fact--share .fact__value { margin-bottom: .6rem; }
|
||||||
|
.fact--share .fact__label { font-size: .72rem; border-bottom: 2px solid #fff; padding: 0 .4rem .15rem; max-width: none; margin-top: 0 !important; }
|
||||||
|
.fact--share .fact__note { font-size: .6rem; margin-top: .3rem !important; }
|
||||||
|
|
||||||
|
.home-facts__grid--five .fact:last-child { grid-column: 1 / -1; }
|
||||||
|
@media (min-width: 560px) {
|
||||||
|
.home-facts__grid--three { grid-template-columns: repeat(3, 1fr); }
|
||||||
|
}
|
||||||
|
@media (min-width: 900px) {
|
||||||
|
.home-facts__grid--five { grid-template-columns: repeat(5, 1fr); }
|
||||||
|
.home-facts__grid--five .fact:last-child { grid-column: auto; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------- Fusszeile ---------- */
|
||||||
|
.site-footer { background: var(--fds-sage); color: var(--fds-ink); margin-top: 4rem; padding: 2.5rem 0 2.5rem; }
|
||||||
|
body.home .site-footer { margin-top: 0; padding-top: 1rem; }
|
||||||
|
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 1.75rem; max-width: 1040px; margin: 0 auto; padding: 0 1.25rem; }
|
||||||
|
.footer-ctas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; width: 100%; max-width: 520px; }
|
||||||
|
.site-footer .footer-cta {
|
||||||
|
display: flex; align-items: center; gap: .6rem; min-height: 3rem; padding: .7rem .85rem;
|
||||||
|
font-family: var(--fds-font); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .02em;
|
||||||
|
text-decoration: none; color: #fff; background: var(--fds-forest);
|
||||||
|
transition: filter .2s ease, transform .2s ease;
|
||||||
|
}
|
||||||
|
.footer-cta::before { content: ''; width: 13px; height: 13px; background: #fff; flex-shrink: 0; }
|
||||||
|
.footer-cta:hover, .footer-cta:focus-visible { filter: brightness(1.08); transform: translateY(-2px); }
|
||||||
|
.site-footer .footer-cta--orange { background: var(--fds-orange); color: var(--fds-ink); }
|
||||||
|
.site-footer .footer-cta--rose { background: var(--fds-rose); color: var(--fds-forest); }
|
||||||
|
.site-footer .footer-cta--forest { background: var(--fds-forest); }
|
||||||
|
|
||||||
|
.footer-social { list-style: none; margin: 0; padding: 0; display: flex; gap: .9rem; }
|
||||||
|
.site-footer .footer-social a { display: block; color: var(--fds-ink); transition: color .2s ease; }
|
||||||
|
.footer-social a:hover, .footer-social a:focus-visible { color: #fff; }
|
||||||
|
.footer-social svg { width: 40px; height: 40px; display: block; }
|
||||||
|
|
||||||
|
.footer-legal { margin: 1.5rem 0 0; display: flex; gap: 1.5rem; }
|
||||||
|
.site-footer .footer-legal a {
|
||||||
|
font-family: var(--fds-font); font-weight: 800; text-transform: uppercase; font-size: 1.05rem;
|
||||||
|
color: var(--fds-ink); text-decoration: none; letter-spacing: .01em;
|
||||||
|
}
|
||||||
|
.footer-legal a:hover, .footer-legal a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
|
||||||
|
|
||||||
|
@media (min-width: 720px) {
|
||||||
|
.footer-ctas { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 780px; gap: 1.6rem; }
|
||||||
|
.footer-cta { font-size: .8rem; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* =====================================================================
|
||||||
|
* Innenseiten (Vorlage: docs/Input/Waldschuetzer Webseite V2.pdf)
|
||||||
|
* Alte Tokens aus main.css auf die neue Palette umbiegen, damit Formulare,
|
||||||
|
* Kacheln usw. ohne Einzelanpassung mitziehen.
|
||||||
|
* ===================================================================== */
|
||||||
|
:root {
|
||||||
|
--color-primary: var(--fds-forest);
|
||||||
|
--color-dark: var(--fds-ink);
|
||||||
|
--color-orange: var(--fds-orange);
|
||||||
|
--color-sand: var(--fds-cream);
|
||||||
|
--color-accent-light: var(--fds-sage);
|
||||||
|
--color-blue: var(--fds-slate);
|
||||||
|
--font-headline: var(--fds-font);
|
||||||
|
--font-body: var(--fds-font);
|
||||||
|
}
|
||||||
|
body { background: var(--fds-cream); color: var(--fds-ink); font-weight: 500; }
|
||||||
|
h2::after { content: none; }
|
||||||
|
a { color: var(--fds-forest); }
|
||||||
|
|
||||||
|
.page-main { padding-bottom: 2rem; }
|
||||||
|
.page-wrap { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 1.25rem; }
|
||||||
|
.page-wrap--wide { max-width: 1100px; }
|
||||||
|
|
||||||
|
.page-head { padding: 2.5rem 0 1.5rem; }
|
||||||
|
.page-head__kicker {
|
||||||
|
font-family: var(--fds-font); font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
|
||||||
|
color: var(--fds-sage); font-size: .95rem; margin: 0 0 .4rem;
|
||||||
|
}
|
||||||
|
.page-head__title {
|
||||||
|
font-family: var(--fds-font); font-weight: 800; text-transform: uppercase;
|
||||||
|
color: var(--fds-forest); font-size: clamp(2rem, 6.5vw, 3.4rem); line-height: 1; letter-spacing: .005em;
|
||||||
|
margin: 0; hyphens: auto; overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
@media (min-width: 900px) { .page-head { padding: 3.5rem 0 2rem; } }
|
||||||
|
|
||||||
|
/* Fliesstext */
|
||||||
|
.entry-content { font-size: 1.0625rem; line-height: 1.6; }
|
||||||
|
.entry-content > *:first-child { margin-top: 0; }
|
||||||
|
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 1.1em; }
|
||||||
|
.entry-content h2 {
|
||||||
|
font-size: clamp(1.7rem, 5vw, 2.6rem); line-height: 1.02; color: var(--fds-forest);
|
||||||
|
margin: 2.6rem 0 .3rem; padding: 0;
|
||||||
|
}
|
||||||
|
.entry-content h3, .entry-content h4, .entry-content .kicker {
|
||||||
|
font-family: var(--fds-font); font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
|
||||||
|
color: var(--fds-sage); font-size: 1.05rem; line-height: 1.25; margin: 2rem 0 .6rem;
|
||||||
|
}
|
||||||
|
.entry-content h2 + h3, .entry-content h2 + .kicker { margin-top: .2rem; margin-bottom: 1.1rem; }
|
||||||
|
.entry-content a { color: var(--fds-forest); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--fds-sage); }
|
||||||
|
.entry-content a:hover { text-decoration-color: var(--fds-orange); }
|
||||||
|
.entry-content strong { font-weight: 800; }
|
||||||
|
.entry-content img { height: auto; }
|
||||||
|
.entry-content figure { margin: 2rem 0; }
|
||||||
|
.entry-content figcaption { font-size: .85rem; color: var(--fds-slate); margin-top: .4rem; }
|
||||||
|
.entry-content blockquote {
|
||||||
|
margin: 2rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 6px solid var(--fds-sage);
|
||||||
|
font-weight: 600; color: var(--fds-forest);
|
||||||
|
}
|
||||||
|
.entry-content table { border-collapse: collapse; width: 100%; margin: 0 0 1.5rem; font-size: .95rem; }
|
||||||
|
.entry-content th, .entry-content td { border-bottom: 1px solid #d8d6cb; padding: .5rem .4rem; text-align: left; vertical-align: top; }
|
||||||
|
.entry-content .lead { font-weight: 800; text-transform: uppercase; font-size: .98rem; line-height: 1.45; letter-spacing: .01em; }
|
||||||
|
.entry-content .source { font-size: .75rem; color: var(--fds-slate); }
|
||||||
|
.entry-content .wide-image { margin: 2.5rem 0; }
|
||||||
|
.entry-content .wide-image img { width: 100%; aspect-ratio: 2.27 / 1; object-fit: cover; }
|
||||||
|
.entry-content .sticker { max-width: 360px; margin: 1.5rem auto 0; }
|
||||||
|
.entry-content .sticker img { width: 100%; }
|
||||||
|
|
||||||
|
/* Vollflaechiges Bild mit Text (Abschlussband) */
|
||||||
|
.cover-band { position: relative; margin: 3rem 0 1rem; color: #fff; overflow: hidden; background: var(--fds-forest); }
|
||||||
|
.cover-band img { width: 100%; height: clamp(520px, 120vw, 1100px); object-fit: cover; object-position: center 60%; display: block; filter: brightness(.88); }
|
||||||
|
.cover-band__text { position: absolute; left: 0; right: 0; top: 0; padding: 18% 1.5rem 0; }
|
||||||
|
.cover-band__text h2 { color: #fff; font-size: clamp(1.6rem, 5vw, 2.6rem); margin: 0 0 1rem; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
|
||||||
|
.cover-band__text p { font-weight: 800; text-transform: uppercase; font-size: .95rem; line-height: 1.4; margin: 0 0 .8rem; text-shadow: 0 1px 8px rgba(0,0,0,.45); max-width: 34em; }
|
||||||
|
@media (min-width: 900px) { .cover-band__text { padding: 210px 2.5rem 0; } }
|
||||||
|
|
||||||
|
/* Artikelbild, Tags, Zurueck */
|
||||||
|
.content-hero-image { margin: 0 0 2rem; border-radius: 0; box-shadow: none; }
|
||||||
|
.content-hero-image img { width: 100%; aspect-ratio: 16 / 10; max-height: 460px; object-fit: cover; }
|
||||||
|
.entry-tags { margin-top: 2rem; }
|
||||||
|
.tag-pill { background: transparent; border: 2px solid var(--fds-sage); color: var(--fds-forest); border-radius: 0; text-transform: uppercase; font-size: .75rem; letter-spacing: .04em; }
|
||||||
|
.back-link { margin: 2.5rem 0 0; }
|
||||||
|
.back-link a { font-weight: 800; text-transform: uppercase; text-decoration: none; letter-spacing: .02em; }
|
||||||
|
.back-link a:hover { color: var(--fds-orange); }
|
||||||
|
|
||||||
|
/* Aktuelles / Aktionen: Karten eckig, farbige Oberkante statt Schatten */
|
||||||
|
.news-teasers__grid { gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
|
||||||
|
.news-teaser {
|
||||||
|
border-radius: 0; box-shadow: none; background: #fff;
|
||||||
|
transition: transform .2s ease; text-decoration: none; color: var(--fds-ink);
|
||||||
|
}
|
||||||
|
.news-teaser:hover, .news-teaser:focus-visible { transform: translateY(-3px); box-shadow: none; }
|
||||||
|
.news-teaser__image { border-radius: 0; background: var(--fds-sage); }
|
||||||
|
.news-teaser__body { padding: 1.1rem 1.1rem 1.4rem; border-top: 6px solid var(--fds-forest); }
|
||||||
|
.news-teaser:nth-child(6n+2) .news-teaser__body { border-top-color: var(--fds-rose); }
|
||||||
|
.news-teaser:nth-child(6n+3) .news-teaser__body { border-top-color: var(--fds-sage); }
|
||||||
|
.news-teaser:nth-child(6n+4) .news-teaser__body { border-top-color: var(--fds-slate); }
|
||||||
|
.news-teaser:nth-child(6n+6) .news-teaser__body { border-top-color: var(--fds-orange); }
|
||||||
|
.news-teaser__date { font-weight: 800; text-transform: uppercase; font-size: .75rem; letter-spacing: .04em; color: var(--fds-sage); margin-bottom: .35rem; }
|
||||||
|
.news-teaser h2, .news-teaser h3, .news-teaser__title {
|
||||||
|
font-size: 1.2rem; line-height: 1.12; color: var(--fds-forest); margin: 0 0 .5rem; padding: 0; hyphens: auto;
|
||||||
|
}
|
||||||
|
.news-teaser__excerpt { color: #3c4540; font-weight: 500; }
|
||||||
|
.news-teaser__more {
|
||||||
|
font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .04em; color: var(--fds-forest);
|
||||||
|
background: none; padding: 0; border-radius: 0; display: inline-flex; align-items: center; gap: .45rem;
|
||||||
|
}
|
||||||
|
.news-teaser__more::before { content: ""; width: 10px; height: 10px; background: var(--fds-orange); }
|
||||||
|
.action-card__image { background: linear-gradient(160deg, var(--fds-sage), var(--fds-forest)); }
|
||||||
|
.action-card__kategorie { border-radius: 0; color: var(--fds-forest); }
|
||||||
|
.aktionen__intro { max-width: none; }
|
||||||
|
|
||||||
|
/* Seitennummerierung */
|
||||||
|
.navigation.pagination { margin: 2.5rem 0 0; }
|
||||||
|
.nav-links { display: flex; flex-wrap: wrap; gap: .4rem; }
|
||||||
|
.nav-links .page-numbers {
|
||||||
|
display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .8rem;
|
||||||
|
border: 3px solid var(--fds-forest); color: var(--fds-forest); text-decoration: none; font-weight: 800; text-transform: uppercase; font-size: .85rem;
|
||||||
|
}
|
||||||
|
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--fds-forest); color: #fff; }
|
||||||
|
.nav-links .page-numbers.dots { border-color: transparent; }
|
||||||
|
|
||||||
|
/* Formulare: eckig, ruhiger, Buttons wie Footer-CTAs */
|
||||||
|
.simple-form, .member-form__body { border-radius: 0; box-shadow: none; border-top: 6px solid var(--fds-forest); background: #fff; }
|
||||||
|
.simple-form--accent { border-top-color: var(--fds-sage); }
|
||||||
|
.simple-form--orange { border-top-color: var(--fds-orange); }
|
||||||
|
.member-form__tab { border-radius: 0; background: #e2e0d6; font-weight: 800; }
|
||||||
|
.member-form__tab:hover { background: #d4d2c6; }
|
||||||
|
.member-form__tab[data-panel="2"].is-active { color: #fff; }
|
||||||
|
.member-form__tab[data-panel="4"].is-active { color: var(--fds-ink); }
|
||||||
|
.simple-form input[type="text"], .simple-form input[type="email"], .simple-form textarea,
|
||||||
|
.member-form__panel input[type="text"], .member-form__panel input[type="email"], .member-form__panel input[type="tel"],
|
||||||
|
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
|
||||||
|
border-radius: 0; border: 2px solid #cfcdc1; background: var(--fds-cream); font-weight: 500;
|
||||||
|
}
|
||||||
|
.simple-form input[type="submit"], .member-form__nav-btn, .member-form__panel input[type="submit"] { border-radius: 0; font-weight: 800; }
|
||||||
|
.wpcf7 input[type="submit"] { background: var(--fds-forest); color: #fff; border: 0; border-radius: 0; padding: .85rem 1.6rem; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; font-family: var(--fds-font); font-weight: 800; }
|
||||||
|
.wpcf7 input[type="submit"]:hover { background: var(--fds-ink); }
|
||||||
|
.simple-form input:focus-visible, .simple-form textarea:focus-visible, .member-form__panel input:focus-visible { outline-color: var(--fds-orange); }
|
||||||
|
|
||||||
|
.fds-lightbox { background: rgba(20, 36, 28, .94); }
|
||||||
|
.fds-lightbox img { border-radius: 0; }
|
||||||
|
.news-teaser--text { background: #fff; border: 0; border-top: 0; }
|
||||||
|
.news-teaser--text .news-teaser__body { padding-top: 1.6rem; }
|
||||||
|
.news-teaser--text .news-teaser__title { font-size: 1.45rem; }
|
||||||
|
|
||||||
|
/* Altinhalte: lange URLs umbrechen, eingebettete Karten/Videos nicht breiter als die Spalte */
|
||||||
|
.entry-content { overflow-wrap: break-word; }
|
||||||
|
.entry-content a { overflow-wrap: anywhere; }
|
||||||
|
.entry-content iframe, .entry-content video, .entry-content embed, .entry-content object { max-width: 100%; }
|
||||||
|
.entry-content iframe[width] { width: 100%; }
|
||||||
|
.entry-content table { display: block; overflow-x: auto; }
|
||||||
|
|
@ -0,0 +1,207 @@
|
||||||
|
/* vietnamese */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/d3b0bc19cee1db0087457276a11ca4b7.woff2) format('woff2');
|
||||||
|
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/93cdc0746f75f42e65646cdad28fbcaf.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/b576192ef398e162ced9676529ad995e.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* vietnamese */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/3fdb22191424a260793ee1617dc64348.woff2) format('woff2');
|
||||||
|
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/aaa351bc6479dba48533e496ebf0cc05.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/f60870fcb2a300443eb47242c540ddfe.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* vietnamese */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 800;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/4c2f99d8c4ffb82cd7a5c4729c665617.woff2) format('woff2');
|
||||||
|
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 800;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/dc56a708306b4ec5c855db89129fed6e.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 800;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/7f84396d136c08d2218f7cf1479b06b3.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* cyrillic-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/ca36464348e72577d4c08f00b8c56775.woff2) format('woff2');
|
||||||
|
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||||||
|
}
|
||||||
|
/* cyrillic */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/7302637afaa69bc1da98d026d62d32c2.woff2) format('woff2');
|
||||||
|
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||||
|
}
|
||||||
|
/* greek-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/6cbc541b4b08064ac68749c0080e9293.woff2) format('woff2');
|
||||||
|
unicode-range: U+1F00-1FFF;
|
||||||
|
}
|
||||||
|
/* greek */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/70e287d226c38e1fc90d7b5566756759.woff2) format('woff2');
|
||||||
|
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
||||||
|
}
|
||||||
|
/* vietnamese */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/17cf42ba5706f26f884a399cdf77b68b.woff2) format('woff2');
|
||||||
|
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/e951cef8dc511228a53fc2237f4990c2.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/29afb636f90bfdc75b1272b50256836b.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* cyrillic-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/ca36464348e72577d4c08f00b8c56775.woff2) format('woff2');
|
||||||
|
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||||||
|
}
|
||||||
|
/* cyrillic */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/7302637afaa69bc1da98d026d62d32c2.woff2) format('woff2');
|
||||||
|
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||||
|
}
|
||||||
|
/* greek-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/6cbc541b4b08064ac68749c0080e9293.woff2) format('woff2');
|
||||||
|
unicode-range: U+1F00-1FFF;
|
||||||
|
}
|
||||||
|
/* greek */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/70e287d226c38e1fc90d7b5566756759.woff2) format('woff2');
|
||||||
|
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
||||||
|
}
|
||||||
|
/* vietnamese */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/17cf42ba5706f26f884a399cdf77b68b.woff2) format('woff2');
|
||||||
|
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/e951cef8dc511228a53fc2237f4990c2.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(../fonts/29afb636f90bfdc75b1272b50256836b.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,573 @@
|
||||||
|
@import url('fonts.css');
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--color-primary: #4C7A2A;
|
||||||
|
--color-accent-light: #8BC34A;
|
||||||
|
--color-dark: #23301C;
|
||||||
|
--color-orange: #E08A1E;
|
||||||
|
--color-sand: #F5F1E6;
|
||||||
|
--color-blue: #2D6E75;
|
||||||
|
--font-headline: 'Barlow Condensed', Arial Narrow, sans-serif;
|
||||||
|
--font-body: 'Source Sans 3', Arial, sans-serif;
|
||||||
|
--space-1: 0.5rem;
|
||||||
|
--space-2: 1rem;
|
||||||
|
--space-3: 2rem;
|
||||||
|
--space-4: 4rem;
|
||||||
|
--radius-circle: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
*, *::before, *::after { box-sizing: border-box; }
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
font-family: var(--font-body);
|
||||||
|
color: var(--color-dark);
|
||||||
|
background: var(--color-sand);
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
h1, h2, h3, h4 {
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 800;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
color: var(--color-primary);
|
||||||
|
line-height: 1.1;
|
||||||
|
margin: 0 0 var(--space-2);
|
||||||
|
}
|
||||||
|
h2 { padding-bottom: var(--space-1); position: relative; }
|
||||||
|
h2::after {
|
||||||
|
content: '';
|
||||||
|
display: block;
|
||||||
|
width: 56px;
|
||||||
|
height: 4px;
|
||||||
|
margin-top: var(--space-1);
|
||||||
|
background: var(--color-orange);
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
a { color: var(--color-primary); }
|
||||||
|
.container {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 1200px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 0 var(--space-2);
|
||||||
|
}
|
||||||
|
img { max-width: 100%; height: auto; display: block; }
|
||||||
|
|
||||||
|
.circle-crop {
|
||||||
|
border-radius: var(--radius-circle);
|
||||||
|
overflow: hidden;
|
||||||
|
aspect-ratio: 1 / 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.circle-badge {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 2.5rem;
|
||||||
|
height: 2.5rem;
|
||||||
|
border-radius: var(--radius-circle);
|
||||||
|
background: var(--color-blue);
|
||||||
|
color: #fff;
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Barrierefreiheit: sichtbarer Fokus, reduzierte Bewegung respektieren */
|
||||||
|
a:focus-visible,
|
||||||
|
button:focus-visible,
|
||||||
|
input:focus-visible,
|
||||||
|
textarea:focus-visible {
|
||||||
|
outline: 3px solid var(--color-orange);
|
||||||
|
outline-offset: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
*, *::before, *::after {
|
||||||
|
animation-duration: 0.001ms !important;
|
||||||
|
animation-iteration-count: 1 !important;
|
||||||
|
transition-duration: 0.001ms !important;
|
||||||
|
scroll-behavior: auto !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-header { background: var(--color-primary); position: sticky; top: 0; z-index: 10; }
|
||||||
|
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: var(--space-1) var(--space-2); }
|
||||||
|
.site-logo { display: block; color: #fff; text-decoration: none; font-family: var(--font-headline); text-transform: uppercase; font-weight: 800; font-size: 1.25rem; }
|
||||||
|
.site-logo img { max-height: 56px; width: auto; display: block; }
|
||||||
|
.menu-toggle { display: block; background: none; border: 0; cursor: pointer; padding: var(--space-1); }
|
||||||
|
.menu-toggle span { display: block; width: 24px; height: 3px; background: #fff; margin: 4px 0; }
|
||||||
|
.main-nav { display: none; width: 100%; }
|
||||||
|
.main-nav.is-open { display: block; }
|
||||||
|
.main-nav ul { list-style: none; margin: 0; padding: var(--space-2) 0; }
|
||||||
|
.main-nav a { display: block; padding: var(--space-1) 0; color: #fff; text-decoration: none; font-family: var(--font-headline); text-transform: uppercase; }
|
||||||
|
|
||||||
|
@media (min-width: 900px) {
|
||||||
|
.menu-toggle { display: none; }
|
||||||
|
.main-nav { display: block; width: auto; }
|
||||||
|
.main-nav ul { display: flex; gap: var(--space-3); padding: 0; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-footer { background: var(--color-dark); color: #fff; margin-top: var(--space-4); padding: var(--space-4) 0 var(--space-2); }
|
||||||
|
.site-footer__inner { display: grid; gap: var(--space-3); }
|
||||||
|
.site-footer a { color: var(--color-accent-light); }
|
||||||
|
.site-footer__copy { opacity: 0.7; font-size: 0.875rem; }
|
||||||
|
|
||||||
|
@media (min-width: 900px) {
|
||||||
|
.site-footer__inner { grid-template-columns: 2fr 2fr 1fr; align-items: start; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero { position: relative; background: linear-gradient(160deg, var(--color-primary), var(--color-dark)); color: #fff; padding: var(--space-4) 0 calc(var(--space-4) + 40px); text-align: center; }
|
||||||
|
.hero--photo { background-size: cover; background-position: center; }
|
||||||
|
.hero__title { color: #fff; font-size: clamp(2.5rem, 6vw, 4rem); }
|
||||||
|
.hero__claim { font-size: 1.25rem; font-style: italic; }
|
||||||
|
.hero__wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; display: block; }
|
||||||
|
|
||||||
|
/* Foto-Mosaik "Aktiv im Spessart" */
|
||||||
|
.photo-mosaic { padding: var(--space-4) 0 var(--space-2); }
|
||||||
|
.photo-mosaic__grid { display: grid; gap: var(--space-2); grid-template-columns: repeat(2, 1fr); }
|
||||||
|
.photo-mosaic__tile {
|
||||||
|
position: relative;
|
||||||
|
display: block;
|
||||||
|
aspect-ratio: 4 / 3;
|
||||||
|
border-radius: 10px;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 0 4px 14px rgba(35, 48, 23, 0.18);
|
||||||
|
transition: transform 0.25s ease, box-shadow 0.25s ease;
|
||||||
|
}
|
||||||
|
.photo-mosaic__tile:hover,
|
||||||
|
.photo-mosaic__tile:focus-visible {
|
||||||
|
transform: translateY(-4px) scale(1.02);
|
||||||
|
box-shadow: 0 10px 24px rgba(35, 48, 23, 0.28);
|
||||||
|
}
|
||||||
|
.photo-mosaic__tile img {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
transition: transform 0.4s ease;
|
||||||
|
}
|
||||||
|
.photo-mosaic__tile:hover img,
|
||||||
|
.photo-mosaic__tile:focus-visible img { transform: scale(1.06); }
|
||||||
|
.photo-mosaic__tile::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
background: linear-gradient(0deg, rgba(20, 28, 13, 0.85) 0%, rgba(20, 28, 13, 0.05) 55%);
|
||||||
|
}
|
||||||
|
.photo-mosaic__caption {
|
||||||
|
position: absolute;
|
||||||
|
left: var(--space-2);
|
||||||
|
right: var(--space-2);
|
||||||
|
bottom: var(--space-2);
|
||||||
|
z-index: 1;
|
||||||
|
color: #fff;
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 800;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
font-size: 1.15rem;
|
||||||
|
line-height: 1.15;
|
||||||
|
text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 700px) {
|
||||||
|
.photo-mosaic__grid { grid-template-columns: repeat(4, 1fr); }
|
||||||
|
.photo-mosaic__tile { aspect-ratio: 3 / 4; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.news-teasers { padding: var(--space-4) 0; }
|
||||||
|
.news-teasers__grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
|
||||||
|
|
||||||
|
.news-teaser {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--color-dark);
|
||||||
|
background: #fff;
|
||||||
|
border-radius: 10px;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 0 2px 10px rgba(35, 48, 23, 0.1);
|
||||||
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||||
|
}
|
||||||
|
.news-teaser:hover,
|
||||||
|
.news-teaser:focus-visible {
|
||||||
|
transform: translateY(-3px);
|
||||||
|
box-shadow: 0 8px 20px rgba(35, 48, 23, 0.16);
|
||||||
|
}
|
||||||
|
.news-teaser__image {
|
||||||
|
aspect-ratio: 16 / 10;
|
||||||
|
background: var(--color-accent-light);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.news-teaser__image img { width: 100%; height: 100%; object-fit: cover; }
|
||||||
|
.news-teaser__body { padding: var(--space-2) var(--space-2) var(--space-3); text-align: left; flex-grow: 1; display: flex; flex-direction: column; }
|
||||||
|
.news-teaser h3 { font-size: 1.25rem; margin-bottom: var(--space-1); }
|
||||||
|
.news-teaser__excerpt { color: #4a4a4a; font-size: 0.95rem; margin: 0 0 var(--space-2); flex-grow: 1; }
|
||||||
|
.news-teaser__more {
|
||||||
|
color: var(--color-orange);
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.03em;
|
||||||
|
font-size: 0.95rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Text-only Kachel-Variante (kein Bild vorhanden, z.B. Fachartikel-/PDF-Links).
|
||||||
|
Wird in Seiteninhalten (post_content) verwendet, die durch wpautop laufen --
|
||||||
|
wpautop zerlegt <a> um <div>-Inhalte, daher hier <div> als Kachel-Wurzel mit
|
||||||
|
einem unsichtbaren "Stretched Link" statt eines umschliessenden <a>. */
|
||||||
|
.news-teaser--text {
|
||||||
|
position: relative;
|
||||||
|
border-top: 4px solid var(--color-accent-light);
|
||||||
|
}
|
||||||
|
.news-teaser--text .news-teaser__body { padding-top: var(--space-3); }
|
||||||
|
.news-teaser__stretched-link { position: absolute; inset: 0; z-index: 1; }
|
||||||
|
|
||||||
|
.content-main .news-teasers__grid,
|
||||||
|
.content-main--wide .news-teasers__grid { margin: var(--space-2) 0 var(--space-4); }
|
||||||
|
|
||||||
|
.content-layout { display: grid; gap: var(--space-3); padding: var(--space-2) 0 var(--space-4); }
|
||||||
|
.content-main--wide { grid-column: 1 / -1; }
|
||||||
|
.content-hero-image { border-radius: 12px; overflow: hidden; margin-bottom: var(--space-3); box-shadow: 0 6px 18px rgba(35, 48, 23, 0.16); }
|
||||||
|
.entry-tags { margin-top: var(--space-3); display: flex; gap: var(--space-1); flex-wrap: wrap; }
|
||||||
|
.tag-pill { background: var(--color-accent-light); color: var(--color-dark); padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.875rem; font-weight: 700; }
|
||||||
|
.content-sidebar { display: flex; flex-direction: column; gap: var(--space-3); }
|
||||||
|
|
||||||
|
.sidebar-widget { background: #fff; padding: var(--space-3); border-radius: 12px; border-top: 4px solid var(--color-orange); box-shadow: 0 2px 10px rgba(35, 48, 23, 0.08); }
|
||||||
|
.sidebar-widget h2 { font-size: 1.25rem; }
|
||||||
|
.sidebar-widget ul { list-style: none; margin: 0; padding: 0; }
|
||||||
|
.sidebar-widget li { border-bottom: 1px solid var(--color-sand); }
|
||||||
|
.sidebar-widget li:last-child { border-bottom: none; }
|
||||||
|
.sidebar-widget a { display: block; padding: 0.6rem 0; font-weight: 600; }
|
||||||
|
|
||||||
|
.sidebar-widget--contact { border-top-color: var(--color-blue); }
|
||||||
|
.sidebar-widget__intro { color: #4a4a4a; font-size: 0.95rem; margin-top: 0; }
|
||||||
|
.sidebar-widget--contact form { display: flex; flex-direction: column; gap: var(--space-2); }
|
||||||
|
.sidebar-widget--contact label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; }
|
||||||
|
.sidebar-widget--contact input[type="text"],
|
||||||
|
.sidebar-widget--contact input[type="email"],
|
||||||
|
.sidebar-widget--contact textarea {
|
||||||
|
width: 100%;
|
||||||
|
font: inherit;
|
||||||
|
padding: 0.6rem 0.7rem;
|
||||||
|
border: 1px solid #cfc8b8;
|
||||||
|
border-radius: 6px;
|
||||||
|
background: var(--color-sand);
|
||||||
|
}
|
||||||
|
.sidebar-widget--contact input:focus-visible,
|
||||||
|
.sidebar-widget--contact textarea:focus-visible {
|
||||||
|
outline: 3px solid var(--color-blue);
|
||||||
|
outline-offset: 1px;
|
||||||
|
}
|
||||||
|
.sidebar-widget--contact textarea { min-height: 100px; resize: vertical; }
|
||||||
|
.sidebar-widget--contact input[type="submit"] {
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.03em;
|
||||||
|
background: var(--color-blue);
|
||||||
|
color: #fff;
|
||||||
|
border: 0;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 0.7rem 1rem;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 0.2s ease;
|
||||||
|
}
|
||||||
|
.sidebar-widget--contact input[type="submit"]:hover { background: var(--color-dark); }
|
||||||
|
.sidebar-widget--contact .wpcf7-not-valid-tip { color: #c0392b; font-size: 0.85rem; margin-top: 0.2rem; }
|
||||||
|
.sidebar-widget--contact .wpcf7-response-output { border-radius: 6px; font-size: 0.9rem; margin: var(--space-2) 0 0; }
|
||||||
|
|
||||||
|
.cta-badges { display: flex; flex-direction: column; gap: var(--space-2); }
|
||||||
|
.cta-badge {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: var(--space-2);
|
||||||
|
padding: var(--space-2);
|
||||||
|
border-radius: 10px;
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
box-shadow: 0 2px 8px rgba(35, 48, 23, 0.12);
|
||||||
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||||
|
}
|
||||||
|
.cta-badge:hover,
|
||||||
|
.cta-badge:focus-visible {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 6px 16px rgba(35, 48, 23, 0.2);
|
||||||
|
}
|
||||||
|
.cta-badge__icon {
|
||||||
|
flex-shrink: 0;
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.cta-badge__icon svg { width: 24px; height: 24px; }
|
||||||
|
.cta-badge__text { display: flex; flex-direction: column; font-size: 0.9rem; line-height: 1.3; }
|
||||||
|
.cta-badge__text strong { font-family: var(--font-headline); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.02em; }
|
||||||
|
.cta-badge--orange { background: var(--color-orange); }
|
||||||
|
.cta-badge--accent { background: var(--color-accent-light); color: var(--color-dark); }
|
||||||
|
.cta-badge--accent .cta-badge__icon svg path,
|
||||||
|
.cta-badge--accent .cta-badge__icon svg circle { stroke: var(--color-dark); }
|
||||||
|
.cta-badge--primary { background: var(--color-primary); }
|
||||||
|
.cta-badge--blue { background: var(--color-blue); }
|
||||||
|
.cta-badge--dark { background: var(--color-dark); }
|
||||||
|
|
||||||
|
@media (min-width: 900px) {
|
||||||
|
.content-layout { grid-template-columns: 3fr 1fr; align-items: start; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Einheitliche Kopfzeile fuer Innenseiten (Archiv, Artikel, Standardseiten) */
|
||||||
|
.page-header {
|
||||||
|
background: linear-gradient(160deg, var(--color-primary), var(--color-dark));
|
||||||
|
padding: var(--space-3) 0;
|
||||||
|
margin-bottom: var(--space-1);
|
||||||
|
}
|
||||||
|
.page-header h1 {
|
||||||
|
color: #fff;
|
||||||
|
margin: 0;
|
||||||
|
padding-bottom: var(--space-1);
|
||||||
|
}
|
||||||
|
.page-header h1::after {
|
||||||
|
content: '';
|
||||||
|
display: block;
|
||||||
|
width: 56px;
|
||||||
|
height: 4px;
|
||||||
|
margin-top: var(--space-1);
|
||||||
|
background: var(--color-orange);
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Bild-Lightbox fuer Artikelinhalte */
|
||||||
|
.entry-content img.is-zoomable { cursor: zoom-in; }
|
||||||
|
|
||||||
|
.fds-lightbox {
|
||||||
|
position: fixed;
|
||||||
|
inset: 0;
|
||||||
|
background: rgba(35, 48, 23, 0.92);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: var(--space-3);
|
||||||
|
z-index: 1000;
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
transition: opacity 0.2s ease;
|
||||||
|
}
|
||||||
|
.fds-lightbox.is-open { opacity: 1; visibility: visible; }
|
||||||
|
.fds-lightbox img {
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 90vh;
|
||||||
|
border-radius: 6px;
|
||||||
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.fds-lightbox__close {
|
||||||
|
position: absolute;
|
||||||
|
top: var(--space-2);
|
||||||
|
right: var(--space-2);
|
||||||
|
width: 44px;
|
||||||
|
height: 44px;
|
||||||
|
border-radius: var(--radius-circle);
|
||||||
|
background: transparent;
|
||||||
|
border: 2px solid #fff;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 1.75rem;
|
||||||
|
line-height: 1;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.fds-lightbox__close:hover { background: rgba(255, 255, 255, 0.15); }
|
||||||
|
|
||||||
|
/* Mitgliedsantrag-Formular (Beitrittsformular-Seite) <20> Tab-Assistent */
|
||||||
|
.member-form { max-width: 640px; margin: var(--space-3) 0; }
|
||||||
|
|
||||||
|
.member-form__tabs { display: flex; flex-wrap: wrap; gap: 0.3rem; }
|
||||||
|
.member-form__tab {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
font-size: 0.95rem;
|
||||||
|
padding: 0.7rem 0.6rem;
|
||||||
|
border: 0;
|
||||||
|
border-radius: 8px 8px 0 0;
|
||||||
|
background: #cfc8b8;
|
||||||
|
color: var(--color-dark);
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 0.2s ease, color 0.2s ease;
|
||||||
|
}
|
||||||
|
.member-form__tab:hover { background: #bfb7a2; }
|
||||||
|
.member-form__tab[data-panel="1"].is-active { background: var(--color-primary); color: #fff; }
|
||||||
|
.member-form__tab[data-panel="2"].is-active { background: var(--color-accent-light); color: var(--color-dark); }
|
||||||
|
.member-form__tab[data-panel="3"].is-active { background: var(--color-blue); color: #fff; }
|
||||||
|
.member-form__tab[data-panel="4"].is-active { background: var(--color-orange); color: #fff; }
|
||||||
|
|
||||||
|
.member-form__body { background: #fff; padding: var(--space-3) var(--space-3) var(--space-2); border-radius: 0 0 8px 8px; box-shadow: 0 2px 10px rgba(35, 48, 23, 0.08); }
|
||||||
|
.member-form__panel { display: none; }
|
||||||
|
.member-form__panel.is-active { display: block; }
|
||||||
|
.member-form__panel p { margin: 0 0 var(--space-2); }
|
||||||
|
.member-form__panel label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
|
||||||
|
.member-form__panel label .wpcf7-form-control-wrap { display: block; }
|
||||||
|
.member-form__panel input[type="text"],
|
||||||
|
.member-form__panel input[type="email"],
|
||||||
|
.member-form__panel input[type="tel"] {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 420px;
|
||||||
|
font: inherit;
|
||||||
|
padding: 0.6rem 0.7rem;
|
||||||
|
border: 1px solid #cfc8b8;
|
||||||
|
border-radius: 6px;
|
||||||
|
background: var(--color-sand);
|
||||||
|
}
|
||||||
|
.member-form__panel input:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 1px; }
|
||||||
|
.member-form__hint { color: #4a4a4a; font-size: 0.9rem; }
|
||||||
|
.member-form__panel .wpcf7-list-item { display: block; margin: 0.5rem 0 0; }
|
||||||
|
.member-form__panel .wpcf7-list-item label { display: flex; align-items: flex-start; gap: 0.5rem; font-weight: 400; }
|
||||||
|
.member-form__panel .wpcf7-list-item input { margin-top: 0.2rem; flex-shrink: 0; }
|
||||||
|
.member-form__panel .wpcf7-not-valid-tip { color: #c0392b; font-size: 0.85rem; margin-top: 0.2rem; }
|
||||||
|
.member-form__panel .wpcf7-response-output { border-radius: 6px; font-size: 0.9rem; }
|
||||||
|
|
||||||
|
.member-form__nav { display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-2); }
|
||||||
|
.member-form__nav-btn,
|
||||||
|
.member-form__panel input[type="submit"] {
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.03em;
|
||||||
|
font-size: 0.95rem;
|
||||||
|
border: 0;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 0.8rem 1.6rem;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 0.2s ease;
|
||||||
|
}
|
||||||
|
.member-form__nav-btn--next,
|
||||||
|
.member-form__panel input[type="submit"] { background: var(--color-primary); color: #fff; margin-left: auto; }
|
||||||
|
.member-form__nav-btn--next:hover,
|
||||||
|
.member-form__panel input[type="submit"]:hover { background: var(--color-dark); }
|
||||||
|
.member-form__nav-btn--back { background: var(--color-sand); color: var(--color-dark); border: 1px solid #cfc8b8; }
|
||||||
|
.member-form__nav-btn--back:hover { background: #ece5d3; }
|
||||||
|
|
||||||
|
/* Einfache einteilige Formulare (Aktiv werden, Spendenbescheinigung) */
|
||||||
|
.simple-form {
|
||||||
|
max-width: 480px;
|
||||||
|
margin: var(--space-3) 0;
|
||||||
|
background: #fff;
|
||||||
|
padding: var(--space-3);
|
||||||
|
border-radius: 12px;
|
||||||
|
box-shadow: 0 2px 10px rgba(35, 48, 23, 0.08);
|
||||||
|
border-top: 4px solid var(--color-primary);
|
||||||
|
}
|
||||||
|
.simple-form--accent { border-top-color: var(--color-accent-light); }
|
||||||
|
.simple-form--orange { border-top-color: var(--color-orange); }
|
||||||
|
.simple-form p { margin: 0 0 var(--space-2); }
|
||||||
|
.simple-form label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
|
||||||
|
.simple-form .wpcf7-form-control-wrap { display: block; }
|
||||||
|
.simple-form input[type="text"],
|
||||||
|
.simple-form input[type="email"],
|
||||||
|
.simple-form textarea {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 420px;
|
||||||
|
font: inherit;
|
||||||
|
padding: 0.6rem 0.7rem;
|
||||||
|
border: 1px solid #cfc8b8;
|
||||||
|
border-radius: 6px;
|
||||||
|
background: var(--color-sand);
|
||||||
|
}
|
||||||
|
.simple-form textarea { min-height: 100px; resize: vertical; }
|
||||||
|
.simple-form input:focus-visible,
|
||||||
|
.simple-form textarea:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 1px; }
|
||||||
|
.simple-form .wpcf7-list-item { display: block; margin: 0.5rem 0 0; }
|
||||||
|
.simple-form .wpcf7-list-item label { display: flex; align-items: flex-start; gap: 0.5rem; font-weight: 400; }
|
||||||
|
.simple-form .wpcf7-list-item input { margin-top: 0.2rem; flex-shrink: 0; }
|
||||||
|
.simple-form input[type="submit"] {
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.03em;
|
||||||
|
background: var(--color-primary);
|
||||||
|
color: #fff;
|
||||||
|
border: 0;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 0.8rem 1.6rem;
|
||||||
|
cursor: pointer;
|
||||||
|
margin-top: var(--space-2);
|
||||||
|
transition: background 0.2s ease;
|
||||||
|
}
|
||||||
|
.simple-form input[type="submit"]:hover { background: var(--color-dark); }
|
||||||
|
.simple-form .wpcf7-not-valid-tip { color: #c0392b; font-size: 0.85rem; margin-top: 0.2rem; }
|
||||||
|
.simple-form .wpcf7-response-output { border-radius: 6px; font-size: 0.9rem; }
|
||||||
|
|
||||||
|
/* Aktionen-Uebersicht (Kachelraster nach BN-Schema, aktuell Platzhalter-Geruest).
|
||||||
|
Erbt Layout/Karten-Optik von .news-teaser / .news-teasers__grid. */
|
||||||
|
.aktionen__intro { max-width: 70ch; margin-bottom: var(--space-3); }
|
||||||
|
.aktionen__grid { margin-top: var(--space-2); }
|
||||||
|
|
||||||
|
/* Zweispaltiges Layout: linke Spalte (section-nav.php: Navigation +
|
||||||
|
CTA-Badges) + Inhalt. Auf allen Innenseiten im Einsatz. */
|
||||||
|
.content-layout--nav-left { grid-template-columns: 1fr; }
|
||||||
|
|
||||||
|
@media (min-width: 900px) {
|
||||||
|
.content-layout--nav-left { grid-template-columns: minmax(220px, 260px) 1fr; align-items: start; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mobil: Inhalt zuerst, linke Spalte (CTA-Badges) darunter. */
|
||||||
|
@media (max-width: 899px) {
|
||||||
|
.content-layout--nav-left > .content-main { order: 1; }
|
||||||
|
.content-layout--nav-left > .content-sidebar--left { order: 2; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Vertikale Bereichsnavigation innerhalb der linken Spalte. Auf Mobil
|
||||||
|
ausgeblendet -- dort fuehrt das Hamburger-Menue im Header durch die Seite. */
|
||||||
|
.section-nav { display: none; }
|
||||||
|
|
||||||
|
@media (min-width: 900px) {
|
||||||
|
.section-nav { display: block; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.section-nav ul { list-style: none; margin: 0; padding: 0; }
|
||||||
|
.section-nav li { border-top: 2px solid #d9d2c0; }
|
||||||
|
.section-nav li:last-child { border-bottom: 2px solid #d9d2c0; }
|
||||||
|
.section-nav a {
|
||||||
|
display: block;
|
||||||
|
padding: 0.55rem 0;
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 800;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
line-height: 1.1;
|
||||||
|
color: var(--color-primary);
|
||||||
|
text-decoration: none;
|
||||||
|
transition: color 0.15s ease;
|
||||||
|
hyphens: auto;
|
||||||
|
}
|
||||||
|
.section-nav a:hover { color: var(--color-dark); }
|
||||||
|
.section-nav .current-menu-item > a,
|
||||||
|
.section-nav .current_page_item > a { color: var(--color-orange); }
|
||||||
|
|
||||||
|
.action-card { position: relative; }
|
||||||
|
.action-card.news-teaser:hover {
|
||||||
|
transform: translateY(-3px);
|
||||||
|
box-shadow: 0 8px 20px rgba(35, 48, 23, 0.16);
|
||||||
|
}
|
||||||
|
.action-card__image {
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-end;
|
||||||
|
background: linear-gradient(160deg, var(--color-accent-light), var(--color-primary));
|
||||||
|
}
|
||||||
|
.action-card__kategorie {
|
||||||
|
margin: var(--space-2);
|
||||||
|
padding: 0.25rem 0.75rem;
|
||||||
|
border-radius: 999px;
|
||||||
|
background: rgba(255, 255, 255, 0.92);
|
||||||
|
color: var(--color-primary);
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.03em;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,500 @@
|
||||||
|
@import url('fonts.css');
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--color-primary: #4C7A2A;
|
||||||
|
--color-accent-light: #8BC34A;
|
||||||
|
--color-dark: #23301C;
|
||||||
|
--color-orange: #E08A1E;
|
||||||
|
--color-sand: #F5F1E6;
|
||||||
|
--color-blue: #2D6E75;
|
||||||
|
--font-headline: 'Barlow Condensed', Arial Narrow, sans-serif;
|
||||||
|
--font-body: 'Source Sans 3', Arial, sans-serif;
|
||||||
|
--space-1: 0.5rem;
|
||||||
|
--space-2: 1rem;
|
||||||
|
--space-3: 2rem;
|
||||||
|
--space-4: 4rem;
|
||||||
|
--radius-circle: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
*, *::before, *::after { box-sizing: border-box; }
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
font-family: var(--font-body);
|
||||||
|
color: var(--color-dark);
|
||||||
|
background: var(--color-sand);
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
h1, h2, h3, h4 {
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 800;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
color: var(--color-primary);
|
||||||
|
line-height: 1.1;
|
||||||
|
margin: 0 0 var(--space-2);
|
||||||
|
}
|
||||||
|
h2 { padding-bottom: var(--space-1); position: relative; }
|
||||||
|
h2::after {
|
||||||
|
content: '';
|
||||||
|
display: block;
|
||||||
|
width: 56px;
|
||||||
|
height: 4px;
|
||||||
|
margin-top: var(--space-1);
|
||||||
|
background: var(--color-orange);
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
a { color: var(--color-primary); }
|
||||||
|
.container {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 1200px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 0 var(--space-2);
|
||||||
|
}
|
||||||
|
img { max-width: 100%; height: auto; display: block; }
|
||||||
|
|
||||||
|
.circle-crop {
|
||||||
|
border-radius: var(--radius-circle);
|
||||||
|
overflow: hidden;
|
||||||
|
aspect-ratio: 1 / 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.circle-badge {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 2.5rem;
|
||||||
|
height: 2.5rem;
|
||||||
|
border-radius: var(--radius-circle);
|
||||||
|
background: var(--color-blue);
|
||||||
|
color: #fff;
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Barrierefreiheit: sichtbarer Fokus, reduzierte Bewegung respektieren */
|
||||||
|
a:focus-visible,
|
||||||
|
button:focus-visible,
|
||||||
|
input:focus-visible,
|
||||||
|
textarea:focus-visible {
|
||||||
|
outline: 3px solid var(--color-orange);
|
||||||
|
outline-offset: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
*, *::before, *::after {
|
||||||
|
animation-duration: 0.001ms !important;
|
||||||
|
animation-iteration-count: 1 !important;
|
||||||
|
transition-duration: 0.001ms !important;
|
||||||
|
scroll-behavior: auto !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-header { background: var(--color-primary); position: sticky; top: 0; z-index: 10; }
|
||||||
|
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: var(--space-1) var(--space-2); }
|
||||||
|
.site-logo { display: block; color: #fff; text-decoration: none; font-family: var(--font-headline); text-transform: uppercase; font-weight: 800; font-size: 1.25rem; }
|
||||||
|
.site-logo img { max-height: 56px; width: auto; display: block; }
|
||||||
|
.menu-toggle { display: block; background: none; border: 0; cursor: pointer; padding: var(--space-1); }
|
||||||
|
.menu-toggle span { display: block; width: 24px; height: 3px; background: #fff; margin: 4px 0; }
|
||||||
|
.main-nav { display: none; width: 100%; }
|
||||||
|
.main-nav.is-open { display: block; }
|
||||||
|
.main-nav ul { list-style: none; margin: 0; padding: var(--space-2) 0; }
|
||||||
|
.main-nav a { display: block; padding: var(--space-1) 0; color: #fff; text-decoration: none; font-family: var(--font-headline); text-transform: uppercase; }
|
||||||
|
|
||||||
|
@media (min-width: 900px) {
|
||||||
|
.menu-toggle { display: none; }
|
||||||
|
.main-nav { display: block; width: auto; }
|
||||||
|
.main-nav ul { display: flex; gap: var(--space-3); padding: 0; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-footer { background: var(--color-dark); color: #fff; margin-top: var(--space-4); padding: var(--space-4) 0 var(--space-2); }
|
||||||
|
.site-footer__inner { display: grid; gap: var(--space-3); }
|
||||||
|
.site-footer a { color: var(--color-accent-light); }
|
||||||
|
.site-footer__copy { opacity: 0.7; font-size: 0.875rem; }
|
||||||
|
|
||||||
|
@media (min-width: 900px) {
|
||||||
|
.site-footer__inner { grid-template-columns: 2fr 2fr 1fr; align-items: start; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero { position: relative; background: linear-gradient(160deg, var(--color-primary), var(--color-dark)); color: #fff; padding: var(--space-4) 0 calc(var(--space-4) + 40px); text-align: center; }
|
||||||
|
.hero--photo { background-size: cover; background-position: center; }
|
||||||
|
.hero__title { color: #fff; font-size: clamp(2.5rem, 6vw, 4rem); }
|
||||||
|
.hero__claim { font-size: 1.25rem; font-style: italic; }
|
||||||
|
.hero__wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; display: block; }
|
||||||
|
|
||||||
|
/* Foto-Mosaik "Aktiv im Spessart" */
|
||||||
|
.photo-mosaic { padding: var(--space-4) 0 var(--space-2); }
|
||||||
|
.photo-mosaic__grid { display: grid; gap: var(--space-2); grid-template-columns: repeat(2, 1fr); }
|
||||||
|
.photo-mosaic__tile {
|
||||||
|
position: relative;
|
||||||
|
display: block;
|
||||||
|
aspect-ratio: 4 / 3;
|
||||||
|
border-radius: 10px;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 0 4px 14px rgba(35, 48, 23, 0.18);
|
||||||
|
transition: transform 0.25s ease, box-shadow 0.25s ease;
|
||||||
|
}
|
||||||
|
.photo-mosaic__tile:hover,
|
||||||
|
.photo-mosaic__tile:focus-visible {
|
||||||
|
transform: translateY(-4px) scale(1.02);
|
||||||
|
box-shadow: 0 10px 24px rgba(35, 48, 23, 0.28);
|
||||||
|
}
|
||||||
|
.photo-mosaic__tile img {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
transition: transform 0.4s ease;
|
||||||
|
}
|
||||||
|
.photo-mosaic__tile:hover img,
|
||||||
|
.photo-mosaic__tile:focus-visible img { transform: scale(1.06); }
|
||||||
|
.photo-mosaic__tile::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
background: linear-gradient(0deg, rgba(20, 28, 13, 0.85) 0%, rgba(20, 28, 13, 0.05) 55%);
|
||||||
|
}
|
||||||
|
.photo-mosaic__caption {
|
||||||
|
position: absolute;
|
||||||
|
left: var(--space-2);
|
||||||
|
right: var(--space-2);
|
||||||
|
bottom: var(--space-2);
|
||||||
|
z-index: 1;
|
||||||
|
color: #fff;
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 800;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
font-size: 1.15rem;
|
||||||
|
line-height: 1.15;
|
||||||
|
text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 700px) {
|
||||||
|
.photo-mosaic__grid { grid-template-columns: repeat(4, 1fr); }
|
||||||
|
.photo-mosaic__tile { aspect-ratio: 3 / 4; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.news-teasers { padding: var(--space-4) 0; }
|
||||||
|
.news-teasers__grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
|
||||||
|
|
||||||
|
.news-teaser {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--color-dark);
|
||||||
|
background: #fff;
|
||||||
|
border-radius: 10px;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 0 2px 10px rgba(35, 48, 23, 0.1);
|
||||||
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||||
|
}
|
||||||
|
.news-teaser:hover,
|
||||||
|
.news-teaser:focus-visible {
|
||||||
|
transform: translateY(-3px);
|
||||||
|
box-shadow: 0 8px 20px rgba(35, 48, 23, 0.16);
|
||||||
|
}
|
||||||
|
.news-teaser__image {
|
||||||
|
aspect-ratio: 16 / 10;
|
||||||
|
background: var(--color-accent-light);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.news-teaser__image img { width: 100%; height: 100%; object-fit: cover; }
|
||||||
|
.news-teaser__body { padding: var(--space-2) var(--space-2) var(--space-3); text-align: left; flex-grow: 1; display: flex; flex-direction: column; }
|
||||||
|
.news-teaser h3 { font-size: 1.25rem; margin-bottom: var(--space-1); }
|
||||||
|
.news-teaser__excerpt { color: #4a4a4a; font-size: 0.95rem; margin: 0 0 var(--space-2); flex-grow: 1; }
|
||||||
|
.news-teaser__more {
|
||||||
|
color: var(--color-orange);
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.03em;
|
||||||
|
font-size: 0.95rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Text-only Kachel-Variante (kein Bild vorhanden, z.B. Fachartikel-/PDF-Links).
|
||||||
|
Wird in Seiteninhalten (post_content) verwendet, die durch wpautop laufen --
|
||||||
|
wpautop zerlegt <a> um <div>-Inhalte, daher hier <div> als Kachel-Wurzel mit
|
||||||
|
einem unsichtbaren "Stretched Link" statt eines umschliessenden <a>. */
|
||||||
|
.news-teaser--text {
|
||||||
|
position: relative;
|
||||||
|
border-top: 4px solid var(--color-accent-light);
|
||||||
|
}
|
||||||
|
.news-teaser--text .news-teaser__body { padding-top: var(--space-3); }
|
||||||
|
.news-teaser__stretched-link { position: absolute; inset: 0; z-index: 1; }
|
||||||
|
|
||||||
|
.content-main .news-teasers__grid,
|
||||||
|
.content-main--wide .news-teasers__grid { margin: var(--space-2) 0 var(--space-4); }
|
||||||
|
|
||||||
|
.content-layout { display: grid; gap: var(--space-3); padding: var(--space-2) 0 var(--space-4); }
|
||||||
|
.content-main--wide { grid-column: 1 / -1; }
|
||||||
|
.content-hero-image { border-radius: 12px; overflow: hidden; margin-bottom: var(--space-3); box-shadow: 0 6px 18px rgba(35, 48, 23, 0.16); }
|
||||||
|
.entry-tags { margin-top: var(--space-3); display: flex; gap: var(--space-1); flex-wrap: wrap; }
|
||||||
|
.tag-pill { background: var(--color-accent-light); color: var(--color-dark); padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.875rem; font-weight: 700; }
|
||||||
|
.content-sidebar { display: flex; flex-direction: column; gap: var(--space-3); }
|
||||||
|
|
||||||
|
.sidebar-widget { background: #fff; padding: var(--space-3); border-radius: 12px; border-top: 4px solid var(--color-orange); box-shadow: 0 2px 10px rgba(35, 48, 23, 0.08); }
|
||||||
|
.sidebar-widget h2 { font-size: 1.25rem; }
|
||||||
|
.sidebar-widget ul { list-style: none; margin: 0; padding: 0; }
|
||||||
|
.sidebar-widget li { border-bottom: 1px solid var(--color-sand); }
|
||||||
|
.sidebar-widget li:last-child { border-bottom: none; }
|
||||||
|
.sidebar-widget a { display: block; padding: 0.6rem 0; font-weight: 600; }
|
||||||
|
|
||||||
|
.sidebar-widget--contact { border-top-color: var(--color-blue); }
|
||||||
|
.sidebar-widget__intro { color: #4a4a4a; font-size: 0.95rem; margin-top: 0; }
|
||||||
|
.sidebar-widget--contact form { display: flex; flex-direction: column; gap: var(--space-2); }
|
||||||
|
.sidebar-widget--contact label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; }
|
||||||
|
.sidebar-widget--contact input[type="text"],
|
||||||
|
.sidebar-widget--contact input[type="email"],
|
||||||
|
.sidebar-widget--contact textarea {
|
||||||
|
width: 100%;
|
||||||
|
font: inherit;
|
||||||
|
padding: 0.6rem 0.7rem;
|
||||||
|
border: 1px solid #cfc8b8;
|
||||||
|
border-radius: 6px;
|
||||||
|
background: var(--color-sand);
|
||||||
|
}
|
||||||
|
.sidebar-widget--contact input:focus-visible,
|
||||||
|
.sidebar-widget--contact textarea:focus-visible {
|
||||||
|
outline: 3px solid var(--color-blue);
|
||||||
|
outline-offset: 1px;
|
||||||
|
}
|
||||||
|
.sidebar-widget--contact textarea { min-height: 100px; resize: vertical; }
|
||||||
|
.sidebar-widget--contact input[type="submit"] {
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.03em;
|
||||||
|
background: var(--color-blue);
|
||||||
|
color: #fff;
|
||||||
|
border: 0;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 0.7rem 1rem;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 0.2s ease;
|
||||||
|
}
|
||||||
|
.sidebar-widget--contact input[type="submit"]:hover { background: var(--color-dark); }
|
||||||
|
.sidebar-widget--contact .wpcf7-not-valid-tip { color: #c0392b; font-size: 0.85rem; margin-top: 0.2rem; }
|
||||||
|
.sidebar-widget--contact .wpcf7-response-output { border-radius: 6px; font-size: 0.9rem; margin: var(--space-2) 0 0; }
|
||||||
|
|
||||||
|
.cta-badges { display: flex; flex-direction: column; gap: var(--space-2); }
|
||||||
|
.cta-badge {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: var(--space-2);
|
||||||
|
padding: var(--space-2);
|
||||||
|
border-radius: 10px;
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
box-shadow: 0 2px 8px rgba(35, 48, 23, 0.12);
|
||||||
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||||
|
}
|
||||||
|
.cta-badge:hover,
|
||||||
|
.cta-badge:focus-visible {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 6px 16px rgba(35, 48, 23, 0.2);
|
||||||
|
}
|
||||||
|
.cta-badge__icon {
|
||||||
|
flex-shrink: 0;
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.cta-badge__icon svg { width: 24px; height: 24px; }
|
||||||
|
.cta-badge__text { display: flex; flex-direction: column; font-size: 0.9rem; line-height: 1.3; }
|
||||||
|
.cta-badge__text strong { font-family: var(--font-headline); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.02em; }
|
||||||
|
.cta-badge--orange { background: var(--color-orange); }
|
||||||
|
.cta-badge--accent { background: var(--color-accent-light); color: var(--color-dark); }
|
||||||
|
.cta-badge--accent .cta-badge__icon svg path,
|
||||||
|
.cta-badge--accent .cta-badge__icon svg circle { stroke: var(--color-dark); }
|
||||||
|
.cta-badge--primary { background: var(--color-primary); }
|
||||||
|
.cta-badge--blue { background: var(--color-blue); }
|
||||||
|
|
||||||
|
@media (min-width: 900px) {
|
||||||
|
.content-layout { grid-template-columns: 3fr 1fr; align-items: start; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Einheitliche Kopfzeile fuer Innenseiten (Archiv, Artikel, Standardseiten) */
|
||||||
|
.page-header {
|
||||||
|
background: linear-gradient(160deg, var(--color-primary), var(--color-dark));
|
||||||
|
padding: var(--space-3) 0;
|
||||||
|
margin-bottom: var(--space-1);
|
||||||
|
}
|
||||||
|
.page-header h1 {
|
||||||
|
color: #fff;
|
||||||
|
margin: 0;
|
||||||
|
padding-bottom: var(--space-1);
|
||||||
|
}
|
||||||
|
.page-header h1::after {
|
||||||
|
content: '';
|
||||||
|
display: block;
|
||||||
|
width: 56px;
|
||||||
|
height: 4px;
|
||||||
|
margin-top: var(--space-1);
|
||||||
|
background: var(--color-orange);
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Bild-Lightbox fuer Artikelinhalte */
|
||||||
|
.entry-content img.is-zoomable { cursor: zoom-in; }
|
||||||
|
|
||||||
|
.fds-lightbox {
|
||||||
|
position: fixed;
|
||||||
|
inset: 0;
|
||||||
|
background: rgba(35, 48, 23, 0.92);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: var(--space-3);
|
||||||
|
z-index: 1000;
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
transition: opacity 0.2s ease;
|
||||||
|
}
|
||||||
|
.fds-lightbox.is-open { opacity: 1; visibility: visible; }
|
||||||
|
.fds-lightbox img {
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 90vh;
|
||||||
|
border-radius: 6px;
|
||||||
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.fds-lightbox__close {
|
||||||
|
position: absolute;
|
||||||
|
top: var(--space-2);
|
||||||
|
right: var(--space-2);
|
||||||
|
width: 44px;
|
||||||
|
height: 44px;
|
||||||
|
border-radius: var(--radius-circle);
|
||||||
|
background: transparent;
|
||||||
|
border: 2px solid #fff;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 1.75rem;
|
||||||
|
line-height: 1;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.fds-lightbox__close:hover { background: rgba(255, 255, 255, 0.15); }
|
||||||
|
|
||||||
|
/* Mitgliedsantrag-Formular (Beitrittsformular-Seite) — Tab-Assistent */
|
||||||
|
.member-form { max-width: 640px; margin: var(--space-3) 0; }
|
||||||
|
|
||||||
|
.member-form__tabs { display: flex; flex-wrap: wrap; gap: 0.3rem; }
|
||||||
|
.member-form__tab {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
font-size: 0.95rem;
|
||||||
|
padding: 0.7rem 0.6rem;
|
||||||
|
border: 0;
|
||||||
|
border-radius: 8px 8px 0 0;
|
||||||
|
background: #cfc8b8;
|
||||||
|
color: var(--color-dark);
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 0.2s ease, color 0.2s ease;
|
||||||
|
}
|
||||||
|
.member-form__tab:hover { background: #bfb7a2; }
|
||||||
|
.member-form__tab[data-panel="1"].is-active { background: var(--color-primary); color: #fff; }
|
||||||
|
.member-form__tab[data-panel="2"].is-active { background: var(--color-accent-light); color: var(--color-dark); }
|
||||||
|
.member-form__tab[data-panel="3"].is-active { background: var(--color-blue); color: #fff; }
|
||||||
|
.member-form__tab[data-panel="4"].is-active { background: var(--color-orange); color: #fff; }
|
||||||
|
|
||||||
|
.member-form__body { background: #fff; padding: var(--space-3) var(--space-3) var(--space-2); border-radius: 0 0 8px 8px; box-shadow: 0 2px 10px rgba(35, 48, 23, 0.08); }
|
||||||
|
.member-form__panel { display: none; }
|
||||||
|
.member-form__panel.is-active { display: block; }
|
||||||
|
.member-form__panel p { margin: 0 0 var(--space-2); }
|
||||||
|
.member-form__panel label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
|
||||||
|
.member-form__panel label .wpcf7-form-control-wrap { display: block; }
|
||||||
|
.member-form__panel input[type="text"],
|
||||||
|
.member-form__panel input[type="email"],
|
||||||
|
.member-form__panel input[type="tel"] {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 420px;
|
||||||
|
font: inherit;
|
||||||
|
padding: 0.6rem 0.7rem;
|
||||||
|
border: 1px solid #cfc8b8;
|
||||||
|
border-radius: 6px;
|
||||||
|
background: var(--color-sand);
|
||||||
|
}
|
||||||
|
.member-form__panel input:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 1px; }
|
||||||
|
.member-form__hint { color: #4a4a4a; font-size: 0.9rem; }
|
||||||
|
.member-form__panel .wpcf7-list-item { display: block; margin: 0.5rem 0 0; }
|
||||||
|
.member-form__panel .wpcf7-list-item label { display: flex; align-items: flex-start; gap: 0.5rem; font-weight: 400; }
|
||||||
|
.member-form__panel .wpcf7-list-item input { margin-top: 0.2rem; flex-shrink: 0; }
|
||||||
|
.member-form__panel .wpcf7-not-valid-tip { color: #c0392b; font-size: 0.85rem; margin-top: 0.2rem; }
|
||||||
|
.member-form__panel .wpcf7-response-output { border-radius: 6px; font-size: 0.9rem; }
|
||||||
|
|
||||||
|
.member-form__nav { display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-2); }
|
||||||
|
.member-form__nav-btn,
|
||||||
|
.member-form__panel input[type="submit"] {
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.03em;
|
||||||
|
font-size: 0.95rem;
|
||||||
|
border: 0;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 0.8rem 1.6rem;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 0.2s ease;
|
||||||
|
}
|
||||||
|
.member-form__nav-btn--next,
|
||||||
|
.member-form__panel input[type="submit"] { background: var(--color-primary); color: #fff; margin-left: auto; }
|
||||||
|
.member-form__nav-btn--next:hover,
|
||||||
|
.member-form__panel input[type="submit"]:hover { background: var(--color-dark); }
|
||||||
|
.member-form__nav-btn--back { background: var(--color-sand); color: var(--color-dark); border: 1px solid #cfc8b8; }
|
||||||
|
.member-form__nav-btn--back:hover { background: #ece5d3; }
|
||||||
|
|
||||||
|
/* Einfache einteilige Formulare (Aktiv werden, Spendenbescheinigung) */
|
||||||
|
.simple-form {
|
||||||
|
max-width: 480px;
|
||||||
|
margin: var(--space-3) 0;
|
||||||
|
background: #fff;
|
||||||
|
padding: var(--space-3);
|
||||||
|
border-radius: 12px;
|
||||||
|
box-shadow: 0 2px 10px rgba(35, 48, 23, 0.08);
|
||||||
|
border-top: 4px solid var(--color-primary);
|
||||||
|
}
|
||||||
|
.simple-form--accent { border-top-color: var(--color-accent-light); }
|
||||||
|
.simple-form--orange { border-top-color: var(--color-orange); }
|
||||||
|
.simple-form p { margin: 0 0 var(--space-2); }
|
||||||
|
.simple-form label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
|
||||||
|
.simple-form .wpcf7-form-control-wrap { display: block; }
|
||||||
|
.simple-form input[type="text"],
|
||||||
|
.simple-form input[type="email"],
|
||||||
|
.simple-form textarea {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 420px;
|
||||||
|
font: inherit;
|
||||||
|
padding: 0.6rem 0.7rem;
|
||||||
|
border: 1px solid #cfc8b8;
|
||||||
|
border-radius: 6px;
|
||||||
|
background: var(--color-sand);
|
||||||
|
}
|
||||||
|
.simple-form textarea { min-height: 100px; resize: vertical; }
|
||||||
|
.simple-form input:focus-visible,
|
||||||
|
.simple-form textarea:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 1px; }
|
||||||
|
.simple-form .wpcf7-list-item { display: block; margin: 0.5rem 0 0; }
|
||||||
|
.simple-form .wpcf7-list-item label { display: flex; align-items: flex-start; gap: 0.5rem; font-weight: 400; }
|
||||||
|
.simple-form .wpcf7-list-item input { margin-top: 0.2rem; flex-shrink: 0; }
|
||||||
|
.simple-form input[type="submit"] {
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.03em;
|
||||||
|
background: var(--color-primary);
|
||||||
|
color: #fff;
|
||||||
|
border: 0;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 0.8rem 1.6rem;
|
||||||
|
cursor: pointer;
|
||||||
|
margin-top: var(--space-2);
|
||||||
|
transition: background 0.2s ease;
|
||||||
|
}
|
||||||
|
.simple-form input[type="submit"]:hover { background: var(--color-dark); }
|
||||||
|
.simple-form .wpcf7-not-valid-tip { color: #c0392b; font-size: 0.85rem; margin-top: 0.2rem; }
|
||||||
|
.simple-form .wpcf7-response-output { border-radius: 6px; font-size: 0.9rem; }
|
||||||
|
|
@ -0,0 +1,530 @@
|
||||||
|
@import url('fonts.css');
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--color-primary: #4C7A2A;
|
||||||
|
--color-accent-light: #8BC34A;
|
||||||
|
--color-dark: #23301C;
|
||||||
|
--color-orange: #E08A1E;
|
||||||
|
--color-sand: #F5F1E6;
|
||||||
|
--color-blue: #2D6E75;
|
||||||
|
--font-headline: 'Barlow Condensed', Arial Narrow, sans-serif;
|
||||||
|
--font-body: 'Source Sans 3', Arial, sans-serif;
|
||||||
|
--space-1: 0.5rem;
|
||||||
|
--space-2: 1rem;
|
||||||
|
--space-3: 2rem;
|
||||||
|
--space-4: 4rem;
|
||||||
|
--radius-circle: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
*, *::before, *::after { box-sizing: border-box; }
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
font-family: var(--font-body);
|
||||||
|
color: var(--color-dark);
|
||||||
|
background: var(--color-sand);
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
h1, h2, h3, h4 {
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 800;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
color: var(--color-primary);
|
||||||
|
line-height: 1.1;
|
||||||
|
margin: 0 0 var(--space-2);
|
||||||
|
}
|
||||||
|
h2 { padding-bottom: var(--space-1); position: relative; }
|
||||||
|
h2::after {
|
||||||
|
content: '';
|
||||||
|
display: block;
|
||||||
|
width: 56px;
|
||||||
|
height: 4px;
|
||||||
|
margin-top: var(--space-1);
|
||||||
|
background: var(--color-orange);
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
a { color: var(--color-primary); }
|
||||||
|
.container {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 1200px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 0 var(--space-2);
|
||||||
|
}
|
||||||
|
img { max-width: 100%; height: auto; display: block; }
|
||||||
|
|
||||||
|
.circle-crop {
|
||||||
|
border-radius: var(--radius-circle);
|
||||||
|
overflow: hidden;
|
||||||
|
aspect-ratio: 1 / 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.circle-badge {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 2.5rem;
|
||||||
|
height: 2.5rem;
|
||||||
|
border-radius: var(--radius-circle);
|
||||||
|
background: var(--color-blue);
|
||||||
|
color: #fff;
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Barrierefreiheit: sichtbarer Fokus, reduzierte Bewegung respektieren */
|
||||||
|
a:focus-visible,
|
||||||
|
button:focus-visible,
|
||||||
|
input:focus-visible,
|
||||||
|
textarea:focus-visible {
|
||||||
|
outline: 3px solid var(--color-orange);
|
||||||
|
outline-offset: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
*, *::before, *::after {
|
||||||
|
animation-duration: 0.001ms !important;
|
||||||
|
animation-iteration-count: 1 !important;
|
||||||
|
transition-duration: 0.001ms !important;
|
||||||
|
scroll-behavior: auto !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-header { background: var(--color-primary); position: sticky; top: 0; z-index: 10; }
|
||||||
|
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: var(--space-1) var(--space-2); }
|
||||||
|
.site-logo { display: block; color: #fff; text-decoration: none; font-family: var(--font-headline); text-transform: uppercase; font-weight: 800; font-size: 1.25rem; }
|
||||||
|
.site-logo img { max-height: 56px; width: auto; display: block; }
|
||||||
|
.menu-toggle { display: block; background: none; border: 0; cursor: pointer; padding: var(--space-1); }
|
||||||
|
.menu-toggle span { display: block; width: 24px; height: 3px; background: #fff; margin: 4px 0; }
|
||||||
|
.main-nav { display: none; width: 100%; }
|
||||||
|
.main-nav.is-open { display: block; }
|
||||||
|
.main-nav ul { list-style: none; margin: 0; padding: var(--space-2) 0; }
|
||||||
|
.main-nav a { display: block; padding: var(--space-1) 0; color: #fff; text-decoration: none; font-family: var(--font-headline); text-transform: uppercase; }
|
||||||
|
|
||||||
|
@media (min-width: 900px) {
|
||||||
|
.menu-toggle { display: none; }
|
||||||
|
.main-nav { display: block; width: auto; }
|
||||||
|
.main-nav ul { display: flex; gap: var(--space-3); padding: 0; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-footer { background: var(--color-dark); color: #fff; margin-top: var(--space-4); padding: var(--space-4) 0 var(--space-2); }
|
||||||
|
.site-footer__inner { display: grid; gap: var(--space-3); }
|
||||||
|
.site-footer a { color: var(--color-accent-light); }
|
||||||
|
.site-footer__copy { opacity: 0.7; font-size: 0.875rem; }
|
||||||
|
|
||||||
|
@media (min-width: 900px) {
|
||||||
|
.site-footer__inner { grid-template-columns: 2fr 2fr 1fr; align-items: start; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero { position: relative; background: linear-gradient(160deg, var(--color-primary), var(--color-dark)); color: #fff; padding: var(--space-4) 0 calc(var(--space-4) + 40px); text-align: center; }
|
||||||
|
.hero--photo { background-size: cover; background-position: center; }
|
||||||
|
.hero__title { color: #fff; font-size: clamp(2.5rem, 6vw, 4rem); }
|
||||||
|
.hero__claim { font-size: 1.25rem; font-style: italic; }
|
||||||
|
.hero__wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; display: block; }
|
||||||
|
|
||||||
|
/* Foto-Mosaik "Aktiv im Spessart" */
|
||||||
|
.photo-mosaic { padding: var(--space-4) 0 var(--space-2); }
|
||||||
|
.photo-mosaic__grid { display: grid; gap: var(--space-2); grid-template-columns: repeat(2, 1fr); }
|
||||||
|
.photo-mosaic__tile {
|
||||||
|
position: relative;
|
||||||
|
display: block;
|
||||||
|
aspect-ratio: 4 / 3;
|
||||||
|
border-radius: 10px;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 0 4px 14px rgba(35, 48, 23, 0.18);
|
||||||
|
transition: transform 0.25s ease, box-shadow 0.25s ease;
|
||||||
|
}
|
||||||
|
.photo-mosaic__tile:hover,
|
||||||
|
.photo-mosaic__tile:focus-visible {
|
||||||
|
transform: translateY(-4px) scale(1.02);
|
||||||
|
box-shadow: 0 10px 24px rgba(35, 48, 23, 0.28);
|
||||||
|
}
|
||||||
|
.photo-mosaic__tile img {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
transition: transform 0.4s ease;
|
||||||
|
}
|
||||||
|
.photo-mosaic__tile:hover img,
|
||||||
|
.photo-mosaic__tile:focus-visible img { transform: scale(1.06); }
|
||||||
|
.photo-mosaic__tile::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
background: linear-gradient(0deg, rgba(20, 28, 13, 0.85) 0%, rgba(20, 28, 13, 0.05) 55%);
|
||||||
|
}
|
||||||
|
.photo-mosaic__caption {
|
||||||
|
position: absolute;
|
||||||
|
left: var(--space-2);
|
||||||
|
right: var(--space-2);
|
||||||
|
bottom: var(--space-2);
|
||||||
|
z-index: 1;
|
||||||
|
color: #fff;
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 800;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
font-size: 1.15rem;
|
||||||
|
line-height: 1.15;
|
||||||
|
text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 700px) {
|
||||||
|
.photo-mosaic__grid { grid-template-columns: repeat(4, 1fr); }
|
||||||
|
.photo-mosaic__tile { aspect-ratio: 3 / 4; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.news-teasers { padding: var(--space-4) 0; }
|
||||||
|
.news-teasers__grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
|
||||||
|
|
||||||
|
.news-teaser {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--color-dark);
|
||||||
|
background: #fff;
|
||||||
|
border-radius: 10px;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 0 2px 10px rgba(35, 48, 23, 0.1);
|
||||||
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||||
|
}
|
||||||
|
.news-teaser:hover,
|
||||||
|
.news-teaser:focus-visible {
|
||||||
|
transform: translateY(-3px);
|
||||||
|
box-shadow: 0 8px 20px rgba(35, 48, 23, 0.16);
|
||||||
|
}
|
||||||
|
.news-teaser__image {
|
||||||
|
aspect-ratio: 16 / 10;
|
||||||
|
background: var(--color-accent-light);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.news-teaser__image img { width: 100%; height: 100%; object-fit: cover; }
|
||||||
|
.news-teaser__body { padding: var(--space-2) var(--space-2) var(--space-3); text-align: left; flex-grow: 1; display: flex; flex-direction: column; }
|
||||||
|
.news-teaser h3 { font-size: 1.25rem; margin-bottom: var(--space-1); }
|
||||||
|
.news-teaser__excerpt { color: #4a4a4a; font-size: 0.95rem; margin: 0 0 var(--space-2); flex-grow: 1; }
|
||||||
|
.news-teaser__more {
|
||||||
|
color: var(--color-orange);
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.03em;
|
||||||
|
font-size: 0.95rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Text-only Kachel-Variante (kein Bild vorhanden, z.B. Fachartikel-/PDF-Links).
|
||||||
|
Wird in Seiteninhalten (post_content) verwendet, die durch wpautop laufen --
|
||||||
|
wpautop zerlegt <a> um <div>-Inhalte, daher hier <div> als Kachel-Wurzel mit
|
||||||
|
einem unsichtbaren "Stretched Link" statt eines umschliessenden <a>. */
|
||||||
|
.news-teaser--text {
|
||||||
|
position: relative;
|
||||||
|
border-top: 4px solid var(--color-accent-light);
|
||||||
|
}
|
||||||
|
.news-teaser--text .news-teaser__body { padding-top: var(--space-3); }
|
||||||
|
.news-teaser__stretched-link { position: absolute; inset: 0; z-index: 1; }
|
||||||
|
|
||||||
|
.content-main .news-teasers__grid,
|
||||||
|
.content-main--wide .news-teasers__grid { margin: var(--space-2) 0 var(--space-4); }
|
||||||
|
|
||||||
|
.content-layout { display: grid; gap: var(--space-3); padding: var(--space-2) 0 var(--space-4); }
|
||||||
|
.content-main--wide { grid-column: 1 / -1; }
|
||||||
|
.content-hero-image { border-radius: 12px; overflow: hidden; margin-bottom: var(--space-3); box-shadow: 0 6px 18px rgba(35, 48, 23, 0.16); }
|
||||||
|
.entry-tags { margin-top: var(--space-3); display: flex; gap: var(--space-1); flex-wrap: wrap; }
|
||||||
|
.tag-pill { background: var(--color-accent-light); color: var(--color-dark); padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.875rem; font-weight: 700; }
|
||||||
|
.content-sidebar { display: flex; flex-direction: column; gap: var(--space-3); }
|
||||||
|
|
||||||
|
.sidebar-widget { background: #fff; padding: var(--space-3); border-radius: 12px; border-top: 4px solid var(--color-orange); box-shadow: 0 2px 10px rgba(35, 48, 23, 0.08); }
|
||||||
|
.sidebar-widget h2 { font-size: 1.25rem; }
|
||||||
|
.sidebar-widget ul { list-style: none; margin: 0; padding: 0; }
|
||||||
|
.sidebar-widget li { border-bottom: 1px solid var(--color-sand); }
|
||||||
|
.sidebar-widget li:last-child { border-bottom: none; }
|
||||||
|
.sidebar-widget a { display: block; padding: 0.6rem 0; font-weight: 600; }
|
||||||
|
|
||||||
|
.sidebar-widget--contact { border-top-color: var(--color-blue); }
|
||||||
|
.sidebar-widget__intro { color: #4a4a4a; font-size: 0.95rem; margin-top: 0; }
|
||||||
|
.sidebar-widget--contact form { display: flex; flex-direction: column; gap: var(--space-2); }
|
||||||
|
.sidebar-widget--contact label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; }
|
||||||
|
.sidebar-widget--contact input[type="text"],
|
||||||
|
.sidebar-widget--contact input[type="email"],
|
||||||
|
.sidebar-widget--contact textarea {
|
||||||
|
width: 100%;
|
||||||
|
font: inherit;
|
||||||
|
padding: 0.6rem 0.7rem;
|
||||||
|
border: 1px solid #cfc8b8;
|
||||||
|
border-radius: 6px;
|
||||||
|
background: var(--color-sand);
|
||||||
|
}
|
||||||
|
.sidebar-widget--contact input:focus-visible,
|
||||||
|
.sidebar-widget--contact textarea:focus-visible {
|
||||||
|
outline: 3px solid var(--color-blue);
|
||||||
|
outline-offset: 1px;
|
||||||
|
}
|
||||||
|
.sidebar-widget--contact textarea { min-height: 100px; resize: vertical; }
|
||||||
|
.sidebar-widget--contact input[type="submit"] {
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.03em;
|
||||||
|
background: var(--color-blue);
|
||||||
|
color: #fff;
|
||||||
|
border: 0;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 0.7rem 1rem;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 0.2s ease;
|
||||||
|
}
|
||||||
|
.sidebar-widget--contact input[type="submit"]:hover { background: var(--color-dark); }
|
||||||
|
.sidebar-widget--contact .wpcf7-not-valid-tip { color: #c0392b; font-size: 0.85rem; margin-top: 0.2rem; }
|
||||||
|
.sidebar-widget--contact .wpcf7-response-output { border-radius: 6px; font-size: 0.9rem; margin: var(--space-2) 0 0; }
|
||||||
|
|
||||||
|
.cta-badges { display: flex; flex-direction: column; gap: var(--space-2); }
|
||||||
|
.cta-badge {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: var(--space-2);
|
||||||
|
padding: var(--space-2);
|
||||||
|
border-radius: 10px;
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
box-shadow: 0 2px 8px rgba(35, 48, 23, 0.12);
|
||||||
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||||
|
}
|
||||||
|
.cta-badge:hover,
|
||||||
|
.cta-badge:focus-visible {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 6px 16px rgba(35, 48, 23, 0.2);
|
||||||
|
}
|
||||||
|
.cta-badge__icon {
|
||||||
|
flex-shrink: 0;
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.cta-badge__icon svg { width: 24px; height: 24px; }
|
||||||
|
.cta-badge__text { display: flex; flex-direction: column; font-size: 0.9rem; line-height: 1.3; }
|
||||||
|
.cta-badge__text strong { font-family: var(--font-headline); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.02em; }
|
||||||
|
.cta-badge--orange { background: var(--color-orange); }
|
||||||
|
.cta-badge--accent { background: var(--color-accent-light); color: var(--color-dark); }
|
||||||
|
.cta-badge--accent .cta-badge__icon svg path,
|
||||||
|
.cta-badge--accent .cta-badge__icon svg circle { stroke: var(--color-dark); }
|
||||||
|
.cta-badge--primary { background: var(--color-primary); }
|
||||||
|
.cta-badge--blue { background: var(--color-blue); }
|
||||||
|
|
||||||
|
@media (min-width: 900px) {
|
||||||
|
.content-layout { grid-template-columns: 3fr 1fr; align-items: start; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Einheitliche Kopfzeile fuer Innenseiten (Archiv, Artikel, Standardseiten) */
|
||||||
|
.page-header {
|
||||||
|
background: linear-gradient(160deg, var(--color-primary), var(--color-dark));
|
||||||
|
padding: var(--space-3) 0;
|
||||||
|
margin-bottom: var(--space-1);
|
||||||
|
}
|
||||||
|
.page-header h1 {
|
||||||
|
color: #fff;
|
||||||
|
margin: 0;
|
||||||
|
padding-bottom: var(--space-1);
|
||||||
|
}
|
||||||
|
.page-header h1::after {
|
||||||
|
content: '';
|
||||||
|
display: block;
|
||||||
|
width: 56px;
|
||||||
|
height: 4px;
|
||||||
|
margin-top: var(--space-1);
|
||||||
|
background: var(--color-orange);
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Bild-Lightbox fuer Artikelinhalte */
|
||||||
|
.entry-content img.is-zoomable { cursor: zoom-in; }
|
||||||
|
|
||||||
|
.fds-lightbox {
|
||||||
|
position: fixed;
|
||||||
|
inset: 0;
|
||||||
|
background: rgba(35, 48, 23, 0.92);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: var(--space-3);
|
||||||
|
z-index: 1000;
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
transition: opacity 0.2s ease;
|
||||||
|
}
|
||||||
|
.fds-lightbox.is-open { opacity: 1; visibility: visible; }
|
||||||
|
.fds-lightbox img {
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 90vh;
|
||||||
|
border-radius: 6px;
|
||||||
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.fds-lightbox__close {
|
||||||
|
position: absolute;
|
||||||
|
top: var(--space-2);
|
||||||
|
right: var(--space-2);
|
||||||
|
width: 44px;
|
||||||
|
height: 44px;
|
||||||
|
border-radius: var(--radius-circle);
|
||||||
|
background: transparent;
|
||||||
|
border: 2px solid #fff;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 1.75rem;
|
||||||
|
line-height: 1;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.fds-lightbox__close:hover { background: rgba(255, 255, 255, 0.15); }
|
||||||
|
|
||||||
|
/* Mitgliedsantrag-Formular (Beitrittsformular-Seite) — Tab-Assistent */
|
||||||
|
.member-form { max-width: 640px; margin: var(--space-3) 0; }
|
||||||
|
|
||||||
|
.member-form__tabs { display: flex; flex-wrap: wrap; gap: 0.3rem; }
|
||||||
|
.member-form__tab {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.02em;
|
||||||
|
font-size: 0.95rem;
|
||||||
|
padding: 0.7rem 0.6rem;
|
||||||
|
border: 0;
|
||||||
|
border-radius: 8px 8px 0 0;
|
||||||
|
background: #cfc8b8;
|
||||||
|
color: var(--color-dark);
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 0.2s ease, color 0.2s ease;
|
||||||
|
}
|
||||||
|
.member-form__tab:hover { background: #bfb7a2; }
|
||||||
|
.member-form__tab[data-panel="1"].is-active { background: var(--color-primary); color: #fff; }
|
||||||
|
.member-form__tab[data-panel="2"].is-active { background: var(--color-accent-light); color: var(--color-dark); }
|
||||||
|
.member-form__tab[data-panel="3"].is-active { background: var(--color-blue); color: #fff; }
|
||||||
|
.member-form__tab[data-panel="4"].is-active { background: var(--color-orange); color: #fff; }
|
||||||
|
|
||||||
|
.member-form__body { background: #fff; padding: var(--space-3) var(--space-3) var(--space-2); border-radius: 0 0 8px 8px; box-shadow: 0 2px 10px rgba(35, 48, 23, 0.08); }
|
||||||
|
.member-form__panel { display: none; }
|
||||||
|
.member-form__panel.is-active { display: block; }
|
||||||
|
.member-form__panel p { margin: 0 0 var(--space-2); }
|
||||||
|
.member-form__panel label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
|
||||||
|
.member-form__panel label .wpcf7-form-control-wrap { display: block; }
|
||||||
|
.member-form__panel input[type="text"],
|
||||||
|
.member-form__panel input[type="email"],
|
||||||
|
.member-form__panel input[type="tel"] {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 420px;
|
||||||
|
font: inherit;
|
||||||
|
padding: 0.6rem 0.7rem;
|
||||||
|
border: 1px solid #cfc8b8;
|
||||||
|
border-radius: 6px;
|
||||||
|
background: var(--color-sand);
|
||||||
|
}
|
||||||
|
.member-form__panel input:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 1px; }
|
||||||
|
.member-form__hint { color: #4a4a4a; font-size: 0.9rem; }
|
||||||
|
.member-form__panel .wpcf7-list-item { display: block; margin: 0.5rem 0 0; }
|
||||||
|
.member-form__panel .wpcf7-list-item label { display: flex; align-items: flex-start; gap: 0.5rem; font-weight: 400; }
|
||||||
|
.member-form__panel .wpcf7-list-item input { margin-top: 0.2rem; flex-shrink: 0; }
|
||||||
|
.member-form__panel .wpcf7-not-valid-tip { color: #c0392b; font-size: 0.85rem; margin-top: 0.2rem; }
|
||||||
|
.member-form__panel .wpcf7-response-output { border-radius: 6px; font-size: 0.9rem; }
|
||||||
|
|
||||||
|
.member-form__nav { display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-2); }
|
||||||
|
.member-form__nav-btn,
|
||||||
|
.member-form__panel input[type="submit"] {
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.03em;
|
||||||
|
font-size: 0.95rem;
|
||||||
|
border: 0;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 0.8rem 1.6rem;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 0.2s ease;
|
||||||
|
}
|
||||||
|
.member-form__nav-btn--next,
|
||||||
|
.member-form__panel input[type="submit"] { background: var(--color-primary); color: #fff; margin-left: auto; }
|
||||||
|
.member-form__nav-btn--next:hover,
|
||||||
|
.member-form__panel input[type="submit"]:hover { background: var(--color-dark); }
|
||||||
|
.member-form__nav-btn--back { background: var(--color-sand); color: var(--color-dark); border: 1px solid #cfc8b8; }
|
||||||
|
.member-form__nav-btn--back:hover { background: #ece5d3; }
|
||||||
|
|
||||||
|
/* Einfache einteilige Formulare (Aktiv werden, Spendenbescheinigung) */
|
||||||
|
.simple-form {
|
||||||
|
max-width: 480px;
|
||||||
|
margin: var(--space-3) 0;
|
||||||
|
background: #fff;
|
||||||
|
padding: var(--space-3);
|
||||||
|
border-radius: 12px;
|
||||||
|
box-shadow: 0 2px 10px rgba(35, 48, 23, 0.08);
|
||||||
|
border-top: 4px solid var(--color-primary);
|
||||||
|
}
|
||||||
|
.simple-form--accent { border-top-color: var(--color-accent-light); }
|
||||||
|
.simple-form--orange { border-top-color: var(--color-orange); }
|
||||||
|
.simple-form p { margin: 0 0 var(--space-2); }
|
||||||
|
.simple-form label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
|
||||||
|
.simple-form .wpcf7-form-control-wrap { display: block; }
|
||||||
|
.simple-form input[type="text"],
|
||||||
|
.simple-form input[type="email"],
|
||||||
|
.simple-form textarea {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 420px;
|
||||||
|
font: inherit;
|
||||||
|
padding: 0.6rem 0.7rem;
|
||||||
|
border: 1px solid #cfc8b8;
|
||||||
|
border-radius: 6px;
|
||||||
|
background: var(--color-sand);
|
||||||
|
}
|
||||||
|
.simple-form textarea { min-height: 100px; resize: vertical; }
|
||||||
|
.simple-form input:focus-visible,
|
||||||
|
.simple-form textarea:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 1px; }
|
||||||
|
.simple-form .wpcf7-list-item { display: block; margin: 0.5rem 0 0; }
|
||||||
|
.simple-form .wpcf7-list-item label { display: flex; align-items: flex-start; gap: 0.5rem; font-weight: 400; }
|
||||||
|
.simple-form .wpcf7-list-item input { margin-top: 0.2rem; flex-shrink: 0; }
|
||||||
|
.simple-form input[type="submit"] {
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.03em;
|
||||||
|
background: var(--color-primary);
|
||||||
|
color: #fff;
|
||||||
|
border: 0;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 0.8rem 1.6rem;
|
||||||
|
cursor: pointer;
|
||||||
|
margin-top: var(--space-2);
|
||||||
|
transition: background 0.2s ease;
|
||||||
|
}
|
||||||
|
.simple-form input[type="submit"]:hover { background: var(--color-dark); }
|
||||||
|
.simple-form .wpcf7-not-valid-tip { color: #c0392b; font-size: 0.85rem; margin-top: 0.2rem; }
|
||||||
|
.simple-form .wpcf7-response-output { border-radius: 6px; font-size: 0.9rem; }
|
||||||
|
|
||||||
|
/* Aktionen-Uebersicht (Kachelraster nach BN-Schema, aktuell Platzhalter-Geruest).
|
||||||
|
Erbt Layout/Karten-Optik von .news-teaser / .news-teasers__grid. */
|
||||||
|
.aktionen { padding: var(--space-3) 0 var(--space-4); }
|
||||||
|
.aktionen__intro { max-width: 70ch; margin-bottom: var(--space-3); }
|
||||||
|
.aktionen__grid { margin-top: var(--space-2); }
|
||||||
|
|
||||||
|
.action-card { position: relative; }
|
||||||
|
.action-card.news-teaser:hover {
|
||||||
|
transform: translateY(-3px);
|
||||||
|
box-shadow: 0 8px 20px rgba(35, 48, 23, 0.16);
|
||||||
|
}
|
||||||
|
.action-card__image {
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-end;
|
||||||
|
background: linear-gradient(160deg, var(--color-accent-light), var(--color-primary));
|
||||||
|
}
|
||||||
|
.action-card__kategorie {
|
||||||
|
margin: var(--space-2);
|
||||||
|
padding: 0.25rem 0.75rem;
|
||||||
|
border-radius: 999px;
|
||||||
|
background: rgba(255, 255, 255, 0.92);
|
||||||
|
color: var(--color-primary);
|
||||||
|
font-family: var(--font-headline);
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.03em;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,207 @@
|
||||||
|
/* vietnamese */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B4873z3nWuZEC.woff2) format('woff2');
|
||||||
|
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B4873z3jWuZEC.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B4873z3bWuQ.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* vietnamese */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B46r2z3nWuZEC.woff2) format('woff2');
|
||||||
|
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B46r2z3jWuZEC.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B46r2z3bWuQ.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* vietnamese */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 800;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B47b1z3nWuZEC.woff2) format('woff2');
|
||||||
|
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 800;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B47b1z3jWuZEC.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Barlow Condensed';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 800;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B47b1z3bWuQ.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* cyrillic-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/sourcesans3/v19/nwpStKy2OAdR1K-IwhWudF-R3wIaZfrc.woff2) format('woff2');
|
||||||
|
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||||||
|
}
|
||||||
|
/* cyrillic */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/sourcesans3/v19/nwpStKy2OAdR1K-IwhWudF-R3wsaZfrc.woff2) format('woff2');
|
||||||
|
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||||
|
}
|
||||||
|
/* greek-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/sourcesans3/v19/nwpStKy2OAdR1K-IwhWudF-R3wMaZfrc.woff2) format('woff2');
|
||||||
|
unicode-range: U+1F00-1FFF;
|
||||||
|
}
|
||||||
|
/* greek */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/sourcesans3/v19/nwpStKy2OAdR1K-IwhWudF-R3wwaZfrc.woff2) format('woff2');
|
||||||
|
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
||||||
|
}
|
||||||
|
/* vietnamese */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/sourcesans3/v19/nwpStKy2OAdR1K-IwhWudF-R3wAaZfrc.woff2) format('woff2');
|
||||||
|
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/sourcesans3/v19/nwpStKy2OAdR1K-IwhWudF-R3wEaZfrc.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/sourcesans3/v19/nwpStKy2OAdR1K-IwhWudF-R3w8aZQ.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* cyrillic-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/sourcesans3/v19/nwpStKy2OAdR1K-IwhWudF-R3wIaZfrc.woff2) format('woff2');
|
||||||
|
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||||||
|
}
|
||||||
|
/* cyrillic */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/sourcesans3/v19/nwpStKy2OAdR1K-IwhWudF-R3wsaZfrc.woff2) format('woff2');
|
||||||
|
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||||
|
}
|
||||||
|
/* greek-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/sourcesans3/v19/nwpStKy2OAdR1K-IwhWudF-R3wMaZfrc.woff2) format('woff2');
|
||||||
|
unicode-range: U+1F00-1FFF;
|
||||||
|
}
|
||||||
|
/* greek */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/sourcesans3/v19/nwpStKy2OAdR1K-IwhWudF-R3wwaZfrc.woff2) format('woff2');
|
||||||
|
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
||||||
|
}
|
||||||
|
/* vietnamese */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/sourcesans3/v19/nwpStKy2OAdR1K-IwhWudF-R3wAaZfrc.woff2) format('woff2');
|
||||||
|
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/sourcesans3/v19/nwpStKy2OAdR1K-IwhWudF-R3wEaZfrc.woff2) format('woff2');
|
||||||
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans 3';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url(https://fonts.gstatic.com/s/sourcesans3/v19/nwpStKy2OAdR1K-IwhWudF-R3w8aZQ.woff2) format('woff2');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 632 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.0 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 303 KiB |
|
|
@ -0,0 +1,106 @@
|
||||||
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
|
var toggle = document.querySelector('.menu-toggle');
|
||||||
|
var nav = document.querySelector('.main-nav');
|
||||||
|
if (!toggle || !nav) return;
|
||||||
|
toggle.addEventListener('click', function () {
|
||||||
|
var isOpen = nav.classList.toggle('is-open');
|
||||||
|
toggle.setAttribute('aria-expanded', isOpen ? 'true' : 'false');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
|
var images = document.querySelectorAll('.entry-content img');
|
||||||
|
if (!images.length) return;
|
||||||
|
|
||||||
|
var lightbox = document.createElement('div');
|
||||||
|
lightbox.className = 'fds-lightbox';
|
||||||
|
lightbox.setAttribute('role', 'dialog');
|
||||||
|
lightbox.setAttribute('aria-modal', 'true');
|
||||||
|
lightbox.setAttribute('aria-label', 'Bild vergrößert');
|
||||||
|
lightbox.innerHTML = '<button type="button" class="fds-lightbox__close" aria-label="Schließen">×</button><img alt="">';
|
||||||
|
document.body.appendChild(lightbox);
|
||||||
|
|
||||||
|
var lightboxImg = lightbox.querySelector('img');
|
||||||
|
var closeBtn = lightbox.querySelector('.fds-lightbox__close');
|
||||||
|
var lastFocused = null;
|
||||||
|
|
||||||
|
function openLightbox(src, alt) {
|
||||||
|
lastFocused = document.activeElement;
|
||||||
|
lightboxImg.src = src;
|
||||||
|
lightboxImg.alt = alt || '';
|
||||||
|
lightbox.classList.add('is-open');
|
||||||
|
closeBtn.focus();
|
||||||
|
document.body.style.overflow = 'hidden';
|
||||||
|
}
|
||||||
|
|
||||||
|
function closeLightbox() {
|
||||||
|
lightbox.classList.remove('is-open');
|
||||||
|
lightboxImg.src = '';
|
||||||
|
document.body.style.overflow = '';
|
||||||
|
if (lastFocused) lastFocused.focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
images.forEach(function (img) {
|
||||||
|
img.classList.add('is-zoomable');
|
||||||
|
img.setAttribute('tabindex', '0');
|
||||||
|
img.setAttribute('role', 'button');
|
||||||
|
img.setAttribute('aria-label', 'Bild vergrößern' + (img.alt ? ': ' + img.alt : ''));
|
||||||
|
img.addEventListener('click', function () {
|
||||||
|
openLightbox(img.currentSrc || img.src, img.alt);
|
||||||
|
});
|
||||||
|
img.addEventListener('keydown', function (e) {
|
||||||
|
if (e.key === 'Enter' || e.key === ' ') {
|
||||||
|
e.preventDefault();
|
||||||
|
openLightbox(img.currentSrc || img.src, img.alt);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
closeBtn.addEventListener('click', closeLightbox);
|
||||||
|
lightbox.addEventListener('click', function (e) {
|
||||||
|
if (e.target === lightbox) closeLightbox();
|
||||||
|
});
|
||||||
|
document.addEventListener('keydown', function (e) {
|
||||||
|
if (e.key === 'Escape' && lightbox.classList.contains('is-open')) closeLightbox();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
|
var forms = document.querySelectorAll('.member-form');
|
||||||
|
forms.forEach(function (form) {
|
||||||
|
var tabs = form.querySelectorAll('.member-form__tab');
|
||||||
|
var panels = form.querySelectorAll('.member-form__panel');
|
||||||
|
if (!tabs.length || !panels.length) return;
|
||||||
|
|
||||||
|
var cf7Form = form.querySelector('form');
|
||||||
|
if (cf7Form) cf7Form.setAttribute('novalidate', 'novalidate');
|
||||||
|
|
||||||
|
function activate(panelNumber) {
|
||||||
|
tabs.forEach(function (tab) {
|
||||||
|
tab.classList.toggle('is-active', tab.dataset.panel === String(panelNumber));
|
||||||
|
});
|
||||||
|
panels.forEach(function (panel) {
|
||||||
|
panel.classList.toggle('is-active', panel.dataset.panel === String(panelNumber));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
tabs.forEach(function (tab) {
|
||||||
|
tab.addEventListener('click', function () {
|
||||||
|
activate(tab.dataset.panel);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
form.querySelectorAll('[data-goto]').forEach(function (btn) {
|
||||||
|
btn.addEventListener('click', function () {
|
||||||
|
activate(btn.dataset.goto);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
form.addEventListener('wpcf7invalid', function () {
|
||||||
|
var invalidField = form.querySelector('.wpcf7-not-valid');
|
||||||
|
if (!invalidField) return;
|
||||||
|
var panel = invalidField.closest('.member-form__panel');
|
||||||
|
if (panel) activate(panel.dataset.panel);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
@ -0,0 +1,44 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Fusszeile nach verhandeltem Design (docs/Input/Home Seite.pdf):
|
||||||
|
* CTA-Leiste, Social-Icons, Impressum auf salbeigruenem Grund.
|
||||||
|
*/
|
||||||
|
$fds_ctas = array(
|
||||||
|
array( 'Kontakt', home_url( '/kontakt/' ), 'orange' ),
|
||||||
|
array( 'Mitglied werden', home_url( '/beitrittsformular/' ), 'forest' ),
|
||||||
|
array( 'Newsletter', home_url( '/kontakt/' ), 'rose' ),
|
||||||
|
array( 'Spenden', home_url( '/spenden/' ), 'forest' ),
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
<footer class="site-footer">
|
||||||
|
<div class="site-footer__inner">
|
||||||
|
<ul class="footer-ctas">
|
||||||
|
<?php foreach ( $fds_ctas as $cta ) : ?>
|
||||||
|
<li><a class="footer-cta footer-cta--<?php echo esc_attr( $cta[2] ); ?>" href="<?php echo esc_url( $cta[1] ); ?>"><?php echo esc_html( $cta[0] ); ?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul class="footer-social">
|
||||||
|
<li>
|
||||||
|
<a href="<?php echo esc_url( FDS_FACEBOOK_URL ); ?>" target="_blank" rel="noopener" aria-label="Freunde des Spessarts auf Facebook">
|
||||||
|
<svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M24 12.07C24 5.4 18.63 0 12 0S0 5.4 0 12.07C0 18.1 4.39 23.1 10.13 24v-8.44H7.08v-3.49h3.05V9.41c0-3.02 1.79-4.69 4.53-4.69 1.31 0 2.68.23 2.68.23v2.97h-1.51c-1.49 0-1.96.93-1.96 1.89v2.26h3.33l-.53 3.49h-2.8V24C19.61 23.1 24 18.1 24 12.07Z"/></svg>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<?php if ( FDS_INSTAGRAM_URL ) : ?>
|
||||||
|
<li>
|
||||||
|
<a href="<?php echo esc_url( FDS_INSTAGRAM_URL ); ?>" target="_blank" rel="noopener" aria-label="Freunde des Spessarts auf Instagram">
|
||||||
|
<svg viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M12 2.16c3.2 0 3.58.01 4.85.07 1.17.05 1.8.25 2.23.41.56.22.96.48 1.38.9.42.42.68.82.9 1.38.16.42.36 1.06.41 2.23.06 1.27.07 1.65.07 4.85s-.01 3.58-.07 4.85c-.05 1.17-.25 1.8-.41 2.23-.22.56-.48.96-.9 1.38-.42.42-.82.68-1.38.9-.42.16-1.06.36-2.23.41-1.27.06-1.65.07-4.85.07s-3.58-.01-4.85-.07c-1.17-.05-1.8-.25-2.23-.41a3.72 3.72 0 0 1-1.38-.9 3.72 3.72 0 0 1-.9-1.38c-.16-.42-.36-1.06-.41-2.23C2.17 15.58 2.16 15.2 2.16 12s.01-3.58.07-4.85c.05-1.17.25-1.8.41-2.23.22-.56.48-.96.9-1.38.42-.42.82-.68 1.38-.9.42-.16 1.06-.36 2.23-.41C8.42 2.17 8.8 2.16 12 2.16ZM12 0C8.74 0 8.33.01 7.05.07 5.78.13 4.9.33 4.14.63c-.79.3-1.46.72-2.13 1.38A5.88 5.88 0 0 0 .63 4.14C.33 4.9.13 5.78.07 7.05.01 8.33 0 8.74 0 12s.01 3.67.07 4.95c.06 1.27.26 2.15.56 2.91.3.79.72 1.46 1.38 2.13a5.88 5.88 0 0 0 2.13 1.38c.76.3 1.64.5 2.91.56C8.33 23.99 8.74 24 12 24s3.67-.01 4.95-.07c1.27-.06 2.15-.26 2.91-.56.79-.3 1.46-.72 2.13-1.38a5.88 5.88 0 0 0 1.38-2.13c.3-.76.5-1.64.56-2.91.06-1.28.07-1.69.07-4.95s-.01-3.67-.07-4.95c-.06-1.27-.26-2.15-.56-2.91a5.88 5.88 0 0 0-1.38-2.13A5.88 5.88 0 0 0 19.86.63C19.1.33 18.22.13 16.95.07 15.67.01 15.26 0 12 0Zm0 5.84a6.16 6.16 0 1 0 0 12.32 6.16 6.16 0 0 0 0-12.32ZM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm6.4-11.85a1.44 1.44 0 1 0 0 2.88 1.44 1.44 0 0 0 0-2.88Z"/></svg>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<?php endif; ?>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p class="footer-legal">
|
||||||
|
<a href="<?php echo esc_url( home_url( '/impressum/' ) ); ?>">Impressum</a>
|
||||||
|
<a href="<?php echo esc_url( home_url( '/datenschutz/' ) ); ?>">Datenschutz</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
<?php wp_footer(); ?>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,95 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Startseite nach verhandeltem Design (docs/Input/Home Seite.pdf, Stand 2026-11).
|
||||||
|
*
|
||||||
|
* Aufbau: Waldfoto -> Claim (Kicker, H1, Lead) -> 6 Rahmenkacheln ->
|
||||||
|
* Kennzahlen "Der Bay. Spessart in Zahlen" + "Wem gehoert der Wald?".
|
||||||
|
* Die CTA-Leiste, Social-Icons und Impressum kommen aus footer.php.
|
||||||
|
*/
|
||||||
|
get_header();
|
||||||
|
|
||||||
|
$fds_img = get_stylesheet_directory_uri() . '/assets/img/';
|
||||||
|
|
||||||
|
$fds_tiles = array(
|
||||||
|
array( 'label' => 'Aktuelles', 'url' => home_url( '/news/' ), 'mod' => 'forest' ),
|
||||||
|
array( 'label' => 'Wie<br>werde ich<br>Waldschützer', 'url' => home_url( '/waldschuetzer/' ), 'mod' => 'rose' ),
|
||||||
|
array( 'label' => 'Waldtipp<br>des Monats', 'url' => home_url( '/fachartikel/' ), 'mod' => 'sage' ),
|
||||||
|
array( 'label' => 'Leserbriefe', 'url' => home_url( '/news/' ), 'mod' => 'slate' ),
|
||||||
|
array( 'label' => 'Veranstaltungs­tipps', 'url' => home_url( '/aktionen/' ), 'mod' => 'forest' ),
|
||||||
|
array( 'label' => 'Fake News', 'url' => home_url( '/eigenes_bild/' ), 'mod' => 'orange' ),
|
||||||
|
);
|
||||||
|
|
||||||
|
$fds_facts = array(
|
||||||
|
array( '171.000', 'Gesamtfläche des Naturparks Spessart' ),
|
||||||
|
array( '105.000', 'Waldfläche im Naturpark Spessart' ),
|
||||||
|
array( '43.000', 'Bayer. Staatswald (BaySF)' ),
|
||||||
|
array( '1.962', 'Naturwaldflächen im Bayer. Staatswald' ),
|
||||||
|
array( '0', 'Urwald im Bay. Spessart' ),
|
||||||
|
);
|
||||||
|
|
||||||
|
$fds_owners = array(
|
||||||
|
array( '39,4', 'Bayerische Staatsforsten', '43.000 ha' ),
|
||||||
|
array( '33,1', 'Kommunal- und Körperschaftswald', '34.406 ha' ),
|
||||||
|
array( '27,2', 'Privatwald', '28.323 ha' ),
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div class="home-hero">
|
||||||
|
<img
|
||||||
|
src="<?php echo esc_url( $fds_img . 'hero-wald-1200.jpg?v=2' ); ?>"
|
||||||
|
srcset="<?php echo esc_url( $fds_img . 'hero-wald-800.jpg?v=2' ); ?> 800w, <?php echo esc_url( $fds_img . 'hero-wald-1200.jpg?v=2' ); ?> 1200w, <?php echo esc_url( $fds_img . 'hero-wald-2400.jpg?v=2' ); ?> 2400w"
|
||||||
|
sizes="100vw"
|
||||||
|
alt="Alter Laubwald im Spessart mit moosbewachsenen Stämmen"
|
||||||
|
fetchpriority="high">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<main id="inhalt" class="home-main">
|
||||||
|
|
||||||
|
<section class="home-intro">
|
||||||
|
<div class="home-wrap">
|
||||||
|
<p class="home-intro__kicker">Gemeinsam für eine lebenswerte Zukunft.</p>
|
||||||
|
<h1 class="home-intro__title">Natur.Mensch.<br>Spessart</h1>
|
||||||
|
<p class="home-intro__lead">Wir wollen einen Spessart, der lebendig bleibt. Mit wilder Natur, alten Bäumen, gelebter Tradition und Raum für Menschen, die ihn lieben.</p>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="home-tiles" aria-label="Themen">
|
||||||
|
<ul class="home-wrap home-tiles__grid">
|
||||||
|
<?php foreach ( $fds_tiles as $tile ) : ?>
|
||||||
|
<li>
|
||||||
|
<a class="home-tile home-tile--<?php echo esc_attr( $tile['mod'] ); ?>" href="<?php echo esc_url( $tile['url'] ); ?>">
|
||||||
|
<span><?php echo wp_kses( $tile['label'], array( 'br' => array() ) ); ?></span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<section class="home-facts" aria-labelledby="fakten-titel">
|
||||||
|
<div class="home-wrap">
|
||||||
|
<h2 id="fakten-titel" class="home-facts__title">Der Bay. Spessart in Zahlen</h2>
|
||||||
|
<dl class="home-facts__grid home-facts__grid--five">
|
||||||
|
<?php foreach ( $fds_facts as $fact ) : ?>
|
||||||
|
<div class="fact">
|
||||||
|
<dt class="fact__value"><?php echo esc_html( $fact[0] ); ?> <span class="fact__unit">Hektar</span></dt>
|
||||||
|
<dd class="fact__label"><?php echo esc_html( $fact[1] ); ?></dd>
|
||||||
|
</div>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<h2 class="home-facts__title">Wem gehört der Wald?</h2>
|
||||||
|
<dl class="home-facts__grid home-facts__grid--three">
|
||||||
|
<?php foreach ( $fds_owners as $owner ) : ?>
|
||||||
|
<div class="fact fact--share">
|
||||||
|
<dt class="fact__value"><?php echo esc_html( $owner[0] ); ?> %</dt>
|
||||||
|
<dd class="fact__label"><?php echo esc_html( $owner[1] ); ?></dd>
|
||||||
|
<dd class="fact__note"><?php echo esc_html( $owner[2] ); ?></dd>
|
||||||
|
</div>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<?php get_footer(); ?>
|
||||||
|
|
@ -0,0 +1,49 @@
|
||||||
|
<?php
|
||||||
|
if ( ! defined( 'ABSPATH' ) ) exit;
|
||||||
|
|
||||||
|
function fds_theme_setup() {
|
||||||
|
add_theme_support( 'title-tag' );
|
||||||
|
add_theme_support( 'post-thumbnails' );
|
||||||
|
add_theme_support( 'html5', array( 'search-form', 'gallery', 'caption', 'style', 'script' ) );
|
||||||
|
add_theme_support( 'custom-logo' );
|
||||||
|
|
||||||
|
register_nav_menus( array(
|
||||||
|
'primary' => __( 'Hauptmenue', 'friends-spessart' ),
|
||||||
|
) );
|
||||||
|
|
||||||
|
add_image_size( 'fds-teaser', 600, 600, true );
|
||||||
|
add_image_size( 'fds-hero', 1920, 1080, true );
|
||||||
|
}
|
||||||
|
add_action( 'after_setup_theme', 'fds_theme_setup' );
|
||||||
|
|
||||||
|
function fds_enqueue_assets() {
|
||||||
|
$css_path = get_stylesheet_directory() . '/assets/css/main.css';
|
||||||
|
$js_path = get_stylesheet_directory() . '/assets/js/main.js';
|
||||||
|
wp_enqueue_style( 'fds-style', get_stylesheet_directory_uri() . '/assets/css/main.css', array(), file_exists( $css_path ) ? filemtime( $css_path ) : '1.0' );
|
||||||
|
wp_enqueue_script( 'fds-main', get_stylesheet_directory_uri() . '/assets/js/main.js', array(), file_exists( $js_path ) ? filemtime( $js_path ) : '1.0', true );
|
||||||
|
}
|
||||||
|
add_action( 'wp_enqueue_scripts', 'fds_enqueue_assets' );
|
||||||
|
|
||||||
|
require get_theme_file_path( '/inc/custom-post-type-news.php' );
|
||||||
|
|
||||||
|
// Mitgliedsantrag-Formular nutzt eigene <div>-Struktur fuer Tabs/Panels;
|
||||||
|
// wpautop wuerde ungewollte <p>-Tags um Buttons/Shortcodes einfuegen.
|
||||||
|
add_filter( 'wpcf7_autop_or_not', '__return_false' );
|
||||||
|
|
||||||
|
// --- Design 2026 (docs/Input/Home Seite.pdf) ---------------------------------
|
||||||
|
if ( ! defined( 'FDS_FACEBOOK_URL' ) ) define( 'FDS_FACEBOOK_URL', 'https://facebook.com/NP3Spessart' );
|
||||||
|
// Instagram-Profil des Vereins noch unbekannt: leer = Icon wird nicht angezeigt.
|
||||||
|
if ( ! defined( 'FDS_INSTAGRAM_URL' ) ) define( 'FDS_INSTAGRAM_URL', '' );
|
||||||
|
|
||||||
|
function fds_enqueue_design_2026() {
|
||||||
|
$path = get_stylesheet_directory() . '/assets/css/design-2026.css';
|
||||||
|
wp_enqueue_style( 'fds-design-2026', get_stylesheet_directory_uri() . '/assets/css/design-2026.css', array( 'fds-style' ), file_exists( $path ) ? filemtime( $path ) : '1.0' );
|
||||||
|
}
|
||||||
|
add_action( 'wp_enqueue_scripts', 'fds_enqueue_design_2026', 20 );
|
||||||
|
|
||||||
|
function fds_preload_hero() {
|
||||||
|
if ( ! is_front_page() ) return;
|
||||||
|
$img = get_stylesheet_directory_uri() . '/assets/img/';
|
||||||
|
printf( '<link rel="preload" as="image" href="%1$shero-wald-1200.jpg?v=2" imagesrcset="%1$shero-wald-800.jpg?v=2 800w, %1$shero-wald-1200.jpg?v=2 1200w, %1$shero-wald-2400.jpg?v=2 2400w" imagesizes="100vw">' . "\n", esc_url( $img ) );
|
||||||
|
}
|
||||||
|
add_action( 'wp_head', 'fds_preload_hero', 1 );
|
||||||
|
|
@ -0,0 +1,35 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html <?php language_attributes(); ?>>
|
||||||
|
<head>
|
||||||
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<?php wp_head(); ?>
|
||||||
|
</head>
|
||||||
|
<body <?php body_class(); ?>>
|
||||||
|
<?php wp_body_open(); ?>
|
||||||
|
<a class="skip-link" href="#inhalt">Zum Inhalt springen</a>
|
||||||
|
<header class="site-header">
|
||||||
|
<div class="site-header__inner">
|
||||||
|
<a class="site-brand" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
|
||||||
|
<?php
|
||||||
|
$fds_logo_id = get_theme_mod( 'custom_logo' );
|
||||||
|
if ( $fds_logo_id ) {
|
||||||
|
echo wp_get_attachment_image( $fds_logo_id, 'medium', false, array( 'class' => 'site-brand__logo', 'alt' => '' ) );
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<span class="site-brand__name">Freunde des<br>Spessarts</span>
|
||||||
|
</a>
|
||||||
|
<button class="menu-toggle" aria-label="Menü öffnen" aria-expanded="false" aria-controls="hauptnavigation">
|
||||||
|
<span></span><span></span><span></span>
|
||||||
|
</button>
|
||||||
|
<nav id="hauptnavigation" class="main-nav" aria-label="Hauptnavigation">
|
||||||
|
<?php
|
||||||
|
wp_nav_menu( array(
|
||||||
|
'theme_location' => 'primary',
|
||||||
|
'container' => false,
|
||||||
|
'fallback_cb' => false,
|
||||||
|
) );
|
||||||
|
?>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
if ( ! defined( 'ABSPATH' ) ) exit;
|
||||||
|
|
||||||
|
function fds_register_news_cpt() {
|
||||||
|
register_post_type( 'news', array(
|
||||||
|
'labels' => array(
|
||||||
|
'name' => __( 'News', 'friends-spessart' ),
|
||||||
|
'singular_name' => __( 'News-Artikel', 'friends-spessart' ),
|
||||||
|
),
|
||||||
|
'public' => true,
|
||||||
|
'has_archive' => true,
|
||||||
|
'rewrite' => array( 'slug' => 'news' ),
|
||||||
|
'menu_icon' => 'dashicons-media-document',
|
||||||
|
'supports' => array( 'title', 'editor', 'thumbnail', 'excerpt' ),
|
||||||
|
'taxonomies' => array( 'post_tag' ),
|
||||||
|
'show_in_rest' => true,
|
||||||
|
) );
|
||||||
|
}
|
||||||
|
add_action( 'init', 'fds_register_news_cpt' );
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
<?php get_header(); ?>
|
||||||
|
<main id="inhalt" class="page-main">
|
||||||
|
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
||||||
|
<?php get_template_part( 'parts/page-head', null, array( 'title' => get_the_title() ) ); ?>
|
||||||
|
<article <?php post_class( 'page-wrap' ); ?>>
|
||||||
|
<div class="entry-content"><?php the_content(); ?></div>
|
||||||
|
</article>
|
||||||
|
<?php endwhile; else : ?>
|
||||||
|
<?php get_template_part( 'parts/page-head', null, array( 'title' => 'Nichts gefunden' ) ); ?>
|
||||||
|
<div class="page-wrap"><p>Diese Seite gibt es leider nicht. <a href="<?php echo esc_url( home_url( '/' ) ); ?>">Zur Startseite</a></p></div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</main>
|
||||||
|
<?php get_footer(); ?>
|
||||||
|
|
@ -0,0 +1,78 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Template Name: Aktionen-Uebersicht
|
||||||
|
*
|
||||||
|
* Kachelraster-Seite nach dem Schema von bund-naturschutz.de/aktionen.
|
||||||
|
* Aktuell ein Platzhalter-Geruest: die Kacheln sind fest im Template
|
||||||
|
* hinterlegt und werden spaeter durch echte Aktionen ersetzt.
|
||||||
|
*
|
||||||
|
* Layout: einspaltig wie alle Innenseiten (Design 2026, parts/page-head.php).
|
||||||
|
*/
|
||||||
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
get_header();
|
||||||
|
?>
|
||||||
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
|
<main id="inhalt" class="page-main">
|
||||||
|
<?php get_template_part( 'parts/page-head', null, array( 'title' => get_the_title(), 'kicker' => 'Mitmachen im Spessart', 'wide' => true ) ); ?>
|
||||||
|
|
||||||
|
<div class="page-wrap page-wrap--wide">
|
||||||
|
<?php if ( trim( get_the_content() ) !== '' ) : ?>
|
||||||
|
<div class="aktionen__intro entry-content"><?php the_content(); ?></div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
// Platzhalter-Kacheln. Titel bewusst generisch als Geruest; Bildflaeche
|
||||||
|
// bleibt leer (Farbverlauf), bis echte Aktionsfotos vorliegen.
|
||||||
|
$fds_aktionen_platzhalter = array(
|
||||||
|
array(
|
||||||
|
'kategorie' => 'Mitmachen',
|
||||||
|
'titel' => 'Baumpflanzaktion',
|
||||||
|
'text' => 'Platzhaltertext. Hier steht spaeter eine kurze Beschreibung der Aktion und wie man sich beteiligen kann.',
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'kategorie' => 'Artenschutz',
|
||||||
|
'titel' => 'Kroetenzaun-Betreuung',
|
||||||
|
'text' => 'Platzhaltertext. Hier steht spaeter eine kurze Beschreibung der Aktion und wie man sich beteiligen kann.',
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'kategorie' => 'Pflegeeinsatz',
|
||||||
|
'titel' => 'Streuobstwiesen-Pflege',
|
||||||
|
'text' => 'Platzhaltertext. Hier steht spaeter eine kurze Beschreibung der Aktion und wie man sich beteiligen kann.',
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'kategorie' => 'Umweltbildung',
|
||||||
|
'titel' => 'Muellsammelaktion',
|
||||||
|
'text' => 'Platzhaltertext. Hier steht spaeter eine kurze Beschreibung der Aktion und wie man sich beteiligen kann.',
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'kategorie' => 'Veranstaltung',
|
||||||
|
'titel' => 'Gefuehrte Exkursion',
|
||||||
|
'text' => 'Platzhaltertext. Hier steht spaeter eine kurze Beschreibung der Aktion und wie man sich beteiligen kann.',
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'kategorie' => 'Oeffentlichkeit',
|
||||||
|
'titel' => 'Infostand',
|
||||||
|
'text' => 'Platzhaltertext. Hier steht spaeter eine kurze Beschreibung der Aktion und wie man sich beteiligen kann.',
|
||||||
|
),
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
<div class="news-teasers__grid aktionen__grid">
|
||||||
|
<?php foreach ( $fds_aktionen_platzhalter as $fds_aktion ) : ?>
|
||||||
|
<article class="news-teaser action-card">
|
||||||
|
<div class="news-teaser__image action-card__image">
|
||||||
|
<span class="action-card__kategorie"><?php echo esc_html( $fds_aktion['kategorie'] ); ?></span>
|
||||||
|
</div>
|
||||||
|
<div class="news-teaser__body">
|
||||||
|
<h3><?php echo esc_html( $fds_aktion['titel'] ); ?></h3>
|
||||||
|
<p class="news-teaser__excerpt"><?php echo esc_html( $fds_aktion['text'] ); ?></p>
|
||||||
|
<span class="news-teaser__more">Mehr erfahren ›</span>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
<?php endwhile; ?>
|
||||||
|
<?php get_footer(); ?>
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
<?php get_header(); ?>
|
||||||
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
|
<main id="inhalt" class="page-main">
|
||||||
|
<?php
|
||||||
|
$fds_parent = wp_get_post_parent_id( get_the_ID() );
|
||||||
|
get_template_part( 'parts/page-head', null, array(
|
||||||
|
'title' => get_the_title(),
|
||||||
|
'kicker' => $fds_parent ? get_the_title( $fds_parent ) : '',
|
||||||
|
) );
|
||||||
|
?>
|
||||||
|
<article class="page-wrap">
|
||||||
|
<div class="entry-content"><?php the_content(); ?></div>
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
<?php endwhile; ?>
|
||||||
|
<?php get_footer(); ?>
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Seitenkopf aller Innenseiten (Design 2026, Vorlage docs/Input/Waldschuetzer Webseite V2.pdf):
|
||||||
|
* optionale salbeigruene Kicker-Zeile + grosse dunkelgruene Ueberschrift auf Cremegrund.
|
||||||
|
*
|
||||||
|
* Args: 'title' (Pflicht), 'kicker' (optional), 'wide' (bool, fuer Kartenraster-Seiten).
|
||||||
|
*/
|
||||||
|
if ( ! defined( 'ABSPATH' ) ) exit;
|
||||||
|
$fds_title = isset( $args['title'] ) ? $args['title'] : get_the_title();
|
||||||
|
$fds_kicker = isset( $args['kicker'] ) ? $args['kicker'] : '';
|
||||||
|
$fds_wide = ! empty( $args['wide'] );
|
||||||
|
?>
|
||||||
|
<header class="page-head">
|
||||||
|
<div class="page-wrap<?php echo $fds_wide ? ' page-wrap--wide' : ''; ?>">
|
||||||
|
<?php if ( $fds_kicker ) : ?>
|
||||||
|
<p class="page-head__kicker"><?php echo esc_html( $fds_kicker ); ?></p>
|
||||||
|
<?php endif; ?>
|
||||||
|
<h1 class="page-head__title"><?php echo wp_kses_post( $fds_title ); ?></h1>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
@ -0,0 +1,78 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Template-Teil: linke Spalte aller Innenseiten.
|
||||||
|
*
|
||||||
|
* Enthaelt (von oben nach unten):
|
||||||
|
* - Bereichsnavigation (dasselbe Hauptmenue wie die Kopfzeile, vertikal)
|
||||||
|
* - CTA-Badges (Kontakt / Spenden / Aktiv werden / Mitglied werden / Facebook);
|
||||||
|
* der "Kontakt"-Badge fuehrt auf die eigene Seite /kontakt/
|
||||||
|
*
|
||||||
|
* Auf Mobil ist nur die Navigations-Liste per CSS ausgeblendet (dort fuehrt das
|
||||||
|
* Hamburger-Menue im Header); die Badges bleiben sichtbar und rutschen unter den
|
||||||
|
* Inhalt (siehe .content-layout--nav-left in main.css).
|
||||||
|
*/
|
||||||
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<div class="content-sidebar content-sidebar--left">
|
||||||
|
|
||||||
|
<nav class="section-nav" aria-label="Bereichsnavigation">
|
||||||
|
<?php
|
||||||
|
wp_nav_menu( array(
|
||||||
|
'theme_location' => 'primary',
|
||||||
|
'container' => false,
|
||||||
|
'fallback_cb' => false,
|
||||||
|
) );
|
||||||
|
?>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<div class="cta-badges">
|
||||||
|
<a class="cta-badge cta-badge--dark" href="<?php echo esc_url( home_url( '/kontakt/' ) ); ?>">
|
||||||
|
<span class="cta-badge__icon" aria-hidden="true">
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="5" width="18" height="14" rx="2" stroke="#fff" stroke-width="1.6"/><path d="m4 7 8 6 8-6" stroke="#fff" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
||||||
|
</span>
|
||||||
|
<span class="cta-badge__text">
|
||||||
|
<strong>Kontakt</strong>
|
||||||
|
Schreiben Sie uns über das Formular
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<a class="cta-badge cta-badge--orange" href="<?php echo esc_url( home_url( '/spenden/' ) ); ?>">
|
||||||
|
<span class="cta-badge__icon" aria-hidden="true">
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 21s-7.5-4.6-10-9.1C.5 8.4 2 4.5 5.8 4.1 8 3.9 10 5 12 7c2-2 4-3.1 6.2-2.9 3.8.4 5.3 4.3 3.8 7.8C19.5 16.4 12 21 12 21Z" stroke="#fff" stroke-width="1.6" stroke-linejoin="round"/><path d="M12 10.5v4M10.2 12.3h3.6" stroke="#fff" stroke-width="1.6" stroke-linecap="round"/></svg>
|
||||||
|
</span>
|
||||||
|
<span class="cta-badge__text">
|
||||||
|
<strong>Spenden</strong>
|
||||||
|
Helfen Sie, die Natur im Spessart zu bewahren
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<a class="cta-badge cta-badge--accent" href="<?php echo esc_url( home_url( '/aktiv-werden/' ) ); ?>">
|
||||||
|
<span class="cta-badge__icon" aria-hidden="true">
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 21V10" stroke="#fff" stroke-width="1.6" stroke-linecap="round"/><path d="M12 10c0-4 3-7 7-7 0 4-3 7-7 7Z" stroke="#fff" stroke-width="1.6" stroke-linejoin="round"/><path d="M12 14c0-3-2.5-5-6-5 0 3 2.5 5 6 5Z" stroke="#fff" stroke-width="1.6" stroke-linejoin="round"/></svg>
|
||||||
|
</span>
|
||||||
|
<span class="cta-badge__text">
|
||||||
|
<strong>Aktiv werden</strong>
|
||||||
|
Gemeinsam können wir mehr bewegen
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<a class="cta-badge cta-badge--primary" href="<?php echo esc_url( home_url( '/beitrittsformular/' ) ); ?>">
|
||||||
|
<span class="cta-badge__icon" aria-hidden="true">
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4 20c0-3 2.5-5 5-5h1c2.5 0 5 2 5 5" stroke="#fff" stroke-width="1.6" stroke-linecap="round"/><circle cx="9.5" cy="9" r="3" stroke="#fff" stroke-width="1.6"/><path d="M16 4v6M13 7h6" stroke="#fff" stroke-width="1.6" stroke-linecap="round"/></svg>
|
||||||
|
</span>
|
||||||
|
<span class="cta-badge__text">
|
||||||
|
<strong>Mitglied werden</strong>
|
||||||
|
Treten Sie ein für Mensch und Natur
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<a class="cta-badge cta-badge--blue" href="https://facebook.com/NP3Spessart" target="_blank" rel="noopener">
|
||||||
|
<span class="cta-badge__icon" aria-hidden="true">
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 8.5h2V5.3c-.3 0-1.5-.1-2.8-.1-2.8 0-4.7 1.7-4.7 4.9v2.6H6.8v3.5h2.7V21h3.6v-4.8h2.7l.4-3.5h-3.1v-2.3c0-1 .3-1.9 1.9-1.9Z" fill="#fff"/></svg>
|
||||||
|
</span>
|
||||||
|
<span class="cta-badge__text">
|
||||||
|
<strong>Facebook</strong>
|
||||||
|
Folgen Sie uns für aktuelle Neuigkeiten
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
@ -0,0 +1,27 @@
|
||||||
|
<?php get_header(); ?>
|
||||||
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
|
<main id="inhalt" class="page-main">
|
||||||
|
<?php
|
||||||
|
get_template_part( 'parts/page-head', null, array(
|
||||||
|
'title' => get_the_title(),
|
||||||
|
'kicker' => 'Aktuelles · ' . get_the_date( 'j. F Y' ),
|
||||||
|
) );
|
||||||
|
?>
|
||||||
|
<article class="page-wrap">
|
||||||
|
<?php if ( has_post_thumbnail() ) : ?>
|
||||||
|
<figure class="content-hero-image"><?php the_post_thumbnail( 'fds-hero' ); ?></figure>
|
||||||
|
<?php endif; ?>
|
||||||
|
<div class="entry-content"><?php the_content(); ?></div>
|
||||||
|
<?php $tags = get_the_terms( get_the_ID(), 'post_tag' ); ?>
|
||||||
|
<?php if ( $tags && ! is_wp_error( $tags ) ) : ?>
|
||||||
|
<div class="entry-tags">
|
||||||
|
<?php foreach ( $tags as $tag ) : ?>
|
||||||
|
<span class="tag-pill"><?php echo esc_html( $tag->name ); ?></span>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
<p class="back-link"><a href="<?php echo esc_url( get_post_type_archive_link( 'news' ) ); ?>">‹ Alle Meldungen</a></p>
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
<?php endwhile; ?>
|
||||||
|
<?php get_footer(); ?>
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
/*
|
||||||
|
Theme Name: Friends des Spessarts
|
||||||
|
Theme URI: https://freunde-des-spessarts.de
|
||||||
|
Author: Freunde des Spessarts e.V.
|
||||||
|
Description: Individuelles Theme fuer die Buergerbewegung Freunde des Spessarts.
|
||||||
|
Version: 1.0
|
||||||
|
Text Domain: friends-spessart
|
||||||
|
*/
|
||||||
Loading…
Reference in New Issue