/* Feldnah.ch Landing Page Styles */

:root {
    --primary: #526C2B;
    --primary-light: #6a8a3a;
    --secondary: #F0800F;
    --tertiary: #EB9725;
    --bg-cream: #FFFDF8;
    --bg-green-light: #f4f7f0;
    --text-dark: #2d3a1f;
    --text-muted: #5a6b4a;
    --nav-bg: #ffffff;
    --card-bg: #ffffff;
    --border-color: rgba(82, 108, 43, 0.1);
    --pricing-bg: var(--primary);
}

[data-theme="dark"] {
    --primary: #8ab64d;
    --primary-light: #a3cc6b;
    --bg-cream: #12140e;
    --bg-green-light: #1e2416;
    --text-dark: #f0f4eb;
    --text-muted: #b0c0a0;
    --nav-bg: #1a1d14;
    --card-bg: #24281c;
    --border-color: rgba(138, 182, 77, 0.2);
    --pricing-bg: #2d3a1f;
}

/* ============================================
   Base
   ============================================ */

.landing-body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-cream);
    transition: background-color 0.3s, color 0.3s;
    margin: 0;
    padding: 0;
}

/* ============================================
   Navigation (backdrop-blur)
   ============================================ */

.site-nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    transition: background-color 0.3s, border-color 0.3s;
}

[data-theme="dark"] .site-nav {
    background: rgba(26, 29, 20, 0.7);
}

.nav-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.nav-logo img {
    height: 32px;
    width: auto;
    transition: filter 0.3s;
}

[data-theme="dark"] .nav-logo img {
    filter: url(#remove-white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.nav-links a:hover {
    background: var(--bg-green-light);
    color: var(--primary);
}

.nav-links a.active {
    background: rgba(82, 108, 43, 0.15);
    color: var(--primary);
}

[data-theme="dark"] .nav-links a.active {
    background: rgba(138, 182, 77, 0.2);
}

.nav-links a.nav-login {
    color: var(--text-dark, #2d3a1f);
    font-size: 1.25rem;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.2s;
    padding: 0.3rem;
}

.nav-links a.nav-login:hover {
    opacity: 1;
    background: transparent;
}

[data-theme="dark"] .nav-links a.nav-login {
    color: var(--text-light, #f0f4eb);
}

.nav-links a.nav-cta {
    background: var(--secondary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
}

.nav-links a.nav-cta:hover {
    background: var(--primary);
}

/* User menu dropdown in nav */
.nav-links .dropdown {
    display: inline-flex;
    align-items: center;
}

.nav-user-menu {
    background: rgba(82, 108, 43, 0.15);
    color: var(--text-dark, #2d3a1f);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-user-menu:hover {
    background: rgba(82, 108, 43, 0.25);
}

[data-theme="dark"] .nav-user-menu {
    background: rgba(138, 182, 77, 0.15);
    color: #f0f4eb;
}

[data-theme="dark"] .nav-user-menu:hover {
    background: rgba(138, 182, 77, 0.25);
}

.nav-user-menu i {
    font-size: 1.1rem;
    line-height: 1;
}

/* Keimzelle Nav Link */
.nav-links a.nav-keimzelle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-links a.nav-keimzelle svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    animation: sprout 2.5s ease-in-out infinite;
    transform-origin: bottom center;
}

@keyframes sprout {
    0% { transform: scale(0.6); opacity: 0.5; }
    30% { transform: scale(1); opacity: 1; }
    80% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.6); opacity: 0.5; }
}

.nav-links a.nav-keimzelle:hover {
    background: var(--bg-green-light);
    color: var(--primary);
}

/* UserMenu inside nav-links */
.nav-links li {
    list-style: none;
}

.nav-links a.landing-btn-primary {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    border-radius: 20px;
    padding: 0.4rem 1rem;
}

.nav-links a.landing-btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: white;
}

.nav-links a.landing-btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 0.4rem 1rem;
}

.nav-links a.landing-btn-outline:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.nav-links .dropdown-toggle {
    padding: 0.4rem 0.5rem;
}

.nav-links .dropdown-menu a:not(.landing-btn-primary):not(.landing-btn-outline) {
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 400;
    padding: 0.25rem 1rem;
    border-radius: 0;
    white-space: normal;
}

.nav-links .dropdown-menu a:not(.landing-btn-primary):not(.landing-btn-outline):hover {
    background: var(--bg-green-light);
    color: var(--text-dark);
}

.nav-links .dropdown-menu .landing-btn-primary {
    color: white;
    border-radius: 20px;
}

[data-theme="dark"] .nav-links .dropdown-menu {
    background: var(--card-bg, #24281c);
    border-color: rgba(138, 182, 77, 0.15);
    color: var(--text-dark);
}

[data-theme="dark"] .nav-links .dropdown-menu .text-muted {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .nav-links .dropdown-menu .fw-semibold,
[data-theme="dark"] .nav-links .dropdown-menu .fw-bold {
    color: var(--text-dark);
}

[data-theme="dark"] .nav-links .dropdown-menu .dropdown-divider {
    border-color: rgba(138, 182, 77, 0.12);
}

[data-theme="dark"] .nav-links .dropdown-menu .dropdown-item {
    color: var(--text-dark);
}

[data-theme="dark"] .nav-links .dropdown-menu .dropdown-item:hover {
    background: var(--bg-green-light);
    color: var(--text-dark);
}

/* ============================================
   Theme Toggle
   ============================================ */

.theme-toggle {
    width: 64px;
    height: 32px;
    background: #87CEEB;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    border: 2px solid var(--primary);
    overflow: hidden;
    padding: 0;
    transition: background 0.5s, border-color 0.5s;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.theme-toggle::-moz-focus-inner {
    padding: 0;
    border: 0;
}

[data-theme="dark"] .theme-toggle {
    background: #0f141a;
    border-color: var(--primary);
}

.theme-toggle .toggle-thumb {
    width: 22px;
    height: 22px;
    background: #FFD700;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s, box-shadow 0.3s;
    z-index: 3;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

[data-theme="dark"] .theme-toggle .toggle-thumb {
    transform: translateX(32px);
    background: transparent;
    box-shadow: -6px 0 0 0 #f0f4eb, 0 0 8px rgba(240, 244, 235, 0.3);
}

.theme-toggle .toggle-hills {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 14px;
    background: var(--primary);
    border-radius: 50% 50% 0 0;
    z-index: 4;
    transition: background 0.5s;
}

[data-theme="dark"] .theme-toggle .toggle-hills {
    background: #4a5d3e;
}

.theme-toggle .toggle-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1;
    background-image:
        radial-gradient(1px 1px at 15px 8px, white, transparent),
        radial-gradient(1px 1px at 35px 15px, white, transparent),
        radial-gradient(1px 1px at 50px 10px, white, transparent),
        radial-gradient(1.5px 1.5px at 25px 5px, rgba(255,255,255,0.8), transparent);
}

[data-theme="dark"] .theme-toggle .toggle-stars {
    opacity: 1;
}

.theme-toggle:hover {
    transform: scale(1.05);
}

/* ============================================
   Theme Toggle (mini, used on landing pages
   except the tenant home which keeps the
   decorative .theme-toggle above)
   ============================================ */

.theme-toggle-mini {
    width: 32px;
    height: 32px;
    padding: 0;
    margin-left: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #5a6b4a;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.theme-toggle-mini:hover {
    background: rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .theme-toggle-mini {
    color: #c5d4b0;
}

[data-theme="dark"] .theme-toggle-mini:hover {
    background: rgba(255, 255, 255, 0.08);
}

.theme-toggle-mini svg {
    width: 18px;
    height: 18px;
}

.theme-toggle-mini .icon-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle-mini .icon-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle-mini .icon-moon {
    display: inline-block;
}

/* ============================================
   Nav actions group + mobile hamburger
   ============================================ */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

/* Quick-access Keimzelle icon (mobile only, sits in nav-actions) */
.nav-keimzelle-icon {
    display: none;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.nav-keimzelle-icon:hover {
    background: var(--bg-green-light);
    color: var(--primary);
}

.nav-keimzelle-icon.active {
    background: rgba(82, 108, 43, 0.15);
    color: var(--primary);
}

[data-theme="dark"] .nav-keimzelle-icon.active {
    background: rgba(138, 182, 77, 0.2);
}

.nav-keimzelle-icon svg {
    width: 20px;
    height: 20px;
    animation: sprout 2.5s ease-in-out infinite;
    transform-origin: bottom center;
}

.nav-hamburger {
    display: none;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-muted);
    transition: background 0.2s;
}

.nav-hamburger:hover {
    background: var(--bg-green-light);
    color: var(--primary);
}

.nav-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-nav.nav-open .nav-hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-nav.nav-open .nav-hamburger span:nth-child(2) {
    opacity: 0;
}

.site-nav.nav-open .nav-hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, var(--nav-bg) 0%, var(--nav-bg) 50%, var(--bg-green-light) 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 960px;
    width: 100%;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.logo {
    max-width: 240px;
    width: 100%;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(82, 108, 43, 0));
    transition: filter 0.3s;
}

[data-theme="dark"] .logo {
    filter: url(#remove-white);
}

.tagline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 1rem;
}

.badge {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Phone Frame + Demo Video */
.demo-video-wrapper {
    flex-shrink: 0;
    width: 280px;
}

.phone-frame {
    background: #1a1a1a;
    border-radius: 40px;
    padding: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.phone-screen {
    border-radius: 34px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.phone-screen video {
    display: block;
    width: 100%;
    height: auto;
}

/* Dynamic Island */
.phone-screen::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 20px;
    background: #1a1a1a;
    border-radius: 12px;
    z-index: 1;
}

.demo-video-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.demo-video-label svg {
    width: 14px;
    height: 14px;
}

.scroll-hint {
    display: block;
    margin-top: 1.5rem;
    animation: bounce 2s infinite;
}

.scroll-hint svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    opacity: 0.6;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ============================================
   Sections
   ============================================ */

section {
    padding: 4rem 1.5rem;
    transition: background-color 0.3s;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

h2[id] {
    scroll-margin-top: 5rem;
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    color: var(--primary);
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Problem */
.problem {
    background: var(--bg-cream);
}

.problem-text {
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
}

.problem-text strong {
    color: var(--text-dark);
}

/* How It Works */
.how-it-works {
    background: var(--bg-green-light);
}

/* Benefits */
.benefits {
    background: var(--bg-cream);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit {
    text-align: center;
    padding: 1.5rem;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.benefit h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.benefit p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================
   Pricing
   ============================================ */

.pricing {
    background: var(--pricing-bg);
    color: white;
    text-align: center;
    transition: background-color 0.3s;
}

.pricing h2 {
    color: white;
}

.pricing-intro {
    max-width: 650px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.95;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.billing-toggle span {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.2s;
}

.billing-toggle span.active {
    opacity: 1;
}

.billing-switch {
    width: 48px;
    height: 26px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
    padding: 0;
}

.billing-switch::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.3s;
}

.billing-switch.yearly::after {
    transform: translateX(22px);
}

.billing-switch.yearly {
    background: var(--secondary);
}

.yearly-badge {
    display: inline-block;
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.25rem;
}

.price-yearly {
    display: none;
}

.billing-yearly .price-monthly {
    display: none;
}

.billing-yearly .price-yearly {
    display: block;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    background: var(--card-bg);
    color: var(--text-dark);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: background-color 0.3s;
    display: flex;
    flex-direction: column;
}

.price-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.price-card .price-features {
    margin-top: auto;
}

.price-card.featured {
    border: 3px solid var(--secondary);
}

.price-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
}

.price-card-label {
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.price-card-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.price-amount span {
    font-size: 1rem;
    font-weight: 600;
}

.price-period {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.price-features {
    text-align: left;
    list-style: none;
    padding: 0;
}

.price-features li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-features li::before {
    content: "";
    width: 20px;
    height: 20px;
    background: var(--bg-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23526C2B'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

[data-theme="dark"] .price-features li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238ab64d'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.pricing-twint {
    max-width: 900px;
    margin: 2rem auto 0;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
}

.pricing-twint strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.pricing-note {
    max-width: 900px;
    margin: 1.5rem auto 0;
    opacity: 0.85;
    font-size: 0.85rem;
}

/* ============================================
   About
   ============================================ */

.about {
    background: var(--bg-green-light);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    text-align: left;
}

.about-content strong {
    color: var(--text-dark);
}

.about-signature {
    margin-top: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.portrait {
    width: 120px;
    height: 120px;
    object-fit: cover;
    clip-path: circle(50%);
    flex-shrink: 0;
}

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

.cta {
    background: var(--bg-cream);
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, var(--tertiary) 0%, var(--secondary) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.cta-box h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
    color: white;
}

.email-link {
    display: inline-block;
    background: white;
    color: var(--secondary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.email-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* CTA Banner (subpages) */
.cta-banner {
    background: linear-gradient(135deg, var(--tertiary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    padding: 3rem 1.5rem;
}

.cta-banner h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: white;
    opacity: 0.95;
    max-width: 550px;
    margin: 0 auto 1.5rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--secondary);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ============================================
   404 Not Found
   ============================================ */

:root {
    --nf-sky: #E8F0E0;
    --nf-sun-color: #F0800F;
    --nf-cloud-color: rgba(255, 255, 255, 0.7);
    --nf-hill-far: #7A9E48;
    --nf-hill-near: #6A8E38;
    --nf-wood: #8B6914;
    --nf-wood-dark: #5C4510;
    --nf-wheat: #C4A050;
    --nf-wheat-head: #D4B060;
    --nf-sign-bg: #FFFDF0;
    --nf-sign-text: #5C4510;
    --nf-chalk-bg: #2C3E2A;
    --nf-chalk-text: #E8E4D8;
    --nf-burlap: #C4A060;
    --nf-burlap-dark: #8A7030;
    --nf-face-draw: #3A3020;
    --nf-carrot: #E07828;
    --nf-cloth: #6B8E50;
    --nf-cloth-patch: #C4703C;
    --nf-cloth-dark: #4A6838;
    --nf-crow-body: #2A2628;
    --nf-crow-beak: #D4A020;
    --nf-crow-wing: #484448;
    --nf-flower-1: #E8A020;
    --nf-flower-2: #CC3333;
    --nf-flower-center: #FFF5E0;
}

[data-theme="dark"] {
    --nf-sky: #1A2018;
    --nf-sun-color: #EB9725;
    --nf-cloud-color: rgba(138, 182, 77, 0.08);
    --nf-hill-far: #3A4E28;
    --nf-hill-near: #2E4020;
    --nf-wood: #9A7A28;
    --nf-wood-dark: #6E5518;
    --nf-wheat: #9A8040;
    --nf-wheat-head: #AA9050;
    --nf-sign-bg: #3A3E30;
    --nf-sign-text: #D4C8A0;
    --nf-chalk-bg: #1A2418;
    --nf-chalk-text: #C5D4B0;
    --nf-burlap: #9A7840;
    --nf-burlap-dark: #6A5020;
    --nf-face-draw: #201810;
    --nf-carrot: #B86020;
    --nf-cloth: #4A6838;
    --nf-cloth-patch: #9A5830;
    --nf-cloth-dark: #3A5028;
    --nf-crow-body: #1A1818;
    --nf-crow-beak: #AA8018;
    --nf-crow-wing: #383438;
    --nf-flower-1: #C88A18;
    --nf-flower-2: #AA2828;
    --nf-flower-center: #C5C0A8;
}

.notfound-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 2rem 1.5rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-green-light) 100%);
}

.notfound-scene {
    max-width: 440px;
    width: 100%;
    margin-bottom: 1.5rem;
}

.notfound-svg {
    width: 100%;
    height: auto;
}

.notfound-text h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 0.75rem;
}

.notfound-text p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.notfound-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    box-shadow: 0 2px 12px rgba(82, 108, 43, 0.25);
}

.notfound-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(82, 108, 43, 0.35);
    background: var(--primary-light);
    color: white;
}

/* Scarecrow hat sway */
.nf-hat {
    animation: nf-hat-sway 4s ease-in-out infinite;
    transform-origin: 130px 127px;
}

@keyframes nf-hat-sway {
    0%, 100% { transform: rotate(0deg); }
    30% { transform: rotate(3deg); }
    70% { transform: rotate(-2deg); }
}

/* Crow head bob */
.nf-crow {
    animation: nf-crow-bob 3s ease-in-out infinite;
}

@keyframes nf-crow-bob {
    0%, 100% { transform: translate(168px, 158px); }
    40% { transform: translate(168px, 156px); }
    60% { transform: translate(168px, 159px); }
}

/* Straw wiggle in wind */
.nf-straw-left {
    animation: nf-straw-wiggle 2.5s ease-in-out infinite;
    transform-origin: 86px 169px;
}

.nf-straw-right {
    animation: nf-straw-wiggle 2.8s ease-in-out 0.3s infinite;
    transform-origin: 174px 169px;
}

@keyframes nf-straw-wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(4deg); }
    75% { transform: rotate(-3deg); }
}

/* Sign swing */
.nf-sign-swing {
    animation: nf-sign-swing 4s ease-in-out infinite;
    transform-origin: 290px 162px;
}

@keyframes nf-sign-swing {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(-3deg); }
}

/* Cloud drift */
.nf-cloud-1 { animation: nf-cloud-drift 22s ease-in-out infinite; }
.nf-cloud-2 { animation: nf-cloud-drift 28s ease-in-out infinite reverse; }

@keyframes nf-cloud-drift {
    0% { transform: translateX(0); }
    50% { transform: translateX(18px); }
    100% { transform: translateX(0); }
}

/* Wheat / grass sway */
.nf-grass-1 { animation: nf-grass-sway 3s ease-in-out infinite; transform-origin: bottom; }
.nf-grass-2 { animation: nf-grass-sway 3.4s ease-in-out 0.5s infinite; }
.nf-grass-3 { animation: nf-grass-sway 2.8s ease-in-out 1s infinite; }
.nf-grass-4 { animation: nf-grass-sway 3.2s ease-in-out 0.3s infinite; }

@keyframes nf-grass-sway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(3deg); }
}

/* Butterfly float */
.nf-butterfly {
    animation: nf-butterfly-float 10s ease-in-out infinite;
}

@keyframes nf-butterfly-float {
    0% { transform: translate(175px, 160px); }
    25% { transform: translate(190px, 145px); }
    50% { transform: translate(168px, 155px); }
    75% { transform: translate(185px, 168px); }
    100% { transform: translate(175px, 160px); }
}

.nf-wing-left {
    animation: nf-wing-flap 0.35s ease-in-out infinite alternate;
    transform-origin: 0 2px;
}

.nf-wing-right {
    animation: nf-wing-flap 0.35s ease-in-out infinite alternate-reverse;
    transform-origin: 0 2px;
}

@keyframes nf-wing-flap {
    0% { transform: scaleX(1); }
    100% { transform: scaleX(0.35); }
}

/* Sun rays rotate slowly */
.nf-sun-rays {
    animation: nf-rays-spin 30s linear infinite;
    transform-origin: 340px 55px;
}

@keyframes nf-rays-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Sun glow pulse */
.nf-sun {
    animation: nf-sun-pulse 5s ease-in-out infinite;
}

@keyframes nf-sun-pulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.5; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .nf-hat, .nf-crow, .nf-straw-left, .nf-straw-right,
    .nf-sign-swing, .nf-cloud-1, .nf-cloud-2,
    .nf-grass-1, .nf-grass-2, .nf-grass-3, .nf-grass-4,
    .nf-butterfly, .nf-wing-left, .nf-wing-right,
    .nf-sun-rays, .nf-sun {
        animation: none;
    }
}

/* ============================================
   FAB
   ============================================ */

.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--secondary);
    color: white;
    height: 56px;
    padding: 0 1.25rem;
    border-radius: 28px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 16px rgba(240, 128, 15, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 100;
}

.fab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(240, 128, 15, 0.5);
}

.fab svg {
    width: 34px;
    height: 34px;
    fill: white;
    flex-shrink: 0;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    background: var(--nav-bg);
    color: var(--text-dark);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    transition: background-color 0.3s, border-color 0.3s;
}

.site-footer p {
    opacity: 0.8;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.site-footer a {
    color: var(--tertiary);
    text-decoration: none;
}

.footer-links {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-green-light);
    color: var(--primary);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ============================================
   Page Header (subpages)
   ============================================ */

.page-header {
    background: linear-gradient(180deg, var(--nav-bg) 0%, var(--bg-green-light) 100%);
    text-align: center;
    padding: 3rem 1.5rem 2.5rem;
}

.page-header h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.page-header p {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* ============================================
   Content Sections (subpages)
   ============================================ */

.content-section {
    padding: 3rem 1.5rem;
    transition: background-color 0.3s;
}

.content-section:nth-child(even) {
    background: var(--bg-green-light);
}

.content-section:nth-child(odd) {
    background: var(--bg-cream);
}

.content-section h2 {
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.content-section h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.content-section p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section strong {
    color: var(--text-dark);
}

.content-section ul,
.content-section ol {
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

/* Steps */
.steps {
    display: grid;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
}

.step-content h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.feature-card h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.95rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

/* FAQ */
.faq-item {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.faq-item h3 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.faq-item p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* FAQ-Item mit nebenliegendem Bild — auf breiten Viewports Text + Bild zweispaltig,
   auf Mobile gestapelt. */
.faq-with-image {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.faq-with-image p {
    flex: 1;
    margin: 0;
}

.faq-image {
    flex-shrink: 0;
    width: 280px;
    max-width: 40%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .faq-with-image {
        flex-direction: column;
    }
    .faq-image {
        max-width: 100%;
        width: 100%;
    }
}

/* Funktionen-Sektion mit nebenliegendem Bild — gleiche Logik wie .faq-with-image,
   aber Bild grösser, weil mehr Platz vorhanden. */
.section-with-image {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.section-with-image p {
    flex: 1;
    margin: 0;
}

.section-image {
    flex-shrink: 0;
    width: 360px;
    max-width: 45%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

@media (max-width: 768px) {
    .section-with-image {
        flex-direction: column;
        gap: 1rem;
    }
    .section-image {
        max-width: 100%;
        width: 100%;
    }
}

/* Tech Badges */
.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.tech-badge {
    display: inline-block;
    background: var(--bg-green-light);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Info Box */
.info-box {
    background: rgba(138, 182, 77, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .info-box {
        flex-direction: column;
        text-align: center;
    }
}

.info-box p {
    margin-bottom: 0.5rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Timeline (Keimzelle)
   ============================================ */

.keimzelle-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 750px;
    margin: 0 auto;
    text-align: left;
}

.keimzelle-hero {
    width: 120px;
    height: auto;
    flex-shrink: 0;
    overflow: visible;
}

.kz-stem {
    stroke-dasharray: 70;
    stroke-dashoffset: 70;
    animation: kz-draw-stem 1.2s ease-out forwards;
}

.kz-leaf-l {
    transform-origin: 50px 70px;
    opacity: 0;
    transform: scale(0);
    animation: kz-grow-leaf 0.8s ease-out 0.8s forwards, kz-loop-leaf 4s ease-in-out 3s infinite;
}

.kz-leaf-r {
    transform-origin: 50px 52px;
    opacity: 0;
    transform: scale(0);
    animation: kz-grow-leaf 0.8s ease-out 1.2s forwards, kz-loop-leaf 4s ease-in-out 3.2s infinite;
}

.kz-leaf-top {
    transform-origin: 50px 45px;
    opacity: 0;
    transform: scale(0);
    animation: kz-grow-leaf 0.8s ease-out 1.6s forwards, kz-loop-leaf 4s ease-in-out 3.4s infinite;
}

@keyframes kz-draw-stem {
    to { stroke-dashoffset: 0; }
}

@keyframes kz-grow-leaf {
    to { opacity: 1; transform: scale(1); }
}

@keyframes kz-loop-leaf {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.keimzelle-header-text h1 {
    margin-bottom: 0.75rem;
    text-align: left;
}

.keimzelle-header-text p {
    margin: 0;
    text-align: left;
}

.timeline {
    max-width: 700px;
    margin: 0 auto;
}

.timeline-day {
    margin-bottom: 2.5rem;
}

.timeline-day:last-child {
    margin-bottom: 0;
}

.timeline-date {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-entries {
    display: grid;
    gap: 0.75rem;
    padding-left: 1rem;
    border-left: 3px solid var(--border-color);
}

.timeline-entry {
    background: var(--card-bg);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s;
}

.timeline-entry h3 {
    font-size: 1.05rem;
    color: var(--primary);
    margin: 0 0 0.25rem;
}

.timeline-entry p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   Anchor Links on H2 headings
   ============================================ */

h2[id] {
    position: relative;
}

.anchor-link {
    display: inline-flex;
    align-items: center;
    margin-left: 0.4rem;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.2s, color 0.2s;
    vertical-align: middle;
    text-decoration: none;
    cursor: pointer;
}

.anchor-icon-link,
.anchor-icon-check {
    display: inline-flex;
    align-items: center;
}

.anchor-icon-check {
    display: none;
}

h2[id]:hover .anchor-link {
    opacity: 0.5;
}

.anchor-link:hover {
    opacity: 1 !important;
    color: var(--primary);
}

.anchor-link.copied {
    opacity: 1 !important;
    color: var(--primary);
}

.anchor-link.copied .anchor-icon-link {
    display: none;
}

.anchor-link.copied .anchor-icon-check {
    display: inline-flex;
}

/* ============================================
   Buttons
   ============================================ */

.landing-btn-primary {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.landing-btn-primary:hover,
.landing-btn-primary:focus {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: white;
}

.landing-btn-primary:active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.landing-btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.landing-btn-outline:hover,
.landing-btn-outline:focus {
    background-color: var(--primary);
    color: white;
}

/* ============================================
   Mobile Adjustments
   ============================================ */

@media (max-width: 700px) {
    .nav-inner {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }

    .nav-hamburger {
        display: inline-flex;
    }

    .nav-keimzelle-icon {
        display: inline-flex;
    }

    /* Collapse page links into a drawer below the nav */
    .site-nav .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        flex-wrap: nowrap;
        background: var(--nav-bg);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
        padding: 0 1.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .site-nav.nav-open .nav-links {
        max-height: 80vh;
        padding: 0.5rem 1.5rem 1rem;
    }

    .nav-links a {
        padding: 0.75rem 0.5rem;
        font-size: 1rem;
        border-radius: 8px;
    }

    /* Tighter CTA on mobile so logo + actions fit one row */
    .nav-actions .nav-cta {
        padding: 0.35rem 0.85rem;
        font-size: 0.8rem;
    }

    /* Tenant home page keeps the decorative .theme-toggle, position it
       absolute in its own header on mobile (legacy rule) */
    .tenant-home-header .theme-toggle {
        position: absolute;
        top: 0;
        right: -0.5rem;
        margin: 0;
    }

    .page-header {
        padding: 2rem 1rem 2rem;
    }

    .content-section {
        padding: 2.5rem 1rem;
    }

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

    .step-number {
        margin: 0 auto;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

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

    .keimzelle-hero {
        width: 100px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .demo-video-wrapper {
        width: 220px;
    }

    .phone-frame {
        border-radius: 32px;
        padding: 5px;
    }

    .phone-screen {
        border-radius: 27px;
    }

    .phone-screen::before {
        top: 6px;
        width: 58px;
        height: 16px;
        border-radius: 10px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 1.5rem 1rem 1.5rem;
    }

    .logo {
        max-width: 180px;
        margin-bottom: 0.75rem;
    }

    .tagline {
        margin-bottom: 0.5rem;
    }

    .subtitle {
        margin-bottom: 0.75rem;
    }

    .demo-video-wrapper {
        width: 180px;
    }

    .phone-frame {
        border-radius: 28px;
        padding: 4px;
    }

    .phone-screen {
        border-radius: 24px;
    }

    .phone-screen::before {
        top: 5px;
        width: 48px;
        height: 14px;
        border-radius: 8px;
    }

    section {
        padding: 3rem 1rem;
    }

    .price-cards {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .price-card.featured {
        order: -1;
    }
}

/* ============================================
   Hero — Drei Grundfunktionen (Bild-Cards)
   ============================================ */

.hero-core {
    padding: 3rem 1.5rem 4rem;
}

.hero-core-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero-core .subtitle {
    max-width: 760px;
    margin-bottom: 1.25rem;
}

.core-functions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin-top: 2.5rem;
}

.core-function-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.core-function-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.core-function-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f2efe8;
}

.core-function-body {
    padding: 1.25rem 1.25rem 1.5rem;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.core-function-body h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.core-function-body p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.core-functions-tagline {
    margin: 2rem auto 0;
    max-width: 720px;
    color: var(--text-muted);
    font-size: 1.05rem;
    font-style: italic;
}

[data-theme="dark"] .core-function-card {
    background: var(--card-bg-dark, #1d1f1a);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .core-function-card img {
    background: #14160f;
}

/* Self-Checkout-Section: Steps + Demo-Video nebeneinander */
.section-lead {
    text-align: center;
    max-width: 720px;
    margin: 0.5rem auto 2rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.how-with-video {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.how-with-video .steps {
    flex: 1;
    min-width: 320px;
    max-width: 620px;
}

.how-with-video .demo-video-wrapper {
    flex-shrink: 0;
    width: 260px;
    text-align: center;
}

/* Fulfillment-Mini-Grid (3 kompakte Cards in /-Hero Online-Bestellungen Section) */
.fulfillment-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 840px;
    margin: 1.5rem auto 0;
}

.fulfillment-mini-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem 1.25rem;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    border-radius: 12px;
    text-align: left;
}

.fulfillment-mini-card strong {
    color: var(--primary);
    font-size: 1rem;
}

.fulfillment-mini-card span {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

[data-theme="dark"] .fulfillment-mini-card {
    background: var(--card-bg-dark, #1d1f1a);
    border-color: rgba(255, 255, 255, 0.08);
}

/* ============================================
   Workflow-Beispiele auf /wie-funktioniert
   ============================================ */

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.workflow-example {
    display: flex;
    flex-direction: column;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.workflow-example img {
    display: block;
    width: 100%;
    height: auto;
    background: #f2efe8;
}

.workflow-example-body {
    padding: 1.1rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.workflow-example-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.workflow-example-body .workflow-subtitle {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.workflow-example-body p {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.5;
}

[data-theme="dark"] .workflow-example {
    background: var(--card-bg-dark, #1d1f1a);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .workflow-example img {
    background: #14160f;
}

/* Mobile-Anpassungen */
@media (max-width: 900px) {
    .core-functions {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .fulfillment-mini-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .how-with-video {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .hero-core {
        padding: 2rem 1rem 2.5rem;
    }

    .core-functions {
        gap: 1rem;
        margin-top: 1.75rem;
    }
}
