diff --git a/docs/UEBERGABE.md b/docs/UEBERGABE.md index d201f22..18d75ab 100644 --- a/docs/UEBERGABE.md +++ b/docs/UEBERGABE.md @@ -61,6 +61,10 @@ Ladezeiten seitdem konstant ~0,15–0,3s. ### Phase 3 — WordPress-Theme Eigenständiges Theme `friends-spessart` unter `/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 Fonts (Barlow Condensed / Source Sans 3), Kreis-/Wellen-Signature-Elemente. diff --git a/theme/friends-spessart/404.php b/theme/friends-spessart/404.php new file mode 100644 index 0000000..9bd00da --- /dev/null +++ b/theme/friends-spessart/404.php @@ -0,0 +1,13 @@ + + + 'Seite nicht gefunden', 'kicker' => 'Fehler 404' ) ); ?> + + Diesen Weg gibt es im Spessart leider nicht. Vielleicht hilft Ihnen einer dieser Einstiege weiter: + + Startseite + Aktuelles + Kontakt + + + + diff --git a/theme/friends-spessart/archive-news.php b/theme/friends-spessart/archive-news.php new file mode 100644 index 0000000..8ae6e84 --- /dev/null +++ b/theme/friends-spessart/archive-news.php @@ -0,0 +1,23 @@ + + + 'Aktuelles', 'kicker' => 'Neues aus dem Spessart', 'wide' => true ) ); ?> + + + + + + + + + + + + Weiterlesen + + + + + '‹ Neuere', 'next_text' => 'Ältere ›' ) ); ?> + + + diff --git a/theme/friends-spessart/assets/css/barlow.css b/theme/friends-spessart/assets/css/barlow.css new file mode 100644 index 0000000..8469ec4 --- /dev/null +++ b/theme/friends-spessart/assets/css/barlow.css @@ -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; +} diff --git a/theme/friends-spessart/assets/css/design-2026.css b/theme/friends-spessart/assets/css/design-2026.css new file mode 100644 index 0000000..f2c137b --- /dev/null +++ b/theme/friends-spessart/assets/css/design-2026.css @@ -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; } diff --git a/theme/friends-spessart/assets/css/fonts.css b/theme/friends-spessart/assets/css/fonts.css new file mode 100644 index 0000000..2bf901d --- /dev/null +++ b/theme/friends-spessart/assets/css/fonts.css @@ -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; +} diff --git a/theme/friends-spessart/assets/css/main.css b/theme/friends-spessart/assets/css/main.css new file mode 100644 index 0000000..18f12cd --- /dev/null +++ b/theme/friends-spessart/assets/css/main.css @@ -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 um -Inhalte, daher hier als Kachel-Wurzel mit + einem unsichtbaren "Stretched Link" statt eines umschliessenden . */ +.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) � 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; +} diff --git a/theme/friends-spessart/assets/css/main.css.bak-aktionen b/theme/friends-spessart/assets/css/main.css.bak-aktionen new file mode 100644 index 0000000..817baaa --- /dev/null +++ b/theme/friends-spessart/assets/css/main.css.bak-aktionen @@ -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 um -Inhalte, daher hier als Kachel-Wurzel mit + einem unsichtbaren "Stretched Link" statt eines umschliessenden . */ +.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; } diff --git a/theme/friends-spessart/assets/css/main.css.bak-navleft b/theme/friends-spessart/assets/css/main.css.bak-navleft new file mode 100644 index 0000000..b8846f4 --- /dev/null +++ b/theme/friends-spessart/assets/css/main.css.bak-navleft @@ -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 um -Inhalte, daher hier als Kachel-Wurzel mit + einem unsichtbaren "Stretched Link" statt eines umschliessenden . */ +.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; +} diff --git a/theme/friends-spessart/assets/fonts/17cf42ba5706f26f884a399cdf77b68b.woff2 b/theme/friends-spessart/assets/fonts/17cf42ba5706f26f884a399cdf77b68b.woff2 new file mode 100644 index 0000000..686fd3e Binary files /dev/null and b/theme/friends-spessart/assets/fonts/17cf42ba5706f26f884a399cdf77b68b.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/29afb636f90bfdc75b1272b50256836b.woff2 b/theme/friends-spessart/assets/fonts/29afb636f90bfdc75b1272b50256836b.woff2 new file mode 100644 index 0000000..864cc41 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/29afb636f90bfdc75b1272b50256836b.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/3fdb22191424a260793ee1617dc64348.woff2 b/theme/friends-spessart/assets/fonts/3fdb22191424a260793ee1617dc64348.woff2 new file mode 100644 index 0000000..60af6f8 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/3fdb22191424a260793ee1617dc64348.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/4c2f99d8c4ffb82cd7a5c4729c665617.woff2 b/theme/friends-spessart/assets/fonts/4c2f99d8c4ffb82cd7a5c4729c665617.woff2 new file mode 100644 index 0000000..a4f1280 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/4c2f99d8c4ffb82cd7a5c4729c665617.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/6cbc541b4b08064ac68749c0080e9293.woff2 b/theme/friends-spessart/assets/fonts/6cbc541b4b08064ac68749c0080e9293.woff2 new file mode 100644 index 0000000..2ed795e Binary files /dev/null and b/theme/friends-spessart/assets/fonts/6cbc541b4b08064ac68749c0080e9293.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/70e287d226c38e1fc90d7b5566756759.woff2 b/theme/friends-spessart/assets/fonts/70e287d226c38e1fc90d7b5566756759.woff2 new file mode 100644 index 0000000..c7acd10 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/70e287d226c38e1fc90d7b5566756759.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/7302637afaa69bc1da98d026d62d32c2.woff2 b/theme/friends-spessart/assets/fonts/7302637afaa69bc1da98d026d62d32c2.woff2 new file mode 100644 index 0000000..dcd6fee Binary files /dev/null and b/theme/friends-spessart/assets/fonts/7302637afaa69bc1da98d026d62d32c2.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/7f84396d136c08d2218f7cf1479b06b3.woff2 b/theme/friends-spessart/assets/fonts/7f84396d136c08d2218f7cf1479b06b3.woff2 new file mode 100644 index 0000000..33c8a26 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/7f84396d136c08d2218f7cf1479b06b3.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/93cdc0746f75f42e65646cdad28fbcaf.woff2 b/theme/friends-spessart/assets/fonts/93cdc0746f75f42e65646cdad28fbcaf.woff2 new file mode 100644 index 0000000..400ed84 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/93cdc0746f75f42e65646cdad28fbcaf.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/aaa351bc6479dba48533e496ebf0cc05.woff2 b/theme/friends-spessart/assets/fonts/aaa351bc6479dba48533e496ebf0cc05.woff2 new file mode 100644 index 0000000..02f926e Binary files /dev/null and b/theme/friends-spessart/assets/fonts/aaa351bc6479dba48533e496ebf0cc05.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/b576192ef398e162ced9676529ad995e.woff2 b/theme/friends-spessart/assets/fonts/b576192ef398e162ced9676529ad995e.woff2 new file mode 100644 index 0000000..da60c9a Binary files /dev/null and b/theme/friends-spessart/assets/fonts/b576192ef398e162ced9676529ad995e.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/barlow-300-latin-ext.woff2 b/theme/friends-spessart/assets/fonts/barlow-300-latin-ext.woff2 new file mode 100644 index 0000000..91c127a Binary files /dev/null and b/theme/friends-spessart/assets/fonts/barlow-300-latin-ext.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/barlow-300-latin.woff2 b/theme/friends-spessart/assets/fonts/barlow-300-latin.woff2 new file mode 100644 index 0000000..5b4ffac Binary files /dev/null and b/theme/friends-spessart/assets/fonts/barlow-300-latin.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/barlow-400-latin-ext.woff2 b/theme/friends-spessart/assets/fonts/barlow-400-latin-ext.woff2 new file mode 100644 index 0000000..5c6eb7a Binary files /dev/null and b/theme/friends-spessart/assets/fonts/barlow-400-latin-ext.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/barlow-400-latin.woff2 b/theme/friends-spessart/assets/fonts/barlow-400-latin.woff2 new file mode 100644 index 0000000..3914af4 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/barlow-400-latin.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/barlow-400i-latin-ext.woff2 b/theme/friends-spessart/assets/fonts/barlow-400i-latin-ext.woff2 new file mode 100644 index 0000000..aa6c8cc Binary files /dev/null and b/theme/friends-spessart/assets/fonts/barlow-400i-latin-ext.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/barlow-400i-latin.woff2 b/theme/friends-spessart/assets/fonts/barlow-400i-latin.woff2 new file mode 100644 index 0000000..190e104 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/barlow-400i-latin.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/barlow-500-latin-ext.woff2 b/theme/friends-spessart/assets/fonts/barlow-500-latin-ext.woff2 new file mode 100644 index 0000000..4966af7 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/barlow-500-latin-ext.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/barlow-500-latin.woff2 b/theme/friends-spessart/assets/fonts/barlow-500-latin.woff2 new file mode 100644 index 0000000..b1d06c6 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/barlow-500-latin.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/barlow-500i-latin-ext.woff2 b/theme/friends-spessart/assets/fonts/barlow-500i-latin-ext.woff2 new file mode 100644 index 0000000..8abda5e Binary files /dev/null and b/theme/friends-spessart/assets/fonts/barlow-500i-latin-ext.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/barlow-500i-latin.woff2 b/theme/friends-spessart/assets/fonts/barlow-500i-latin.woff2 new file mode 100644 index 0000000..ff6bac7 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/barlow-500i-latin.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/barlow-600-latin-ext.woff2 b/theme/friends-spessart/assets/fonts/barlow-600-latin-ext.woff2 new file mode 100644 index 0000000..3d7c7a2 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/barlow-600-latin-ext.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/barlow-600-latin.woff2 b/theme/friends-spessart/assets/fonts/barlow-600-latin.woff2 new file mode 100644 index 0000000..b1a019f Binary files /dev/null and b/theme/friends-spessart/assets/fonts/barlow-600-latin.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/barlow-800-latin-ext.woff2 b/theme/friends-spessart/assets/fonts/barlow-800-latin-ext.woff2 new file mode 100644 index 0000000..66e28e9 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/barlow-800-latin-ext.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/barlow-800-latin.woff2 b/theme/friends-spessart/assets/fonts/barlow-800-latin.woff2 new file mode 100644 index 0000000..a2f1a0d Binary files /dev/null and b/theme/friends-spessart/assets/fonts/barlow-800-latin.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/ca36464348e72577d4c08f00b8c56775.woff2 b/theme/friends-spessart/assets/fonts/ca36464348e72577d4c08f00b8c56775.woff2 new file mode 100644 index 0000000..587b7a0 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/ca36464348e72577d4c08f00b8c56775.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/d3b0bc19cee1db0087457276a11ca4b7.woff2 b/theme/friends-spessart/assets/fonts/d3b0bc19cee1db0087457276a11ca4b7.woff2 new file mode 100644 index 0000000..9118cc6 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/d3b0bc19cee1db0087457276a11ca4b7.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/dc56a708306b4ec5c855db89129fed6e.woff2 b/theme/friends-spessart/assets/fonts/dc56a708306b4ec5c855db89129fed6e.woff2 new file mode 100644 index 0000000..7c43025 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/dc56a708306b4ec5c855db89129fed6e.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/e951cef8dc511228a53fc2237f4990c2.woff2 b/theme/friends-spessart/assets/fonts/e951cef8dc511228a53fc2237f4990c2.woff2 new file mode 100644 index 0000000..7f78ca9 Binary files /dev/null and b/theme/friends-spessart/assets/fonts/e951cef8dc511228a53fc2237f4990c2.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/f60870fcb2a300443eb47242c540ddfe.woff2 b/theme/friends-spessart/assets/fonts/f60870fcb2a300443eb47242c540ddfe.woff2 new file mode 100644 index 0000000..3726e9d Binary files /dev/null and b/theme/friends-spessart/assets/fonts/f60870fcb2a300443eb47242c540ddfe.woff2 differ diff --git a/theme/friends-spessart/assets/fonts/fonts.css b/theme/friends-spessart/assets/fonts/fonts.css new file mode 100644 index 0000000..e645947 --- /dev/null +++ b/theme/friends-spessart/assets/fonts/fonts.css @@ -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; +} diff --git a/theme/friends-spessart/assets/img/hero-wald-1200.jpg b/theme/friends-spessart/assets/img/hero-wald-1200.jpg new file mode 100644 index 0000000..52d9912 Binary files /dev/null and b/theme/friends-spessart/assets/img/hero-wald-1200.jpg differ diff --git a/theme/friends-spessart/assets/img/hero-wald-2400.jpg b/theme/friends-spessart/assets/img/hero-wald-2400.jpg new file mode 100644 index 0000000..e0d2bc5 Binary files /dev/null and b/theme/friends-spessart/assets/img/hero-wald-2400.jpg differ diff --git a/theme/friends-spessart/assets/img/hero-wald-800.jpg b/theme/friends-spessart/assets/img/hero-wald-800.jpg new file mode 100644 index 0000000..f7b4034 Binary files /dev/null and b/theme/friends-spessart/assets/img/hero-wald-800.jpg differ diff --git a/theme/friends-spessart/assets/js/main.js b/theme/friends-spessart/assets/js/main.js new file mode 100644 index 0000000..339c006 --- /dev/null +++ b/theme/friends-spessart/assets/js/main.js @@ -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 = '×'; + 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); + }); + }); +}); diff --git a/theme/friends-spessart/footer.php b/theme/friends-spessart/footer.php new file mode 100644 index 0000000..04b01a5 --- /dev/null +++ b/theme/friends-spessart/footer.php @@ -0,0 +1,44 @@ + + + +
Diesen Weg gibt es im Spessart leider nicht. Vielleicht hilft Ihnen einer dieser Einstiege weiter: