/* =========================================
   SocialHub24.de - Haupt-Stylesheet
   PHP 8.3 Website
========================================= */

:root {
    --blue: #1377ff;
    --navy: #061b3a;
    --dark: #07162d;
    --text: #142033;
    --muted: #5d6b82;
    --bg: #f4f8ff;
    --card: #ffffff;
    --line: #dbe6f7;
    --shadow: 0 20px 60px rgba(4, 28, 72, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
}

/* =========================================
   HEADER
========================================= */

.topbar{
    position:sticky;
    top:0;
    z-index:1000;

    display:flex;
    align-items:center;
    justify-content:space-between;

    height:74px;
    padding:0 6vw;

    background:rgba(255,255,255,.96);
    border-bottom:1px solid var(--line);
    backdrop-filter:blur(10px);
}

.brand{
    display:flex;
    align-items:center;
    text-decoration:none;
    flex-shrink:0;
}

.brand img,
.header-logo{
    display:block;
    width:auto;
    height:48px;
    max-width:340px;
    object-fit:contain;
}

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

.topbar nav a{
    color:var(--navy);
    text-decoration:none;
    font-weight:700;
}

.topbar nav a:hover{
    color:var(--blue);
}

/* Mobile */

@media(max-width:860px){

    .topbar{
        height:auto;
        padding:12px 6vw;
        flex-direction:column;
        gap:12px;
    }

    .header-logo{
        height:42px;
        max-width:220px;
    }

    .topbar nav{
        gap:18px;
    }
}

/* =========================================
   HERO
========================================= */

.hero {
    padding: 48px 6vw 36px;
}

.hero-card {
    max-width: 1180px;
    margin: auto;
    background: var(--card);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-card > img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 34px;
    align-items: center;
    padding: 34px 38px 44px;
}

h1 {
    margin: 0 0 18px;
    color: var(--navy);
    font-size: clamp(34px, 4.3vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;

   
}

.lead {
    max-width: 760px;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 23px);
}

.badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #e7f0ff;
    color: #075bc1;
    font-weight: 800;
}

.trust {
    display: grid;
    gap: 12px;
}

.trust div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f1f6ff;
    font-weight: 700;
}

.trust-mini{
    display:flex;
    justify-content:center;   /* mittig */
    align-items:center;
    flex-wrap:wrap;
    gap:28px;
    margin-top:20px;
    color:var(--navy);
    font-size:15px;
    font-weight:700;
    text-align:center;
}

.trust-mini span{
    display:flex;
    align-items:center;
    gap:6px;
}

/* =========================================
   BUTTONS
========================================= */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: 2px solid var(--blue);
    border-radius: 999px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(19, 119, 255, 0.18);
}

.btn.secondary {
    background: #ffffff;
    color: var(--navy);
}

/* =========================================
   CONTENT-SEKTIONEN
========================================= */

section {
    padding: 54px 6vw;
}

.wrap {
    max-width: 1180px;
    margin: auto;
}

.section-title {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

.section-intro {
    max-width: 760px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 18px;
}

/* =========================================
   GRID & CARDS
========================================= */

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

.card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(6, 27, 58, 0.06);
}

.card h3 {
    margin-top: 0;
    color: var(--navy);
    font-size: 22px;
}

/* =========================================
   ABLAUF
========================================= */

.process {
    display: grid;
    gap: 18px;
    counter-reset: step;
}

.process .step {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 10px;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    counter-increment: step;
}

.process .step::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue);
    color: #ffffff;
    font-weight: 900;
}

/* =========================================
   CTA
========================================= */

.cta {
    padding: 42px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--navy), #0b3d87);
    color: #ffffff;
}

.cta .section-title,
.cta p {
    color: #ffffff;
}

/* =========================================
   FORMULARE
========================================= */

.form {
    display: grid;
    gap: 16px;
    max-width: 760px;
}

.form-row {
    display: grid;
    gap: 8px;
}

.form label {
    font-weight: 800;
}

.form input,
.form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    font: inherit;
}

.form textarea {
    min-height: 150px;
    resize: vertical;
}

.form-note {
    color: var(--muted);
    font-size: 14px;
}

.alert {
    margin: 0 0 22px;
    padding: 16px 18px;
    border-radius: 16px;
    font-weight: 700;
}

.alert.ok {
    background: #eaf8ef;
    color: #146b33;
}

.alert.err {
    background: #fff0f0;
    color: #9c1d1d;
}

.hp {
    position: absolute;
    top: auto;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* =========================================
   UNTERSEITEN
========================================= */

.content-page {
    max-width: 1100px;
    margin: 45px auto;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.content-page h1 {
    margin-bottom: 24px;
}

.content-page .card {
    margin-bottom: 18px;
}

/* =========================================
   FOOTER
========================================= */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-top: 80px;
    padding: 35px 6vw;
    border-top: 1px solid var(--line);
    background: #ffffff;
    color: var(--muted);
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand {
    color: var(--navy);
    font-size: 18px;
    font-weight: 800;
}

.footer-project {
    color: var(--muted);
    font-size: 14px;
}

.footer strong {
    color: var(--navy);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-links a,
.footer a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-links a:hover,
.footer a:hover {
    color: var(--blue);
    transform: translateY(-2px);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 860px) {
    .hero-content,
    .grid {
        grid-template-columns: 1fr;
    }

    .topbar {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .header-logo {
        height: 46px;
        max-width: 260px;
    }

    .topbar nav {
        gap: 18px;
    }

    .process .step {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        align-items: center;
    }

    .footer-links {
        justify-content: center;
    }

    .trust-mini {
        gap: 10px 14px;
    }
}
.legal-card a{
    color: var(--blue);
    font-weight:600;
    text-decoration:none;
}

.legal-card a:visited{
    color: var(--blue);
}

.legal-card a:hover{
    text-decoration:underline;
}

.legal-page{border-top:5px solid var(--blue);}
.legal-head{display:flex;justify-content:space-between;gap:30px;margin-bottom:26px;}
.legal-card{margin-bottom:20px;}
.legal-card h2{margin-top:0;color:var(--navy);font-size:24px;}
.legal-card h3{color:var(--navy);font-size:18px;margin-top:24px;}
.legal-card p,.legal-card li{color:var(--text);font-size:16px;line-height:1.65;}
.legal-card a{color:var(--blue);font-weight:700;text-decoration:none;}
.legal-card a:visited{color:var(--blue);}
.legal-card a:hover{text-decoration:underline;}
.legal-note{background:#f6f9ff;}