/* ============================================
   luml Tools – Global Styles
   Branding-konform zu luml.de
   ============================================ */

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

body {
    background: #f2f2f2;
    font-family: Segoe UI, Roboto, Arial, Helvetica, sans-serif;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---- Logo ---- */
.logo-wrapper {
    text-align: center;
    margin-top: 24px;
    margin-bottom: 10px;
}
.logo {
    max-width: 140px;
    height: auto;
    opacity: 0.95;
    transition: 0.2s ease;
}
.logo:hover {
    opacity: 1;
    transform: scale(1.03);
}

/* ---- Main Container ---- */
.container {
    max-width: 700px;
    margin: 24px auto 40px;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,0,0,0.08);
}
.container.wide {
    max-width: 920px;
}

/* ---- Footer (fallback, main.css überschreibt) ---- */

/* ---- Breadcrumb ---- */
.breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}
.breadcrumb a {
    color: #4a5fff;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb span {
    color: #aaa;
    margin: 0 6px;
}

/* ---- Überschrift ---- */
h2 {
    text-align: center;
    margin-bottom: 8px;
    color: #444;
    font-size: 22px;
}
.tool-subtitle {
    text-align: center;
    color: #777;
    font-size: 14px;
    margin-bottom: 24px;
}

/* ---- Generische Buttons ---- */
.btn {
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #f7f7f7;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn:hover {
    background: #eee;
    border-color: #bbb;
}
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.btn-primary {
    background: #4a5fff;
    border-color: #4a5fff;
    color: #fff;
}
.btn-primary:hover {
    background: #2d3ee0;
    border-color: #2d3ee0;
}

/* ---- Tool-Kacheln (Übersicht) ---- */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.tool-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa;
}
.tool-card:hover {
    border-color: #4a5fff;
    box-shadow: 0 2px 12px rgba(74,95,255,0.12);
}
.tool-card .icon {
    font-size: 36px;
    margin-bottom: 12px;
}
.tool-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: #444;
}
.tool-card p {
    font-size: 13px;
    color: #777;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .container { margin: 16px; padding: 20px; }
    header { font-size: 17px; padding: 14px; }
    .tool-grid { grid-template-columns: 1fr; }
}
