/* Johnson Digital Agentur — gemeinsames Theme (Kobalt + Orange) */

:root {
    --bg: #fafafa;
    --bg-soft: #f5f5f7;
    --bg-card: rgba(255, 255, 255, 0.72);
    --text: #1d1d1f;
    --text-soft: #424245;
    --text-muted: #6e6e73;
    --accent: #1324ff;
    --accent-light: rgba(19, 36, 255, 0.12);
    --accent-dark: #003d8f;
    --cta: #ff5e13;
    --cta-hover: #e54d00;
    --cta-soft: rgba(255, 94, 19, 0.08);
    --border: rgba(0, 0, 0, 0.06);
    --border-strong: rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

.display {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* ——— Subpage nav ——— */
.jda-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.jda-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Logo wie auf der Startseite (index.html) */
.jda-logo {
    display: flex;
    align-items: center;
}

.jda-logo img {
    height: 96px;
    margin: -24px 0;
    width: auto;
    display: block;
}

.jda-nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.jda-nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-soft);
    text-decoration: none;
    transition: color 0.2s ease;
}

.jda-nav-links a:hover {
    color: var(--accent);
}

.jda-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff !important;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jda-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(19, 36, 255, 0.35);
}

/* ——— Layout / Prose ——— */
.jda-main {
    max-width: 760px;
    margin: 0 auto;
    padding: 6.5rem 2rem 4rem;
}

.jda-main.wide {
    max-width: 900px;
}

.jda-hero-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.jda-lead {
    font-size: 1.1rem;
    color: var(--text-soft);
    margin-bottom: 2rem;
}

.jda-main h2 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: var(--text);
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--border);
}

.jda-main h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: var(--text);
}

.jda-main p,
.jda-main li {
    color: var(--text-soft);
    margin-bottom: 0.85rem;
}

.jda-main ul,
.jda-main ol {
    margin: 0.5rem 0 1rem 1.25rem;
}

.jda-main a {
    color: var(--accent);
    text-decoration: none;
}

.jda-main a:hover {
    text-decoration: underline;
}

.jda-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.jda-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0;
    box-shadow: var(--shadow-md);
}

.jda-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.jda-main table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.jda-main th,
.jda-main td {
    border: 1px solid var(--border);
    padding: 0.65rem 0.85rem;
    text-align: left;
}

.jda-main th {
    background: var(--bg-soft);
    font-weight: 600;
    color: var(--text);
}

/* ——— Footer (wie Startseite) ——— */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 2rem 1.5rem;
    }
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 0.85rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-bottom a {
    color: var(--text-muted);
    margin-right: 1.5rem;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--text);
}

@media (max-width: 768px) {
    .jda-nav-links {
        display: none;
    }
}
