* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif; /* neue Schriftart */
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 80px;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #5BC0DE, #1E3A5F);
    z-index: 2000;
    transition: width 0.1s ease, top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(91, 192, 222, 0.3);
}

.scroll-progress.scrolled {
    top: 50px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.15);
    height: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
    transition: padding 0.4s ease;
}

.header.scrolled .nav-container {
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-img {
    height: 45px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.2));
}

.header.scrolled .logo-img {
    height: 35px;
    filter: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5BC0DE 0%, #1E3A5F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    transition: all 0.4s ease;
}

.nav-menu a {
    text-decoration: none;
    color: #5BC0DE;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px; /* Kasten */
    border-radius: 25px; /* Kasten */
    position: relative;
    transition: all 0.3s ease; /* Größe, Transform, Farbe */
    display: inline-block; /* Damit der Hintergrund „sichtbar“ bleibt */
}

/* Hover: Text + Kasten bleibt sichtbar, leicht größer */
.nav-menu a:hover {
    transform: scale(1.15); /* Text und Kasten werden größer */
    background: rgba(91, 192, 222, 0.1); /* Hintergrund */
}

/* Aktive Kategorie */
.nav-menu a.active {
    transform: translateY(-2px) scale(1.05); /* gleiche Animation wie Hover */
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    color: #1E3A5F; /* optional andere Farbe */
}

/* Wenn Header gescrollt */
.header.scrolled .nav-menu a.active {
    color: #1E3A5F;
    text-shadow: none;
}

.header.scrolled .logo-text {
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}



.header.scrolled .nav-menu a {
    color: #1E3A5F;
    text-shadow: none;
    font-size: 0.9rem;
}



.header.scrolled .nav-menu a:hover {
    background: rgba(91, 192, 222, 0.15);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #5BC0DE;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 80%;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #5BC0DE;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    border-radius: 2px;
}

.header.scrolled .hamburger-line {
    background-color: #1E3A5F;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 950px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: calc(100% + 10px);
        right: 20px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(25px);
        padding: 25px;
        border-radius: 15px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        z-index: 999;
        width: 280px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .header.scrolled .nav-menu {
        top: calc(100% + 5px);
    }

    .nav-menu.show {
        display: flex;
        animation: slideInMenu 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideInMenu {
        from {
            opacity: 0;
            transform: translateY(-20px) scale(0.95);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .nav-menu a {
        color: #333 !important;
        text-shadow: none !important;
        padding: 12px 15px;
        border-radius: 8px;
        width: 100%;
        text-align: left;
    }

    .hamburger {
        display: flex;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #f9fafc, #7f9ad5);
    padding-top: 200px;
}

.wave-bg {
    position: absolute;
    bottom: -180px;
    left: 0;
    width: 100%;
    height: 390px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #295a99;
    max-width: 800px;
    padding: 1rem;
    margin-bottom: 100px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    animation: slideInUp 1s ease-out;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.3s both;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.hero .cta-group {
    animation: slideInUp 1s ease-out 0.6s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.section {
    padding: 100px 0;
    scroll-margin-top: 84px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Why Website Section */
.why-website {
    background: #fff;
    text-align: center;
    padding: 100px 20px;
}

.why-website h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
}

.why-website p {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 15px auto;
    line-height: 1.7;
}

/* Circle Section */
.circle-section {
    padding: 120px 0;
    text-align: center;
    background: #f9fafc;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.circle-section .subtitle-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: #1E3A5F;
    margin-bottom: 40px;
}

.circle-container {
    position: relative;
    width: 800px;
    height: 800px;
    margin: 0 auto;
    animation: rotate 30s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-item {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
    transform: translate(-50%, -50%);
    overflow: hidden;
    cursor: pointer;
}

.circle-item.expanded {
    width: 380px;
    height: 380px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.circle-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.circle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    animation: counterRotate 30s linear infinite reverse;
    transition: all 0.4s ease;
}

.circle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 1;
    transition: background 0.3s ease;
}

.circle-item.expanded .circle-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.circle-item:nth-child(1) .circle-bg {
    background-image: url('webdesign_&_entwicklung.png');
}

.circle-item:nth-child(2) .circle-bg {
    background-image: url('mobile_optimierung.png');
}

.circle-item:nth-child(3) .circle-bg {
    background-image: url('seo-basis.png');
}

.circle-item:nth-child(4) .circle-bg {
    background-image: url('foto_&_video-produktion.png');
}

.circle-item:nth-child(5) .circle-bg {
    background-image: url('Günstigfair.png');
}

.circle-content {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    padding: 0 15px;
    animation: counterRotate 30s linear infinite reverse;
    overflow: hidden;
}

@keyframes counterRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.circle-title {
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.circle-item.expanded .circle-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.circle-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    opacity: 1;
    transition: all 0.3s ease;
}

.circle-arrow::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid white;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.circle-item.expanded .circle-arrow::after {
    transform: rotate(180deg);
}

.circle-text {
    font-size: 0.9rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    transform: translateY(20px);
    margin-top: 0;
}

.circle-item.expanded .circle-text {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
    font-size: 1rem;
    margin-top: 10px;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.advantage-card {
    background: rgb(250, 252, 255);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.advantage-card .icon {
    font-size: 2.5rem;
    color: #5BC0DE;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1E3A5F;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    background: #f9fafc;
}

.process-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5BC0DE, #1E3A5F);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(91, 192, 222, 0.3);
    flex-shrink: 0;
}

.step-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-content:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.step-content h3 {
    font-size: 1.4rem;
    color: #1E3A5F;
    margin: 0;
}

.expand-arrow {
    font-size: 1.2rem;
    color: #5BC0DE;
    transition: transform 0.3s ease;
}

.step-content.expanded .expand-arrow {
    transform: rotate(180deg);
}

.step-description {
    color: #666;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    margin: 0;
}

.step-content.expanded .step-description {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
}

/* About Section */
.about-section {
    background: #f9fafc;
    padding: 100px 0;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.about-section p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: #fff;
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
}

.contact-intro h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.contact-intro p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.form-section {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 50px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.form-section h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.form-section .form-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5BC0DE;
    box-shadow: 0 0 0 3px rgba(91, 192, 222, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #5BC0DE, #1E3A5F);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 5px 20px rgba(91, 192, 222, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(91, 192, 222, 0.5);
}

.success-message {
    display: none;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #c3e6cb;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

.success-message.show {
    display: block;
    animation: slideInUp 0.5s ease;
}

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, #5BC0DE, #1E3A5F);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    box-shadow: 0 5px 20px rgba(91, 192, 222, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(91, 192, 222, 0.5);
}

/* Footer */
.footer {
    background: #222;
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #5BC0DE;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #5BC0DE;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 40px;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .section-header h2,
    .section-title {
        font-size: 2rem;
    }

    .circle-section {
        padding: 80px 0;
        overflow: hidden;
    }

    .circle-container {
        width: 100%;
        height: auto;
        animation: none !important;
        display: block;
        position: static;
        margin: 0 auto;
        max-width: 400px;
        overflow: hidden;
    }

    .circle-item {
        position: relative !important;
        margin: 30px auto;
        width: 300px;
        height: 300px;
        transform: none !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        top: auto !important;
        left: auto !important;
        cursor: pointer;
    }

    .circle-bg {
        animation: none !important;
        transform: none !important;
    }

    .circle-content {
        transform: none !important;
        animation: none !important;
        padding: 0 20px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .form-section {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .circle-item {
        width: 280px;
        height: 280px;
        margin: 25px auto;
    }

    .advantage-card {
        padding: 30px 20px;
    }
}

/* ===============================================
   DATENSCHUTZ / IMPRESSUM SEITE - DARK THEME
   =============================================== */

:root {
    --bg: #0b0c10;
    --card: #111319;
    --text: #e9edf1;
    --muted: #b9c2cc;
    --accent: #5eead4;
    --border: #1f2330;
    --link: #7dd3fc;
    --danger: #fca5a5;
    --ok: #86efac;
    --warn: #fde68a;
}

/* Nur für Datenschutz-Seite: Body-Override */
body.legal-page {
    background: var(--bg);
    color: var(--text);
}

body.legal-page a {
    color: var(--link);
    text-decoration: none;
}

body.legal-page a:hover {
    text-decoration: underline;
}

.wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px;
}

/* Header für Legal-Seite */
body.legal-page header {
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, rgba(11, 12, 16, .95), rgba(11, 12, 16, .85));
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--border);
    z-index: 20;
    height: auto;
}

body.legal-page nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.brand {
    font-weight: 700;
    letter-spacing: .4px;
    color: var(--text);
}

.pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--card);
    color: var(--text);
    text-decoration: none;
}

.pill:hover {
    background: var(--accent);
    color: var(--bg);
}

body.legal-page main {
    padding: 24px 0;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    margin: 16px 0;
}

body.legal-page h1 {
    font-size: 1.6rem;
    margin: 0 0 8px;
    color: var(--text);
}

body.legal-page h2 {
    font-size: 1.25rem;
    margin: 24px 0 12px;
    color: var(--text);
}

body.legal-page h3 {
    font-size: 1.05rem;
    margin: 20px 0 6px;
    color: var(--muted);
}

.muted {
    color: var(--muted);
}

code.inline {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background: #0c0f16;
    border: 1px solid var(--border);
    padding: 2px 6px;
    border-radius: 8px;
}

body.legal-page details {
    border: 1px dashed var(--border);
    border-radius: 12px;
    padding: 12px;
    margin: 12px 0;
    background: rgba(255, 255, 255, .02);
}

body.legal-page details[open] {
    background: rgba(94, 234, 212, .05);
}

body.legal-page summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media(min-width:880px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
}

body.legal-page footer {
    border-top: 1px solid var(--border);
    padding: 24px;
    color: var(--muted);
    background: transparent;
}

.small {
    font-size: .92rem;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #0c0f16;
    color: var(--muted);
    font-size: .8rem;
}

.notice {
    padding: 12px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--warn);
    border-radius: 12px;
    background: #0c0f16;
}

.legal-list {
    margin: 0;
    padding-left: 18px;
}

.legal-list li {
    margin: 6px 0;
}

.hr {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

.kbd {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2px 6px;
    background: #0c0f16;
}

@media print {
    header,
    .pill,
    .notice {
        display: none;
    }

    body {
        background: #fff;
        color: #000;
    }

    .card {
        border-color: #ddd;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}