diff --git a/theme/friends-spessart/assets/css/main.css.bak-aktionen b/theme/friends-spessart/assets/css/main.css.bak-aktionen deleted file mode 100644 index 817baaa..0000000 --- a/theme/friends-spessart/assets/css/main.css.bak-aktionen +++ /dev/null @@ -1,500 +0,0 @@ -@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 deleted file mode 100644 index b8846f4..0000000 --- a/theme/friends-spessart/assets/css/main.css.bak-navleft +++ /dev/null @@ -1,530 +0,0 @@ -@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; -}