/**
 * Webdesign Norden – Landingpage
 * Style angelehnt an Template cmsp (carlsmedia digital)
 * Keine Datenbank – reines PHP/CSS/JS
 */

:root {
    --wdn-primary: #ec661c;
    --wdn-primary-hover: #e6834e;
    --wdn-dark: #353535;
    --wdn-text: #353535;
    --wdn-text-muted: #555;
    --wdn-bg: #fff;
    --wdn-bg-light: #f6f6f6;
    --wdn-border: #eee;
    --wdn-radius: 4px;
    --wdn-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --wdn-container: 1140px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--wdn-text);
    background: var(--wdn-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--wdn-primary);
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease;
}

a:hover {
    color: var(--wdn-primary-hover);
}

/* Container */
.wdn-container {
    max-width: var(--wdn-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.wdn-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: var(--wdn-shadow);
}

.wdn-header .wdn-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.wdn-logo-link {
    display: flex;
    align-items: center;
}

.wdn-logo {
    max-height: 65px;
    width: auto;
}

.wdn-nav {
    display: flex;
    gap: 28px;
}

.wdn-nav a {
    color: var(--wdn-text);
    font-weight: 500;
}

.wdn-nav a:hover {
    color: var(--wdn-primary);
}

.wdn-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
}

.wdn-nav-toggle span {
    display: block;
    height: 2px;
    background: var(--wdn-dark);
}

/* Hero */
.wdn-hero {
    position: relative;
    padding: 80px 20px 100px;
    text-align: center;
    background-color: var(--wdn-bg-light);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.wdn-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.wdn-hero .wdn-container {
    position: relative;
    z-index: 1;
}

.wdn-hero-title,
.wdn-hero-subtitle {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.wdn-hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.wdn-hero-subtitle {
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.wdn-hero-logo {
    display: block;
    text-align: center;
    margin: 0.5em auto 0;
}
.wdn-hero-logo img {
    display: block;
    max-width: 300px;
    width: 300px;
    height: auto;
    margin: 0 auto;
    filter: brightness(0) saturate(100%) invert(1);
    vertical-align: middle;
}

/* Buttons */
.wdn-btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.wdn-btn-primary {
    background: var(--wdn-primary);
    color: #fff;
}

.wdn-btn-primary:hover {
    background: var(--wdn-primary-hover);
    color: #fff;
}

.wdn-btn-outline {
    background: transparent;
    color: var(--wdn-primary);
    border-color: var(--wdn-primary);
}

.wdn-btn-outline:hover {
    background: var(--wdn-primary);
    color: #fff;
}

/* CTA-Button: kontrastreich im Hero (oberhalb des Folds) */
.wdn-btn-cta {
    background: #fff;
    color: var(--wdn-primary);
    border: 2px solid #fff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.wdn-btn-cta:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--wdn-dark);
    border-color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.wdn-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
}

/* Sections */
.wdn-section {
    padding: 70px 20px;
}

.wdn-section--light {
    background: var(--wdn-bg-light);
}

.wdn-section--accent {
    background: var(--wdn-dark);
    color: #fff;
}

.wdn-section--accent .wdn-section-title,
.wdn-section--accent .wdn-section-intro,
.wdn-section--accent .wdn-list {
    color: #fff;
}

.wdn-section--accent .wdn-section-intro {
    color: rgba(255, 255, 255, 0.9);
}

.wdn-section--accent .wdn-btn-primary {
    background: var(--wdn-primary);
}

.wdn-section--accent .wdn-btn-primary:hover {
    background: var(--wdn-primary-hover);
}

.wdn-section--accent .wdn-container {
    text-align: center;
}

.wdn-section--accent .wdn-list {
    text-align: left;
}

.wdn-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--wdn-dark);
}

.wdn-section-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
    color: var(--wdn-text-muted);
    font-size: 1.05rem;
}

/* Grid & Cards */
.wdn-grid {
    display: grid;
    gap: 28px;
}

.wdn-grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.wdn-card {
    background: var(--wdn-primary);
    padding: 32px 24px;
    border-radius: var(--wdn-radius);
    box-shadow: var(--wdn-shadow);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wdn-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.wdn-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 1.6em;
    height: 1.6em;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.wdn-card-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #fff;
    transform: rotate(45deg);
}

.wdn-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #fff;
}

.wdn-card p {
    color: #fff;
    font-size: 0.95rem;
}

/* Process */
.wdn-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.wdn-process-step {
    background: var(--wdn-bg);
    padding: 24px;
    border-radius: var(--wdn-radius);
    box-shadow: var(--wdn-shadow);
    border-left: 4px solid var(--wdn-primary);
}

.wdn-process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--wdn-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
    margin-bottom: 12px;
}

.wdn-process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--wdn-dark);
}

.wdn-process-step p {
    font-size: 0.95rem;
    color: var(--wdn-text-muted);
    line-height: 1.7;
}

.wdn-section-outro {
    text-align: center;
    margin-top: 24px;
}

/* FAQ */
.wdn-faq {
    max-width: 720px;
    margin: 0 auto;
}

.wdn-faq dt {
    font-weight: 600;
    color: var(--wdn-dark);
    margin-top: 20px;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.wdn-faq dt:first-of-type {
    margin-top: 0;
}

.wdn-faq dd {
    margin-left: 0;
    color: var(--wdn-text-muted);
    line-height: 1.75;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--wdn-border);
}

.wdn-faq dd:last-of-type {
    border-bottom: none;
}

/* About block */
.wdn-about-block {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 0;
}

.wdn-about-block p {
    color: var(--wdn-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* List */
.wdn-list {
    list-style: none;
    max-width: 560px;
    margin: 0 auto 32px;
}

.wdn-list--check li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.95);
}

.wdn-list--check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--wdn-primary);
    font-weight: 700;
}

/* Contact */
.wdn-contact-block {
    text-align: center;
    padding: 24px 0;
}

.wdn-contact-block p {
    margin-bottom: 12px;
    color: var(--wdn-text-muted);
}

.wdn-link {
    font-weight: 500;
}

/* Footer */
.wdn-footer {
    background: var(--wdn-dark);
    color: #ccc;
    padding: 40px 20px;
    text-align: center;
}

.wdn-footer-logo {
    margin-bottom: 16px;
}

.wdn-footer-logo img {
    margin: 0 auto;
    max-height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}

.wdn-footer a {
    color: var(--wdn-primary);
}

.wdn-footer a:hover {
    color: var(--wdn-primary-hover);
}

.wdn-footer-text {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.wdn-footer-links {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.wdn-footer-copy {
    font-size: 0.85rem;
    color: #888;
}

/* Back to Top */
.wdn-back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wdn-primary);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    box-shadow: var(--wdn-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.wdn-back-to-top:hover {
    background: var(--wdn-primary-hover);
    color: #fff;
}

.wdn-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .wdn-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--wdn-shadow);
    }

    .wdn-nav.is-open {
        display: flex;
    }

    .wdn-nav-toggle {
        display: flex;
    }

    .wdn-hero {
        padding: 50px 20px 70px;
    }

    .wdn-hero-title {
        font-size: 1.75rem;
    }

    .wdn-section {
        padding: 50px 20px;
    }

    .wdn-section-title {
        font-size: 1.5rem;
    }
}
