/* ===== SHARED CSS — toner-ankauf-einfach.de =====
   Variables, reset, navbar, footer, mobile menu, breadcrumbs,
   product table, buttons, utilities, brand pills, decorations.
   Loaded by both home.blade.php and layouts/master.blade.php.
   ================================================== */

/* ===== RESET & VARIABLES ===== */
:root {
    --cyan: #00aeef;
    --cyan-dark: #0090c7;
    --cyan-light: #e8f7fe;
    --magenta: #ec008c;
    --yellow: #fff200;
    --key: #1a1a2e;
    --key-lighter: #2d2d44;
    --warm-white: #fefcf9;
    --warm-bg: #faf7f2;
    --warm-gray: #f0ece6;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-pill: 4px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.10);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    color: var(--key);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.15;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }

.container-v16 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.caveat { font-family: 'Caveat', cursive; }

.gs-hidden {
    opacity: 0;
}

/* ===== NAVBAR ===== */
.navbar-v18 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    background: var(--white);
    border-bottom: none;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-cmyk-bar {
    display: flex;
    height: 3px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin: 0;
    border-radius: 0;
}
.nav-cmyk-bar span { flex: 1; }
.nav-cmyk-bar .bar-c { background: var(--cyan); }
.nav-cmyk-bar .bar-m { background: var(--magenta); }
.nav-cmyk-bar .bar-y { background: var(--yellow); }
.nav-cmyk-bar .bar-k { background: var(--key); }

.navbar-v18.scrolled .nav-cmyk-bar {
    max-width: calc(1100px - 6px);
    margin: 0 auto;
    height: 1px;
    border-radius: 0 0 4px 4px;
}

.navbar-v18 .navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar-v18 .nav-logo img {
    height: 34px;
    transition: var(--transition);
}

.logo-with-slogan {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.logo-slogan {
    display: block;
    white-space: nowrap;
    font-size: 0.9rem;
    color: #00aeef;
    font-weight: 600;
    margin-top: 2px;
    padding-left: 0;
    pointer-events: none;
}

.navbar-v18 .nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
}

.navbar-v18 .nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
}

.navbar-v18 .nav-links a:hover { color: var(--key); }
.navbar-v18 .nav-phone { font-size: 0.8rem; color: var(--gray-400); }

.navbar-v18 .nav-cta {
    background: var(--cyan);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
}

.navbar-v18 .nav-cta:hover {
    background: var(--cyan-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,174,239,0.3);
}

.navbar-v18.scrolled {
    padding: 10px 24px;
    background: transparent;
    border-bottom: 1px solid transparent;
}

.navbar-v18.scrolled .navbar-inner {
    max-width: 1100px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 4px;
    padding: 10px 24px;
    box-shadow: 0 0 8px rgba(0,0,0,0.29);
    border: none;
}

.navbar-v18.scrolled .nav-links a {
    color: var(--gray-600);
}

.navbar-v18.scrolled .nav-links a:hover {
    color: var(--key);
}

.navbar-v18.scrolled .nav-phone {
    color: var(--gray-400);
}

.navbar-v18.scrolled .nav-logo img {
    height: 30px;
}

.navbar-v18.scrolled .logo-slogan {
    font-size: 0.8rem;
}

.navbar-v18.scrolled .nav-burger {
    color: var(--key);
}

.nav-burger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--key);
    cursor: pointer;
    transition: var(--transition);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.2rem; font-weight: 600; color: var(--key); }
.mobile-menu .close-menu {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--key);
    cursor: pointer;
}

/* ===== FOOTER ===== */
.footer-v16 {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--gray-200);
}

.footer-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    pointer-events: none;
    z-index: 0;
}

.footer-v16 > *:not(.footer-bg-img) {
    position: relative;
    z-index: 1;
}

.footer-cmyk-bar { display: flex; height: 4px; }
.footer-cmyk-bar span { flex: 1; }
.footer-cmyk-bar .bar-c { background: var(--cyan); }
.footer-cmyk-bar .bar-m { background: var(--magenta); }
.footer-cmyk-bar .bar-y { background: var(--yellow); }
.footer-cmyk-bar .bar-k { background: var(--key); }

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: flex;
    gap: 40px;
}
.footer-top-left { flex: 0 0 55%; }
.footer-top-right { flex: 1; }

.footer-section-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-section-title i { font-size: 1rem; }

.footer-brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.footer-brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    min-height: 56px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: var(--transition);
}
.footer-brand-link img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}
.footer-brand-link:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.footer-contact-block { margin-bottom: 28px; }
.footer-contact-block p, .footer-contact-block a { font-size: 0.85rem; color: var(--gray-600); line-height: 1.7; }
.footer-contact-block a { color: var(--cyan); }
.footer-contact-block a:hover { text-decoration: underline; }
.footer-contact-block strong { color: var(--key); }

.footer-articles-list { list-style: none; padding: 0; margin: 0; }
.footer-articles-list li { display: flex; gap: 0; font-size: 0.8rem; line-height: 1.6; padding: 3px 0; color: var(--gray-500); }
.footer-article-brand { flex: 0 0 80px; font-weight: 700; color: var(--gray-600); text-transform: uppercase; font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.footer-article-desc { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 40px;
}

.footer-col {
    background: rgba(255,255,255,0.55);
    border-radius: var(--radius);
    padding: 24px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--key);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col h4 i {
    color: var(--cyan);
    font-size: 1rem;
}

.footer-col p, .footer-col a {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.8;
    display: block;
}

.footer-col a:hover { color: var(--cyan); }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 32px; }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p { font-size: 0.8rem; color: var(--gray-400); }

/* ===== SUBPAGE CONTENT ===== */
.subpage-content {
    padding-top: 100px;
    min-height: 60vh;
    background: var(--warm-bg);
}

.subpage-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* ===== PRODUCT TABLE ===== */
.tbl { width: 100%; border-collapse: collapse; }
@media (min-width: 969px) {
    .tbl { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
}
.tbl thead th { padding: 12px 16px; text-align: left; font-weight: 600; font-size: 0.85rem; color: var(--gray-500); border-bottom: 2px solid var(--gray-200); }
.tbl tbody td { padding: 16px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.tbl tbody tr:hover { background: var(--gray-50); }

.info-obj { display: flex; align-items: center; gap: 16px; }
.info-obj .img { width: 60px; height: 60px; border-radius: 8px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--gray-200); padding: 4px; }
.info-obj .img img { width: 100%; height: 100%; object-fit: contain; }
.info-obj .info h3 { font-size: 0.95rem; font-weight: 700; color: var(--key); margin-bottom: 2px; }
.info-obj .info p { font-size: 0.82rem; color: var(--gray-500); margin: 0; }

/* ===== TITLES ===== */
.title { font-weight: 700; color: var(--key); }
.title.tiny { font-size: 0.9rem; }
.title.small { font-size: 1.1rem; }
.title-sub { font-size: 1rem; color: var(--gray-500); font-weight: 400; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 8px 16px; border-radius: var(--radius-pill); font-size: 0.82rem; font-weight: 600; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--cyan-light); color: var(--cyan-dark); }
.btn-primary:hover { background: var(--cyan); color: var(--white); }
.btn-block { display: block; text-align: center; }
.btn.small { padding: 6px 12px; font-size: 0.78rem; }

/* ===== UTILITIES ===== */
.align-c { text-align: center; }
.pd-30 { padding: 30px; }
.mr-b-20 { margin-bottom: 20px; }
.rd-5 { border-radius: var(--radius); }
.shadow-2 { box-shadow: var(--shadow-md); }
.bg-white { background: var(--white); }
.bg-gray1 { background: var(--gray-50); }
.txt-upper { text-transform: uppercase; }

.flex-row { display: flex; flex-wrap: wrap; gap: 40px; }
.flex-col-md-3 { flex: 0 0 25%; max-width: 25%; }
.flex-col-md-9 { flex: 0 0 calc(75% - 40px); max-width: calc(75% - 40px); }

.margin-tb-60 { margin: 60px 0; }
.padding-top-200 { padding-top: 40px; }

hr { border: none; border-top: 1px solid var(--gray-200); margin: 20px 0; }

.fs14 { font-size: 14px; }
.link-color1 { color: var(--cyan); }

/* ===== BREADCRUMBS ===== */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: -30px;
    margin-bottom: 32px;
}
.breadcrumb-nav a, .breadcrumb-nav .bc-current {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    letter-spacing: 0.02em;
}
.breadcrumb-nav a {
    background: var(--cyan-light);
    color: var(--cyan-dark);
    transition: var(--transition);
}
.breadcrumb-nav a:hover {
    background: var(--cyan);
    color: #fff;
}
.breadcrumb-nav .bc-current {
    background: var(--gray-100);
    color: var(--gray-500);
}
.breadcrumb-nav .bc-arrow {
    font-size: 0.65rem;
    color: var(--gray-300);
}

/* ===== BRAND PILLS ===== */
.brand-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 8px;
    transition: var(--transition);
}

.brand-pill img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.brand-pill-sm {
    width: 36px;
    height: 36px;
    padding: 6px;
}

.brand-pill-lg {
    width: 60px;
    height: 60px;
    padding: 10px;
}

.brand-pill-square {
    border-radius: 10px;
}

/* ===== FLOATING DECORATIONS ===== */
.deco {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.deco-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.deco-dot-outline {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid;
    background: transparent;
}

.deco-cross {
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
}

.deco-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid;
    background: transparent;
}

.deco-square {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    transform: rotate(45deg);
}

.deco-c { color: var(--cyan); border-color: var(--cyan); background-color: var(--cyan); }
.deco-m { color: var(--magenta); border-color: var(--magenta); background-color: var(--magenta); }
.deco-y { color: var(--yellow); border-color: var(--yellow); background-color: var(--yellow); }
.deco-k { color: var(--key); border-color: var(--key); background-color: var(--key); }

.deco-dot-outline.deco-c,
.deco-ring.deco-c,
.deco-ring.deco-m,
.deco-ring.deco-y,
.deco-dot-outline.deco-m,
.deco-dot-outline.deco-y { background: transparent; }

/* ===== RESPONSIVE — Shared Components ===== */
@media (max-width: 968px) {
    /* Navbar */
    .navbar-v18 .nav-links { display: none; }
    .nav-burger { display: block; }
    .navbar-v18.scrolled .logo-drucker { height: 22px !important; }
    .navbar-v18.scrolled .logo-slogan { display: none !important; }
    .navbar-v18.scrolled .logo-with-slogan > span > span:first-child { font-size: 0.72rem !important; }
    .nav-mobile-cta { display: none; }
    .navbar-v18.scrolled .nav-mobile-cta { display: inline-flex !important; }

    /* Flex layout */
    .flex-col-md-3, .flex-col-md-9 { flex: 0 0 100%; max-width: 100%; }

    /* Footer */
    .footer-top { flex-direction: column; }
    .footer-top-left { flex: none; }
    .footer-brands-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    /* Product listing table → card layout */
    .tbl thead { display: none; }
    .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
    .tbl tbody tr {
        padding: 16px;
        margin-bottom: 12px;
        border: 1px solid var(--gray-200);
        border-radius: var(--radius);
        background: var(--white);
    }
    .tbl tbody td { padding: 4px 0; border-bottom: none; }
    .tbl tbody td:last-child { margin-top: 12px; }
    .tbl tbody td:last-child .btn { display: block; text-align: center; width: 100%; }
    .tbl tbody td[style*="text-align:center"] { text-align: center !important; }

    .info-obj { gap: 12px; }
    .info-obj .img { width: 48px; height: 48px; }

    /* Detail page layout */
    .pd-30 { padding: 16px; }
    .flex-row { gap: 20px; }
}
