/* ============================================
   MARIUS FRANK - Website Styles
   Farben und Schriften gemÃ¤ss CI/CD
   ============================================ */

/* --- Schriftarten einbinden --- */
@font-face {
    font-family: 'Amalfi Coast';
    src: url('../fonts/amalfi_coast.woff2') format('woff2'),
         url('../fonts/amalfi_coast.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Montserrat wird aus den TTF-Files geladen */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* --- CI-Variablen --- */
:root {
    --mf-red: #c51718;
    --mf-red-dark: #a01213;
    --mf-white: #ffffff;
    --mf-black: #0a0a0a;
    --mf-dark: #1a1a1a;
    --mf-grey: #2a2a2a;
    --mf-text: #e8e8e8;
    --mf-text-muted: #a8a8a8;

    --font-body: 'Montserrat', sans-serif;
    --font-display: 'Montserrat', sans-serif;
    --font-script: 'Amalfi Coast', cursive;
}

/* --- Grundlayout --- */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: var(--mf-black);
    color: var(--mf-text);
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.6;
}

/* Holz-Textur Hintergrund mit dunklem Overlay (wie im Dossier) */
body {
    background-color: var(--mf-black);
    background-image:
        /* Oberste Ebene: dunkler Schleier (85% schwarz) */
        linear-gradient(rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.88)),
        /* Darunter: Holz-Textur */
        url('../img/wood-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;  /* bleibt beim Scrollen stehen - eleganter */
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Sektionen mit abwechselnden Transparenzen - damit das Holz durchschimmert */
section {
    position: relative;
}

/* Leicht hellere Sektion fÃ¼r Kontrast (wie im Dossier) */
.section-dark {
    background-color: rgba(0, 0, 0, 0.5);
}

/* --- Typografie --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 900;
    font-style: italic;
    color: var(--mf-white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.script-font {
    font-family: var(--font-script);
    font-weight: normal;
    font-style: normal;
    text-transform: none;
    font-size: 1.2em;
}

a {
    color: var(--mf-red);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--mf-white);
}

/* --- Navigation --- */
.navbar-mf {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--mf-red);
    padding: 1rem 0;
}

.navbar-mf .navbar-brand {
    font-family: var(--font-display);
    font-weight: 900;
    font-style: italic;
    color: var(--mf-white) !important;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    padding: 0;
}

.navbar-mf .navbar-brand span {
    color: var(--mf-red);
}

/* Logo-Bild in Navigation */
.navbar-logo {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 40px;
    }
}

.navbar-mf .nav-link {
    color: var(--mf-white) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin: 0 0.5rem;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.navbar-mf .nav-link:hover,
.navbar-mf .nav-link.active {
    color: var(--mf-red) !important;
}

.navbar-mf .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--mf-red);
}

.navbar-toggler {
    border-color: var(--mf-red);
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* --- Titel-Banner (wie im Dossier, rote Balken) --- */
.section-banner {
    background-color: var(--mf-red);
    padding: 1rem 2rem;
    margin: 2rem 0;
    position: relative;
    display: inline-block;
    min-width: 300px;
}

.section-banner h2 {
    margin: 0;
    color: var(--mf-white);
    font-size: 2rem;
}

.section-banner-script {
    font-family: var(--font-script);
    font-style: normal;
    font-weight: normal;
    text-transform: none;
    font-size: 3rem;
    color: var(--mf-white);
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
}

.section-banner-script::before {
    content: '';
    position: absolute;
    left: -20px;
    right: -20px;
    top: 50%;
    height: 60%;
    background-color: var(--mf-red);
    z-index: -1;
    transform: translateY(-50%) skewX(-2deg);
}

/* --- Karten / Boxen --- */
.mf-card {
    background-color: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(197, 23, 24, 0.2);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.mf-card-header {
    background-color: var(--mf-red);
    color: var(--mf-white);
    padding: 0.75rem 1.5rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: inline-block;
}

/* --- Buttons --- */
.btn-mf {
    background-color: var(--mf-red);
    color: var(--mf-white);
    border: 2px solid var(--mf-red);
    padding: 0.75rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-mf:hover {
    background-color: transparent;
    color: var(--mf-red);
    border-color: var(--mf-red);
}

.btn-mf-outline {
    background-color: transparent;
    color: var(--mf-white);
    border: 2px solid var(--mf-white);
    padding: 0.75rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-mf-outline:hover {
    background-color: var(--mf-white);
    color: var(--mf-black);
}

/* --- Hero Bereich --- */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    border: 8px solid var(--mf-white);
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* --- Formulare --- */
.form-mf .form-label {
    color: var(--mf-white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.form-mf .form-control,
.form-mf .form-select {
    background-color: var(--mf-grey);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--mf-white);
    padding: 0.75rem 1rem;
    border-radius: 2px;
}

.form-mf .form-control:focus,
.form-mf .form-select:focus {
    background-color: var(--mf-grey);
    border-color: var(--mf-red);
    color: var(--mf-white);
    box-shadow: 0 0 0 0.2rem rgba(197, 23, 24, 0.25);
}

.form-mf .form-control::placeholder {
    color: var(--mf-text-muted);
}

/* --- Platzhalter fÃ¼r Bilder --- */
.img-placeholder {
    background-color: var(--mf-grey);
    border: 2px dashed rgba(197, 23, 24, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mf-text-muted);
    text-align: center;
    padding: 2rem;
    min-height: 200px;
    font-style: italic;
}

/* --- Statistik / Zahlen-Kreise (wie im Dossier) --- */
.stat-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--mf-white);
    color: var(--mf-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    font-style: italic;
    margin: 0 auto;
}

.stat-circle.red {
    background-color: var(--mf-red);
    color: var(--mf-white);
}

.stat-label {
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--mf-white);
}

/* --- Sport-Seite: Grosse Bilder --- */
.sport-img {
    border: 6px solid var(--mf-white);
    border-radius: 2px;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* --- Sport-Seite: Kranz-Boxen --- */
.kranz-box {
    background-color: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(197, 23, 24, 0.2);
    padding: 1.5rem 1rem;
    border-radius: 4px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.kranz-box:hover {
    transform: translateY(-3px);
    border-color: var(--mf-red);
}

.kranz-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.kranz-name {
    color: var(--mf-text);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.kranz-zahl {
    color: var(--mf-white);
    font-weight: 900;
    font-style: italic;
    font-size: 2.2rem;
    line-height: 1;
}

/* Total-Box: rot hervorgehoben */
.kranz-total {
    background-color: var(--mf-red);
    border-color: var(--mf-red);
    flex-direction: row;
    justify-content: space-around;
    padding: 1rem 2rem;
}

.kranz-total .kranz-name {
    color: var(--mf-white);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.kranz-zahl-gross {
    color: var(--mf-white);
    font-weight: 900;
    font-style: italic;
    font-size: 3rem;
    line-height: 1;
}

/* --- Agenda-Liste --- */
.agenda-row {
    border-bottom: 1px dashed rgba(197, 23, 24, 0.4);
    padding: 0.75rem 0;
    display: grid;
    grid-template-columns: 150px 1fr 200px;
    gap: 1rem;
    align-items: center;
}

.agenda-row:last-child {
    border-bottom: none;
}

.agenda-date {
    color: var(--mf-text-muted);
    font-size: 0.9rem;
}

.agenda-name {
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    color: var(--mf-white);
    letter-spacing: 0.03em;
}

.agenda-location {
    color: var(--mf-text-muted);
    font-size: 0.9rem;
    text-align: right;
}

/* --- Sponsoren-Stufen (Hauptsponsor / Sponsoren / Partner / VerbÃ¤nde) --- */
.sponsor-tier {
    margin-top: 3rem;
}

.sponsor-tier-title {
    color: var(--mf-white);
    font-size: 1.3rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--mf-red);
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

/* Hauptsponsor: nur 1 Spalte, grosses Logo, linksbÃ¼ndig */
.sponsor-grid-main {
    grid-template-columns: minmax(280px, 400px);
    justify-content: start;
}

.sponsor-grid-main .sponsor-card {
    min-height: 220px;
    padding: 3rem 2rem;
}

.sponsor-grid-main .sponsor-card img {
    max-height: 140px;
}

.sponsor-card {
    background-color: var(--mf-white);
    padding: 2rem 1.5rem;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(197, 23, 24, 0.3);
}

.sponsor-card img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 576px) {
    .sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .sponsor-grid-main {
        grid-template-columns: 1fr;
    }

    .sponsor-tier-title {
        font-size: 1.1rem;
    }
}

/* --- Footer --- */
.footer-mf {
    background-color: var(--mf-black);
    border-top: 2px solid var(--mf-red);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    color: var(--mf-text-muted);
    font-size: 0.9rem;
}

.footer-mf a {
    color: var(--mf-text-muted);
}

.footer-mf a:hover {
    color: var(--mf-red);
}

.footer-title {
    color: var(--mf-white);
    font-size: 1rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(197, 23, 24, 0.5);
    width: 60px;
    margin: 1rem 0 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.85;
}

.social-icons a:hover {
    transform: translateY(-3px);
    opacity: 1;
}

.social-icons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-icons i {
    font-size: 1.6rem;
    color: var(--mf-white);
    transition: color 0.2s ease;
}

.social-icons a:hover i {
    color: var(--mf-red);
}

/* --- Alerts fÃ¼r Formulare --- */
.alert-mf-success {
    background-color: rgba(40, 167, 69, 0.15);
    border: 1px solid #28a745;
    color: #d4edda;
    padding: 1rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.alert-mf-error {
    background-color: rgba(197, 23, 24, 0.15);
    border: 1px solid var(--mf-red);
    color: #f8d7da;
    padding: 1rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

/* ============================================
   RESPONSIVE - TABLET & MOBILE
   Desktop-Look bleibt vollstÃ¤ndig erhalten.
   Breakpoints: 992px (Tablet), 768px (Mobile gross), 576px (Phone)
   ============================================ */

/* --- TABLET: bis 992px --- */
@media (max-width: 992px) {

    /* Container etwas mehr Luft am Rand */
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Hero: Bild rÃ¼ckt unter den Text */
    .hero {
        padding: 3rem 0;
    }

    /* Hero-Bild kleiner */
    .hero-image {
        max-width: 450px;
        margin-top: 2rem;
    }

    /* Hero-Schrift "MARIUS FRANK" etwas kleiner */
    .hero h1 {
        font-size: 4rem !important;
    }

    /* Sektionen: weniger Padding */
    section.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    /* Schreibschrift-Titel kleiner */
    .section-banner-script {
        font-size: 2.5rem;
    }

    /* Sport-Bilder: nicht mehr 4:3, sondern flexibel */
    .sport-img {
        aspect-ratio: 16/10;
    }

    /* CTA-Bereich Sponsoren: untereinander */
    section h3[style*="font-size:2rem"] {
        font-size: 1.6rem !important;
    }
}

/* --- MOBILE GROSS: bis 768px --- */
@media (max-width: 768px) {

    /* Holz-Hintergrund: nicht mehr fixed (verursacht auf iOS Probleme) */
    body {
        background-attachment: scroll;
    }

    /* Container: noch mehr seitliche Luft */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Hero: kompakter */
    .hero {
        min-height: auto;
        padding: 2rem 0;
        text-align: center;
    }

    /* Hero-Schrift "MARIUS FRANK" zentriert, kleiner */
    .hero h1 {
        font-size: 3rem !important;
    }

    /* Hero-Lead-Text zentriert */
    .hero .lead {
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }

    /* Hero-Bild kleiner und volle Breite */
    .hero-image {
        max-width: 100%;
        border-width: 6px;
        margin-top: 1.5rem;
    }

    /* Buttons-Bereich zentriert */
    .hero .mt-4 {
        text-align: center;
    }

    /* Buttons schmaler aber gut tappbar */
    .btn-mf, .btn-mf-outline {
        padding: 0.65rem 1.5rem;
        font-size: 0.85rem;
        letter-spacing: 0.05em;
    }

    /* Schreibschrift-Titel deutlich kleiner */
    .section-banner-script {
        font-size: 2rem;
    }

    /* Karten: weniger Padding */
    .mf-card {
        padding: 1.25rem;
    }

    /* Card-Header etwas kleiner */
    .mf-card-header {
        font-size: 0.9rem;
        padding: 0.6rem 1.25rem;
    }

    /* Action-Bild auf Index: dÃ¼nnerer Rahmen */
    .col-md-6 img[style*="border: 8px solid"] {
        border-width: 6px !important;
    }

    /* Agenda: untereinander */
    .agenda-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding: 1rem 0;
    }

    .agenda-name {
        font-size: 1rem;
    }

    .agenda-location {
        text-align: left;
    }

    /* Sport-Seite: Kranz-Icons kleiner */
    .kranz-icon {
        width: 50px;
        height: 50px;
    }

    .kranz-zahl {
        font-size: 1.8rem;
    }

    .kranz-zahl-gross {
        font-size: 2.5rem;
    }

    .kranz-name {
        font-size: 0.75rem;
    }

    /* Total-Box: nicht mehr horizontal, sondern vertikal */
    .kranz-total {
        flex-direction: column !important;
        padding: 1rem !important;
    }

    /* Sponsor-Tier-Title kleiner */
    .sponsor-tier-title {
        font-size: 1.1rem;
        padding-left: 0.75rem;
    }

    .sponsor-tier {
        margin-top: 2rem;
    }

    /* Sponsor-Karten: 2 Spalten statt 4-5 */
    .sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .sponsor-grid-main {
        grid-template-columns: 1fr;
    }

    .sponsor-card {
        min-height: 110px;
        padding: 1.25rem 1rem;
    }

    .sponsor-card img {
        max-height: 60px;
    }

    .sponsor-grid-main .sponsor-card {
        min-height: 160px;
        padding: 2rem 1.5rem;
    }

    .sponsor-grid-main .sponsor-card img {
        max-height: 100px;
    }

    /* Footer: Trennstrich-Bereich zentriert */
    .footer-mf {
        text-align: center;
    }

    .footer-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .social-icons {
        justify-content: center;
    }

    /* Footer Spalten mit etwas Abstand */
    .footer-mf .col-md-6 {
        margin-bottom: 1.5rem;
    }

    /* Formulare: grÃ¶ssere Touch-Targets */
    .form-mf .form-control,
    .form-mf .form-select {
        padding: 0.85rem 1rem;
        font-size: 1rem;
    }

    .form-mf .form-label {
        font-size: 0.8rem;
    }

    /* Shop-Karten: Bild-HÃ¶he leicht anpassen */
    .shop-card-img {
        aspect-ratio: 1 / 1;
    }

    .shop-card-title {
        font-size: 1.1rem;
    }

    .shop-card-desc {
        font-size: 0.85rem;
    }

    /* CTA-Sponsoren: Texte zentriert */
    section h3[style*="font-size:2rem"] {
        font-size: 1.4rem !important;
        text-align: center;
    }

    /* Navigation: Hamburger-MenÃ¼ Items grÃ¶sser fÃ¼r Touch */
    .navbar-mf .navbar-collapse {
        background-color: rgba(10, 10, 10, 0.98);
        margin-top: 1rem;
        padding: 1rem 0;
        border-radius: 4px;
    }

    .navbar-mf .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0;
        font-size: 1rem;
    }

    .navbar-mf .nav-link.active::after {
        display: none;
    }

    .navbar-mf .nav-link.active {
        background-color: rgba(197, 23, 24, 0.15);
        border-left: 3px solid var(--mf-red);
    }
}

/* --- PHONE: bis 576px --- */
@media (max-width: 576px) {

    /* Hero-Schrift noch kompakter */
    .hero h1 {
        font-size: 2.5rem !important;
    }

    /* Schreibschrift-Titel kleiner */
    .section-banner-script {
        font-size: 1.7rem;
    }

    /* Sport-Bilder: 16:9 statt 4:3 (sieht auf Phone besser aus) */
    .sport-img {
        aspect-ratio: 16/10;
    }

    /* Action-Bild dÃ¼nnere Border */
    .col-md-6 img[style*="border: 8px solid"] {
        border-width: 4px !important;
    }

    /* Sponsor-Karten: kleiner */
    .sponsor-card {
        min-height: 90px;
        padding: 1rem 0.75rem;
    }

    .sponsor-card img {
        max-height: 50px;
    }

    /* Shop-Karten: Body-Padding reduziert */
    .shop-card-body {
        padding: 1rem;
    }

    .shop-card-title {
        font-size: 1rem;
    }

    /* Footer-Titel etwas kleiner */
    .footer-title {
        font-size: 0.9rem;
    }
}

/* --- ALTE Mobile-Query als Fallback (kompakt) --- */
@media (max-width: 768px) {
    .agenda-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .agenda-location {
        text-align: left;
    }
}

/* ============================================
   FANSHOP-KACHELN
   Am Ende der style.css einfÃ¼gen
   ============================================ */

.shop-card {
    background-color: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(197, 23, 24, 0.2);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: var(--mf-text);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.shop-card:hover {
    transform: translateY(-5px);
    border-color: var(--mf-red);
    box-shadow: 0 15px 40px rgba(197, 23, 24, 0.25);
    color: var(--mf-text);
}

.shop-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--mf-white);   /* weisser Hintergrund wie im Shop */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;                        /* etwas Luft um das Produkt */
}


.shop-card-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;                  /* zeigt das Bild GANZ, ohne abzuschneiden */
    transition: transform 0.4s ease;
}

.shop-card:hover .shop-card-img img {
    transform: scale(1.05);
}

/* Autogrammkarten-Kachel: oberer Bereich ohne Bild */
.shop-card-img-text {
    background: linear-gradient(135deg, rgba(197, 23, 24, 0.1), rgba(20, 20, 20, 0.6));
    padding: 2rem 1rem;
}

.shop-card-info {
    cursor: default;
}

.shop-card-info:hover {
    transform: none;
    border-color: rgba(197, 23, 24, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.shop-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.shop-card-title {
    color: var(--mf-white);
    font-size: 1.25rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}

.shop-card-desc {
    font-size: 0.9rem;
    color: var(--mf-text-muted);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.shop-card-price {
    color: var(--mf-red);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-top: auto;
}

.shop-card-price span {
    display: inline-block;
}

.shop-card-address {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0.75rem;
    border-left: 3px solid var(--mf-red);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--mf-white);
}

/* ============================================
   KONTAKT-BILD - Fix gegen Quetschen
   In style.css den alten kontakt-bild Block ersetzen
   ============================================ */
 
.kontakt-bild-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;            /* Hochformat-Verhältnis - Bild wird nicht gestaucht */
    overflow: hidden;
    border: 6px solid var(--mf-white);
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
 
.kontakt-bild {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;     /* Falls Gesicht oben, bleibt es sichtbar */
    display: block;
}
 
/* Auf grossen Bildschirmen: noch schlanker (mehr hoch) */
@media (min-width: 992px) {
    .kontakt-bild-wrapper {
        aspect-ratio: 3 / 4;          /* bleibt Hochformat, kein min-height mehr */
    }
}
 
/* Mobile: weniger hoch */
@media (max-width: 576px) {
    .kontakt-bild-wrapper {
        aspect-ratio: 4 / 3;          /* querformat auf Phone (weniger scrollen) */
        border-width: 4px;
    }
}