/* ==========================================================
   125 Jahre Freiwillige Feuerwehr Lorsbach
   style.css
   ----------------------------------------------------------
   Basislayout
   Farben
   Typografie
   Buttons
   Container
   ========================================================== */


/* ==========================================================
   CSS Variablen
   ========================================================== */

:root {

    --color-primary: #ff0000;
    --color-primary-dark: #ff0000;

    --color-text: #000000;
    --color-text-light: #000000;

    --color-border: #e5e5e5;

    --radius-small: 8px;
    --radius: 14px;
    --radius-large: 22px;

    --shadow:

        0 10px 30px rgba(0,0,0,.08);

    --transition:

        .25s ease;

    --container-width: 1180px;

}


/* ==========================================================
   Reset
   ========================================================== */

*,
*::before,
*::after {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}



/* ==========================================================
   Links
   ========================================================== */

a {

    color: inherit;

    text-decoration: none;

    transition: var(--transition);

}


/* ==========================================================
   Container
   ========================================================== */

.container {

    width:

        min(
            calc(100% - 3rem),
            var(--container-width)
        );

    margin-inline: auto;

}


/* ==========================================================
   Abschnitte
   ========================================================== */

section {

    padding:

        3rem 0;

}


/* ==========================================================
   Überschriften
   ========================================================== */

h1,
h2,
h3,
h4 {

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -.03em;

}

h1 {

    font-size: clamp(2rem, 4vw, 3rem);

}

h2 {

    font-size: clamp(2.1rem, 4vw, 3.7rem);

    margin-bottom: 1.5rem;

}

h3 {

    font-size: 2.2rem;

    margin-bottom: .9rem;

}


/* ==========================================================
   Fließtext
   ========================================================== */

p {

    color: var(--color-text-light);

    margin-bottom: 1.25rem;

}


/* ==========================================================
   Lead
   ========================================================== */

.lead {

    max-width: 760px;

    font-size: 1.2rem;

}


/* ==========================================================
   Kleine Überschrift
   ========================================================== */

.eyebrow,
.section-title {

    display: inline-block;

    margin-bottom: 1rem;

    color: var(--color-primary);

    font-size: .9rem;

    font-weight: 700;

    letter-spacing: .18em;

    text-transform: uppercase;

}


/* ==========================================================
   Section Header
   ========================================================== */

.section-header {

    margin-bottom: 3rem;

}


/* ==========================================================
   Buttons
   ========================================================== */

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: .5rem;

    padding:

        1rem 2rem;

    border-radius: 999px;

    font-weight: 700;

    transition: var(--transition);

    cursor: pointer;

}


/* Roter Button */

.button.primary {

    background: var(--color-primary);

    color: #ffffff;

}


/* Weißer Button */

.button.secondary {

    background: #ffffff;

    color: var(--color-primary);

    border:

        2px solid var(--color-primary);

}


/* Hover */

.button.primary:hover {

    background: var(--color-primary-dark);

}

.button.secondary:hover {

    background: var(--color-primary);

    color: #ffdc08;

}


/* ==========================================================
   Grid Helfer
   ========================================================== */

.grid {

    display: grid;

    gap: 2rem;

}


/* ==========================================================
   Karten
   ========================================================== */

.card {

    background: background: var(--color-background);

    border-radius: var(--radius);

    padding: 2rem;

    box-shadow: var(--shadow);

}


/* ==========================================================
   Farbige Linie über Karten
   ========================================================== */

.card::before {

    content: "";

    display: block;

    width: 60px;

    height: 4px;

    background: var(--color-primary);

    margin-bottom: 1.5rem;

}


/* ==========================================================
   Hilfsklassen
   ========================================================== */

.text-center {

    text-align: center;

}

.text-left {

    text-align: left;

}

.text-right {

    text-align: right;

}

.bg-light {

    background: var(--color-background-alt);

}

.bg-red {

    background: var(--color-primary);

    color: white;

}

.bg-red p {

    color: rgba(255,255,255,.85);

}
/* ==========================================================
   HEADER
   ========================================================== */

header {

    position: sticky;
    top: 0;
    z-index: 1000;

    background: background: var(--color-background);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--color-border);

}

header .container {

    display: flex;
    justify-content: space-between;
    align-items: center;

    min-height: 82px;

}


/* ==========================================================
   LOGO
   ========================================================== */

.logo {

    display: flex;
    align-items: center;
    gap: 1rem;

}

.logo-number {

    font-size: 3rem;
    font-weight: 800;
    line-height: 1;

    color: var(--color-primary);

}

.logo-text {

    display: flex;
    flex-direction: column;

}

.logo-text span {

    text-transform: uppercase;
    letter-spacing: .25em;
    font-size: .72rem;
    font-weight: 700;

    color: var(--color-primary);

}

.logo-text h1 {

    font-size: 1.15rem;
    margin: 0;

}


/* ==========================================================
   NAVIGATION
   ========================================================== */

nav ul {

    display: flex;
    align-items: center;
    gap: 2rem;
	list-style: none;
	padding-left: 0;

}

nav a {

    position: relative;

    font-size: .95rem;
    font-weight: 600;

}

nav a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -.4rem;

    width: 0;
    height: 2px;

    background: var(--color-primary);

    transition: .25s ease;

}

nav a:hover::after {

    width: 100%;

}


/* ==========================================================
   HERO
   ========================================================== */

.hero {

    position: relative;

    overflow: hidden;

    background: var(--color-background);

}

.hero-grid {

    display: grid;

    grid-template-columns:

        1fr
        420px;

    align-items: center;

    gap: 4rem;

}


/* ==========================================================
   HERO TEXT
   ========================================================== */

.hero-text {

    position: relative;
    z-index: 5;

}

.hero h2 {

    max-width: 12ch;

    margin-bottom: 2rem;

}

.hero p {

    max-width: 38rem;

    margin-bottom: 2.5rem;

}


/* ==========================================================
   BUTTONS
   ========================================================== */

.hero-buttons {

    display: flex;
    gap: 1rem;

    flex-wrap: wrap;

}


/* ==========================================================
   HERO SCROLL INDICATOR
   ========================================================== */

.hero::after {

    content: "";

    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 10px;

    background:

        linear-gradient(
            90deg,
            var(--color-primary),
            transparent
        );

}


/* ==========================================================
   INTRO
   ========================================================== */

.intro {

    background: var(--color-background);

}

.features {

    display: grid;

    grid-template-columns:

        repeat(4, 1fr);

    gap: 2rem;

    margin-top: 4rem;

}

.features_wide {

    display: grid;

    grid-template-columns:

        repeat(2, 1fr);

    gap: 2rem;

    margin-top: 4rem;

}

.feature {

    padding: 2rem;

    background: var(--color-background);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: .25s ease;

    border-top:

        5px solid var(--color-primary);

}

.feature:hover {

    transform:

        translateY(-6px);

}

.feature h3 {

    margin-top: .5rem;

}

.feature p {

    margin-bottom: 0;

}

.feature-icon {

    display: flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    border-radius: 50%;

    background:

        rgba(181,18,27,.08);

    color: var(--color-primary);

    font-size: 1.5rem;

    margin-bottom: 1rem;

}
/* ==========================================================
   ZWEISPALTIGER CONTENT
   ========================================================== */

.split {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 3rem;

    align-items: stretch;

}


/* ==========================================================
   CONTENT BOX
   ========================================================== */

.content-box {

    display: flex;
    flex-direction: column;

    background: var(--color-background);

    padding: 3rem;

    border-radius: var(--radius-large);

    box-shadow: var(--shadow);

    border-top: 6px solid var(--color-primary);

}

.content-box h2 {

    margin-bottom: 1rem;

}

.content-box p:last-of-type {

    margin-bottom: 2rem;

}


/* ==========================================================
   LISTEN
   ========================================================== */

.checklist {

    display: grid;

    gap: 1rem;

    margin: 2rem 0;

}

.checklist li {

    position: relative;

    padding-left: 2rem;

    color: var(--color-text);

    font-weight: 500;

}

.checklist li::before {

    content: "✓";

    position: absolute;

    left: 0;

    color: var(--color-primary);

    font-weight: 700;

}


/* ==========================================================
   DOWNLOAD BUTTON
   ========================================================== */

.download-button {

    margin-top: auto;

}


/* ==========================================================
   SPENDENBOX
   ========================================================== */

.donation-box {

    display: grid;

    gap: 1.5rem;

    margin: 2rem 0;

}

.donation-item {

    padding-bottom: 1rem;

    border-bottom: 1px solid var(--color-border);

}

.donation-item:last-child {

    border-bottom: none;

}

.donation-label {

    display: block;

    margin-bottom: .35rem;

    font-size: .85rem;

    text-transform: uppercase;

    letter-spacing: .18em;

    font-weight: 700;

    color: var(--color-primary);

}

.donation-value {

    font-size: 1.15rem;

    font-weight: 700;

    color: var(--color-text);

    word-break: break-word;

}


/* ==========================================================
   HINWEISBOX
   ========================================================== */

.notice {

    margin-top: 2rem;

    padding: 1.5rem;

    border-left: 5px solid var(--color-primary);

    background: rgba(181,18,27,.05);

    border-radius: 0 var(--radius) var(--radius) 0;

}

.notice p {

    margin: 0;

}


/* ==========================================================
   CALL TO ACTION
   ========================================================== */

.cta {

    background: var(--color-primary);

    color: white;

    text-align: center;

}

.cta h2 {

    color: white;

    margin-bottom: 1rem;

}

.cta p {

    max-width: 700px;

    margin: 0 auto 2rem;

    color: rgba(255,255,255,.9);

}

.cta-buttons {

    display: flex;

    justify-content: center;

    gap: 1rem;

    flex-wrap: wrap;

}

.cta .button.primary {

    background: white;

    color: var(--color-primary);

}

.cta .button.primary:hover {

    background: #f2f2f2;

}

.cta .button.secondary {

    background: transparent;

    color: white;

    border-color: rgba(255,255,255,.7);

}

.cta .button.secondary:hover {

    background: rgba(255,255,255,.15);

}


/* ==========================================================
   TRENNELEMENT
   ========================================================== */

.section-divider {

    width: 80px;
    height: 4px;

    margin: 0 auto 3rem;

    background: var(--color-primary);

    border-radius: 99px;

}


/* ==========================================================
   KLEINE INFOBOXEN
   ========================================================== */

.info-grid {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 2rem;

}

.info-card {

    padding: 2rem;

    border-radius: var(--radius);

    background: var(--color-background-alt);

}

.info-card h3 {

    margin-bottom: .75rem;

}

.info-card p {

    margin: 0;

}


/* ==========================================================
   ABSTÄNDE
   ========================================================== */

.mb-0 { margin-bottom:0; }
.mb-1 { margin-bottom:1rem; }
.mb-2 { margin-bottom:2rem; }
.mb-3 { margin-bottom:3rem; }
.mt-1 { margin-top:1rem; }
.mt-2 { margin-top:2rem; }
.mt-3 { margin-top:3rem; }


/* ==========================================================
   FOCUS
   ========================================================== */

a:focus-visible,
button:focus-visible {

    outline: 3px solid var(--color-primary);

    outline-offset: 3px;

}


/* ==========================================================
   AUSWAHL
   ========================================================== */

::selection {

    background: var(--color-primary);

    color: white;

}