/* ============================================
   BAYSAN GROUP – Stylesheet
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-bg:         #EDE8DF;
    --color-dark:       #1C1C1A;
    --color-green:      #2A5940;
    --color-card-cream: #F0EAE0;
    --color-card-light: #EBEBEB;
    --color-text-muted: #7A7065;

    --font-serif: 'Cormorant Garant', Georgia, serif;
    --font-sans:  'Montserrat', system-ui, sans-serif;

    --max-width: 980px;
    --radius: 14px;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--color-bg);
    color: var(--color-dark);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Navigation ─────────────────────────────── */

.nav {
    position: absolute;
    top: 0; right: 0;
    z-index: 100;
    padding: 14px 28px;
}

.nav__lang {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-btn {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--color-dark);
    text-decoration: none;
    opacity: 0.45;
    transition: opacity 0.2s;
}

.lang-btn--active {
    opacity: 1;
    font-weight: 500;
}

.lang-btn:hover { opacity: 1; }

.lang-sep {
    font-size: 10px;
    opacity: 0.3;
    color: var(--color-dark);
    line-height: 1;
}

/* ── Hero ───────────────────────────────────── */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 36px;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(ellipse at -6% 55%, rgba(110,140,80,0.13) 0%, transparent 46%),
        radial-gradient(ellipse at 6% 28%,  rgba(140,160,100,0.07) 0%, transparent 36%),
        var(--color-bg);
}

.hero::before {
    content: '';
    position: absolute;
    left: -80px; top: 0;
    width: 400px; height: 100%;
    background: radial-gradient(ellipse at 35% 42%, rgba(90,120,60,0.08) 0%, transparent 68%);
    pointer-events: none;
    transform: skewX(-6deg);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Baysan Group Logo PNG ──────────────────── */

.hero__logo {
    margin-bottom: 16px;
}

.baysan-logo-png {
    width: 200px;
    height: auto;
    display: block;
}

.footer-baysan-png {
    width: 60px;
    height: auto;
    display: block;
    opacity: 0.82;
}

.hero__divider {
    width: 1px;
    height: 36px;
    background: var(--color-dark);
    opacity: 0.28;
    margin-bottom: 20px;
}

.hero__tagline {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.65;
    color: var(--color-dark);
}

/* ── Companies Grid ─────────────────────────── */

.companies {
    padding: 28px 32px 32px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.companies__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.company {
    display: flex;
    flex-direction: column;
}

/* Card thumbnail — wenig Padding, Logo füllt die Fläche */
.company__card {
    border-radius: var(--radius);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 8px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company__card--dark  { background: #1C1C1A; }
.company__card--green { background: #2A5940; }
.company__card--cream { background: #F0EAE0; }
.company__card--light { background: #E8E5E0; }

/* Nur klickbare Karten bekommen den Hover-Effekt */
.company:hover .company__card:is(a) {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(28,28,26,0.14);
}

/* Logo images — groß, füllt die Karte */
.logo-img {
    max-width: 92%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Fzami logo (quadratisch) */
.logo-img--fzami {
    max-width: 72%;
    max-height: 72%;
}

/* Logos mit weißem Hintergrund auf hellen Karten */
.logo-img--multiply {
    mix-blend-mode: multiply;
}

/* ── Company info block ─────────────────────── */

.company__info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.company__name {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-dark);
    margin-bottom: 3px;
}

.company__desc {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.45;
    margin-bottom: 6px;
}

.company__link {
    text-decoration: none;
    color: var(--color-dark);
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    transition: transform 0.2s ease;
}

.company__link:hover {
    transform: translateX(4px);
}

/* ── Footer Tagline ─────────────────────────── */

.footer-tagline {
    text-align: center;
    padding: 28px 24px 30px;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-tagline__text {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.7;
    color: var(--color-dark);
}

/* ── Footer ─────────────────────────────────── */

.footer {
    background: var(--color-dark);
    padding: 22px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer__links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer__link {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer__link:hover { opacity: 1; }

.footer__social {
    display: flex;
    gap: 10px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: #fff;
    opacity: 0.75;
    transition: opacity 0.2s, border-color 0.2s;
}

.footer__social-link svg {
    width: 13px; height: 13px;
}

.footer__social-link--linkedin svg {
    fill: currentColor;
}

.footer__social-link:hover {
    opacity: 1;
    border-color: rgba(255,255,255,0.7);
}

/* ── Coming Soon ────────────────────────────── */

.company--coming-soon .company__card {
    background: #CECAC4;
    cursor: default;
    pointer-events: none;
    opacity: 0.6;
    position: relative;
}

/* Badge oben rechts */
.cs-badge {
    position: absolute;
    top: 7px; right: 7px;
    font-family: var(--font-sans);
    font-size: 6.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7A7065;
    background: rgba(255,255,255,0.6);
    padding: 2px 6px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 1;
}

/* Text im Info-Block grau */
.company--coming-soon .company__name,
.company--coming-soon .company__desc {
    color: #AAAAAA;
}

/* "Lord of X" Text-Logo in Karte */
.cs-lord {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    text-align: center;
}

.cs-lord-pre {
    font-family: var(--font-sans);
    font-size: 8px;
    letter-spacing: 0.26em;
    color: #888;
    font-weight: 400;
}

.cs-lord-main {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 400;
    color: #888;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

/* Generisches Brand-Text-Logo */
.cs-brand {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.12em;
    text-align: center;
    line-height: 1.4;
}

/* YARROS – aktive Marke ohne Bild */
.yarros-logo {
    font-family: var(--font-sans);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: 0.18em;
}

/* ── Responsive ─────────────────────────────── */

@media (max-width: 840px) {
    .companies { padding: 20px 20px 28px; }
    .companies__grid { gap: 12px; }
    .baysan-logo-png { width: 170px; }
    .hero__tagline { font-size: 18px; }
}

@media (max-width: 600px) {
    .nav { padding: 12px 16px; }

    .hero {
        padding: 52px 20px 28px;
    }

    .baysan-logo-png { width: 150px; }
    .hero__tagline { font-size: 16px; }
    .hero__divider { height: 28px; margin-bottom: 16px; }

    .companies { padding: 16px 12px 24px; }
    .companies__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .company__card { border-radius: 10px; padding: 8px; }
    .company__name { font-size: 11px; }
    .company__desc { font-size: 10px; }

    .footer__links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .footer-tagline { padding: 20px 24px 22px; }
    .footer-tagline__text { font-size: 15px; }
}

@media (max-width: 380px) {
    .companies__grid { gap: 8px; }
    .logo-img { max-width: 88%; max-height: 78%; }
}
